Indicators
This endpoint retrieves a list of indicators that are offered as entry or exit conditions when calling the "Creating New Bot" endpoint.
Get List of Indicators
GET
https://api.aitrade.com/api/indicators
Query Params
None
Available Indicators
Below are the indicators provided by the API along with their key features:
The values specified are default
Bollinger Band
period_num
: 20Standard deviations: 2 for both upper and lower bands
EMA (Exponential Moving Average)
period_num
: 50Smoothing factor: 9
is_compulsory: 0
Stochastic RSI
period_num
: 14Lower and upper bounds: 18.5 and 81.5, respectively
is_compulsory: 0
RSI (Relative Strength Index)
period_num
: 14Lower and upper thresholds for overbought/oversold conditions: 30 and 70, respectively
is_compulsory: 0
MACD (Moving Average Convergence Divergence)
period_num
: 12 and 26 for the two EMAs with a signal line smoothing of 9is_compulsory:
Volume
period_num
: 2Indicates volume changes over a minimal period
is_compulsory: 0
You should call this endpoint and display the results (the various indicators) in the bot's entry and exit conditions.
Response
{
"code": 200,
"message": "Success",
"indicators": [
{
"id": 1,
"name": "Bollinger Band",
"description": null,
"period_num": 20,
"value2": 2,
"value3": 2,
"value4": null,
"value5": null,
"value6": null,
"updated_at": null,
"created_at": null
},
{
"id": 2,
"name": "EMA",
"description": null,
"period_num": 50,
"value2": 9,
"value3": null,
"value4": null,
"value5": null,
"value6": null,
"updated_at": null,
"created_at": null
},
{
"id": 3,
"name": "Stochastic RSI",
"description": null,
"period_num": 14,
"value2": 18.5,
"value3": 81.5,
"value4": 1,
"value5": 18.5,
"value6": 81.5,
"updated_at": null,
"created_at": null
},
{
"id": 4,
"name": "RSI",
"description": null,
"period_num": 14,
"value2": 30,
"value3": 70,
"value4": 1,
"value5": 25,
"value6": 75,
"updated_at": null,
"created_at": null
},
{
"id": 5,
"name": "MACD",
"description": null,
"period_num": 12,
"value2": 26,
"value3": 9,
"value4": null,
"value5": null,
"value6": null,
"updated_at": null,
"created_at": null
},
{
"id": 6,
"name": "Volume",
"description": null,
"period_num": 2,
"value2": 0,
"value3": 0,
"value4": null,
"value5": null,
"value6": null,
"updated_at": null,
"created_at": null
}
]
}
Last updated