get_markets_margin_interest
Get per-stock margin interest data (margin buy/sell balances, loan ratio) for Japanese stocks. Returns summary by default or full rows with code/date filters.
Instructions
Per-stock margin balance: 買残・売残・貸借倍率 (信用残). Standard+ only.
Use for 信用残, 買い残, 売り残, 貸借倍率, margin loan/short balance. For margin trading restrictions (追証・増担保規制), use get_markets_margin_alert instead.
When called with no parameters, returns a compact summary by default
(detail=False): {count, latest_date, source, note}. Pass detail=True
to retrieve full row data for the latest available date. Specifying any
filter parameter (code, date, etc.) always returns full data.
[Supported plans] Standard / Premium
Args: code: Stock code (5 digits, e.g. 27800) date: Date (YYYYMMDD or YYYY-MM-DD) date_from: Start date for range query date_to: End date for range query detail: When True and no filter params given, return full row data instead of summary.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_markets_margin_interest"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | ||
| date | No | ||
| detail | No | ||
| date_to | No | ||
| date_from | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||