Lean
$LEAN_TAG$
|
Provides FAKE implementation of IHistoryProvider used for testing. FakeDataQueue More...
Public Member Functions | |
override void | Initialize (HistoryProviderInitializeParameters parameters) |
Initializes this history provider to work for the specified job More... | |
override IEnumerable< Slice > | GetHistory (IEnumerable< HistoryRequest > requests, DateTimeZone sliceTimeZone) |
Gets the history for the requested securities More... | |
Public Attributes | |
override int | DataPointCount => _historyCount |
Gets the total number of data points emitted by this history provider More... | |
Additional Inherited Members | |
Protected Member Functions inherited from QuantConnect.Data.HistoryProviderBase | |
virtual void | OnInvalidConfigurationDetected (InvalidConfigurationDetectedEventArgs e) |
Event invocator for the InvalidConfigurationDetected event More... | |
virtual void | OnNumericalPrecisionLimited (NumericalPrecisionLimitedEventArgs e) |
Event invocator for the NumericalPrecisionLimited event More... | |
virtual void | OnDownloadFailed (DownloadFailedEventArgs e) |
Event invocator for the DownloadFailed event More... | |
virtual void | OnReaderErrorDetected (ReaderErrorDetectedEventArgs e) |
Event invocator for the ReaderErrorDetected event More... | |
virtual void | OnStartDateLimited (StartDateLimitedEventArgs e) |
Event invocator for the StartDateLimited event More... | |
Properties inherited from QuantConnect.Data.HistoryProviderBase | |
abstract int | DataPointCount [get] |
Gets the total number of data points emitted by this history provider More... | |
Properties inherited from QuantConnect.Interfaces.IHistoryProvider | |
int | DataPointCount [get] |
Gets the total number of data points emitted by this history provider More... | |
Events inherited from QuantConnect.Data.HistoryProviderBase | |
EventHandler< InvalidConfigurationDetectedEventArgs > | InvalidConfigurationDetected |
Event fired when an invalid configuration has been detected More... | |
EventHandler< NumericalPrecisionLimitedEventArgs > | NumericalPrecisionLimited |
Event fired when the numerical precision in the factor file has been limited More... | |
EventHandler< StartDateLimitedEventArgs > | StartDateLimited |
Event fired when the start date has been limited More... | |
EventHandler< DownloadFailedEventArgs > | DownloadFailed |
Event fired when there was an error downloading a remote file More... | |
EventHandler< ReaderErrorDetectedEventArgs > | ReaderErrorDetected |
Event fired when there was an error reading the data More... | |
Events inherited from QuantConnect.Interfaces.IDataProviderEvents | |
EventHandler< InvalidConfigurationDetectedEventArgs > | InvalidConfigurationDetected |
Event fired when an invalid configuration has been detected More... | |
EventHandler< NumericalPrecisionLimitedEventArgs > | NumericalPrecisionLimited |
Event fired when the numerical precision in the factor file has been limited More... | |
EventHandler< DownloadFailedEventArgs > | DownloadFailed |
Event fired when there was an error downloading a remote file More... | |
EventHandler< ReaderErrorDetectedEventArgs > | ReaderErrorDetected |
Event fired when there was an error reading the data More... | |
EventHandler< StartDateLimitedEventArgs > | StartDateLimited |
Event fired when the start date has been limited More... | |
Provides FAKE implementation of IHistoryProvider used for testing. FakeDataQueue
Definition at line 30 of file FakeHistoryProvider.cs.
|
virtual |
Initializes this history provider to work for the specified job
parameters | The initialization parameters |
Implements QuantConnect.Data.HistoryProviderBase.
Definition at line 43 of file FakeHistoryProvider.cs.
|
virtual |
Gets the history for the requested securities
requests | The historical data requests |
sliceTimeZone | The time zone used when time stamping the slice instances |
Implements QuantConnect.Data.HistoryProviderBase.
Definition at line 53 of file FakeHistoryProvider.cs.
override int QuantConnect.Lean.Engine.HistoricalData.FakeHistoryProvider.DataPointCount => _historyCount |
Gets the total number of data points emitted by this history provider
Definition at line 37 of file FakeHistoryProvider.cs.