Skip to content

個股目標價曲線 ​

GET /api/v1.0/quote/{code}/research/target-plot

獲取個股目標價曲線(收盤價與目標價)。收盤價和目標價均爲實際價格。

請求參數 ​

參數類型位置必填說明
codestring路徑是標的
monthsint查詢否曲線月數,默認 4

請求示例 ​

bash
curl -X GET 'https://webapi.futunn.com/api/v1.0/quote/US.AAPL/research/target-plot' \
  -H 'Authorization: Bearer <AccessToken>' | jq

響應參數 ​

參數類型說明
data.itemsobject[]
data.items[].timestampint時間,Unix 微秒
data.items[].close_pricestring收盤價
data.items[].target_pricestring目標價,沒有則為 0

錯誤碼 ​

ret_codeerror.code說明
0—成功
-3invalid_parameter參數不合法
-8unsupported不支持
-10no_data沒有數據

響應示例 ​

json
{
  "ret_code": 0,
  "ret_msg": "success",
  "data": {
    "items": [
      {
        "timestamp": 1710000000000000,
        "close_price": "example",
        "target_price": "example"
      }
    ]
  }
}