Skip to content

Look up user Python indicators ​

GET /api/v1.0/quote/python-indicators/recall

Look 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 ​

ParameterTypeInRequiredDescription
guidsstring[]queryNoIndicator GUIDs; repeat the query key for multiple values, up to 20 values before deduplication
short_namesstring[]queryNoIndicator 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.

FieldTypeDescription
itemsobject[]Matched indicators in requested guid order first, then short-name order; multiple hits for one short name are sorted by guid ascending
items[].guidstringUnique indicator ID
items[].short_namestringIndicator short name; empty string when parsing fails
items[].remarksintegerMultilingual copy ID for the indicator description; usually 0 for user-authored indicators
items[].scriptstringPython indicator script
items[].paramobjectIndicator parameters containing guid, input, output_line, ref_line, and drawing_param; omitted when no parameter row exists or parameters are unusable
items[].short_name_okbooleanWhether the short name was parsed
items[].param_okbooleanTrue when no parameter row exists or parsing succeeded; false when a row exists but is empty or unparseable
missesobject[]Request keys with no visible indicator; exactly one of guid or short_name is set
misses[].guidstringSet when a guid lookup has no visible indicator
misses[].short_namestringSet 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).

codeDescription
-3Invalid parameter, such as neither guids nor short_names containing a non-blank value or either list exceeding 20 items
-5Missing login session, unsupported user region (supports CN/HKG/US/SG/AU/JP), more than 100 distinct matched indicators, or internal query failure
-9Access denied by policy
-11Rate limit exceeded; back off for Retry-After seconds
-13Rate-limit service unavailable

Notes ​

  • Provide at least one non-blank value across guids and short_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.