Can I use continuous futures via the TWS API?

The TWS API offers the ability to use continuous futures (secType=CONTFUT), which automatically presents the front futures contract. Only historical data can be requested for this security type. Continuous futures cannot be used for:

  • Placing orders
  • Live market data
  • Specific historical data requests (the endDateTime function parameter of EClient.reqHistoricalData() must remain as a blank string)

For more information, please see the Contracts documentation.

Powered by IBot
How do I obtain historical data via API?
Can I use the TWS API with free trial accounts?
Can I open a Futures Trust Account?
How can I download option chain historical data with API?