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