Tushare Forecast
1积分/次
ae_tushare_forecast
查询A股业绩预告和盈利预警,包括预告类型、预计利润区间、预期变动和公告日期。
1积分/次
价格说明
1积分/次
| 条件 | 费用 |
|---|---|
| 每次调用 | 1积分/次 |
API 调用
通过统一工具网关发起同步请求,鉴权和计费由 AgentEarth 处理。
cURL
curl --request POST \
--url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_tushare_forecast' \
--header "X-Api-Key: $AGENTEARTH_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"params": {
"ts_code": "xxx"
}
}'- 请求方式
- POST
- 接口地址
- /agent-api/v1/tool/execute
- 鉴权方式
- X-Api-Key
- 超时时间
- 60 秒
响应示例
{
"error_no": 0,
"error_msg": "",
"result": [
{
"type": "text",
"text": "xxx"
}
],
"platform_annotations": {
"source": "AgentEarth",
"platform_note": "xxx",
"platform_suggestion": "xxx"
}
}工具参数
未传入的可选参数将使用平台默认值。
| 参数 | 类型 | 必填 | 说明 | 默认值 |
|---|---|---|---|---|
type | string | 否 | 预告类型(预增/预减/扭亏/首亏/续亏/续盈/略增/略减) | — |
fields | array | 否 | 指定返回字段,不传则返回默认字段。 默认字段: ts_code, ann_date, end_date, type, p_change_min, p_change_max, net_profit_min, net_profit_max, last_parent_net, first_ann_date, summary, change_reason 额外可选字段: (所有字段均为默认返回,无需指定) | — |
period | string | 否 | 报告期(每个季度最后一天的日期,比如20171231表示年报,20170630半年报,20170930三季报) | — |
ts_code | string | 是 | 股票代码,例如000001.SZ。与ann_date二选一,ts_code和ann_date至少提供一个非空字符串。 | — |
ann_date | string | 否 | 公告日期,格式YYYYMMDD。与ts_code二选一,ts_code和ann_date至少提供一个非空字符串。 | — |
end_date | string | 否 | 公告结束日期 | — |
start_date | string | 否 | 公告开始日期 | — |

