Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Good Til Canceled

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

    Good Til Canceled

    I've created a strategy that I would like to run over a number of days. I need orders to stay in force until they are canceled. While backtesting, although I set the TIF to GTC, the orders are still being canceled at the end of day. I would like to process my strategy using daily and/or weekly bars. Why is my TIF setting being ignored during the backtest? Is this a historical data usage problem?

    Thanks for your help.

    #2
    While backtesting there is an option called Exit on Close. Please turn that to false.
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      thanks for the quick response and for pointing out something that i should have noticed - as a follow-up, is there a reason why choosing 1-day bars would display no information? I set Exit On Close to False, TIF to GTC, 1 Day Bars, perform the backtest and get no chart.

      Thanks again.

      Comment


        #4
        eugenedw,

        You actually need daily bars to make a daily chart. Please ensure your data provider offers daily information. http://www.ninjatrader-support.com/H...HistoricalData
        Josh P.NinjaTrader Customer Service

        Comment


          #5
          thanks. i'll check (would it be just the same to use 1440 min. bars?)

          Comment


            #6
            eugenedw, yes 1440 min charts are a common workaround if your provider does not support historical daily data.

            Comment


              #7
              thanks so much for the speedy responses. you guys are great!

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by Geovanny Suaza, 02-11-2026, 06:32 PM
              0 responses
              649 views
              0 likes
              Last Post Geovanny Suaza  
              Started by Geovanny Suaza, 02-11-2026, 05:51 PM
              0 responses
              370 views
              1 like
              Last Post Geovanny Suaza  
              Started by Mindset, 02-09-2026, 11:44 AM
              0 responses
              109 views
              0 likes
              Last Post Mindset
              by Mindset
               
              Started by Geovanny Suaza, 02-02-2026, 12:30 PM
              0 responses
              574 views
              1 like
              Last Post Geovanny Suaza  
              Started by RFrosty, 01-28-2026, 06:49 PM
              0 responses
              576 views
              1 like
              Last Post RFrosty
              by RFrosty
               
              Working...
              X