Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Is there any way to update prices on an OCO order w/out canceling and resubmitting?

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

    Is there any way to update prices on an OCO order w/out canceling and resubmitting?

    The error message I get when I try to modify an OCO order seems pretty clear, lol:

    "OCO orders cannot be modified. You must cancel the OCO pair and resubmit the orders."

    The problem is that this is really slow and heavyweight in some high speed circumstances. Just modifying the prices on the different sides of the order pair is so much simpler and faster. And they are two separate orders anyway, so this restriction seems arbitrary and unnecessary.

    What am I missing? Are there techniques for working around this?

    Do the rules and/or implementation details for OCO orders vary by backend? Like I might get different behavior on Interactive Brokers, as compared to TDA?

    I have my own ways around this, but it would involve not using OCO orders, which are quite nice in their own right, absent this issue (which is serious for me).

    Cheers.

    #2
    Hello carnitron,

    Thank you very much for your post.

    Unfortunately, this is a limitation specific to the TD Ameritrade API. To quote our Connection Guide:

    When submitting orders within an OCO group, the orders must be submitted as a pair and after submission, those orders will no longer be modifiable. To make a change to an OCO grouped order it must be cancelled and resubmitted. ATM functionality which would modify submitted stops and targets on TD Ameritrade accounts are therefore not supported.

    ​As this is a limitation of the API itself, it would not be possible to circumvent this on the platform's side.

    Please don't hesitate to let me know, should you have any further questions!

    Comment


      #3
      Argh, why TDA? WHY? Lol. Ok. Thanks for pointing out that Connection Guide.

      (And thank you for rapidly answering my non-stop late night barrage of questions here, I very much appreciate it. I'm almost done!)

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by argusthome, 03-08-2026, 10:06 AM
      0 responses
      76 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      45 views
      0 likes
      Last Post NabilKhattabi  
      Started by Deep42, 03-06-2026, 12:28 AM
      0 responses
      26 views
      0 likes
      Last Post Deep42
      by Deep42
       
      Started by TheRealMorford, 03-05-2026, 06:15 PM
      0 responses
      32 views
      0 likes
      Last Post TheRealMorford  
      Started by Mindset, 02-28-2026, 06:16 AM
      0 responses
      62 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Working...
      X