Lean
$LEAN_TAG$
|
Provides helpers for defining universes in algorithms More...
Public Member Functions | |
UniverseDefinitions (QCAlgorithm algorithm) | |
Initializes a new instance of the UniverseDefinitions class More... | |
Universe | ETF (string etfTicker, string market, UniverseSettings universeSettings, Func< IEnumerable< ETFConstituentUniverse >, IEnumerable< Symbol >> universeFilterFunc) |
Creates a universe for the constituents of the provided etfTicker More... | |
Universe | ETF (string etfTicker, string market, Func< IEnumerable< ETFConstituentUniverse >, IEnumerable< Symbol >> universeFilterFunc) |
Creates a universe for the constituents of the provided etfTicker More... | |
Universe | ETF (string etfTicker, Func< IEnumerable< ETFConstituentUniverse >, IEnumerable< Symbol >> universeFilterFunc) |
Creates a universe for the constituents of the provided etfTicker More... | |
Universe | ETF (string etfTicker, UniverseSettings universeSettings, Func< IEnumerable< ETFConstituentUniverse >, IEnumerable< Symbol >> universeFilterFunc) |
Creates a universe for the constituents of the provided etfTicker More... | |
Universe | ETF (string etfTicker, string market=null, UniverseSettings universeSettings=null, PyObject universeFilterFunc=null) |
Creates a universe for the constituents of the provided etfTicker More... | |
Universe | ETF (string etfTicker, UniverseSettings universeSettings, PyObject universeFilterFunc) |
Creates a universe for the constituents of the provided etfTicker More... | |
Universe | ETF (Symbol symbol, UniverseSettings universeSettings, Func< IEnumerable< ETFConstituentUniverse >, IEnumerable< Symbol >> universeFilterFunc) |
Creates a universe for the constituents of the provided ETF symbol More... | |
Universe | ETF (Symbol symbol, Func< IEnumerable< ETFConstituentUniverse >, IEnumerable< Symbol >> universeFilterFunc) |
Creates a universe for the constituents of the provided ETF symbol More... | |
Universe | ETF (Symbol symbol, UniverseSettings universeSettings=null, PyObject universeFilterFunc=null) |
Creates a universe for the constituents of the provided ETF symbol More... | |
Universe | Index (string indexTicker, string market, UniverseSettings universeSettings, Func< IEnumerable< ETFConstituentUniverse >, IEnumerable< Symbol >> universeFilterFunc) |
Creates a universe for the constituents of the provided indexTicker More... | |
Universe | Index (string indexTicker, string market, Func< IEnumerable< ETFConstituentUniverse >, IEnumerable< Symbol >> universeFilterFunc) |
Creates a universe for the constituents of the provided indexTicker More... | |
Universe | Index (string indexTicker, Func< IEnumerable< ETFConstituentUniverse >, IEnumerable< Symbol >> universeFilterFunc) |
Creates a universe for the constituents of the provided indexTicker More... | |
Universe | Index (string indexTicker, UniverseSettings universeSettings, Func< IEnumerable< ETFConstituentUniverse >, IEnumerable< Symbol >> universeFilterFunc) |
Creates a universe for the constituents of the provided indexTicker More... | |
Universe | Index (string indexTicker, string market=null, UniverseSettings universeSettings=null, PyObject universeFilterFunc=null) |
Creates a universe for the constituents of the provided indexTicker More... | |
Universe | Index (string indexTicker, UniverseSettings universeSettings, PyObject universeFilterFunc) |
Creates a universe for the constituents of the provided indexTicker More... | |
Universe | Index (Symbol indexSymbol, UniverseSettings universeSettings, Func< IEnumerable< ETFConstituentUniverse >, IEnumerable< Symbol >> universeFilterFunc) |
Creates a universe for the constituents of the provided indexSymbol More... | |
Universe | Index (Symbol indexSymbol, Func< IEnumerable< ETFConstituentUniverse >, IEnumerable< Symbol >> universeFilterFunc) |
Creates a universe for the constituents of the provided indexSymbol More... | |
Universe | Index (Symbol indexSymbol, UniverseSettings universeSettings=null, PyObject universeFilterFunc=null) |
Creates a universe for the constituents of the provided indexSymbol More... | |
Universe | Top (int count, UniverseSettings universeSettings=null) |
Creates a new coarse universe that contains the top count of stocks by daily dollar volume More... | |
Public Attributes | |
Universe.UnchangedUniverse | Unchanged => Universe.Unchanged |
Specifies that universe selection should not make changes on this iteration More... | |
Properties | |
DollarVolumeUniverseDefinitions | DollarVolume [get, set] |
Gets a helper that provides methods for creating universes based on daily dollar volumes More... | |
Universe | QC500 [get] |
Creates a new fine universe that contains the constituents of QC500 index based onthe company fundamentals The algorithm creates a default tradable and liquid universe containing 500 US equities which are chosen at the first trading day of each month. More... | |
Provides helpers for defining universes in algorithms
Definition at line 29 of file UniverseDefinitions.cs.
QuantConnect.Algorithm.UniverseDefinitions.UniverseDefinitions | ( | QCAlgorithm | algorithm | ) |
Initializes a new instance of the UniverseDefinitions class
algorithm | The algorithm instance, used for obtaining the default UniverseSettings |
Definition at line 47 of file UniverseDefinitions.cs.
Universe QuantConnect.Algorithm.UniverseDefinitions.ETF | ( | string | etfTicker, |
string | market, | ||
UniverseSettings | universeSettings, | ||
Func< IEnumerable< ETFConstituentUniverse >, IEnumerable< Symbol >> | universeFilterFunc | ||
) |
Creates a universe for the constituents of the provided etfTicker
etfTicker | Ticker of the ETF to get constituents for |
market | Market of the ETF |
universeSettings | Universe settings |
universeFilterFunc | Function to filter universe results |
Definition at line 61 of file UniverseDefinitions.cs.
Universe QuantConnect.Algorithm.UniverseDefinitions.ETF | ( | string | etfTicker, |
string | market, | ||
Func< IEnumerable< ETFConstituentUniverse >, IEnumerable< Symbol >> | universeFilterFunc | ||
) |
Creates a universe for the constituents of the provided etfTicker
etfTicker | Ticker of the ETF to get constituents for |
market | Market of the ETF |
universeFilterFunc | Function to filter universe results |
Definition at line 89 of file UniverseDefinitions.cs.
Universe QuantConnect.Algorithm.UniverseDefinitions.ETF | ( | string | etfTicker, |
Func< IEnumerable< ETFConstituentUniverse >, IEnumerable< Symbol >> | universeFilterFunc | ||
) |
Creates a universe for the constituents of the provided etfTicker
etfTicker | Ticker of the ETF to get constituents for |
universeFilterFunc | Function to filter universe results |
Definition at line 100 of file UniverseDefinitions.cs.
Universe QuantConnect.Algorithm.UniverseDefinitions.ETF | ( | string | etfTicker, |
UniverseSettings | universeSettings, | ||
Func< IEnumerable< ETFConstituentUniverse >, IEnumerable< Symbol >> | universeFilterFunc | ||
) |
Creates a universe for the constituents of the provided etfTicker
etfTicker | Ticker of the ETF to get constituents for |
universeSettings | Universe settings |
universeFilterFunc | Function to filter universe results |
Definition at line 112 of file UniverseDefinitions.cs.
Universe QuantConnect.Algorithm.UniverseDefinitions.ETF | ( | string | etfTicker, |
string | market = null , |
||
UniverseSettings | universeSettings = null , |
||
PyObject | universeFilterFunc = null |
||
) |
Creates a universe for the constituents of the provided etfTicker
etfTicker | Ticker of the ETF to get constituents for |
market | Market of the ETF |
universeSettings | Universe settings |
universeFilterFunc | Function to filter universe results |
Definition at line 128 of file UniverseDefinitions.cs.
Universe QuantConnect.Algorithm.UniverseDefinitions.ETF | ( | string | etfTicker, |
UniverseSettings | universeSettings, | ||
PyObject | universeFilterFunc | ||
) |
Creates a universe for the constituents of the provided etfTicker
etfTicker | Ticker of the ETF to get constituents for |
universeSettings | Universe settings |
universeFilterFunc | Function to filter universe results |
Definition at line 144 of file UniverseDefinitions.cs.
Universe QuantConnect.Algorithm.UniverseDefinitions.ETF | ( | Symbol | symbol, |
UniverseSettings | universeSettings, | ||
Func< IEnumerable< ETFConstituentUniverse >, IEnumerable< Symbol >> | universeFilterFunc | ||
) |
Creates a universe for the constituents of the provided ETF symbol
symbol | ETF Symbol to get constituents for |
universeSettings | Universe settings |
universeFilterFunc | Function to filter universe results |
Definition at line 159 of file UniverseDefinitions.cs.
Universe QuantConnect.Algorithm.UniverseDefinitions.ETF | ( | Symbol | symbol, |
Func< IEnumerable< ETFConstituentUniverse >, IEnumerable< Symbol >> | universeFilterFunc | ||
) |
Creates a universe for the constituents of the provided ETF symbol
symbol | ETF Symbol to get constituents for |
universeFilterFunc | Function to filter universe results |
Definition at line 171 of file UniverseDefinitions.cs.
Universe QuantConnect.Algorithm.UniverseDefinitions.ETF | ( | Symbol | symbol, |
UniverseSettings | universeSettings = null , |
||
PyObject | universeFilterFunc = null |
||
) |
Creates a universe for the constituents of the provided ETF symbol
symbol | ETF Symbol to get constituents for |
universeSettings | Universe settings |
universeFilterFunc | Function to filter universe results |
Definition at line 183 of file UniverseDefinitions.cs.
Universe QuantConnect.Algorithm.UniverseDefinitions.Index | ( | string | indexTicker, |
string | market, | ||
UniverseSettings | universeSettings, | ||
Func< IEnumerable< ETFConstituentUniverse >, IEnumerable< Symbol >> | universeFilterFunc | ||
) |
Creates a universe for the constituents of the provided indexTicker
indexTicker | Ticker of the index to get constituents for |
market | Market of the index |
universeSettings | Universe settings |
universeFilterFunc | Function to filter universe results |
Definition at line 197 of file UniverseDefinitions.cs.
Universe QuantConnect.Algorithm.UniverseDefinitions.Index | ( | string | indexTicker, |
string | market, | ||
Func< IEnumerable< ETFConstituentUniverse >, IEnumerable< Symbol >> | universeFilterFunc | ||
) |
Creates a universe for the constituents of the provided indexTicker
indexTicker | Ticker of the index to get constituents for |
market | Market of the index |
universeFilterFunc | Function to filter universe results |
Definition at line 217 of file UniverseDefinitions.cs.
Universe QuantConnect.Algorithm.UniverseDefinitions.Index | ( | string | indexTicker, |
Func< IEnumerable< ETFConstituentUniverse >, IEnumerable< Symbol >> | universeFilterFunc | ||
) |
Creates a universe for the constituents of the provided indexTicker
indexTicker | Ticker of the index to get constituents for |
universeFilterFunc | Function to filter universe results |
Definition at line 228 of file UniverseDefinitions.cs.
Universe QuantConnect.Algorithm.UniverseDefinitions.Index | ( | string | indexTicker, |
UniverseSettings | universeSettings, | ||
Func< IEnumerable< ETFConstituentUniverse >, IEnumerable< Symbol >> | universeFilterFunc | ||
) |
Creates a universe for the constituents of the provided indexTicker
indexTicker | Ticker of the index to get constituents for |
universeSettings | Universe settings |
universeFilterFunc | Function to filter universe results |
Definition at line 240 of file UniverseDefinitions.cs.
Universe QuantConnect.Algorithm.UniverseDefinitions.Index | ( | string | indexTicker, |
string | market = null , |
||
UniverseSettings | universeSettings = null , |
||
PyObject | universeFilterFunc = null |
||
) |
Creates a universe for the constituents of the provided indexTicker
indexTicker | Ticker of the index to get constituents for |
market | Market of the index |
universeSettings | Universe settings |
universeFilterFunc | Function to filter universe results |
Definition at line 254 of file UniverseDefinitions.cs.
Universe QuantConnect.Algorithm.UniverseDefinitions.Index | ( | string | indexTicker, |
UniverseSettings | universeSettings, | ||
PyObject | universeFilterFunc | ||
) |
Creates a universe for the constituents of the provided indexTicker
indexTicker | Ticker of the index to get constituents for |
universeSettings | Universe settings |
universeFilterFunc | Function to filter universe results |
Definition at line 270 of file UniverseDefinitions.cs.
Universe QuantConnect.Algorithm.UniverseDefinitions.Index | ( | Symbol | indexSymbol, |
UniverseSettings | universeSettings, | ||
Func< IEnumerable< ETFConstituentUniverse >, IEnumerable< Symbol >> | universeFilterFunc | ||
) |
Creates a universe for the constituents of the provided indexSymbol
indexSymbol | Index Symbol to get constituents for |
universeSettings | Universe settings |
universeFilterFunc | Function to filter universe results |
Definition at line 285 of file UniverseDefinitions.cs.
Universe QuantConnect.Algorithm.UniverseDefinitions.Index | ( | Symbol | indexSymbol, |
Func< IEnumerable< ETFConstituentUniverse >, IEnumerable< Symbol >> | universeFilterFunc | ||
) |
Creates a universe for the constituents of the provided indexSymbol
indexSymbol | Index Symbol to get constituents for |
universeFilterFunc | Function to filter universe results |
Definition at line 297 of file UniverseDefinitions.cs.
Universe QuantConnect.Algorithm.UniverseDefinitions.Index | ( | Symbol | indexSymbol, |
UniverseSettings | universeSettings = null , |
||
PyObject | universeFilterFunc = null |
||
) |
Creates a universe for the constituents of the provided indexSymbol
indexSymbol | Index Symbol to get constituents for |
universeSettings | Universe settings |
universeFilterFunc | Function to filter universe results |
Definition at line 309 of file UniverseDefinitions.cs.
Universe QuantConnect.Algorithm.UniverseDefinitions.Top | ( | int | count, |
UniverseSettings | universeSettings = null |
||
) |
Creates a new coarse universe that contains the top count of stocks by daily dollar volume
count | The number of stock to select |
universeSettings | The settings for stocks added by this universe. Defaults to QCAlgorithm.UniverseSettings |
Definition at line 340 of file UniverseDefinitions.cs.
Universe.UnchangedUniverse QuantConnect.Algorithm.UniverseDefinitions.Unchanged => Universe.Unchanged |
Specifies that universe selection should not make changes on this iteration
Definition at line 41 of file UniverseDefinitions.cs.
|
getset |
Gets a helper that provides methods for creating universes based on daily dollar volumes
Definition at line 36 of file UniverseDefinitions.cs.
|
get |
Creates a new fine universe that contains the constituents of QC500 index based onthe company fundamentals The algorithm creates a default tradable and liquid universe containing 500 US equities which are chosen at the first trading day of each month.
Definition at line 325 of file UniverseDefinitions.cs.