beta
BETA
Type:
beta
• Category:indicators
Description
Beta of two data series
Parameters
Name | Type | Description | Required | Default |
---|---|---|---|---|
real0 | string | First data series | no | |
real1 | string | Second data series | no | |
timeperiod | number | no | 5 |
Help
BETA
Overview
The BETA worker calculates the beta of two data series, which is a measure used in finance to assess the volatility of an asset or a portfolio in relation to the overall market.
Description
The BETA worker is an indicator designed for financial markets. It calculates the beta coefficient, which measures the correlation between the returns of two data series. This coefficient helps investors understand the risk associated with an asset compared to the market as a whole.
What does this worker do?
The BETA worker takes two data series and an optional time period as inputs and returns the beta coefficient. This coefficient indicates how much the return on an asset is expected to change in response to a change in the market return.
How to interpret the results?
- A beta of 1 means that the asset's price movements are perfectly correlated with the market.
- A beta greater than 1 indicates that the asset is more volatile than the market.
- A beta less than 1 indicates that the asset is less volatile than the market.
- A negative beta suggests that the asset moves inversely to the market.
Parameters
The BETA worker accepts the following parameters:
JSON Schema
{
"real0": {
"type": "string",
"description": "First data series"
},
"real1": {
"type": "string",
"description": "Second data series"
},
"timeperiod": {
"type": "number",
"default": 5
}
}
Parameters List
- real0:
- Type: string
- Description: First data series
- real1:
- Type: string
- Description: Second data series
- timeperiod:
- Type: number
- Description: Time period for calculation
- Default Value: 5
To use the BETA worker, provide the required data series (real0
and real1
) and optionally specify a timeperiod
. If not provided, the timeperiod
defaults to 5.