Exponential Moving Average (EMA)

GET {{baseUrl}}/query?function=EMA&symbol=<string>&interval=<string>&time_period=<string>&series_type=<string>

This API returns the exponential moving average (EMA)

Request Params

KeyDatatypeRequiredDescription
functionstring
symbolstringThe stocker ticker symbol.
intervalstringThe interval for series (1min, 5min, 15min, 30min, 60min)
time_periodstringNumber of data points used to calculate each moving average value. Positive integers are accepted (e.g., time_period=60, time_period=200)
series_typestringThe desired price type in the time series. Four types are supported: close, open, high, low