Lean
$LEAN_TAG$
|
Contains data specific to a symbol required by this model More...
Public Member Functions | |
SymbolData (Security security, int fastPeriod, int slowPeriod, QCAlgorithm algorithm, Resolution resolution) | |
void | RemoveConsolidators () |
Remove Fast and Slow consolidators More... | |
Public Attributes | |
Symbol | Symbol => _security.Symbol |
ExponentialMovingAverage | Fast => _fast |
ExponentialMovingAverage | Slow => _slow |
bool | SlowIsOverFast => !FastIsOverSlow |
Properties | |
bool | FastIsOverSlow [get, set] |
True if the fast is above the slow, otherwise false. This is used to prevent emitting the same signal repeatedly More... | |
Contains data specific to a symbol required by this model
Definition at line 134 of file EmaCrossAlphaModel.cs.
void QuantConnect.Algorithm.Framework.Alphas.EmaCrossAlphaModel.SymbolData.RemoveConsolidators | ( | ) |
Remove Fast and Slow consolidators
Definition at line 184 of file EmaCrossAlphaModel.cs.
|
getset |
True if the fast is above the slow, otherwise false. This is used to prevent emitting the same signal repeatedly
Definition at line 151 of file EmaCrossAlphaModel.cs.