# Get Macro Indicator List

get_macro_indicator_list(region)

  • Description

    Get macro indicator list. Returns the macro economic indicator categories and indicator information for the specified country/region, including indicator ID and name, for subsequent historical data queries.

  • Parameters

    Parameter Type Description
    region MacroRegion Country/region (required)
  • Return

    Parameter Type Description
    ret RET_CODE API call result
    data pd.DataFrame When ret == RET_OK, returns data
    str When ret != RET_OK, returns error description
    • Data format:
      Field Type Description
      category_name str Category name (e.g. "All"/"Employment"/"Inflation"/"Interest Rate")
      indicator_id int Macro indicator ID (for querying historical data)
      name str Indicator name
  • Example

from futu import *

quote_ctx = OpenQuoteContext(host='127.0.0.1', port=11111)

ret, data = quote_ctx.get_macro_indicator_list(region=MacroRegion.US)
if ret == RET_OK:
    print(data.head(2))
else:
    print('error:', data)

quote_ctx.close()
1
2
3
4
5
6
7
8
9
10
11
  • Output
category_name  indicator_id              name
0            物价    1003000003  美国生产者物价指数(PPI)同比
1            物价    1003000001         美国核心CPI同比
1
2
3

API Limits

  • Maximum 60 requests within 30 seconds
  • Only the first page of paginated requests counts towards rate limiting