NexusFi: Find Your Edge


Home Menu

 





IB tool data download (for NT)


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one sam028 with 2 posts (2 thanks)
    2. looks_two siscop with 1 posts (0 thanks)
    3. looks_3 DavidHP with 1 posts (1 thanks)
    4. looks_4 fle__ with 1 posts (1 thanks)
    1. trending_up 6,291 views
    2. thumb_up 4 thanks given
    3. group 2 followers
    1. forum 4 posts
    2. attach_file 0 attachments




 
Search this Thread
  #1 (permalink)
siscop
germany
 
Posts: 19 since Sep 2009
Thanks Given: 16
Thanks Received: 4

Does anyone know if NT has a feature or some other script to auto download history from IB?
IB has the restriction that you can only download limited history every 5 min. That’s what it said but it seems that it is more like every 10 min.
I wanted to make an portfolio backtesting and need a lot of data from different stocks which IB offers but only over time due to the restriction. Since this is a stupid routine job there has to be a tool out there what does that job for me so I don’t have to sit in front of the computer the entire time.


Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Irans Dual Probability: Guns Quiet at 99.95% While Forma …
Prediction Markets & Event Contracts
Trump Lands in Beijing on CPI Day: Iran Peace Expires To …
Prediction Markets & Event Contracts
More Than Capable: Hegseths War Warning Validates $114M …
Prediction Markets & Event Contracts
CFTC Rewrites the Rulebook -- Kalshi Cracks $1B Non-Spor …
Prediction Markets & Event Contracts
Fabrication or Framework? Irans Denied MOU Explains the …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
NexusFi site changelog and issues/problem reporting
8 thanks
Darmok and Jalad at Tanagra
1 thanks
  #2 (permalink)
 
sam028's Avatar
 sam028 
Site Moderator
 
Posts: 3,758 since Jun 2009
Thanks Given: 3,828
Thanks Received: 4,644


siscop View Post
Does anyone know if NT has a feature or some other script to auto download history from IB?
IB has the restriction that you can only download limited history every 5 min. That’s what it said but it seems that it is more like every 10 min.
I wanted to make an portfolio backtesting and need a lot of data from different stocks which IB offers but only over time due to the restriction. Since this is a stupid routine job there has to be a tool out there what does that job for me so I don’t have to sit in front of the computer the entire time.

I did this kind of things with Trading Shim, few months ago. Some of the Ruby scripts included already have the good timers, the historical data are stored in the Shim Mysql database.
But Linux, or maybe Cygwin needed.


Reply With Quote
Thanked by:
  #3 (permalink)
 
DavidHP's Avatar
 DavidHP 
Isla Mujeres, MX
Legendary Market Wizard
 
Experience: Advanced
Platform: NinjaTrader
Broker: Ninjatrader / Optimus Futures / AmpFutures
Trading: NQ / ES / 6E / 6B / CL
Frequency: Every few days
Duration: Minutes
Posts: 1,816 since Aug 2009
Thanks Given: 11,765
Thanks Received: 3,043


If you are proficient at MS Excel you can download most data from Yahoo and parse it into a text file. That text file can be loaded into Ninja to give you all the history you can handle.

I have imported data for the S&P from the beginning of time to present using this method. I really should write a macro to do this but I'm lazy.


Follow me on X Reply With Quote
Thanked by:
  #4 (permalink)
 
sam028's Avatar
 sam028 
Site Moderator
 
Posts: 3,758 since Jun 2009
Thanks Given: 3,828
Thanks Received: 4,644

I found IBCollector, a bit expensive. There is also jTWSdump.
I think I've made something few years ago, a piece of Java code, which was made to download IB historical data, and export these in an SQL database. That was an old-fashion/no-mouse/no-colors/console application, I didn't use it a lot (I found Trading-Shim), but it did the job.
I'll try to find it.


Reply With Quote
Thanked by:
  #5 (permalink)
fle__
Paris / France
 
Posts: 21 since Sep 2009
Thanks Given: 2
Thanks Received: 10

The best I found is VC,
its a trading platform and data provider.
Its free for EOD data, and intraday is available when market is closed.
More or less 10 years of history (on futures).
US and european markets.
I just call a chart with required data, and then export them to a file.


Reply With Quote
Thanked by:




Last Updated on September 9, 2009


© 2026 NexusFi®, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Downloads - Top
no new posts