Interactive Broker Download Historical Data
Interactive Broker Download Historical Data. We believe in open-sourcing code that we can share that helps others.
Here you can find some Java and Python scripts useful for downloading historical data from Interactive Brokers and merging them into a sensible text format.
IBDownloadHistoricalData @ GitHub https://github.com/mattrobust/IBDownloadHistoricalData
Downloads historical data from interactive brokers and builds a data file useful for subsequent back-test
The Java class generates in desired path a series of data files in reverse chronological order eg
1.txt => most recent data
2.txt => next most recent data
The Python script takes the Java class output files and creates one contiguous data file in chronological order
Historical Data Limitations:https://www.interactivebrokers.com/en/software/api/apiguide/tables/historical_data_limitations.htm
Sample code to request data: http://www.elitetrader.com/et/index.php?threads/request-ib-tick-data-java-api.206254/
Security Type: CASH
Primary Exchange: IDEALPRO
End Date/Time: 20150326 07:46:46 GMT
Duration: 1 D, another eg could be 14400 S
Bar Size Setting: 1 min
What to Show: BID/ASK
Regular Trading Hours: 1
Date Format Style: 1
If you like our articles, please follow and like our Facebook page where we regularly share interesting posts and check out our other blog articles where we write about programming, eCommerce, mobile-commerce, FinTech, Machine Learning and other interesting topics.
RobustTechHouse is a leading tech company focusing on mobile app development, ECommerce, Mobile-Commerce and Financial Technology (FinTech) in Singapore. If you are interested to engage RobustTechHouse on your web, mobile app development, ECommerce, Mobile-Commerce, Financial Technology (FinTech) projects in Singapore, you can contact us here.