In technical analysis Beta indicator is used to measure volatility or risk of a target (ETF) relative to the overall risk (volatility) of the reference (market indexes). The Beta indicators compares target's price movement to the movements of the indexes over the same period of time.
More...
|
| Beta (string name, Symbol targetSymbol, Symbol referenceSymbol, int period) |
| Creates a new Beta indicator with the specified name, target, reference,
and period values More...
|
|
| Beta (Symbol targetSymbol, Symbol referenceSymbol, int period) |
| Creates a new Beta indicator with the specified target, reference,
and period values More...
|
|
| Beta (string name, int period, Symbol targetSymbol, Symbol referenceSymbol) |
| Creates a new Beta indicator with the specified name, period, target and reference values More...
|
|
override void | Reset () |
| Resets this indicator to its initial state More...
|
|
In technical analysis Beta indicator is used to measure volatility or risk of a target (ETF) relative to the overall risk (volatility) of the reference (market indexes). The Beta indicators compares target's price movement to the movements of the indexes over the same period of time.
It is common practice to use the SPX index as a benchmark of the overall reference market when it comes to Beta calculations.
Definition at line 30 of file Beta.cs.
override decimal QuantConnect.Indicators.Beta.ComputeNextValue |
( |
IBaseDataBar |
input | ) |
|
|
protected |
Computes the next value for this indicator from the given state.
As this indicator is receiving data points from two different symbols, it's going to compute the next value when the amount of data points of each of them is the same. Otherwise, it will return the last beta value computed
- Parameters
-
input | The input value of this indicator on this time step. It can be either from the target or the reference symbol |
- Returns
- The beta value of the target used in relation with the reference
Definition at line 143 of file Beta.cs.