Lean  $LEAN_TAG$
QuantConnect.Algorithm.Framework.Selection.ManualUniverseSelectionModel Class Reference

Provides an implementation of IUniverseSelectionModel that simply subscribes to the specified set of symbols More...

Inheritance diagram for QuantConnect.Algorithm.Framework.Selection.ManualUniverseSelectionModel:
[legend]

Public Member Functions

 ManualUniverseSelectionModel ()
 Initializes a new instance of the ManualUniverseSelectionModel class using the algorithm's security initializer and universe settings More...
 
 ManualUniverseSelectionModel (IEnumerable< Symbol > symbols)
 Initializes a new instance of the ManualUniverseSelectionModel class using the algorithm's security initializer and universe settings More...
 
 ManualUniverseSelectionModel (params Symbol[] symbols)
 Initializes a new instance of the ManualUniverseSelectionModel class using the algorithm's security initializer and universe settings More...
 
 ManualUniverseSelectionModel (IEnumerable< Symbol > symbols, UniverseSettings universeSettings)
 Initializes a new instance of the ManualUniverseSelectionModel class More...
 
override IEnumerable< UniverseCreateUniverses (QCAlgorithm algorithm)
 Creates the universes for this algorithm. Called at algorithm start. More...
 
- Public Member Functions inherited from QuantConnect.Algorithm.Framework.Selection.UniverseSelectionModel
virtual DateTime GetNextRefreshTimeUtc ()
 Gets the next time the framework should invoke the CreateUniverses method to refresh the set of universes. More...
 

Detailed Description

Provides an implementation of IUniverseSelectionModel that simply subscribes to the specified set of symbols

Definition at line 30 of file ManualUniverseSelectionModel.cs.

Constructor & Destructor Documentation

◆ ManualUniverseSelectionModel() [1/4]

QuantConnect.Algorithm.Framework.Selection.ManualUniverseSelectionModel.ManualUniverseSelectionModel ( )

Initializes a new instance of the ManualUniverseSelectionModel class using the algorithm's security initializer and universe settings

Definition at line 41 of file ManualUniverseSelectionModel.cs.

◆ ManualUniverseSelectionModel() [2/4]

QuantConnect.Algorithm.Framework.Selection.ManualUniverseSelectionModel.ManualUniverseSelectionModel ( IEnumerable< Symbol symbols)

Initializes a new instance of the ManualUniverseSelectionModel class using the algorithm's security initializer and universe settings

Parameters
symbolsThe symbols to subscribe to. Should not send in symbols at QCAlgorithm.Securities since those will be managed by the UserDefinedUniverse

Definition at line 52 of file ManualUniverseSelectionModel.cs.

◆ ManualUniverseSelectionModel() [3/4]

QuantConnect.Algorithm.Framework.Selection.ManualUniverseSelectionModel.ManualUniverseSelectionModel ( params Symbol[]  symbols)

Initializes a new instance of the ManualUniverseSelectionModel class using the algorithm's security initializer and universe settings

Parameters
symbolsThe symbols to subscribe to Should not send in symbols at QCAlgorithm.Securities since those will be managed by the UserDefinedUniverse

Definition at line 63 of file ManualUniverseSelectionModel.cs.

◆ ManualUniverseSelectionModel() [4/4]

QuantConnect.Algorithm.Framework.Selection.ManualUniverseSelectionModel.ManualUniverseSelectionModel ( IEnumerable< Symbol symbols,
UniverseSettings  universeSettings 
)

Initializes a new instance of the ManualUniverseSelectionModel class

Parameters
symbolsThe symbols to subscribe to Should not send in symbols at QCAlgorithm.Securities since those will be managed by the UserDefinedUniverse
universeSettingsThe settings used when adding symbols to the algorithm, specify null to use algorithm.UniverseSettings

Definition at line 74 of file ManualUniverseSelectionModel.cs.

Here is the call graph for this function:

Member Function Documentation

◆ CreateUniverses()

override IEnumerable<Universe> QuantConnect.Algorithm.Framework.Selection.ManualUniverseSelectionModel.CreateUniverses ( QCAlgorithm  algorithm)
virtual

Creates the universes for this algorithm. Called at algorithm start.

Returns
The universes defined by this model

Reimplemented from QuantConnect.Algorithm.Framework.Selection.UniverseSelectionModel.

Definition at line 95 of file ManualUniverseSelectionModel.cs.

Here is the call graph for this function:

The documentation for this class was generated from the following file: