GET /volatility
Mældu the volatility of a gjaldmiðlapar by calculating the standard deviation of daily rate changes yfir stillanleg period (default 30 days). Skilar volatility score and mean daily change percentage. Nauðsynlegt fyrir risk assessment in international trade, hedging decisions, setting appropriate margins on currency conversion þjónustur, and understanding how stable or turbulent a gjaldmiðlapar has been recently.
base
nauðsynlegt
Base currency
target
nauðsynlegt
Target currency
period
valfrjálst
sjálfgefið: 30
Days
| Nafn | Nauðsynlegt | Sjálfgefið | Lýsing |
|---|---|---|---|
base |
Já | - | Base currency |
target |
Já | - | Target currency |
period |
Nei | 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}