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"
      }
    ]
  }
}