Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Cancellation rejected by the Order Management System - Order is complete

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

    Cancellation rejected by the Order Management System - Order is complete

    I am working on an Addon and I am encountering this error "XXXXX, Cancellation rejected by the Order Management System - Order is complete. affected Order: BuyToCover 1 Market" ( the XXX is my account name )


    Then due to this I get an Error dialog that pops up.


    Is there a way to suppress the Error Dialog from popping up directly from the Addon?

    I know that a Strategy allows you to suppress the rejection messages but I'd like to do the same thing directly from my addon.

    #2
    Hello iamjaime89,

    There is not a way to suppress error dialogs. In this case you would need to change your logic so you no longer get this type of rejection. This message is generated because some action was attempted on an already completed order. The best solution is to contact your broker and find out the specifics of what was attempted with the order in question and then you can modify your logic to avoid that happening going forward. If you otherwise wanted to allow rejections and create logic to handle that you need to use a strategy and not an addon.

    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
    20 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
    47 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    38 views
    0 likes
    Last Post CarlTrading  
    Working...
    X