Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Pending order can not be cancelled

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

    Pending order can not be cancelled

    1. My strategy made an order.
    2. When I heard "Order Pending", the connction of NT with my broker was lost.
    3. I disconnected NT with my broker manully.
    4. When I reconnect NT with my broker, the connection goes well.
    5. When I run my strategy, it reports "Unable to cancel live orders. Strategy was not started".
    6. In the Orders Tab, it says "Pending" in the state field. When I tried to cancel it by either click the Cancel button or right click on the line then choose "Cancel Order" from the drop down menu, it does not work.

    What can I do right now to cancel this pending order so that I can run my strategy? Thanks!

    #2
    Hello atrader,

    Can you please try a disconnect/re-connect and check if this will remove the pending order.

    If not, unfortunately you will need to wait for your broker to reset their servers which will remove the order as well. When orders remain in a pending status, it indicates NinjaTrader sent the order to your broker however we did not receive a signal back from the broker if the order is accepted or perhaps rejected or cancelled.

    You could remove the order by resetting your database as well, but it will clear all trade history in NinjaTrader. You can reset your database at Control Center-->Tools-->Options-->Data-tab and click Reset DB.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    32 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, Yesterday, 02:41 AM
    0 responses
    14 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    23 views
    1 like
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    40 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    34 views
    0 likes
    Last Post CarlTrading  
    Working...
    X