Skip to main content
POST
/
quantlib
/
ml
/
features
/
technical
Technical Indicators
curl --request POST \
  --url https://finceptbackend.share.zrok.io/quantlib/ml/features/technical \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "prices": [
    100,
    102,
    101,
    105,
    107,
    106,
    110,
    108,
    112,
    115
  ],
  "indicator": "rsi",
  "period": 14,
  "high": [
    101,
    103,
    102,
    106,
    108,
    107,
    111,
    109,
    113,
    116
  ],
  "low": [
    99,
    101,
    100,
    104,
    106,
    105,
    109,
    107,
    111,
    114
  ],
  "volume": [
    1000,
    1200,
    900,
    1500,
    1300,
    1100,
    1400,
    1000,
    1600,
    1800
  ]
}
'
{
  "success": true,
  "data": {
    "indicator": "rsi",
    "values": [
      55.2,
      58.7,
      62.3,
      65.8,
      63.2,
      68.4,
      70.1
    ],
    "macd": [
      123
    ],
    "signal": [
      123
    ],
    "histogram": [
      123
    ],
    "upper": [
      123
    ],
    "middle": [
      123
    ],
    "lower": [
      123
    ]
  }
}

Authorizations

X-API-Key
string
header
required

API key for authentication. Get your key at https://finceptbackend.share.zrok.io/auth/register

Body

application/json
prices
number[]
required

Price series (close prices)

Example:
[
100,
102,
101,
105,
107,
106,
110,
108,
112,
115
]
indicator
enum<string>
required

Technical indicator to calculate

Available options:
rsi,
ema,
macd,
bollinger,
atr,
adx,
cci,
obv
Example:

"rsi"

period
integer
default:14

Indicator period/window

Example:

14

high
number[]

High prices (for ATR, ADX, CCI)

Example:
[
101,
103,
102,
106,
108,
107,
111,
109,
113,
116
]
low
number[]

Low prices (for ATR, ADX, CCI)

Example:
[
99,
101,
100,
104,
106,
105,
109,
107,
111,
114
]
volume
number[]

Volume data (for OBV)

Example:
[
1000,
1200,
900,
1500,
1300,
1100,
1400,
1000,
1600,
1800
]

Response

Technical indicator values

success
boolean
Example:

true

data
object