Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

What determines start date for data when running strategy?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    What determines start date for data when running strategy?

    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?

    #2
    Historical data for realtime strategies is loaded based on settings in Tools->Options->Data->Chart default lookback period days

    Comment


      #3
      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?

      Comment


        #4
        >> Does the From date actually do anything then?
        No, we will remove with next NT6.5 update.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by CarlTrading, 03-31-2026, 09:41 PM
        1 response
        37 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, Yesterday, 02:41 AM
        0 responses
        17 views
        0 likes
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        25 views
        1 like
        Last Post CaptainJack  
        Started by CarlTrading, 03-30-2026, 11:51 AM
        0 responses
        40 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 03-30-2026, 11:48 AM
        0 responses
        34 views
        0 likes
        Last Post CarlTrading  
        Working...
        X