Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Can OCO Orders be Generated for TD Ameritrade using ATI?

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

    Can OCO Orders be Generated for TD Ameritrade using ATI?

    The documentation indicates that TD Ameritrade "requires that OCO orders are submitted simultaneously in a single API call vs sending them in sequence with an include user defined OCO identifier. For brokers that require OCO orders to be submitted in a single function call, a NinjaScript strategy must wait until it has both legs of the OCO pair generated by SetStopLoss(), SetTrailStop() and SetProfitTarget()."

    Question #1: In a Strategy you could just use: WaitForOcoClosingBracket. However, the ATI appears to only support using OCOs with an identifier. Does this mean that OCO orders to TD Ameritrade can not be created properly through ATI?

    Question #2: Are Interactive Brokers and TD Ameritrade the only NT brokers that support server side OCO orders?

    Thanks!

    #2
    Hello,

    Thanks for the post.

    1) This is unfortunately the case with the ATI. You would use local OCO simulation however in this scenario.

    2) Correct.

    -Brett

    Comment


      #3
      #1 So, just to be clear, when sending orders through ATI I can simply specify a unique OCO identifier and depending the broker (excluding TDA) the OCOs will be created either server side (with IB) or simulated automatically for all others?

      #2 How would I use simulated OCO with TD Ameritrade using the ATI?

      Comment


        #4
        1) Correct.

        2) Just submit the order with OCO ID and you will be using the simulated.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Max238, Today, 01:28 AM
        4 responses
        33 views
        0 likes
        Last Post Max238
        by Max238
         
        Started by r68cervera, Today, 05:29 AM
        1 response
        7 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by geddyisodin, Today, 05:20 AM
        1 response
        11 views
        0 likes
        Last Post NinjaTrader_Gaby  
        Started by timko, Today, 06:45 AM
        2 responses
        13 views
        0 likes
        Last Post NinjaTrader_ChristopherJ  
        Started by habeebft, Today, 07:27 AM
        0 responses
        6 views
        0 likes
        Last Post habeebft  
        Working...
        X