Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

real time error handling ignore rejections

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

  • stewarco
    replied
    Thanks!

    Thanks very much. This is consistent with my understanding.

    Leave a comment:


  • NinjaTrader_Jesse
    replied
    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.

    Leave a comment:


  • stewarco
    started a topic real time error handling ignore rejections

    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

Latest Posts

Collapse

Topics Statistics Last Post
Started by ender_wiggum, Today, 09:50 AM
1 response
5 views
0 likes
Last Post NinjaTrader_Gaby  
Started by rajendrasubedi2023, Today, 09:50 AM
1 response
10 views
0 likes
Last Post NinjaTrader_BrandonH  
Started by geotrades1, Today, 10:02 AM
0 responses
4 views
0 likes
Last Post geotrades1  
Started by bmartz, Today, 09:30 AM
1 response
8 views
0 likes
Last Post NinjaTrader_Erick  
Started by geddyisodin, Today, 05:20 AM
3 responses
24 views
0 likes
Last Post NinjaTrader_Gaby  
Working...
X