quant_risk
Quantitative trading risk and liquidation calculator for perp/margin DEX agents: calculates exact liquidation price, stop-loss price, margin buffer and risk rating for long or short positions with fee and maintenance margin awareness. Price: 0.001 USDC per call over x402 on Base or Solana.
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": "quant_risk"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| side | No | Example: long | |
| entry | No | Example: 100 | |
| leverage | No | Example: 10 |