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 rdtdale, Today, 01:02 PM
    0 responses
    1 view
    0 likes
    Last Post rdtdale
    by rdtdale
     
    Started by alifarahani, Today, 09:40 AM
    3 responses
    15 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Started by RookieTrader, Today, 09:37 AM
    4 responses
    18 views
    0 likes
    Last Post RookieTrader  
    Started by PaulMohn, Today, 12:36 PM
    0 responses
    5 views
    0 likes
    Last Post PaulMohn  
    Started by love2code2trade, 04-17-2024, 01:45 PM
    4 responses
    40 views
    0 likes
    Last Post love2code2trade  
    Working...
    X