Forum: NinjaTrader
February 28th, 2021, 02:46 PM
|
Replies: 1
Views: 1,067
An approach could be to save all Order objects...
An approach could be to save all Order objects generated by the strategy to a list within the strategy. Then on termination you’d loop through the strategy’s orders and cancel those that are pending,...
|