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...
|
|
|
override bool | IsReady => _targetReturns.IsReady && _referenceReturns.IsReady |
| Gets a flag indicating when the indicator is ready and fully initialized More...
|
|
|
int | WarmUpPeriod [get] |
| Required period, in data points, for the indicator to be ready and fully initialized. More...
|
|
int | WarmUpPeriod [get] |
| Required period, in data points, for the indicator to be ready and fully initialized. 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 32 of file Beta.cs.
◆ Beta() [1/3]
QuantConnect.Indicators.Beta.Beta |
( |
string |
name, |
|
|
Symbol |
targetSymbol, |
|
|
Symbol |
referenceSymbol, |
|
|
int |
period |
|
) |
| |
Creates a new Beta indicator with the specified name, target, reference,
and period values
- Parameters
-
name | The name of this indicator |
targetSymbol | The target symbol of this indicator |
period | The period of this indicator |
referenceSymbol | The reference symbol of this indicator |
Definition at line 117 of file Beta.cs.
◆ Beta() [2/3]
QuantConnect.Indicators.Beta.Beta |
( |
Symbol |
targetSymbol, |
|
|
Symbol |
referenceSymbol, |
|
|
int |
period |
|
) |
| |
Creates a new Beta indicator with the specified target, reference,
and period values
- Parameters
-
targetSymbol | The target symbol of this indicator |
period | The period of this indicator |
referenceSymbol | The reference symbol of this indicator |
Definition at line 148 of file Beta.cs.
◆ Beta() [3/3]
QuantConnect.Indicators.Beta.Beta |
( |
string |
name, |
|
|
int |
period, |
|
|
Symbol |
targetSymbol, |
|
|
Symbol |
referenceSymbol |
|
) |
| |
Creates a new Beta indicator with the specified name, period, target and reference values
- Parameters
-
name | The name of this indicator |
period | The period of this indicator |
targetSymbol | The target symbol of this indicator |
referenceSymbol | The reference symbol of this indicator |
Constructor overload for backward compatibility.
Definition at line 162 of file Beta.cs.
◆ ComputeNextValue()
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 178 of file Beta.cs.
◆ Reset()
override void QuantConnect.Indicators.Beta.Reset |
( |
| ) |
|
Resets this indicator to its initial state
Definition at line 290 of file Beta.cs.
◆ IsReady
override bool QuantConnect.Indicators.Beta.IsReady => _targetReturns.IsReady && _referenceReturns.IsReady |
Gets a flag indicating when the indicator is ready and fully initialized
Definition at line 107 of file Beta.cs.
◆ WarmUpPeriod
int QuantConnect.Indicators.Beta.WarmUpPeriod |
|
get |
Required period, in data points, for the indicator to be ready and fully initialized.
Definition at line 102 of file Beta.cs.
The documentation for this class was generated from the following file: