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

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

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[]

Array of calculated indicator values (e.g., SMA values, RSI values, MACD values)

Indicator value at the corresponding timestamp

t
integer[]

Array of Unix timestamps corresponding to each indicator value

Unix timestamp in seconds