it works... but the help documentation makes me a bit worried about it.
else if (State == State.Configure) {
IsExitOnSessionCloseStrategy = Instrument.MasterInstrument.InstrumentType == InstrumentType.Future;
}
I want to disable IsExitOnSessionCloseStrategy for Forex or CFDs but leave it enabled for Futures
HELP:
IsExitOnSessionCloseStrategy
Warnings:
•This property should ONLY bet set from the OnStateChange() method during State.SetDefaults or State.Configure
Instrument
Warning: The properties in this class should NOT be accessed within the OnStateChange() method before the State has reached State.DataLoaded |
Comment