机构评级与目标价通达信
查询机构评级家数和目标价统计。
查询机构评级家数和目标价统计。
输入参数
| 参数 | 类型 | 必填 | 说明 | 默认值 |
|---|---|---|---|---|
code | string | 是 | 股票代码:支持 000001、000001.SZ、sz000001;批量可传列表或英文逗号分隔字符串。 | |
start_date | string | 否 | 按评级统计日期过滤的起始日期;不传返回源端本次给出的记录。 | |
end_date | string | 否 | 按评级统计日期过滤的结束日期;不传返回源端本次给出的记录。 |
参数示例
# 单个标的
client.call("stock_analyst_rating_tdx", code="000001.SZ")
# 批量请求多个标的
client.call("stock_analyst_rating_tdx", code=["000034.SZ", "000001.SZ"])返回字段
| 字段 | 类型 | 说明 |
|---|---|---|
instrument_id | string | AxData 统一证券代码,例如 000001.SZ。 |
symbol | string | 交易所原始六位代码。 |
date | date | 评级统计日期。 |
buy_count | integer | 买入家数。 |
overweight_count | integer | 增持家数。 |
neutral_count | integer | 中性家数。 |
underweight_count | integer | 减持家数。 |
sell_count | integer | 卖出家数。 |
target_price | number | 平均目标价。 |
target_price_low | number | 目标价下限。 |
target_price_high | number | 目标价上限。 |
current_price | number | 当前价。 |
upside_pct | number | 上涨空间,单位:%。 |
调用示例
Python SDK
import axdata as ax
client = ax.AxDataClient()
rows = client.call(
"stock_analyst_rating_tdx",
code='000001.SZ',
)
HTTP API
POST /v1/request/stock_analyst_rating_tdx
Content-Type: application/json
{
"params": {
"code": "000001.SZ"
}
}
真实样例快照
展示插件接口目录里的固定 example.response,页面打开不会再次请求源端。
请求参数
{
"code": "000001.SZ"
}
响应样例
| instrument_id | symbol |
|---|---|
| 000001.SZ | 000001 |
生成时间:2026-07-06T16:54:55+00:00