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
Comment