Skip to content
Technical Indicators

Get All Technical Indicator Definitions

Returns all technical indicators provided by the system, grouped by K-line main chart, K-line sub-chart, and intraday sub-chart. Each indicator includes its ID, name, introduction, usage, calculation script, and whether it is shown by default and whether its parameters can be changed. The Broker App calls this endpoint at startup and when the indicator settings page opens, and caches the result for 7 days. After getting the indicator IDs, call POST /v1/indicator/get_config to read the user's parameter settings.

GEThttps://api.lbkrs.com/v2/indicator/get_all_indicator

Parameters

versionintegerqueryRequired

Indicator configuration version. The Broker App passes 2

Responses

HTTP 200The request succeeded. The response body contains the result of the “Get All Technical Indicator Definitions” operation.
Standard response envelopecodemessagedata
dataobjectdata structure
system_indicatorsarray<object>

System indicators grouped by chart position

Child attributes
type_keystring

Indicator position:

  • main - K-line main chart
  • deputy - K-line sub-chart
  • time_line_deputy - Intraday sub-chart
type_namestring

Display name of the indicator position

listsarray<object>

Indicator groups for this position

Child attributes
group_idstring

Indicator group ID

group_namestring

Indicator group name

indicatorsarray<object>

Indicators in the group

Child attributes
indicator_idstring

Indicator ID, used to read and save the user's indicator parameters

keystring

Indicator short name, such as MA or MACD

namestring

Indicator name

introductionstring

Indicator introduction in plain text

introduction_htmlstring

Indicator introduction in HTML

usagestring

Indicator usage in plain text

usage_htmlstring

Indicator usage in HTML

scriptstring

Indicator calculation script, parsed and run by the chart component

default_selectedboolean

Whether the indicator is shown by default when the user has not configured it

param_configurableboolean

Whether the user can change the indicator parameters

extra_keysarray<string>

Keys of extra data the indicator calculation depends on; empty means only K-line data is needed

Whale Docs