API reference/Currency & FX/FX Exponential Moving Average

FX Exponential Moving Average

Exponential moving average (seeded with the SMA) of fx closes.

GET/api/v1/fx/indicators/ema

Data source

Query parameters

ParameterDescriptionTry value
pair
string required
Currency pair
window
number
Periods (default 20)
limit
number
Points (default 30)
apikey
string required
Your API key. Can also be sent as the X-API-Key header.demo key used here

Response envelope

Success: { data, meta: { sources, fetchedAt, cached } }. Errors: { error: { code, message } } with HTTP 400, 401, 404, 502, 503 or 504.