某机构或分析师在某标的上的评级曲线点
GET/api/v1.0/quote/{code}/research/rating-plot获取某机构或分析师在某标的上的评级曲线点。
请求参数
| 参数 | 类型 | 位置 | 必填 | 说明 |
|---|---|---|---|---|
code | string | 路径 | 是 | 标的 |
uid | string | 查询 | 是 | 机构或分析师 UID |
dimension | string | 查询 | 否 | 维度,默认 INSTITUTION |
count | int | 查询 | 否 | 点数,默认 50,最大 500 |
请求示例
bash
curl -X GET 'https://webapi.futunn.com/api/v1.0/quote/US.AAPL/research/rating-plot?uid=value' \
-H 'Authorization: Bearer <AccessToken>' | jq响应参数
| 参数 | 类型 | 说明 |
|---|---|---|
data.items | object[] | |
data.items[].timestamp | int | 时间,Unix 微秒 |
data.items[].close_price | string | 收盘价 |
错误码
| ret_code | error.code | 说明 |
|---|---|---|
| 0 | — | 成功 |
| -3 | invalid_parameter | 参数不合法 |
| -8 | unsupported | 不支持 |
| -10 | no_data | 没有数据 |
响应示例
json
{
"ret_code": 0,
"ret_msg": "success",
"data": {
"items": [
{
"timestamp": 1710000000000000,
"close_price": "example"
}
]
}
}