The only overloaded method for ExitLong that allows for the barsInProgressIndex parameter is the following:
ExitLong(int barsInProgressIndex, int quantity, string signalName, string fromEntrySignal)
This method requires the fromEntrySignal parameter. When exiting positions opened in previous days of real-time trading, the system does not know the value of fromEntrySignal. How do I get around it? If not, can you please create the following overloaded method:
ExitLong(int barsInProgressIndex, int quantity, string signalName)
Thank you!
Comment