PDA

View Full Version : What determines start date for data when running strategy?


Pete S
12-05-2007, 07:35 AM
If I run a strategy in real-time, the start date for data loaded into the strategy appears to be essentially random, or at least figured out by NT according to some algorithm. I run NT on 2 machines. This morning, regardless of the start date I enter, the data is loaded from 10/23 on one machine and 11/23 on the other machine. This can be seen by simply printing the value of Time[0] in OnBarUpdate. (I have bars required set to zero on both.) Is there some setting here I am missing?

NinjaTrader_Dierk
12-05-2007, 07:39 AM
Historical data for realtime strategies is loaded based on settings in Tools->Options->Data->Chart default lookback period days

Pete S
12-05-2007, 07:50 AM
Wow, thank you, that had been a mystery to me for quite a while, and it makes sense since I do have it set differently on the 2 machines.

Does the From date actually do anything then?

NinjaTrader_Dierk
12-05-2007, 09:05 AM
>> Does the From date actually do anything then?
No, we will remove with next NT6.5 update.