Option Greeks from IB

Posted By: Zheka

Option Greeks from IB - 09/05/18 13:42

Option greeks and IV are returned by IB API by default alongside prices with each .reqMktData call.

https://interactivebrokers.github.io/tws-api/option_computations.html

So, no extra work is really required besides saving them in some way.

This will be faster and more convenient than having an R or Zorro calculate them (no need to maintain rates,yields,etc).

Please provide a way to access these values.

I would suggest to just extend a Contract struct with another 2 fields(for IV and Delta) and/or substitute OpenInt and Volume for these more important values (or adding Theta and Vega).

PLEASE CONSIDER.
Posted By: Zheka

Re: Option Greeks from IB - 09/18/18 16:34

JCL,

is there hope that receiving option greeks would make it to the to-do list for the next IB plug-in revision?
Posted By: jcl

Re: Option Greeks from IB - 09/18/18 16:39

Yes, we'll possibly implement a GET_GREEKS brokercommand that receives the greeks in an array.
Posted By: Zheka

Re: Option Greeks from IB - 09/18/18 21:09

Super! Thank you.
© 2024 lite-C Forums