slippage
Calculate expected execution price and price impact for a specified crypto or equity order size using the stored order book.
Instructions
Expected execution price and slippage for a size, against the stored book.
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>",
"side": "<side>",
"size": "<size>"
},
"name": "slippage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| side | Yes | ||
| size | Yes | ||
| symbol | Yes | ||
| size_unit | No | ||
| asset_class | No | Which market answers. Inferred from the symbol's source when omitted. |