getExecutionPriceDetailed
Calculate detailed execution price with partial fill data from order books to assess trade costs before executing.
Instructions
Calculate detailed execution price information including partial fill data.
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": {
"exchange": "<exchange>",
"orderBook": "<orderBook>",
"side": "<side>",
"amount": "<amount>"
},
"name": "getExecutionPriceDetailed"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| exchange | Yes | The prediction market exchange to target. | |
| orderBook | Yes | Order book with bids and asks arrays. Each level has price and size. | |
| side | Yes | ||
| amount | Yes | ||
| verbose | No | Return full uncompacted response. Default false returns a compact, agent-friendly summary. |