public DataProviderBase GetDataProvider(bool useDefaultWD)
Returns the Historical Data Provider associated with the DataSet and initializes it if required. If no provider is associated and useDefaultWD is true, the method attempts to use the WealthData provider. If useDefaultWD is false and no provider is associated, it returns null.
public virtual BarHistory GetHistory(string symbol, HistoryScale scale, DateTime startDate, DateTime endDate, int maxBars, DataRequestOptions cb)
Override this method when ShouldReturnOwnData returns true to provide historical data for the specified symbol and scale. Return a BarHistory containing the requested data. The startDate, endDate, and maxBars parameters describe the requested range, and cb contains additional data request options. The base implementation returns null.
public virtual void PostDataLoad(BarHistory bh)
WL9 calls this method after historical data has been loaded for a symbol in the DataSet. The default implementation applies matching entries in DynamicDateRanges to the supplied BarHistory by calling its AddExecutableRange method. Override this method to perform additional post-processing, but call base.PostDataLoad(bh) to retain the dynamic DataSet behavior.