Skip to main content
GET
/
v1
/
indicator
Get Technical Indicator Data
curl --request GET \
  --url https://api.aries.com/v1/indicator \
  --header 'Authorization: Bearer <token>'
{ "sma": [ 0, 0, 74.23916, 73.74833, 73.72416, 70.676666, 70.045, 68.911, 67.41666, 66.802 ], "t": [ 1583107200, 1583193600, 1583280000, 1583366400, 1583452800, 1583712000, 1583798400, 1583884800, 1583971200, 1584057600 ] }

Authorizations

Authorization
string
header
required

OAuth2 Bearer token: obtain an access token from the token endpoint and send it in the Authorization header.

Query Parameters

symbol
string
required

(Required) Stock ticker symbol

resolution
string
required

(Required) Chart resolution (e.g. 1, 5, 15, 30, 60, D, W, M)

indicator
enum<string>
required

(Required) Indicator type

Available options:
sma,
rsi,
macd,
bbands
from
integer<int64>
required

(Required) Start timestamp (Unix seconds)

to
integer<int64>
required

(Required) End timestamp (Unix seconds)

timeperiod
integer

(Optional) Period for SMA/RSI/BBANDS

fast_period
integer

(Optional) MACD fast period

slow_period
integer

(Optional) MACD slow period

signal_period
integer

(Optional) MACD signal period

Response

Successful response

sma
integer[]
t
integer[]