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 siroki, Today, 03:22 AM
      0 responses
      10 views
      0 likes
      Last Post siroki
      by siroki
       
      Started by nailui, Today, 03:01 AM
      1 response
      11 views
      0 likes
      Last Post NinjaTrader_Jason  
      Started by an.fedorov, Today, 02:32 AM
      0 responses
      10 views
      0 likes
      Last Post an.fedorov  
      Started by rustyspring, Today, 01:31 AM
      1 response
      14 views
      0 likes
      Last Post NinjaTrader_Jason  
      Started by op1031, Today, 12:26 AM
      0 responses
      12 views
      0 likes
      Last Post op1031
      by op1031
       
      Working...
      X