• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

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 7robert, Today, 08:11 AM
3 responses
47 views
0 likes
Last Post NinjaTrader_Kate  
Started by madmen, Yesterday, 09:18 PM
1 response
12 views
0 likes
Last Post NinjaTrader_ChrisL  
Started by stoner, Today, 09:01 AM
1 response
8 views
0 likes
Last Post NinjaTrader_Jesse  
Started by Conall, Yesterday, 04:00 PM
1 response
9 views
0 likes
Last Post NinjaTrader_ChelseaB  
Started by neoikon, Today, 08:43 AM
2 responses
13 views
0 likes
Last Post neoikon
by neoikon
 
Working...
X