NinjaTrader Support Forum  
X

Attention!

This website will be down for maintenance from Friday May 24th at 6PM MDT until Saturday May 25th at 11AM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com


Go Back   NinjaTrader Support Forum > Application Technical Support > Miscellaneous Support > Historical Version 7 Beta Threads > Version 7 Beta General Questions & Bug Reports

Version 7 Beta General Questions & Bug Reports Ask questions here and post bug reports.

 
 
Thread Tools Display Modes
Old 08-19-2010, 07:55 AM   #1
adamus
Senior Member
 
Join Date: Apr 2010
Posts: 1,057
Thanks: 32
Thanked 2 times in 1 post
Default How is live data feed collected for use in Historical Data Manager?

It would be great if you could tell me how NT7 collects data for the Historical Data Manager from the live feed.

First I noticed that there were differences in the backtested results of my strategies when I collected the data from IB into the HDM and from backtesting on historical data that I download direct from the IB history servers.

I asked IB what they do to create the 1 mins bars that they provide as historical data and this is what they replied:

Quote:
We provide historical data as snapshot requests taken at 300 millisecond intervals which is stored locally by IB and used to calculate the time bars generated by IB.
I noticed that the bars in the live-collected data were bigger. And what IB says confirms it. They just don't read all the ticks.

So it looks like NinjaTrader has a more logical and efficient algorithm for collecting the data from the live stream. Would you care to share?

My second question is whether the HDM merges live feeds into the HDM when there is more than one available. At this time I have the feed from IB, and another from IQ-Feed.
adamus is offline  
Old 08-19-2010, 08:45 AM   #2
NinjaTrader_Jason
NinjaTrader Customer Service
 
NinjaTrader_Jason's Avatar
 
Join Date: Aug 2007
Location: Breda, Netherlands
Posts: 11,222
Thanks: 83
Thanked 333 times in 325 posts
Default

Hello adamus,

If you have 'Save chart data as historical' enabled at Tools-->Options-->Data-tab enabled, it will save incoming real-time data in the database. It will be saved as how we receive the real-time data.

IB uses different sources for historical data and real-time data, which causes the difference. This is not caused by how NinjaTrader collects the data.

No, NinjaTrader does not merge real-time data when you use multiple connectivity providers. It will save the real-time data from the connectivity provider that it receives real-time data from.
NinjaTrader_Jason is offline  
Old 08-19-2010, 11:28 AM   #3
adamus
Senior Member
 
Join Date: Apr 2010
Posts: 1,057
Thanks: 32
Thanked 2 times in 1 post
Default

Jason,

when I enable saving chart data as historical, will it save every tick?

Thanks
adamus is offline  
Old 08-19-2010, 11:34 AM   #4
NinjaTrader_Jason
NinjaTrader Customer Service
 
NinjaTrader_Jason's Avatar
 
Join Date: Aug 2007
Location: Breda, Netherlands
Posts: 11,222
Thanks: 83
Thanked 333 times in 325 posts
Default

Yes, it will save every tick that we receive from the connected connectivity provider.
NinjaTrader_Jason is offline  
Old 08-19-2010, 12:18 PM   #5
adamus
Senior Member
 
Join Date: Apr 2010
Posts: 1,057
Thanks: 32
Thanked 2 times in 1 post
Default

Yes! That is a good thing.

Thanks
adamus is offline  
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Historical Data Manager deletes data during Download Ralph Version 7 Beta General Questions & Bug Reports 2 06-15-2010 11:00 AM
Exporting data from historical data manager doesn't work Delve Version 7 Beta General Questions & Bug Reports 3 06-06-2010 05:20 PM
Historical Data manager kumaresh11 Version 7 Beta General Questions & Bug Reports 3 05-28-2010 06:04 AM
Historical Data Manager Harry Version 7 Beta General Questions & Bug Reports 42 03-07-2010 12:57 AM
Historical Data Manager Harry Version 7 Beta General Questions & Bug Reports 4 12-10-2009 08:21 AM


All times are GMT -6. The time now is 10:03 PM.