I am using NinjaTrader.NinjaScript.AtmStrategy.StartAtmStrate gy to start an ATM strategy from an AddOn.
// Submits our entry order with the ATM strategy named "myAtmStrategyName"
NinjaTrader.NinjaScript.AtmStrategy.StartAtmStrate gy("myAtmStrategyName", entryOrder);
What is the equivalent to AtmStrategyClose(string atmStrategyId) that I can call from an AddOn to close my ATM?
In other words, how can I close the position, hence the ATM strategy, from an add on?
Thank you!
jmneto
Comment