Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Cancelling Orders with COMMAND not working
Collapse
X
-
Cancelling Orders with COMMAND not working
I am making BUY SELL calls through my own software using DOS commands which are faster than using the Place function which is part of the dll infrastructure. But, because of this, I believe I have run into difficulty in cancelling orders using the COMMAND function. I continue to get a VALUE# error when entering the required parameters including the Order ID. I believe that the only way it will work is if the order was placed through the PLACE command and it must have associated with it a valid strategy ID that was entered as part of the PLACE execution. Is there any way around this problem or do I have to sit down and reprogram again. Perhaps there is another function other than COMMAND that can be used to cancel an order.Tags: None
-
sdruley, correct the order id has to match the one assigned through the PLACE call, or if you've assigned /executed an ATM strategy as well, you could reference the order through the name directly (TARGET1 for example).
There's a CANCELALLORDERS as well available, but likely not optimal for your case so reprogramming to take the above into consideration would be best I feel.BertrandNinjaTrader Customer Service
Comment
-
You can simply keep this list as reference handy as you program your interface - http://www.ninjatrader.com/support/h.../functions.htmBertrandNinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by FishTrade, Today, 03:42 PM
|
0 responses
1 view
0 likes
|
Last Post
by FishTrade
Today, 03:42 PM
|
||
Started by Richozzy38, Today, 01:06 PM
|
3 responses
14 views
0 likes
|
Last Post
by Richozzy38
Today, 03:27 PM
|
||
Started by ttrader23, Today, 09:04 AM
|
2 responses
10 views
0 likes
|
Last Post
by ttrader23
Today, 03:22 PM
|
||
Started by geotrades1, Today, 07:54 AM
|
10 responses
26 views
0 likes
|
Last Post Today, 03:07 PM | ||
Started by ninza33, Yesterday, 12:31 PM
|
3 responses
16 views
0 likes
|
Last Post Today, 02:57 PM |
Comment