Tushare Margin

1积分/次
ae_tushare_margin

查看中国市场交易所层面的每日融资融券余额和交易汇总。

研究
1积分/次

价格说明

1积分/次
条件费用
每次调用1积分/次

API 调用

通过统一工具网关发起同步请求,鉴权和计费由 AgentEarth 处理。

cURL
curl --request POST \
  --url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_tushare_margin' \
  --header "X-Api-Key: $AGENTEARTH_API_KEY" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "params": {}
}'
请求方式
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"
  }
}

工具参数

未传入的可选参数将使用平台默认值。

参数类型必填说明默认值
fieldsarray否指定返回字段,不传则返回默认字段。 默认字段: trade_date, exchange_id, rzye, rzmre, rzche, rqye, rqmcl, rzrqye, rqyl 额外可选字段: (所有字段均为默认返回,无需指定)—
end_datestring否结束日期—
start_datestring否开始日期—
trade_datestring否交易日期(格式:YYYYMMDD,下同)—
exchange_idstring否交易所代码(SSE上交所SZSE深交所BSE北交所)—