Set up Zorro to bridge with R with RQuantLib and use contractVal to calculate contract greeks.

https://zorro-project.com/manual/en/rbridge.htm
https://zorro-project.com/manual/en/contract.htm