Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Cancel Everything

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

  • r2kTrader
    replied
    The problem with this is that you also stop your strategy. If that is not a problem, then you coud duplicate the "Flatten Everything" menu item programmatically by following this thread.





    It is not supported by NT. Please test at your own risk.


    Originally posted by NinjaTrader_Bertrand View Post
    Thanks for the suggestion Paul - a manual way would be the command 'Flatten everything' in the File menu.

    Leave a comment:


  • NinjaTrader_Kyle
    replied
    Hi Paul,

    Thank you for your reply.

    NinjaTrader 7 is currently slated for a beta release in the second quarter.

    Leave a comment:


  • murfinp
    replied
    Originally posted by NinjaTrader_Bertrand View Post
    I agree Paul, thanks for the input - NinjaTrader 7 will address strategy persistence across sessions.
    Hi Bertrand

    When is Ninja 7 due

    Thanks

    Paul

    Leave a comment:


  • NinjaTrader_Bertrand
    replied
    I agree Paul, thanks for the input - NinjaTrader 7 will address strategy persistence across sessions.

    Leave a comment:


  • murfinp
    replied
    Originally posted by NinjaTrader_Bertrand View Post
    Thanks for the suggestion Paul - a manual way would be the command 'Flatten everything' in the File menu.
    Hi Bertrand

    Thanks ... though it would be really useful to have a programable equivalent .... Would also 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 ...

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

    Would be highly appreciated !!!!!

    Thanks again ...

    Leave a comment:


  • NinjaTrader_Bertrand
    replied
    Thanks for the suggestion Paul - a manual way would be the command 'Flatten everything' in the File menu.

    Leave a comment:


  • murfinp
    started a topic Cancel Everything

    Cancel Everything

    Hi

    Could I request a CancelAllOrders() function ... I see you can call ExitLong() / ExitShort() to close all all executed open trades but there does not seem to be an equivalent for working/open orders ... it would be really useful as I would not have to maintain my own list of open orders.

    Thanks

    Paul

Latest Posts

Collapse

Topics Statistics Last Post
Started by sofortune, Today, 02:31 AM
0 responses
7 views
0 likes
Last Post sofortune  
Started by sofortune, Today, 01:55 AM
1 response
5 views
0 likes
Last Post sofortune  
Started by cls71, Today, 01:37 AM
0 responses
8 views
0 likes
Last Post cls71
by cls71
 
Started by WHICKED, 06-27-2023, 12:07 PM
63 responses
764 views
1 like
Last Post Leeroy_Jenkins  
Started by rtwave, Today, 12:10 AM
0 responses
6 views
0 likes
Last Post rtwave
by rtwave
 
Working...
X