Lean
$LEAN_TAG$
|
In financial analysis, the Alpha indicator is used to measure the performance of an investment (such as a stock or ETF) relative to a benchmark index, often representing the broader market. Alpha indicates the excess return of the investment compared to the return of the benchmark index. More...
Public Member Functions | |
Alpha (string name, Symbol targetSymbol, Symbol referenceSymbol, int alphaPeriod, int betaPeriod, IRiskFreeInterestRateModel riskFreeRateModel) | |
Creates a new Alpha indicator with the specified name, target, reference, and period values More... | |
Alpha (string name, Symbol targetSymbol, Symbol referenceSymbol, int alphaPeriod, int betaPeriod, decimal? riskFreeRate=null) | |
Creates a new Alpha indicator with the specified name, target, reference, and period values More... | |
Alpha (Symbol targetSymbol, Symbol referenceSymbol, int alphaPeriod, int betaPeriod, decimal? riskFreeRate=null) | |
Creates a new Alpha indicator with the specified target, reference, and period values More... | |
Alpha (Symbol targetSymbol, Symbol referenceSymbol, int period, decimal? riskFreeRate=null) | |
Creates a new Alpha indicator with the specified target, reference, and period value More... | |
Alpha (string name, Symbol targetSymbol, Symbol referenceSymbol, int period, decimal? riskFreeRate=null) | |
Creates a new Alpha indicator with the specified name, target, reference, and period value More... | |
Alpha (Symbol targetSymbol, Symbol referenceSymbol, int alphaPeriod, int betaPeriod, IRiskFreeInterestRateModel riskFreeRateModel) | |
Creates a new Alpha indicator with the specified target, reference, and period values More... | |
Alpha (Symbol targetSymbol, Symbol referenceSymbol, int period, IRiskFreeInterestRateModel riskFreeRateModel) | |
Creates a new Alpha indicator with the specified target, reference, and period value More... | |
Alpha (string name, Symbol targetSymbol, Symbol referenceSymbol, int period, IRiskFreeInterestRateModel riskFreeRateModel) | |
Creates a new Alpha indicator with the specified name, target, reference, and period value More... | |
Alpha (string name, Symbol targetSymbol, Symbol referenceSymbol, int alphaPeriod, int betaPeriod, PyObject riskFreeRateModel) | |
Creates a new Alpha indicator with the specified name, target, reference, and period values More... | |
Alpha (Symbol targetSymbol, Symbol referenceSymbol, int alphaPeriod, int betaPeriod, PyObject riskFreeRateModel) | |
Creates a new Alpha indicator with the specified target, reference, and period values More... | |
Alpha (Symbol targetSymbol, Symbol referenceSymbol, int period, PyObject riskFreeRateModel) | |
Creates a new Alpha indicator with the specified target, reference, and period value More... | |
Alpha (string name, Symbol targetSymbol, Symbol referenceSymbol, int period, PyObject riskFreeRateModel) | |
Creates a new Alpha indicator with the specified name, target, reference, and period value More... | |
override void | Reset () |
Resets this indicator to its initial state More... | |
Public Attributes | |
override bool | IsReady => _targetROC.IsReady && _beta.IsReady && _referenceROC.IsReady |
Gets a flag indicating when the indicator is ready and fully initialized More... | |
Protected Member Functions | |
override decimal | ComputeNextValue (IBaseDataBar input) |
Computes the next value for this indicator from the given state. More... | |
Protected Member Functions inherited from QuantConnect.Indicators.BarIndicator | |
BarIndicator (string name) | |
Creates a new TradeBarIndicator with the specified name More... | |
Properties | |
int | WarmUpPeriod [get] |
Required period, in data points, for the indicator to be ready and fully initialized. More... | |
Properties inherited from QuantConnect.Indicators.IIndicatorWarmUpPeriodProvider | |
int | WarmUpPeriod [get] |
Required period, in data points, for the indicator to be ready and fully initialized. More... | |
In financial analysis, the Alpha indicator is used to measure the performance of an investment (such as a stock or ETF) relative to a benchmark index, often representing the broader market. Alpha indicates the excess return of the investment compared to the return of the benchmark index.
The S P 500 index is frequently used as a benchmark in Alpha calculations to represent the overall market performance. Alpha is an essential tool for investors to understand the idiosyncratic returns of their investment that aren't caused by movement in the underlying benchmark.
QuantConnect.Indicators.Alpha.Alpha | ( | string | name, |
Symbol | targetSymbol, | ||
Symbol | referenceSymbol, | ||
int | alphaPeriod, | ||
int | betaPeriod, | ||
IRiskFreeInterestRateModel | riskFreeRateModel | ||
) |
Creates a new Alpha indicator with the specified name, target, reference, and period values
name | The name of this indicator |
targetSymbol | The target symbol of this indicator |
referenceSymbol | The reference symbol of this indicator |
alphaPeriod | Period of the indicator - alpha |
betaPeriod | Period of the indicator - beta |
riskFreeRateModel | The risk free rate model of this indicator |
QuantConnect.Indicators.Alpha.Alpha | ( | string | name, |
Symbol | targetSymbol, | ||
Symbol | referenceSymbol, | ||
int | alphaPeriod, | ||
int | betaPeriod, | ||
decimal? | riskFreeRate = null |
||
) |
Creates a new Alpha indicator with the specified name, target, reference, and period values
name | The name of this indicator |
targetSymbol | The target symbol of this indicator |
referenceSymbol | The reference symbol of this indicator |
alphaPeriod | Period of the indicator - alpha |
betaPeriod | Period of the indicator - beta |
riskFreeRate | The risk free rate of this indicator for given period |
QuantConnect.Indicators.Alpha.Alpha | ( | Symbol | targetSymbol, |
Symbol | referenceSymbol, | ||
int | alphaPeriod, | ||
int | betaPeriod, | ||
decimal? | riskFreeRate = null |
||
) |
Creates a new Alpha indicator with the specified target, reference, and period values
targetSymbol | |
referenceSymbol | |
alphaPeriod | Period of the indicator - alpha |
betaPeriod | Period of the indicator - beta |
riskFreeRate | The risk free rate of this indicator for given period |
QuantConnect.Indicators.Alpha.Alpha | ( | Symbol | targetSymbol, |
Symbol | referenceSymbol, | ||
int | period, | ||
decimal? | riskFreeRate = null |
||
) |
Creates a new Alpha indicator with the specified target, reference, and period value
targetSymbol | The target symbol of this indicator |
referenceSymbol | The reference symbol of this indicator |
period | Period of the indicator - alpha and beta |
riskFreeRate | The risk free rate of this indicator for given period |
QuantConnect.Indicators.Alpha.Alpha | ( | Symbol | targetSymbol, |
Symbol | referenceSymbol, | ||
int | alphaPeriod, | ||
int | betaPeriod, | ||
IRiskFreeInterestRateModel | riskFreeRateModel | ||
) |
Creates a new Alpha indicator with the specified target, reference, and period values
targetSymbol | |
referenceSymbol | |
alphaPeriod | Period of the indicator - alpha |
betaPeriod | Period of the indicator - beta |
riskFreeRateModel | The risk free rate model of this indicator |
QuantConnect.Indicators.Alpha.Alpha | ( | Symbol | targetSymbol, |
Symbol | referenceSymbol, | ||
int | period, | ||
IRiskFreeInterestRateModel | riskFreeRateModel | ||
) |
Creates a new Alpha indicator with the specified target, reference, and period value
targetSymbol | The target symbol of this indicator |
referenceSymbol | The reference symbol of this indicator |
period | Period of the indicator - alpha and beta |
riskFreeRateModel | The risk free rate model of this indicator |
QuantConnect.Indicators.Alpha.Alpha | ( | string | name, |
Symbol | targetSymbol, | ||
Symbol | referenceSymbol, | ||
int | period, | ||
IRiskFreeInterestRateModel | riskFreeRateModel | ||
) |
QuantConnect.Indicators.Alpha.Alpha | ( | string | name, |
Symbol | targetSymbol, | ||
Symbol | referenceSymbol, | ||
int | alphaPeriod, | ||
int | betaPeriod, | ||
PyObject | riskFreeRateModel | ||
) |
Creates a new Alpha indicator with the specified name, target, reference, and period values
name | The name of this indicator |
targetSymbol | The target symbol of this indicator |
referenceSymbol | The reference symbol of this indicator |
alphaPeriod | Period of the indicator - alpha |
betaPeriod | Period of the indicator - beta |
riskFreeRateModel | The risk free rate model of this indicator |
QuantConnect.Indicators.Alpha.Alpha | ( | Symbol | targetSymbol, |
Symbol | referenceSymbol, | ||
int | alphaPeriod, | ||
int | betaPeriod, | ||
PyObject | riskFreeRateModel | ||
) |
Creates a new Alpha indicator with the specified target, reference, and period values
targetSymbol | |
referenceSymbol | |
alphaPeriod | Period of the indicator - alpha |
betaPeriod | Period of the indicator - beta |
riskFreeRateModel | The risk free rate model of this indicator |
QuantConnect.Indicators.Alpha.Alpha | ( | Symbol | targetSymbol, |
Symbol | referenceSymbol, | ||
int | period, | ||
PyObject | riskFreeRateModel | ||
) |
Creates a new Alpha indicator with the specified target, reference, and period value
targetSymbol | The target symbol of this indicator |
referenceSymbol | The reference symbol of this indicator |
period | Period of the indicator - alpha and beta |
riskFreeRateModel | The risk free rate model of this indicator |
|
protected |
override void QuantConnect.Indicators.Alpha.Reset | ( | ) |
override bool QuantConnect.Indicators.Alpha.IsReady => _targetROC.IsReady && _beta.IsReady && _referenceROC.IsReady |
|
get |