Lean
$LEAN_TAG$
|
Default file provider functionality that retrieves data from disc to be used in an algorithm More...
Public Member Functions | |
virtual Stream | Fetch (string key) |
Retrieves data from disc to be used in an algorithm More... | |
void | Dispose () |
The stream created by this type is passed up the stack to the IStreamReader The stream is closed when the StreamReader that wraps this stream is disposed More... | |
Protected Member Functions | |
virtual void | OnNewDataRequest (DataProviderNewDataRequestEventArgs e) |
Event invocator for the NewDataRequest event More... | |
Events | |
EventHandler< DataProviderNewDataRequestEventArgs > | NewDataRequest |
Event raised each time data fetch is finished (successfully or not) More... | |
Events inherited from QuantConnect.Interfaces.IDataProvider | |
EventHandler< DataProviderNewDataRequestEventArgs > | NewDataRequest |
Event raised each time data fetch is finished (successfully or not) More... | |
Default file provider functionality that retrieves data from disc to be used in an algorithm
Definition at line 25 of file DefaultDataProvider.cs.
|
virtual |
Retrieves data from disc to be used in an algorithm
key | A string representing where the data is stored |
Implements QuantConnect.Interfaces.IDataProvider.
Reimplemented in QuantConnect.Lean.Engine.DataFeeds.ApiDataProvider, and QuantConnect.Lean.Engine.DataFeeds.DownloaderDataProvider.
Definition at line 39 of file DefaultDataProvider.cs.
void QuantConnect.Lean.Engine.DataFeeds.DefaultDataProvider.Dispose | ( | ) |
The stream created by this type is passed up the stack to the IStreamReader The stream is closed when the StreamReader that wraps this stream is disposed
Definition at line 76 of file DefaultDataProvider.cs.
|
protectedvirtual |
Event invocator for the NewDataRequest event
Definition at line 84 of file DefaultDataProvider.cs.
EventHandler<DataProviderNewDataRequestEventArgs> QuantConnect.Lean.Engine.DataFeeds.DefaultDataProvider.NewDataRequest |
Event raised each time data fetch is finished (successfully or not)
Definition at line 32 of file DefaultDataProvider.cs.