Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How to remove cancel pending orders

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

    How to remove cancel pending orders

    Dear team,

    I am running recently into a few issues with orders that appear on state "Cancel pending" and they never cancelled. In fact, they end up getting filled. Is there any way to cancel manually and with Ninjascript?

    For reference, adding here a screenshotClick image for larger version

Name:	image.png
Views:	329
Size:	6.7 KB
ID:	1285419

    Thanks

    #2
    Hello linkcou,

    Cancel pending means there was an attempt to cancel the order but the order could not be cancelled.

    Is this happening to every order that is attempted to be cancelled either manually or from NinjaScript?
    Is this a live, demo, or Sim101 account the order is being placed to?
    May I also confirm you have updated to 8.1.2.1?

    "Is there any way to cancel manually and with Ninjascript?"
    Clicking the X on the order on the Orders tab of the Control Center and supplying an order object to CancelOrder() in NinjaScript attempts to cancel an order. However if an order is in Cancel pending, the order has already been attempted to be cancelled.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Hello Chelsea, thanks for the quick answer!

      It's a funded Topstep simulated account with Rythmic. I'm on version 8.1.1.7 64-bit. How can i update it to get the latest?

      It doesnt happen all the times. Just from time to time. The major issue is that i am unable to cancel manually the order when i click on the X

      Comment


        #4
        Hello linkcou,

        The latest release can be downloaded in the Client Portal.


        If the order cannot be cancelled this could be an issue with the order on the brokerage, or it might not be in a cancellable state (such as already filled), or an in-flight issue where the cancellation is sent at the same time the order is already filled or cancelled.

        Please let me know if you can reproduce with 8.1.2.1.
        Chelsea B.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by NullPointStrategies, Yesterday, 05:17 AM
        0 responses
        56 views
        0 likes
        Last Post NullPointStrategies  
        Started by argusthome, 03-08-2026, 10:06 AM
        0 responses
        133 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        73 views
        0 likes
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        45 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Started by TheRealMorford, 03-05-2026, 06:15 PM
        0 responses
        49 views
        0 likes
        Last Post TheRealMorford  
        Working...
        X