Announcement
Collapse
No announcement yet.
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 aytacasan, Today, 02:55 PM
|
0 responses
1 view
0 likes
|
Last Post
![]()
by aytacasan
Today, 02:55 PM
|
||
Started by 9817_dynamic, Today, 02:53 PM
|
0 responses
1 view
0 likes
|
Last Post
![]()
by 9817_dynamic
Today, 02:53 PM
|
||
Started by tshirt99, Today, 02:14 PM
|
2 responses
6 views
0 likes
|
Last Post
![]()
by tshirt99
Today, 02:31 PM
|
||
Started by Mttzern, Today, 02:00 PM
|
1 response
18 views
0 likes
|
Last Post
|
||
Started by robforee2, Today, 01:17 PM
|
1 response
9 views
0 likes
|
Last Post
|
Leave a comment: