latestOpenAPI 3.0.32026-08-101461131.1 MB

ad6f143e43aa

crypto:aggregates

Exponential Moving Average (EMA)

Get the exponential moving average (EMA) for a ticker symbol over a given time range.

get/v1/indicators/ema/{cryptoTicker}

Path parameters

cryptoTickerstring required

The ticker symbol for which to get exponential moving average (EMA) data.

Query parameters

timestampstring

Query by timestamp. Either a date with the format YYYY-MM-DD or a millisecond timestamp.

timespan'minute' | 'hour' | 'day' | 'week' | 'month' | 'quarter' | 'year'

The size of the aggregate time window.

windowinteger

The window size used to calculate the exponential moving average (EMA). i.e. a window size of 10 with daily aggregates would result in a 10 day moving average.

series_type'open' | 'high' | 'low' | 'close'

The price in the aggregate which will be used to calculate the exponential moving average. i.e. 'close' will result in using close prices to calculate the exponential moving average (EMA).

expand_underlyingboolean

Whether or not to include the aggregates used to calculate this indicator in the response.

order'asc' | 'desc'

The order in which to return the results, ordered by timestamp.

limitinteger

Limit the number of results returned, default is 10 and max is 5000

timestamp.gtestring

Range by timestamp.

timestamp.gtstring

Range by timestamp.

timestamp.ltestring

Range by timestamp.

timestamp.ltstring

Range by timestamp.

Response

Exponential Moving Average (EMA) data for each period.

next_urlstring

If present, this value can be used to fetch the next page of data.

request_idstring required

A request id assigned by the server.

statusstring required

The status of this request's response.