Index Options
Requesting Data
Request Index Options data in your algorithm to receive a feed of contract prices in the OnDataon_data method. For more information about the specific dataset we use for backtests, see the US Index Options dataset listing. To trade Index Options live, you can use one of the brokerage data providers. Index Options are exclusively European-style Options.
To request Index Options data, call one of the following methods:
AddIndexOptionself.add_index_optionto add a basket of contracts for a single underlying IndexAddIndexOptionContractself.add_index_option_contractto add individual contracts for an underlying Index
Request and Filter Contracts for Option Strategies
AddIndexOptionself.add_index_option
Request and Filter All Contracts
AddIndexOptionself.add_index_option
Select Individual Contracts
AddIndexOptionContractself.add_index_option_contract