Skip to content

某机构或分析师在某标的上的评级曲线点 ​

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

获取某机构或分析师在某标的上的评级曲线点。

请求参数 ​

参数类型位置必填说明
codestring路径是标的
uidstring查询是机构或分析师 UID
dimensionstring查询否维度,默认 INSTITUTION
countint查询否点数,默认 50,最大 500

请求示例 ​

bash
curl -X GET 'https://webapi.moomoo.com/api/v1.0/quote/US.AAPL/research/rating-plot?uid=value' \
  -H 'Authorization: Bearer <AccessToken>' | jq

响应参数 ​

参数类型说明
data.itemsobject[]
data.items[].timestampint时间,Unix 微秒
data.items[].close_pricestring收盘价

错误码 ​

ret_codeerror.code说明
0—成功
-3invalid_parameter参数不合法
-8unsupported不支持
-10no_data没有数据

响应示例 ​

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