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

Provides an implementation of IUniverseSelectionModel that wraps a PyObject object More...

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

Public Member Functions

override DateTime GetNextRefreshTimeUtc ()
 Gets the next time the framework should invoke the CreateUniverses method to refresh the set of universes. More...
 
 UniverseSelectionModelPythonWrapper (PyObject model)
 Constructor for initialising the IUniverseSelectionModel class with wrapped PyObject object More...
 
override IEnumerable< UniverseCreateUniverses (QCAlgorithm algorithm)
 Creates the universes for this algorithm. Called once after IAlgorithm.Initialize More...
 

Detailed Description

Provides an implementation of IUniverseSelectionModel that wraps a PyObject object

Definition at line 28 of file UniverseSelectionModelPythonWrapper.cs.

Constructor & Destructor Documentation

◆ UniverseSelectionModelPythonWrapper()

QuantConnect.Algorithm.Framework.Selection.UniverseSelectionModelPythonWrapper.UniverseSelectionModelPythonWrapper ( PyObject  model)

Constructor for initialising the IUniverseSelectionModel class with wrapped PyObject object

Parameters
modelModel defining universes for the algorithm

Definition at line 50 of file UniverseSelectionModelPythonWrapper.cs.

Here is the call graph for this function:

Member Function Documentation

◆ GetNextRefreshTimeUtc()

override DateTime QuantConnect.Algorithm.Framework.Selection.UniverseSelectionModelPythonWrapper.GetNextRefreshTimeUtc ( )
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.

Definition at line 36 of file UniverseSelectionModelPythonWrapper.cs.

◆ CreateUniverses()

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

Creates the universes for this algorithm. Called once after IAlgorithm.Initialize

Parameters
algorithmThe algorithm instance to create universes for
Returns
The universes to be used by the algorithm

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

Definition at line 72 of file UniverseSelectionModelPythonWrapper.cs.

Here is the call graph for this function:

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