• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

real time error handling ignore rejections

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

    real time error handling ignore rejections

    Hello. I just wanted to clarify what it means by "Ignore Rejection" in the StopCancelCloseIgnoreRejections.

    So I assume this means if an order is rejected then the strategy just keeps running, but what happens with the order that is rejected? Once it's rejected does it just disappear, as though it was never submitted? I just want to make sure it doesn't linger somewhere for subsequent resubmission.

    Thanks

    #2
    Hello stewarco,

    Thank you for the question.

    The order that is rejected is simply rejected, nothing should disappear as the strategy remains running. Any orders that the strategy submits will be listed in the prior executions/trades etc so even though it was technically an invalid order in some way, it will still be listed.

    At this point after the rejection, your script is still running so if your logic that submitted the rejected order now becomes true again (because the script remained enabled) you could end up resubmitting the same order. This is not the exact same order object but a new order with the same criteria.

    In this situation, it would be up to you to prevent any other orders from being submitted or other values from being reused after the rejection.



    I look forward to being of further assistance.
    JesseNinjaTrader Customer Service

    Comment


      #3
      Thanks!

      Thanks very much. This is consistent with my understanding.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Da vinci, Today, 04:19 PM
      0 responses
      8 views
      0 likes
      Last Post Da vinci  
      Started by brunoviveiros, Today, 09:36 AM
      1 response
      19 views
      0 likes
      Last Post NinjaTrader_BrandonH  
      Started by GARZONJ, Today, 11:22 AM
      1 response
      10 views
      0 likes
      Last Post NinjaTrader_Jesse  
      Started by KonalGondal, Today, 10:18 AM
      1 response
      19 views
      0 likes
      Last Post NinjaTrader_Kate  
      Started by Jorge.andres.o, Today, 09:24 AM
      4 responses
      24 views
      0 likes
      Last Post NinjaTrader_PaulH  
      Working...
      X