Tushare Stk Weekly Monthly
1积分/次
ae_tushare_stk_weekly_monthly
查看每日更新的未复权A股周线或月线行情数据,可选择频率。
1积分/次
价格说明
1积分/次
| 条件 | 费用 |
|---|---|
| 每次调用 | 1积分/次 |
API 调用
通过统一工具网关发起同步请求,鉴权和计费由 AgentEarth 处理。
cURL
curl --request POST \
--url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_tushare_stk_weekly_monthly' \
--header "X-Api-Key: $AGENTEARTH_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"params": {
"freq": "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"
}
}工具参数
未传入的可选参数将使用平台默认值。
| 参数 | 类型 | 必填 | 说明 | 默认值 |
|---|---|---|---|---|
freq | string | 是 | 频率week周,month月 | — |
fields | array | 否 | 指定返回字段,不传则返回默认字段。 默认字段: ts_code, trade_date, end_date, freq, open, high, low, close, pre_close, vol, amount, change, pct_chg 额外可选字段: (所有字段均为默认返回,无需指定) | — |
ts_code | string | 否 | TS代码 | — |
end_date | string | 否 | 结束交易日期 | — |
start_date | string | 否 | 开始交易日期 | — |
trade_date | string | 否 | 交易日期(格式:YYYYMMDD,每周或每月最后一天的日期) | — |

