Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Outstanding Order Quantity.

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

    Outstanding Order Quantity.

    Hi,

    Is NT handles the following scenario.

    If I enter a Long position on AAPL with large 5000 quantity and I get partial fills. After 30 seconds later, the order has not completely filled.

    For example the order filled only 3000 quantity, and outstanding quantity is 2000. And I don't want the order with outstanding quantity to be filled after 30 seconds, and the order still be open, and the remaining quantity be filled later. So after 30 seconds I want to cancel only outstanding quantity 2000, not the filled quantity.

    Thanks
    Sameer.

    #2
    Hi Samerr, you can just use the CancelOrder method to cancel your order at the desired point in time - https://www.ninjatrader.com/support/...ancelorder.htm

    For the 30 seconds you could look to implement a custom timer for example to trigger the cancellation (http://www.ninjatrader.com/support/f...ead.php?t=5965) or you would run / work via the timestamps provided by a 30 sec series, although due the event based nature of bars creation the time needed to complete a bar could actually be longer.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    81 views
    1 like
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    41 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    64 views
    2 likes
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    66 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    54 views
    0 likes
    Last Post CarlTrading  
    Working...
    X