Skip to content

分析師財務預測 ​

GET /api/v1.0/quote/{symbol}/financials/estimate

獲取個股未來多期與歷史各期的分析師一致財務預測(Consensus Mean)及實際公佈值對比。 支持切換預測指標類型(estimate_type:EPS_GAAP=每股收益 / REVENUE=總收入 / EBIT=息稅前利潤 / NET_INCOME_GAAP=淨利潤)與預測週期(period_type:QUARTERLY=季度 / SEMI_ANNUAL=半年度 / ANNUAL=年度)。 返回包含:historical_estimates(歷史各期預測均值 vs 實際值與預測人數)與 future_estimates(未來各期預測均值與預測人數)。

請求參數 ​

參數類型位置必填說明
symbolstring路徑是股票代碼(路徑參數),例: US.AAPL / US.TSLA / HK.00700
estimate_typestring查詢否預測財務指標類型:EPS_GAAP=每股收益(默認)/ REVENUE=總收入 / EBIT=息稅前利潤 / NET_INCOME_GAAP=淨利潤
period_typestring查詢否預測週期類型:AUTO=自動按有數據週期返回(默認,單季報>半年報>年報)/ QUARTERLY=季度 / SEMI_ANNUAL=半年度 / ANNUAL=年度
hist_countint查詢否拉取的歷史預測期數,默認 8,最大 20
fut_countint查詢否拉取的未來預測期數,默認 4,最大 20

請求示例 ​

bash
curl -X GET 'https://webapi.moomoo.com/api/v1.0/quote/US.AAPL/financials/estimate?estimate_type=1&period_type=1&hist_count=1' \
  -H 'Authorization: Bearer <AccessToken>' | jq

響應參數 ​

參數類型說明
data.period_typeinteger實際返回的預測週期類型
data.currencystring統計貨幣單位,例: USD / HKD / CNY
data.historical_estimatesobject歷史各期預測值與實際值列表
data.historical_estimates[].fiscal_yearinteger財年
data.historical_estimates[].fiscal_quarterinteger財季(1~4)
data.historical_estimates[].period_strstring週期字符串,例: '2025/Q4' / '2025/FY'
data.historical_estimates[].actual_valuestring實際值(原始值已除以 10^4)
data.historical_estimates[].consensus_meanstring分析師一致預測均值(原始值已除以 10^4)
data.historical_estimates[].num_analystsinteger參與預測的分析師人數
data.historical_estimates[].currencystring貨幣單位
data.future_estimatesobject未來各期分析師一致預測列表
data.future_estimates[].fiscal_yearinteger財年
data.future_estimates[].fiscal_quarterinteger財季(1~4)
data.future_estimates[].period_strstring週期字符串,例: '2025/Q4' / '2025/FY'
data.future_estimates[].actual_valuestring實際值(原始值已除以 10^4)
data.future_estimates[].consensus_meanstring分析師一致預測均值(原始值已除以 10^4)
data.future_estimates[].num_analystsinteger參與預測的分析師人數
data.future_estimates[].currencystring貨幣單位

錯誤碼 ​

ret_codeerror.code說明
0—成功
-3invalid_parameter參數缺失或不在允許範圍內
-7invalid_symbol標的不存在
-8unsupported市場或品類不支持
-9permission_denied沒有對應權限
-10no_data沒有可返回的數據
-11rate_limited調用過於頻繁

響應示例 ​

json
{
  "ret_code": 0,
  "ret_msg": "success",
  "data": {
    "period_type": 0,
    "currency": "example",
    "historical_estimates": "example",
    "future_estimates": "example"
  }
}