Skip to main content

var


VAR

Type: var • Category: indicators

Description

Variance

Parameters

NameTypeDescriptionRequiredDefault
dataExpstringList of pricesno
timeperiodnumberno5
nbdevnumberno1

Help

VAR (Variance) Indicator

Description

The VAR (Variance) indicator is a statistical measure used to assess the volatility of financial markets. It calculates the average of the squared differences from the mean of a set of data, providing insight into the dispersion of prices.

What does this worker do?

This worker calculates the Variance (VAR) indicator for a given set of price data, allowing users to gauge the market's volatility.

How to interpret the results

The VAR indicator values represent the average squared differences from the mean price. A higher VAR value indicates greater price volatility, while a lower value suggests more stable prices.

Parameters

JSON Schema

The worker accepts the following parameters:

{
"dataExp": {
"type": "string",
"description": "List of prices"
},
"timeperiod": {
"type": "number",
"default": 5
},
"nbdev": {
"type": "number",
"default": 1
}
}

Parameters List

  • dataExp:
    • Type: string
    • Description: List of prices
  • timeperiod:
    • Type: number
    • Default: 5
    • Description: The time period for which to calculate the VAR indicator
  • nbdev:
    • Type: number
    • Default: 1
    • Description: The number of standard deviations to use for the calculation

By adjusting these parameters, users can customize the VAR indicator calculation to suit their specific needs and analyze market volatility accordingly.