← Finance et devises

Volatilité

GET /volatility

Mesurez la volatilité of a paire de devises by calculating le standard deviation of daily rate changes over a configurable period (default 30 days). Renvoie le volatility score et mean daily change percentage. Essentiel pour les risk assessment in international trade, hedging decisions, setting appropriate margins on currency conversion services, et understanding how stable ou turbulent a paire de devises has been recently.

Paramètres

base requis

Base currency

target requis

Target currency

period optionnel par défaut: 30

Days

Exemples de requêtes

Utilisation de base
curl "https://nordapi.ee/api/v1/volatility?base=EUR&target=USD"
EUR/USD 30-day volatility (default)
curl "https://nordapi.ee/api/v1/volatility?base=EUR&target=USD"
GBP/NOK 14-day volatility
curl "https://nordapi.ee/api/v1/volatility?base=GBP&target=NOK&period=14"
USD/JPY 60-day volatility
curl "https://nordapi.ee/api/v1/volatility?base=USD&target=JPY&period=60"

Réponse en direct

{
  "base": "EUR",
  "daily_changes": [
    {
      "change_pct": 0.5744625293759248,
      "date": "2026-03-20"
    },
    {
      "change_pct": 0.0,
      "date": "2026-03-21"
    },
    {
      "change_pct": 0.0,
      "date": "2026-03-22"
    },
    {
      "change_pct": 0.0,
      "date": "2026-03-23"
    },
    {
      "change_pct": 0.35482475118996104,
      "date": "2026-03-24"
    },
    {
      "change_pct": -0.20696791997240427,
      "date": "2026-03-25"
    },
    {
      "change_pct": 0.17283097131005876,
      "date": "2026-03-26"
    },
    {
      "change_pct": -0.45721187025534854,
      "date": "2026-03-27"
    },
    {
      "change_pct": -0.19065776930409914,
      "date": "2026-03-28"
    },
    {
      "change_pct": 0.0,
      "date": "2026-03-29"
    },
    {
      "change_pct": -0.28653295128939826,
      "date": "2026-03-30"
    },
    {
      "change_pct": 0.12190874259839778,
      "date": "2026-03-31"
    },
    {
      "change_pct": 0.9305966255000869,
      "date": "2026-04-01"
    },
    {
      "change_pct": -0.6893580353295993,
      "date": "2026-04-02"
    },
    {
      "change_pct": 0.0,
      "date": "2026-04-03"
    },
    {
      "change_pct": 0.0,
      "date": "2026-04-04"
    },
    {
      "change_pct": 0.0,
      "date": "2026-04-05"
    }
  ],
  "mean_daily_change_pct": 0.01905265140138705,
  "period": 17,
  "success": true,
  "target": "USD",
  "volatility": 0.3602306074777228
}

Exemple de réponse

{"success":true,"volatility":0.42,"mean_daily_change_pct":0.12}