Tushare Margin Detail

1 credits/call
ae_tushare_margin_detail

View daily margin financing and securities lending details for an individual security, including financing purchases, short sales, and balances.

Research
1 credits/call

Pricing

1 credits/call
ConditionCharge
Each call1 credits/call

Parameters

Optional parameters use the platform defaults when omitted.

ParameterTypeRequiredDescriptionDefault
fieldsarrayNo指定返回字段,不传则返回默认字段。 默认字段: trade_date, ts_code, name, rzye, rqye, rzmre, rqyl, rzche, rqchl, rqmcl, rzrqye 额外可选字段: (所有字段均为默认返回,无需指定)—
ts_codestringNoTS代码—
end_datestringNo结束日期—
start_datestringNo开始日期—
trade_datestringNo交易日期(格式:YYYYMMDD,下同)—

Invocation example

Copy the request and explore its response example.

POST/agent-api/v1/tool/executeX-Api-Key
Request coderequest.sh
curl --request POST \
  --url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_tushare_margin_detail' \
  --header "X-Api-Key: $AGENTEARTH_API_KEY" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "params": {
    "end_date": "20261104",
    "start_date": "20261020",
    "ts_code": "600322.SH"
  }
}'
Response exampleresponse.json
JSONPartial content
[
  {
    "rqchl": 4800.0,
    "rqmcl": 5600.0,
    "rqye": 78890.0,
    "rqyl": 32200.0,
    "rzche": 4274372.0,
    "rzmre": 5397636.0
  }
]

This example shows part of the response. Copied content is valid JSON.