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
How to know my account has pending/executed orders when resuming running strategy
Collapse
X
-
How to know my account has pending/executed orders when resuming running strategy
If for any reasons such as power outages, so I have to restart running NJ program. If I have pending orders or executed orders, is there a way to know these orders after resuming NJ program? Thanks.Tags: None
-
Ryan, thanks for the answers. But the method you provided is done manually. How could NinjaScript know these order status?
If my NJ scripts issued 10 orders, 5 pending and 5 executed and then hit power outage. Is there a way for my Ninja script to continue handing these order without manually checking and closing these orders?
Comment
-
Yes, this is not done in your own custom coding but there is a sync process made when you restart the strategy. What happens is the strategy is run against historical data and looks to match this historical run with the prior actual run. There are a few different things it will do depending on if it matches successfully and your sync settings. This is detailed here:
Ryan M.NinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by johnMoss, 03-04-2024, 01:53 PM
|
3 responses
47 views
0 likes
|
Last Post
by AndyM
Today, 06:13 PM
|
||
Started by algospoke, Today, 06:01 PM
|
0 responses
8 views
0 likes
|
Last Post
by algospoke
Today, 06:01 PM
|
||
Started by cre8able, Today, 05:53 PM
|
0 responses
9 views
0 likes
|
Last Post
by cre8able
Today, 05:53 PM
|
||
Started by Wessel, 03-23-2024, 02:37 PM
|
3 responses
24 views
0 likes
|
Last Post Today, 04:58 PM | ||
Started by martini, Yesterday, 04:45 PM
|
4 responses
32 views
0 likes
|
Last Post
by martini
Today, 04:48 PM
|
Comment