Lean
$LEAN_TAG$
|
This universe selection model will chain to the security changes of a given Universe selection output and create a new OptionChainUniverse for each of them More...
Public Member Functions | |
override DateTime | GetNextRefreshTimeUtc () |
Gets the next time the framework should invoke the CreateUniverses method to refresh the set of universes. More... | |
OptionChainedUniverseSelectionModel (Universe universe, Func< OptionFilterUniverse, OptionFilterUniverse > optionFilter, UniverseSettings universeSettings=null) | |
Creates a new instance of OptionChainedUniverseSelectionModel More... | |
OptionChainedUniverseSelectionModel (Universe universe, PyObject optionFilter, UniverseSettings universeSettings=null) | |
Creates a new instance of OptionChainedUniverseSelectionModel More... | |
override IEnumerable< Universe > | CreateUniverses (QCAlgorithm algorithm) |
Creates the universes for this algorithm. Called once after IAlgorithm.Initialize More... | |
This universe selection model will chain to the security changes of a given Universe selection output and create a new OptionChainUniverse for each of them
Definition at line 32 of file OptionChainedUniverseSelectionModel.cs.
QuantConnect.Algorithm.Selection.OptionChainedUniverseSelectionModel.OptionChainedUniverseSelectionModel | ( | Universe | universe, |
Func< OptionFilterUniverse, OptionFilterUniverse > | optionFilter, | ||
UniverseSettings | universeSettings = null |
||
) |
Creates a new instance of OptionChainedUniverseSelectionModel
universe | The universe we want to chain to |
optionFilter | The option filter universe to use |
universeSettings | Universe settings define attributes of created subscriptions, such as their resolution and the minimum time in universe before they can be removed |
Definition at line 50 of file OptionChainedUniverseSelectionModel.cs.
QuantConnect.Algorithm.Selection.OptionChainedUniverseSelectionModel.OptionChainedUniverseSelectionModel | ( | Universe | universe, |
PyObject | optionFilter, | ||
UniverseSettings | universeSettings = null |
||
) |
Creates a new instance of OptionChainedUniverseSelectionModel
universe | The universe we want to chain to |
optionFilter | The python option filter universe to use |
universeSettings | Universe settings define attributes of created subscriptions, such as their resolution and the minimum time in universe before they can be removed |
Definition at line 85 of file OptionChainedUniverseSelectionModel.cs.
|
virtual |
Gets the next time the framework should invoke the CreateUniverses
method to refresh the set of universes.
Reimplemented from QuantConnect.Algorithm.Framework.Selection.UniverseSelectionModel.
|
virtual |
Creates the universes for this algorithm. Called once after IAlgorithm.Initialize
algorithm | The algorithm instance to create universes for |
Reimplemented from QuantConnect.Algorithm.Framework.Selection.UniverseSelectionModel.
Definition at line 96 of file OptionChainedUniverseSelectionModel.cs.