Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Cannot place more than one OCA per vehicle/timeframe

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

    Cannot place more than one OCA per vehicle/timeframe

    I have a strategy that creates an OCA and transmits it to IB.

    The first time a chart is opened AND on a specific time frame, the strategy works absolutely fine.

    However, if I then close the chart and even close NT and re-open, if I open the same vehicle on the same timeframe and attempt to run the strategy again the order fails with the message

    IB, Order rejected - reason: The OCA Group order has already been filled. (201) affected Order:Sell 1 [email protected]

    This order was from the Yen 10 min chart. If I instead even move to an 11 min chart then the strategy will work fine, but again just the once.

    #2
    Hello pcoghlan,

    Thank you for your post.

    Are you using the Unmanaged Order Approach for your strategy? Is this your own custom strategy or one developed by a third party?

    Comment


      #3
      Patrick

      The strategy is being developed for me by a third party and does use the unmanaged order approach.

      Paul

      Originally posted by NinjaTrader_PatrickH View Post
      Hello pcoghlan,

      Thank you for your post.

      Are you using the Unmanaged Order Approach for your strategy? Is this your own custom strategy or one developed by a third party?

      Comment


        #4
        Hello pcoghlan,

        Thank you for your response.

        You would need to inform the developer that the OCO id must change between order sets.

        Comment


          #5
          Originally posted by NinjaTrader_PatrickH View Post
          Hello pcoghlan,

          Thank you for your response.

          You would need to inform the developer that the OCO id must change between order sets.
          Many thanks Patrick, that did turn out to be the issue.

          Paul

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by argusthome, 03-08-2026, 10:06 AM
          0 responses
          61 views
          0 likes
          Last Post argusthome  
          Started by NabilKhattabi, 03-06-2026, 11:18 AM
          0 responses
          40 views
          0 likes
          Last Post NabilKhattabi  
          Started by Deep42, 03-06-2026, 12:28 AM
          0 responses
          21 views
          0 likes
          Last Post Deep42
          by Deep42
           
          Started by TheRealMorford, 03-05-2026, 06:15 PM
          0 responses
          23 views
          0 likes
          Last Post TheRealMorford  
          Started by Mindset, 02-28-2026, 06:16 AM
          0 responses
          51 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Working...
          X