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 CaptainJack, 05-29-2026, 05:09 AM
              0 responses
              251 views
              0 likes
              Last Post CaptainJack  
              Started by CaptainJack, 05-29-2026, 12:02 AM
              0 responses
              161 views
              0 likes
              Last Post CaptainJack  
              Started by charlesugo_1, 05-26-2026, 05:03 PM
              0 responses
              165 views
              1 like
              Last Post charlesugo_1  
              Started by DannyP96, 05-18-2026, 02:38 PM
              1 response
              250 views
              0 likes
              Last Post NinjaTrader_ChelseaB  
              Started by CarlTrading, 05-11-2026, 05:56 AM
              0 responses
              203 views
              0 likes
              Last Post CarlTrading  
              Working...
              X