Tushare Moneyflow

1积分/次
ae_tushare_moneyflow

查看A股按小单、中单、大单和特大单划分的资金流向,包括买入、卖出金额及净流入。

效率工具
1积分/次

价格说明

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

API 调用

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

cURL
curl --request POST \
  --url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_tushare_moneyflow' \
  --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"
  }
}

工具参数

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

参数类型必填说明默认值
fieldsarray否指定返回字段,不传则返回默认字段。 默认字段: ts_code, trade_date, buy_sm_vol, buy_sm_amount, sell_sm_vol, sell_sm_amount, buy_md_vol, buy_md_amount, sell_md_vol, sell_md_amount, buy_lg_vol, buy_lg_amount, sell_lg_vol, sell_lg_amount, buy_elg_vol, buy_elg_amount, sell_elg_vol, sell_elg_amount, net_mf_vol, net_mf_amount 额外可选字段: (所有字段均为默认返回,无需指定)—
ts_codestring是TuShare股票代码,例如000001.SZ。ts_code、trade_date、start_date、end_date中至少需提供一个非空值。—
end_datestring否结束日期,格式为YYYYMMDD。ts_code、trade_date、start_date、end_date中至少需提供一个非空值。—
start_datestring否开始日期,格式为YYYYMMDD。ts_code、trade_date、start_date、end_date中至少需提供一个非空值。—
trade_datestring否交易日期,格式为YYYYMMDD。ts_code、trade_date、start_date、end_date中至少需提供一个非空值。—

使用该工具的指南

看看真实工作流里怎么用这个工具