Thank you for providing the AddDataSeries override barsToLoad.
While instrumentName can be retrieved via Instrument.MasterInstrument.Name, the Instrument class should NOT be accessed before State.DataLoaded.
While trandingHoursName can be retrieved via Bars.TradingHours.Name, the Bars object should NOT be accessed before State.DataLoaded.
Am I missing something?
While I believe both DaysToLoad and ApplyDefaultBasePeriodValue operate on the Primary Bars Object, can they be of help?
Thanks
Shannon
Comment