Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

stuck Cancel Pending Order that cannot be removed.

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

    stuck Cancel Pending Order that cannot be removed.

    I am using the Simulation connection and trading on the Demo Account.
    I executes orders with ATM attached.

    I have Sell LMT orders stuck (CANCEL PENDING, they appear yellow-orange) that I cannot cancel, not even with cancelling manually all orders or FlattenEverything.
    They are also compressing the chart and I cannot see anything. I literally cannot traded because of it. Why the platform is unable to handle its own orders? It seems so absurd. So the question is actually serious,
    why Ninjatrader platform cannot erase them with cancelAllOrders?

    Why do they get stuck, it happens quite frequently.

    ​Is there a way to prevent this from happening? In the code I wait three seconds to cancel all orders and flatten everything after seeing that the ATM couldn't close positions or brackets orders.

    Also
    This is happening often on simulation account and it gives me fear to trade on a live account. Does it mean that live account they'll stay open/active and I'll have to call in?

    Regards
    G
    Last edited by giogio1; 03-10-2025, 06:28 AM.

    #2
    Hello G,

    If the order is on the Sim101 reset the Sim101.

    If the order is on a live demo, disconnect from the connection and reconnect and the order should be cleared.

    The order can get stuck for many reasons. An invalid order, an order that was submitted when the exchange was closed, an order that did not receive an accepted update, an order that originated outside of NinjaTrader can all cause an order to be stuck.
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    87 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    132 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    65 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    118 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    67 views
    0 likes
    Last Post PaulMohn  
    Working...
    X