Skip to content

System Python indicator catalog ​

GET /api/v1.0/quote/system-indicator-python-docs

List published system indicators that have Python source for a locale. Requires a signed-in user; the catalog fits in a single unpaginated response without source text. Use a returned guid and the same locale to retrieve source and parameter documentation.

Request parameters ​

ParameterTypeInRequiredDescription
localestringqueryNoLocale; defaults to zh-CN and accepts en, zh-CN, zh-Hans-CN, and ja-JP. zh-Hans-CN and zh-CN select distinct catalogs; zh-HK is not accepted

Request example ​

bash
curl -s "https://webapi.futunn.com/api/v1.0/quote/system-indicator-python-docs?locale=en" \
  -H "Authorization: Bearer <AccessToken>"

Response fields ​

Fields under data.

FieldTypeDescription
localestringLocale actually used
catalog_versionstringSnapshot hash covering guid, summary, source, and parameters; body changes update the version
itemsobject[]All qualifying indicators for the locale, without source and without pagination
items[].guidstringTrimmed guid used as the details key
items[].py_indicator_namestringPython indicator name; may be empty
items[].indicator_short_namestringIndicator short name
items[].indicator_namestringIndicator name
items[].summarystringShort summary of at most 200 code points; may be empty

Response example ​

json
{
  "code": 0,
  "message": "success",
  "data": {
    "locale": "en",
    "catalog_version": "2b8f67",
    "items": [
      {
        "guid": "901A30FB285C4f1aB536F3829DD41B6C",
        "py_indicator_name": "MA",
        "indicator_short_name": "MA",
        "indicator_name": "Moving Average",
        "summary": "Moving average of the closing price."
      }
    ]
  }
}

Errors ​

Failed responses (code != 0) include top-level trace_id (omitted when code=0).

codeDescription
-3Invalid parameter, such as an unsupported locale (e.g. zh-HK)
-5Missing login session, unsupported user region (supports CN/HKG/US/SG/AU/JP), or internal query failure
-9Access denied by policy
-11Rate limit exceeded; back off for Retry-After seconds
-13Rate-limit service unavailable