Sorry I did not quite understand what you mean. If you have no more data then you will not be able to cancel as nothing is trading. This would be expected.
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
Cancelled order due to end of session handling
Collapse
X
-
I try to rephrase my previous post:
We have two different instrument in the strategy.
The primary instrument traded normally until session end.(24:00)
but the secondary instrument had no new tick that day from 20:00 ( close to expiration) , and that caused that the primary instrument stop/target cancelled with ''Cancelled order due to end of session handling' message.
Comment
-
You can reproduce the bug with the included files.
Import EStemp and TFtemp historical data and run the SessionCancelError strategy on the 5 min EStemp chart.
You will see that the stop/target canceled on the primary instrument at 20:00 because of the secondary bar session end.
Regards,
Hatori.
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by Stanfillirenfro, Today, 07:23 AM
|
1 response
2 views
0 likes
|
Last Post Today, 07:37 AM | ||
Started by cmtjoancolmenero, Yesterday, 03:58 PM
|
2 responses
20 views
0 likes
|
Last Post Today, 07:24 AM | ||
Started by olisav57, Yesterday, 07:39 PM
|
1 response
9 views
0 likes
|
Last Post Today, 07:23 AM | ||
Started by cocoescala, 10-12-2018, 11:02 PM
|
7 responses
943 views
0 likes
|
Last Post
by Jquiroz1975
Today, 07:21 AM
|
||
Started by oviejo, Today, 12:28 AM
|
1 response
12 views
0 likes
|
Last Post Today, 07:20 AM |
Comment