Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Position / Order Functions - Stategy Development

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

    Position / Order Functions - Stategy Development

    Hi

    It would be VERY useful to be able to make a call to get all open trades and all working orders ... if for example you have a bunch of trades and orders open and you happen to close your strategy window by mistake you cannot programmatically find out where you are when you bring the strategy window back up! Also equivalent order functions to ExitLong() / ExitShort() to Cancel all working orders without having to specifiy the IOrder refs would be very useful - effectively mimicking the "Flatten Everything" GUI function.

    GetOpenExecutions();
    GetWorkingOrders();
    CancelAllOrders();

    Thanks

    #2
    Thank you for your input Paul, we appreciate it.
    BertrandNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by kaywai, 09-01-2023, 08:44 PM
    5 responses
    601 views
    0 likes
    Last Post NinjaTrader_Jason  
    Started by xiinteractive, 04-09-2024, 08:08 AM
    6 responses
    22 views
    0 likes
    Last Post xiinteractive  
    Started by Pattontje, Yesterday, 02:10 PM
    2 responses
    18 views
    0 likes
    Last Post Pattontje  
    Started by flybuzz, 04-21-2024, 04:07 PM
    17 responses
    230 views
    0 likes
    Last Post TradingLoss  
    Started by agclub, 04-21-2024, 08:57 PM
    3 responses
    17 views
    0 likes
    Last Post TradingLoss  
    Working...
    X