Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

OCO Not "Canceling Other" Using ATI

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • NinjaTrader_Bertrand
    replied
    You're welcome, glad to hear the update.

    Leave a comment:


  • LeeMellinger
    replied
    Resolved! Pilot Error. The additional order that I was seeing was not the other side of the (uncanceled) OCO order but rather the Trailing Stop from the attached ATM Strategy which is exactly right.

    Thanks for you help!

    Leave a comment:


  • NinjaTrader_Bertrand
    replied
    Hi Lee, if you check the accepted orders in NT's Control Center, does the OCO Id list for them as you would expect from the Command call?

    Leave a comment:


  • LeeMellinger
    started a topic OCO Not "Canceling Other" Using ATI

    OCO Not "Canceling Other" Using ATI

    I've submitted two orders using ATI in the SIM101 account:

    Command("PLACE","SIM101","AAPL","BUY",200,"STOP",0 ,612.50,"DAY",<GUID>,"","TrailingStop","")

    Command("PLACE","SIM101","AAPL","SELL",200,"STOP", 0,612.40,"DAY",<GUID>,"","TrailingStop","")

    I've specified the same OCO ID (<GUID>) for both orders. However, when one executes, the other does not cancel. Am I missing something?

    Thanks.

Latest Posts

Collapse

Topics Statistics Last Post
Started by geotrades1, Today, 10:02 AM
1 response
4 views
0 likes
Last Post NinjaTrader_BrandonH  
Started by ender_wiggum, Today, 09:50 AM
1 response
5 views
0 likes
Last Post NinjaTrader_Gaby  
Started by rajendrasubedi2023, Today, 09:50 AM
1 response
12 views
0 likes
Last Post NinjaTrader_BrandonH  
Started by bmartz, Today, 09:30 AM
1 response
9 views
0 likes
Last Post NinjaTrader_Erick  
Started by geddyisodin, Today, 05:20 AM
3 responses
26 views
0 likes
Last Post NinjaTrader_Gaby  
Working...
X