This tutorial demonstrates how to import historical futures data from a third-party data provider and combine it with recent data from Interactive Brokers in a Zipline bundle.
Importing historical data is intended as a one-time manual process, with subsequent up-to-date futures data collected by API from Interactive Brokers. Interactive Brokers provides global futures coverage but only provides historical futures data for contracts that expired less than 2 years ago. Thus, users who want to run longer backtests must import data from another source.
If you do not have an Interactive Brokers account, you can omit the Interactive Brokers steps and use the imported data by itself. You will need to repeat or automate this tutorial periodically if you wish to import updated data from your data provider.
Note that the tutorial is intended for importing individual futures contracts rather than continuous contracts.
Load Third-Party Historical Data
Combine with Recent Interactive Brokers Data