NinjaTrader Support Forum  

Go Back   NinjaTrader Support Forum > Application Technical Support > Miscellaneous Support

Miscellaneous Support Miscellaneous support issues.

Reply
 
Thread Tools Display Modes
Old 01-11-2008, 11:55 AM   #16
MrBaffalo
Senior Member
 
Join Date: Nov 2006
Location: Ferrara, , Italy
Posts: 138
Thanks: 0
Thanked 0 times in 0 posts
Default

Thanks Dierk
I usually adjust contracts after rollover due to IB's lack of TBT data

When you say "presumably incomplete" NT does assume it's incomplete? or it does reload the last day in any way?
Sorry for this continous bouncing but I need to understand!
Thanks
Marce
MrBaffalo is offline  
Reply With Quote
Old 01-11-2008, 12:00 PM   #17
NinjaTrader_Dierk
Administrator
 
NinjaTrader_Dierk's Avatar
 
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
Default

>> When you say "presumably incomplete" NT does assume it's incomplete?
Correct
NinjaTrader_Dierk is offline  
Reply With Quote
Old 01-11-2008, 12:04 PM   #18
zoltran
Senior Member
 
Join Date: Nov 2005
Location: , Ontario, Canada
Posts: 400
Thanks: 0
Thanked 0 times in 0 posts
Default

Quote:
Originally Posted by NinjaTrader_Dierk View Post
>> why as soon as I connect to IB (or other feed, it doens't change, esignal does the same) NT updates older days (days included yet in my "reliable" db).
NT will NOT do that but only loads from the last (presumably incomplete) day in the DB to the current day.
NT does overwrite.

Example ... using IB for R/T feed
1 - I have been collecting from my RT feed all day long. My quote database is nice and clean, and reflects my real-time experience
2 - Then I get an internet/tws glitch and NT disconnect/reconnects to TWS
3 - NT will now request the whole days worth of quotes .. overwriting all those good quotes that I already collected. Sometimes .. and I don't know the conditions .. it seems to get more than 1 day.

This is particularly troublesome with IB, as it's R/T feed is very different from any historical provider, even IB's own history data.

As we've discussed elsewhere .. NT is pretty unique in this regard, most other chart programs will not over-write previously collected data unless the user makes a manual request for it. They will usually just start where they left off.. sometimes leaving a gap if necessary. The user then would make a request to reload historical.

This is particularly important at contract roll-over times. Both the program and user needs to be careful about requesting to much data, as it's very easy to corrupt your newly merged 'front month' contract
zoltran is offline  
Reply With Quote
Old 01-11-2008, 12:23 PM   #19
MrBaffalo
Senior Member
 
Join Date: Nov 2006
Location: Ferrara, , Italy
Posts: 138
Thanks: 0
Thanked 0 times in 0 posts
Default

Thanks Dierk and thanks Zoltran...I'm not ALONE!!!!
Just to add, sometimes if while reloading you reach the max IB data offers and charts are not fully reloaded, sometimes, days (chart) come out incomplete and NT writes only what IB offered.
MrBaffalo is offline  
Reply With Quote
Old 01-11-2008, 04:16 PM   #20
zoltran
Senior Member
 
Join Date: Nov 2005
Location: , Ontario, Canada
Posts: 400
Thanks: 0
Thanked 0 times in 0 posts
Default

Marce

I think this happens because NT reloads the whole days data each time it does a backfill. IB will throttle to many requests .. and they have a pretty low threshold. Reloading the whole day for a number of instruments will certainly cause this to happen.

Dierk has explained why NT does this.
But it certainly causes other issues, such as triggering the IB throttle limits, and over-writing existing data.


Hopefully the great folks at NT will find a solution.
zoltran is offline  
Reply With Quote
Old 01-12-2008, 03:02 AM   #21
NinjaTrader_Dierk
Administrator
 
NinjaTrader_Dierk's Avatar
 
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
Default

>> NT will now request the whole days worth of quotes .. overwriting all those good quotes that I already collected.
This is true for current (!) day only, but not for previous days.

To verify by yourself: next NT6.5 holds additional trace info like
2008-01-10 06:23:44:765 (YAHOO) Data.Bars.GetBarsNow: instrument='NVDA' from=10.01.2007 00:00:00 to=10.01.2008 00:00:00 period=Daily

which gives you an idea what data actually is requested from the provider.
NinjaTrader_Dierk is offline  
Reply With Quote
Old 01-12-2008, 07:43 AM   #22
MrBaffalo
Senior Member
 
Join Date: Nov 2006
Location: Ferrara, , Italy
Posts: 138
Thanks: 0
Thanked 0 times in 0 posts
Default

This happens only if you have a clean chart (W/O indicators) or if you have an average, let's say a 200 periods on a 15 minutes, it goes back to collect data?
Thanks
Marce
p.s. will try on monday the trace trick
MrBaffalo is offline  
Reply With Quote
Old 01-14-2008, 12:55 AM   #23
MrBaffalo
Senior Member
 
Join Date: Nov 2006
Location: Ferrara, , Italy
Posts: 138
Thanks: 0
Thanked 0 times in 0 posts
Default

Ciao Dierk,
here is the snapshot if what we are talking about
ciao
marce

p.s. I did nothing on the workspace, it as I closed on friday
Attached Images
File Type: jpg Marcello-0000 14-01-2008.jpg (4.4 KB, 12 views)
File Type: jpg Marcello-0001 14-01-2008.jpg (12.6 KB, 9 views)
MrBaffalo is offline  
Reply With Quote
Old 01-14-2008, 01:20 AM   #24
NinjaTrader_Dierk
Administrator
 
NinjaTrader_Dierk's Avatar
 
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
Default

The error text is very clear: You hit an IB internal limitation on # of requests for historical data. There is nothing NT can do.
NinjaTrader_Dierk is offline  
Reply With Quote
Old 01-14-2008, 01:22 AM   #25
MrBaffalo
Senior Member
 
Join Date: Nov 2006
Location: Ferrara, , Italy
Posts: 138
Thanks: 0
Thanked 0 times in 0 posts
Default

Dierk the first image shows a backfill for more than friday (1 day back)
MrBaffalo is offline  
Reply With Quote
Old 01-14-2008, 01:24 AM   #26
NinjaTrader_Dierk
Administrator
 
NinjaTrader_Dierk's Avatar
 
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
Default

We will publish a document shortly which will describe what data is loaded from the provider. Please be patient.
NinjaTrader_Dierk is offline  
Reply With Quote
Reply

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
Format data series: Days Back gregiii Charting 1 09-14-2007 11:38 AM
Backfill data in Daily chart (July/August data missing) RK_trader Charting 4 09-09-2007 10:52 PM
Data Series question NinjaTrader_Josh Indicator Development 4 05-25-2007 12:43 AM
Format Data Series Unhandled Exception on startDate = lastDate KBJ Charting 9 04-30-2007 08:39 PM
TWS Backfill data Shiva Swinger Charting 5 03-15-2007 12:44 AM


All times are GMT -6. The time now is 09:30 AM.