Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Slow strategy starts

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

    Slow strategy starts

    Hi,

    it might have been posted already: when a strategy is started on seconds/ticks, NT will process a couple of previous days. It may cause significant delays - except Mondays, rather obviously I have heard that the number of pre-processed days could be changed in Options. Unfortunately, i did not find anything like that (running NT 6.5).

    I would appreciate any help - these slow starts are rather annoying.

    Cheers,

    Tomas

    #2
    Have you tried adjusting the default look back period?

    Tools--> Options--> Data
    JessicaNinjaTrader Customer Service

    Comment


      #3
      Hi Jessica,

      thank you! I have completely misinterpreted that column, thought it is for _plotting_ charts only and not for running strategies.

      Cheers,

      Tomas

      Comment


        #4
        ...and hi again: unfortunately the default look back period for ticks can not be smaller than 1 - i.e. i have to run on the previous day ticks - if i understand this correctly. Could this be changed?

        Cheers,

        Tomas

        Comment


          #5
          Tomas,

          You will not be able to load less. One day's worth of tick data should not slow you down significantly. If your strategy is calculation intensive you can add this condition in the OnBarUpdate() to eliminate calculations on historical bars and improve load time considerably.

          Code:
          if (Historical)
               return;
          Josh P.NinjaTrader Customer Service

          Comment


            #6
            Thank you Josh. Indeed, it does a lot of calculations on ticks and a whole one (historical) day of ticks slows down the strategy startup incredibly.

            Best,
            Tomas

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by charlesugo_1, 05-26-2026, 05:03 PM
            0 responses
            59 views
            0 likes
            Last Post charlesugo_1  
            Started by DannyP96, 05-18-2026, 02:38 PM
            1 response
            143 views
            0 likes
            Last Post NinjaTrader_ChelseaB  
            Started by CarlTrading, 05-11-2026, 05:56 AM
            0 responses
            161 views
            0 likes
            Last Post CarlTrading  
            Started by CarlTrading, 05-10-2026, 08:12 PM
            0 responses
            97 views
            0 likes
            Last Post CarlTrading  
            Started by Hwop38, 05-04-2026, 07:02 PM
            0 responses
            283 views
            0 likes
            Last Post Hwop38
            by Hwop38
             
            Working...
            X