Exponential Moving Average (EMA)
GET
/v1/indicators/ema/{optionsTicker}
Retrieve the Exponential Moving Average (EMA) for a specified ticker over a defined time range. The EMA places greater weight on recent prices, enabling quicker trend detection and more responsive signals.
Use Cases: Trend identification, EMA crossover signals, dynamic support/resistance levels, and adjusting strategies based on recent market volatility.
Path Parameters
optionsTicker
string
required
The ticker symbol for which to get exponential moving average (EMA) data.
Query Parameters
timestamp
string
Query by timestamp. Either a date with the format YYYY-MM-DD or a millisecond timestamp.
timespan
enum (string)
The size of the aggregate time window.
adjusted
boolean
Whether or not the aggregates used to calculate the exponential moving average are adjusted for splits. By default, aggregates are adjusted.
Set this to false to get results that are NOT adjusted for splits.
window
integer
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
enum (string)
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_underlying
boolean
Whether or not to include the aggregates used to calculate this indicator in the response.
order
enum (string)
The order in which to return the results, ordered by timestamp.
limit
integer
Limit the number of results returned, default is 10 and max is 5000
Response Attributes
next_url
string
optional
If present, this value can be used to fetch the next page of data.
request_id
string
optional
A request id assigned by the server.
results
object
optional
underlying
object
optional
values
array (object)
optional
status
string
optional
The status of this request's response.