Look up user Python indicators
GET/api/v1.0/quote/python-indicators/recallLook up Python indicator scripts and parameters visible to the signed-in user by guid or short name. Identity is read from the login session; uid is not accepted.
Request parameters
| Parameter | Type | In | Required | Description |
|---|---|---|---|---|
guids | string[] | query | No | Indicator GUIDs; repeat the query key for multiple values, up to 20 values before deduplication |
short_names | string[] | query | No | Indicator short names, matched exactly against the name parsed from the script; repeat the query key for multiple values, up to 20 values before deduplication |
Request example
bash
curl -s "https://webapi.futunn.com/api/v1.0/quote/python-indicators/recall?short_names=MA&short_names=EMA" \
-H "Authorization: Bearer <AccessToken>"Response fields
Fields under data.
| Field | Type | Description |
|---|---|---|
items | object[] | Matched indicators in requested guid order first, then short-name order; multiple hits for one short name are sorted by guid ascending |
items[].guid | string | Unique indicator ID |
items[].short_name | string | Indicator short name; empty string when parsing fails |
items[].remarks | integer | Multilingual copy ID for the indicator description; usually 0 for user-authored indicators |
items[].script | string | Python indicator script |
items[].param | object | Indicator parameters containing guid, input, output_line, ref_line, and drawing_param; omitted when no parameter row exists or parameters are unusable |
items[].short_name_ok | boolean | Whether the short name was parsed |
items[].param_ok | boolean | True when no parameter row exists or parsing succeeded; false when a row exists but is empty or unparseable |
misses | object[] | Request keys with no visible indicator; exactly one of guid or short_name is set |
misses[].guid | string | Set when a guid lookup has no visible indicator |
misses[].short_name | string | Set when a short-name lookup has no visible indicator |
Response example
json
{
"code": 0,
"message": "success",
"data": {
"items": [],
"misses": [
{
"short_name": "MA"
},
{
"short_name": "EMA"
}
]
}
}Errors
Failed responses (code != 0) include top-level trace_id (omitted when code=0).
| code | Description |
|---|---|
| -3 | Invalid parameter, such as neither guids nor short_names containing a non-blank value or either list exceeding 20 items |
| -5 | Missing login session, unsupported user region (supports CN/HKG/US/SG/AU/JP), more than 100 distinct matched indicators, or internal query failure |
| -9 | Access denied by policy |
| -11 | Rate limit exceeded; back off for Retry-After seconds |
| -13 | Rate-limit service unavailable |
Notes
- Provide at least one non-blank value across
guidsandshort_names; blank strings are ignored. - Each list is deduplicated separately; passing the same string in both lists counts as two lookup keys.
- Responses include
Cache-Control: private, no-store.