Lean
$LEAN_TAG$
|
Provides an implementation of IFactorFileProvider that searches the local disk for a zip file containing all factor files More...
Public Member Functions | |
LocalZipFactorFileProvider () | |
Creates a new instance of the LocalZipFactorFileProvider class. More... | |
void | Initialize (IMapFileProvider mapFileProvider, IDataProvider dataProvider) |
Initializes our FactorFileProvider by supplying our mapFileProvider and dataProvider More... | |
IFactorProvider | Get (Symbol symbol) |
Gets a FactorFile<T> instance for the specified symbol, or null if not found More... | |
Protected Member Functions | |
virtual void | StartExpirationTask () |
Helper method that will clear any cached factor files in a daily basis, this is useful for live trading More... | |
Properties | |
virtual TimeSpan | CacheRefreshPeriod [get] |
The cached refresh period for the factor files More... | |
Provides an implementation of IFactorFileProvider that searches the local disk for a zip file containing all factor files
Definition at line 28 of file LocalZipFactorFileProvider.cs.
QuantConnect.Data.Auxiliary.LocalZipFactorFileProvider.LocalZipFactorFileProvider | ( | ) |
Creates a new instance of the LocalZipFactorFileProvider class.
Definition at line 57 of file LocalZipFactorFileProvider.cs.
void QuantConnect.Data.Auxiliary.LocalZipFactorFileProvider.Initialize | ( | IMapFileProvider | mapFileProvider, |
IDataProvider | dataProvider | ||
) |
Initializes our FactorFileProvider by supplying our mapFileProvider and dataProvider
mapFileProvider | MapFileProvider to use |
dataProvider | DataProvider to use |
Implements QuantConnect.Interfaces.IFactorFileProvider.
Definition at line 70 of file LocalZipFactorFileProvider.cs.
IFactorProvider QuantConnect.Data.Auxiliary.LocalZipFactorFileProvider.Get | ( | Symbol | symbol | ) |
Gets a FactorFile<T> instance for the specified symbol, or null if not found
symbol | The security's symbol whose factor file we seek |
Implements QuantConnect.Interfaces.IFactorFileProvider.
Definition at line 87 of file LocalZipFactorFileProvider.cs.
|
protectedvirtual |
Helper method that will clear any cached factor files in a daily basis, this is useful for live trading
Definition at line 113 of file LocalZipFactorFileProvider.cs.
|
getprotected |
The cached refresh period for the factor files
Exposed for testing
Definition at line 41 of file LocalZipFactorFileProvider.cs.