GET /volatility
Measure the volatility of a valutapar by calculating the standard deviation of daglig kurs ändringar over a configurable period (default 30 dagar). Returnerar the volatility poäng and mean daglig change percentage. Väsentligt för risk assessment in international trade, hedging decisions, setting appropriate margins on currency conversion tjänster, and att förstå hur stable or turbulent a valutapar has been recently.
base
obligatorisk
Base currency
target
obligatorisk
Target currency
period
valfri
standard: 30
Days
| Namn | Obligatorisk | Standard | Beskrivning |
|---|---|---|---|
base |
Ja | - | Base currency |
target |
Ja | - | Target currency |
period |
Nej | 30 | Days |
curl "https://nordapi.ee/api/v1/volatility?base=EUR&target=USD"
curl "https://nordapi.ee/api/v1/volatility?base=EUR&target=USD"
curl "https://nordapi.ee/api/v1/volatility?base=GBP&target=NOK&period=14"
curl "https://nordapi.ee/api/v1/volatility?base=USD&target=JPY&period=60"
{
"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
}
{"success":true,"volatility":0.42,"mean_daily_change_pct":0.12}