Skip to content

User Python indicator catalog ​

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

List visible Python indicator catalog entries for the signed-in user with cursor pagination, without scripts or parameters. Identity is read from the login session; uid is not accepted. Pass the returned guid or short_name to Look up user Python indicators to fetch scripts and parameters.

Request parameters ​

ParameterTypeInRequiredDescription
start_guidstringqueryNoPagination cursor; omit or pass an empty string for the first page, and pass the previous response's next_start_guid verbatim for subsequent pages

Request example ​

bash
curl -s "https://webapi.futunn.com/api/v1.0/quote/python-indicators/catalog" \
  -H "Authorization: Bearer <AccessToken>"

Response fields ​

Fields under data.

FieldTypeDescription
itemsobject[]Catalog entries on this page, ordered by guid ascending, without scripts or parameters; check next_start_guid even when items is empty
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[].short_name_okbooleanWhether the short name was parsed; when false, recall by guid only
next_start_guidstringCursor for the next page, present only when more pages remain; omitted when the catalog ends

Response example ​

json
{
  "code": 0,
  "message": "success",
  "data": {
    "items": [
      {
        "guid": "a1",
        "short_name": "MA",
        "remarks": 0,
        "short_name_ok": true
      },
      {
        "guid": "b2",
        "short_name": "",
        "remarks": 0,
        "short_name_ok": false
      }
    ],
    "next_start_guid": "c3"
  }
}

Errors ​

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

codeDescription
-3Invalid parameter
-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

Notes ​

  • Determine completion solely by whether next_start_guid is present: if items is empty on a page while next_start_guid is still returned, continue requesting the next page with that cursor.
  • The server pages with guid >= start_guid; pass next_start_guid verbatim and do not substitute the last item's guid.
  • Entries with short_name_ok set to false cannot be matched by short name; query them by guid via Look up user Python indicators.
  • Responses include Cache-Control: private, no-store.