System Python indicator source and documentation
GET/api/v1.0/quote/system-indicator-python-docs/detailsGet 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
| Parameter | Type | In | Required | Description |
|---|---|---|---|---|
locale | string | query | No | Locale; defaults to zh-CN and accepts en, zh-CN, zh-Hans-CN, and ja-JP. zh-Hans-CN and zh-CN select distinct catalogs |
guids | string[] | query | Yes | 1 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.
| Field | Type | Description |
|---|---|---|
locale | string | Locale actually used |
catalog_version | string | Snapshot version that produced this source; cache with locale + catalog_version |
indicators | object[] | Indicators found, in request order, at most 20 items |
indicators[].guid | string | Trimmed guid |
indicators[].py_indicator_name | string | Python indicator name; may be empty |
indicators[].indicator_short_name | string | Indicator short name |
indicators[].indicator_name | string | Indicator name |
indicators[].summary | string | Short summary, matching the catalog endpoint |
indicators[].py_doc | string | Full Python description; empty string when missing |
indicators[].py_indicator_src | string | Python source |
indicators[].py_input_parameters | string | Input parameter JSON string |
indicators[].py_output_parameter | string | Output parameter JSON string |
not_found | string[] | 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).
| code | Description |
|---|---|
| -3 | Invalid parameter, such as missing guids, more than 20 guids, or an unsupported locale |
| -5 | Missing login session, unsupported user region (supports CN/HKG/US/SG/AU/JP), or internal query failure |
| -9 | Access denied by policy |
| -11 | Rate limit exceeded; back off for Retry-After seconds |
| -13 | Rate-limit service unavailable |