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 yertle, Yesterday, 08:38 AM
    7 responses
    28 views
    0 likes
    Last Post yertle
    by yertle
     
    Started by bmartz, 03-12-2024, 06:12 AM
    2 responses
    21 views
    0 likes
    Last Post bmartz
    by bmartz
     
    Started by funk10101, Today, 12:02 AM
    0 responses
    4 views
    0 likes
    Last Post funk10101  
    Started by gravdigaz6, Yesterday, 11:40 PM
    1 response
    8 views
    0 likes
    Last Post NinjaTrader_Manfred  
    Started by MarianApalaghiei, Yesterday, 10:49 PM
    3 responses
    11 views
    0 likes
    Last Post NinjaTrader_Manfred  
    Working...
    X