Is it possible to leave the string empty to have it pull the primary instrument from the chart. Otherwise it seems you would have to have a separate strategy for each instrument being traded with the strategy.
AddVolumetric(string instrumentName, Data.BarsPeriodType baseBarsPeriodType, int baseBarsPeriodTypeValue, Data.VolumetricDeltaType deltaType, int tickPerLevel)
AddVolumetric("ES 03-18", BarsPeriodType.Minute, 1, VolumetricDeltaType.BidAsk, 1);
I thought it might be possible to input a user variable but the help guide discourages that.
Arguments supplied to AddVolumetric() should be hardcoded and NOT dependent on run-time variables which cannot be reliably obtained during State.Configure (e.g., Instrument, Bars, or user input).
Basically is there anyway not to have to use a separate strategy for each instrument being traded?
Comment