verifystack_liquidation_sim
Simulate isolated-margin perpetual liquidation risk: calculate liquidation threshold, distance to liquidation, risk-reward ratio, and conservative half-Kelly position sizing before placing a trade.
Instructions
Paid x402 API ($0.005 USDC on Base): Isolated-margin perpetual liquidation threshold, distance-to-liquidation %, risk-reward ratio, and conservative half-Kelly sizing simulator.
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": {
"side": "<side>",
"entryPrice": "<entryPrice>",
"leverage": "<leverage>",
"collateralUsd": "<collateralUsd>"
},
"name": "verifystack_liquidation_sim"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| side | Yes | ||
| leverage | Yes | ||
| entryPrice | Yes | ||
| targetPrice | No | ||
| collateralUsd | Yes | ||
| stopLossPrice | No | ||
| winProbability | No | ||
| maintenanceMarginRate | No |