Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Cancelled order due to end of session handling

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

    #31
    Hatori,

    Sorry I did not quite understand what you mean. If you have no more data then you will not be able to cancel as nothing is trading. This would be expected.
    Josh P.NinjaTrader Customer Service

    Comment


      #32
      I try to rephrase my previous post:

      We have two different instrument in the strategy.
      The primary instrument traded normally until session end.(24:00)
      but the secondary instrument had no new tick that day from 20:00 ( close to expiration) , and that caused that the primary instrument stop/target cancelled with ''Cancelled order due to end of session handling' message.

      Comment


        #33
        hatori,

        I guess I still don't quite follow. Can you please provide the TraceOrders = true output along with trace/logs so we can see the sequence of events? Thank you.
        Josh P.NinjaTrader Customer Service

        Comment


          #34
          You can reproduce the bug with the included files.

          Import EStemp and TFtemp historical data and run the SessionCancelError strategy on the 5 min EStemp chart.
          You will see that the stop/target canceled on the primary instrument at 20:00 because of the secondary bar session end.

          Regards,
          Hatori.
          Attached Files

          Comment


            #35
            hatori, thanks for providing - we'll try reproducing here.

            Comment


              #36
              hatori, I'm seeing the same on my end - we check into matters.

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by CarlTrading, 03-31-2026, 09:41 PM
              1 response
              152 views
              1 like
              Last Post NinjaTrader_ChelseaB  
              Started by CarlTrading, 04-01-2026, 02:41 AM
              0 responses
              89 views
              1 like
              Last Post CarlTrading  
              Started by CaptainJack, 03-31-2026, 11:44 PM
              0 responses
              133 views
              2 likes
              Last Post CaptainJack  
              Started by CarlTrading, 03-30-2026, 11:51 AM
              0 responses
              127 views
              1 like
              Last Post CarlTrading  
              Started by CarlTrading, 03-30-2026, 11:48 AM
              0 responses
              107 views
              0 likes
              Last Post CarlTrading  
              Working...
              X