liquidation_map
Estimate liquidation clusters for a perpetual by showing price levels that would close positions, notional at each level, and distance from mark price.
Instructions
Estimated liquidation clusters for one perpetual: which price levels would close out the positions opened in the window, how much notional sits at each, and how far they are from the mark price. Returns kind=estimate with its assumptions attached.
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": {
"symbol": "<symbol>"
},
"name": "liquidation_map"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mmr | No | Maintenance margin ratio used in the liquidation formula, 0.004 by default. The exchange's real bracket table needs a signed request, so the smallest tier is assumed and larger positions are therefore slightly understated. | |
| limit | No | How many intervals to read, oldest first and newest last. The upstream refuses more than 500, and its history only goes back 30 days. | |
| period | No | Interval of the series: 5m, 15m, 30m, 1h, 2h, 4h, 6h, 12h or 1d. Shorter intervals see more noise, longer ones see more of the position. | 1h |
| symbol | Yes | Perpetual symbol: BTCUSDT, btc/usdt or just btc — a bare base is completed with USDT, which is how the exchange names most of its contracts. | |
| band_pct | No | Keep only levels within this percentage of the mark price. A liquidation estimate fifteen percent away is already a different market. | |
| leverage | No | Leverage tiers to place in the ladder, for example 10,25,50,100. Each one is a separate row because each one lands at a different distance from the entry. | |
| cluster_pct | No | Merge levels closer together than this percentage into one. Without it every interval becomes its own row and the map is noise. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||