Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

OCO ID Issue with Strategy

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

    OCO ID Issue with Strategy

    How do you fix this error message? Playback101, Order '07c92....' can't be submitted. The OCO ID '3b5740....' cannot be reused. Please use a new OCO ID, affected Order: BuyToCover 2 Limit @ 5529.25. Strategy 'MACDAndEMAEntryStrategy/298911334' submited an order that generated the following error 'Odr rejected'. Strategy has sent cancel requests, attempted to close the position and terminated itself.

    #2
    Hello benmarkal,

    For each new OCO pair a new OCOId must be used. A new order cannot be paired with another order that is not in a working state (filled, cancelled, or rejected).

    These examples provide sample code.

    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Hello Chelsea,

      Thank you for your prompt reply to my post. I appreciate your help and support. Do you happen to have a script for allowing the stop loss and/or take profit that is already placed, in a trade, on the chart to be manually moved as the trade progresses in your favor? Thanks

      Best regards,

      Bennett Kalio

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by CarlTrading, 03-31-2026, 09:41 PM
      1 response
      43 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 04-01-2026, 02:41 AM
      0 responses
      21 views
      0 likes
      Last Post CarlTrading  
      Started by CaptainJack, 03-31-2026, 11:44 PM
      0 responses
      30 views
      1 like
      Last Post CaptainJack  
      Started by CarlTrading, 03-30-2026, 11:51 AM
      0 responses
      50 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 03-30-2026, 11:48 AM
      0 responses
      40 views
      0 likes
      Last Post CarlTrading  
      Working...
      X