Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Cancel ATM from code

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

    Cancel ATM from code

    Hello,

    I would like to cancel a pending ATM order from code. Is there any way to do this?

    Is there a way to close ALL pending orders, no matter if is an ATM or Strategy launched?

    Thanks

    #2
    TurtleTrader, unfortunately there's no programmatic 'Flatten All' command, you could however cancel open orders via the CancelOrder method if you work with IOrder objects in your code.
    BertrandNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by sinpeople, Today, 07:20 AM
    1 response
    2 views
    0 likes
    Last Post NT-Roland  
    Started by Frank1000, Today, 03:05 AM
    1 response
    4 views
    0 likes
    Last Post NT-Roland  
    Started by ntdev, Today, 01:14 AM
    4 responses
    16 views
    0 likes
    Last Post ntdev
    by ntdev
     
    Started by ct, Today, 02:22 AM
    1 response
    6 views
    0 likes
    Last Post NinjaTrader_Jason  
    Started by yodaler, Yesterday, 06:12 PM
    4 responses
    13 views
    0 likes
    Last Post NinjaTrader_Jason  
    Working...
    X