Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

OCO Not "Canceling Other" Using ATI

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

    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.

    #2
    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?
    BertrandNinjaTrader Customer Service

    Comment


      #3
      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!

      Comment


        #4
        You're welcome, glad to hear the update.
        BertrandNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by AdamDJ8, Today, 09:18 PM
        0 responses
        2 views
        0 likes
        Last Post AdamDJ8
        by AdamDJ8
         
        Started by knowmad, Today, 03:52 AM
        2 responses
        26 views
        0 likes
        Last Post knowmad
        by knowmad
         
        Started by ETFVoyageur, Today, 07:05 PM
        0 responses
        8 views
        0 likes
        Last Post ETFVoyageur  
        Started by Orion815, 05-02-2024, 08:39 AM
        2 responses
        18 views
        0 likes
        Last Post Orion815  
        Started by suroot, 02-25-2017, 04:43 AM
        11 responses
        2,554 views
        0 likes
        Last Post Zilvercat  
        Working...
        X