|Add IB Instrument Provider include expired
|Page 1 of 1|
|Author:||ambl [ Sat Oct 19, 2019 5:37 am ]|
|Post subject:||Add IB Instrument Provider include expired|
Currently when searching for a contract using IB as the provider the results only show the contracts which are still currently active. I would like to also retrieve the contracts which have expired.
To add this functionality through IB API you would set the IncludeExpirted property of the contract when calling reqContractDetails(id, contract) as documented:
https://interactivebrokers.github.io/tw ... tract.html
bool IncludeExpired [get, set]
If set to true, contract details requests and historical data queries can be performed pertaining to expired futures contracts. Expired options or other instrument types are not available.
Could the OpenQuant team please add IncludeExpired under Settings - Instrument, as an IBTWS propery.
|Page 1 of 1||All times are UTC + 3 hours|
|Powered by phpBB® Forum Software © phpBB Group