3/29/2019 12:06:19 PM Default Unable to cancel out live orders. Strategy 'MyCustomStrategys/155874139' was not started.
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
Strategy keeps disabling
Collapse
X
-
Strategy keeps disabling
Whats this error message and how do I fix it...everytime I turn a strategy on I get this message then strategy automatically disables
3/29/2019 12:06:19 PM Default Unable to cancel out live orders. Strategy 'MyCustomStrategys/155874139' was not started.
Tags: None
-
-
-
rickyblah12,
I am more or less curious if the orders are stuck. Can you confirm that the orders are able to be cancelled manually? I suspect they would be orders on the same instrument you are enabling the strategy on.
Also, what logic are you using to cancel the orders in your strategy?
What StartBehavior are you using?Last edited by NinjaTrader_JoshG; 03-29-2019, 11:23 AM.Josh G.NinjaTrader Customer Service
Comment
-
Some orders are able to cancel out manually but I dont know if those orders are the ones associated with that strategy...how would I know that
Im not sure what you mean by what logic...Im using take profit, stop loss and Enter Long and Enter Short Orders
Im using Wait Until Flat...Is this good?
Comment
-
Im seeing these orders in the positions tab doesnt let me close them...I dont know if thats what you're reffering to...its on sim101 account2 Photos
Comment
-
-
rickyblah12,
Sounds like the orders are indeed stuck.
I suggest resetting the SIM account and then trying again to enable the strategy. Resetting a simulation account will clear all historical trade data from this account. Please follow the instructions below to reset a simulation account.- From the NinjaTrader Control Center window select the Accounts tab
- Right click on your simulation account and select 'Edit Account'
- Press the "Reset" button
Once you reset the SIM account try and enable your strategy.Josh G.NinjaTrader Customer Service
Comment
-
-
I saw you tell someone to rename their db folder...is there anyway to do that and still keep your strategies and workspace?
Comment
-
rickyblah12,
Yes I think it would be ideal to go ahead and clear the history as well.
In regards to renaming the database folder, that is certainly the 'nuclear option' but would also solve the issue. You can rename your "db" folder without affecting your automated strategies or your workspaces. This would create a new NinjaTrader database and clear all previously downloaded historical data from the platform.Josh G.NinjaTrader Customer Service
Comment
-
Originally posted by NinjaTrader_JoshG View Postrickyblah12,
In regards to renaming the database folder, that is certainly the 'nuclear option' but would also solve the issue. You can rename your "db" folder without affecting your automated strategies or your workspaces. This would create a new NinjaTrader database and clear all previously downloaded historical data from the platform.
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by algospoke, Yesterday, 06:40 PM
|
2 responses
23 views
0 likes
|
Last Post
by algospoke
Today, 07:04 PM
|
||
Started by ghoul, Today, 06:02 PM
|
3 responses
14 views
0 likes
|
Last Post Today, 06:43 PM | ||
Started by jeronymite, 04-12-2024, 04:26 PM
|
3 responses
45 views
0 likes
|
Last Post
by jeronymite
Yesterday, 10:10 PM
|
||
Started by Barry Milan, Yesterday, 10:35 PM
|
7 responses
22 views
0 likes
|
Last Post Today, 06:16 PM | ||
Started by AttiM, 02-14-2024, 05:20 PM
|
10 responses
181 views
0 likes
|
Last Post
by jeronymite
Today, 06:11 PM
|
Comment