get_margin_data
Retrieve margin trading data: use 'account' for market-wide balance and trends, or 'target' for stock-level margin details.
Instructions
获取融资融券数据,通过 type 区分:account=账户统计(全市场两融余额和融资/融券趋势),target=标的明细(个股级别的融资融券数据)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"type": "<type>"
},
"name": "get_margin_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | 指定交易日 YYYY-MM-DD(type=target 时可用,默认最新交易日) | |
| type | Yes | 查询类型: account=账户统计, target=标的明细 |