跳轉到內容

宏觀經濟指標列表

列出 LongPort 支持的宏觀經濟指標,可按國家/地區篩選。

參數 ​

SDK 方法參數。

名稱類型必填描述
countryMacroeconomicCountry否按國家/地區篩選。不填返回全部。
keywordstring否按指標名稱模糊搜索(不區分大小寫)
offsetint否分頁偏移量,默認 0
limitint否每頁最大條數,默認 100,最大 1000

MacroeconomicCountry ​

枚舉值國家/地區
HK香港
CN中國大陸
US美國
EU歐元區
JP日本
SG新加坡

請求示例 ​

響應 ​

響應示例 ​

json
{
  "count": 619,
  "list": [
    {
      "indicator_code": "62267",
      "country": "US",
      "name": "Non-Farm Payroll",
      "periodicity": "Monthly",
      "describe": "Employment situation report...",
      "importance": 3
    }
  ]
}

數據結構 ​

MacroeconomicIndicatorListResponse ​

字段類型必填描述
listMacroeconomicIndicator[]是指標列表
countint是滿足條件的指標總數

MacroeconomicIndicator ​

字段類型必填描述
indicator_codestring是指標代碼(用於 macroeconomic 查詢)
countrystring是國家/地區名稱
namestring是指標名稱
periodicitystring是發布頻率(如 Monthly、Quarterly)
describestring是指標說明
importanceint是重要性(1=低、2=中、3=高)