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 NullPointStrategies, Today, 05:17 AM
    0 responses
    44 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    124 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    65 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    42 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    46 views
    0 likes
    Last Post TheRealMorford  
    Working...
    X