Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Error

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

    Error

    "7/24/2009 3:15:00 PM Cancelled order due to end of session handling: BarsInProgress=0: Order='NT-00939/Backtest' Name='ProfitTake' State=Working Instrument='ES ##-##' Action=Sell Limit price=0 Stop price=0 Quantity=1 Strategy='LongEntryHold' Type=Market Tif=Day Oco='oco1' Filled=0 Fill price=0 Token='637ac7afb5054c99a71b5406ff434e28' Gtd='12/1/2099 12:00:00 AM'
    "

    What is this error? end of session handling? I have exit on close = false and the strategy is intended to hold overnight. What can cause this?

    #2
    Hi neb1998,

    The TimeInForce(TIF) on the order is Day, which means it is cancelled at the end of the session. You can set as Gtc for GoodTillCancelled.

    7/24/2009 3:15:00 PM Cancelled order due to end of session handling: BarsInProgress=0: Order='NT-00939/Backtest' Name='ProfitTake' State=Working Instrument='ES ##-##' Action=Sell Limit price=0 Stop price=0 Quantity=1 Strategy='LongEntryHold' Type=Market Tif=Day Oco='oco1' Filled=0 Fill price=0 Token='637ac7afb5054c99a71b5406ff434e28' Gtd='12/1/2099 12:00:00 AM'
    Ryan M.NinjaTrader Customer Service

    Comment


      #3
      yeah thanks, brain fart......

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by CaptainJack, 04-24-2026, 11:07 PM
      0 responses
      18 views
      0 likes
      Last Post CaptainJack  
      Started by Mindset, 04-21-2026, 06:46 AM
      0 responses
      120 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by M4ndoo, 04-20-2026, 05:21 PM
      0 responses
      174 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by M4ndoo, 04-19-2026, 05:54 PM
      0 responses
      92 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by cmoran13, 04-16-2026, 01:02 PM
      0 responses
      134 views
      0 likes
      Last Post cmoran13  
      Working...
      X