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!
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
NinjaTrader
real time error handling ignore rejections
Collapse
X
-
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:
-
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.
ThanksTags: None
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by ender_wiggum, Today, 09:50 AM
|
1 response
5 views
0 likes
|
Last Post Today, 10:10 AM | ||
Started by rajendrasubedi2023, Today, 09:50 AM
|
1 response
10 views
0 likes
|
Last Post Today, 10:05 AM | ||
Started by geotrades1, Today, 10:02 AM
|
0 responses
4 views
0 likes
|
Last Post
by geotrades1
Today, 10:02 AM
|
||
Started by bmartz, Today, 09:30 AM
|
1 response
8 views
0 likes
|
Last Post Today, 09:48 AM | ||
Started by geddyisodin, Today, 05:20 AM
|
3 responses
24 views
0 likes
|
Last Post Today, 09:36 AM |
Leave a comment: