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 itrader46, Today, 10:22 AM
      0 responses
      9 views
      0 likes
      Last Post itrader46  
      Started by NM_eFe, Today, 10:13 AM
      0 responses
      2 views
      0 likes
      Last Post NM_eFe
      by NM_eFe
       
      Started by hdge4u, Yesterday, 12:23 PM
      1 response
      10 views
      0 likes
      Last Post hdge4u
      by hdge4u
       
      Started by 1001111, Today, 09:45 AM
      0 responses
      10 views
      0 likes
      Last Post 1001111
      by 1001111
       
      Started by DTSSTS, 01-28-2024, 12:07 PM
      11 responses
      558 views
      0 likes
      Last Post bmo111
      by bmo111
       
      Working...
      X