Skip to content

System Python indicator source and documentation ​

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

Get Python source, documentation, and parameter definitions for system indicator GUIDs from the system indicator catalog using the same locale. Requires a signed-in user; GUIDs are deduplicated, trimmed, and matched case-sensitively, and unmatched original GUIDs appear in not_found.

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
guidsstring[]queryYes1 to 20 GUIDs before deduplication, trimmed, deduplicated, and matched case-sensitively; repeat the query key for multiple values

Request example ​

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

Response fields ​

Fields under data.

FieldTypeDescription
localestringLocale actually used
catalog_versionstringSnapshot version that produced this source; cache with locale + catalog_version
indicatorsobject[]Indicators found, in request order, at most 20 items
indicators[].guidstringTrimmed guid
indicators[].py_indicator_namestringPython indicator name; may be empty
indicators[].indicator_short_namestringIndicator short name
indicators[].indicator_namestringIndicator name
indicators[].summarystringShort summary, matching the catalog endpoint
indicators[].py_docstringFull Python description; empty string when missing
indicators[].py_indicator_srcstringPython source
indicators[].py_input_parametersstringInput parameter JSON string
indicators[].py_output_parameterstringOutput parameter JSON string
not_foundstring[]Original GUIDs missing in this locale, at most 20 items; empty array when all GUIDs are found

Response example ​

json
{
  "code": 0,
  "message": "success",
  "data": {
    "locale": "en",
    "catalog_version": "2b8f67",
    "indicators": [],
    "not_found": [
      "901A30FB285C4f1aB536F3829DD41B6C"
    ]
  }
}

Errors ​

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

codeDescription
-3Invalid parameter, such as missing guids, more than 20 guids, or an unsupported locale
-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