getSpreadMaxQty
Query the spread wallet available balance for a symbol and side by providing an order price. Get the maximum tradable quantity, with the balance truncated to 8 decimal places.
Instructions
Query the spread wallet available balance for a given symbol and side.
Notes:
This endpoint requires authentication.
The returned available balance (
ab) is truncated to 8 decimal places (not rounded).
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>",
"orderPrice": "<orderPrice>"
},
"name": "getSpreadMaxQty"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| side | Yes | ||
| symbol | Yes | ||
| orderPrice | Yes |