开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育

What is the proper way to get an option's greeks?


 

Any code samples? TIA.


 

During market hours you can do...


```
ticker = ib.reqMktData(option_contract,"",False,Flase)
ib.sleep(2)
ticker.modelGreeks
ticker.askGreeks
ticker.bidGreeeks
ticker.lastGreeks
```
See below for more details



 

is it fair to assume that it wouldn't work without?market?data subscription?

On Sun, Jul 14, 2024 at 12:21?PM Lipp F. via <flipp31a=[email protected]> wrote:
Any code samples? TIA.