Request Options Greeks

View as MarkdownOpen in Claude

EClient.reqMktData (

reqId: int. Request identifier for tracking data.

contract: Contract. Contract object used for specifying an instrument.

genericTickList: String. Comma separated ids of the available generic ticks.

snapshot: bool. Set to True for snapshot data with a relevant subscription or False for live data.

regulatorySnapshot: bool. Set to True for a paid, regulatory snapshot or False for live data.

mktDataOptions: List<TagValue>. Internal use only.
)

Greeks are requested automatically when pulling market data for an Options contract.
Users that do not have a valid [Market Data Subscription] for the underlying contract will receive an error that Market Data Is Not Subscribed. This error can be ignored if Greeks are not wanted.

1self.reqMktData(reqId, OptionContract, "", False, False, [])