pre_check_order
Check an order's margin, limits, and criteria before placing it to avoid rejection.
Instructions
Pre-check an order before placing it (validates margin, limits, etc.).
Args: category: Product type: inverse, linear, option. symbol: Symbol, e.g., BTCUSDT. side: Buy or Sell. order_type: Market or Limit. qty: Order quantity. price: Order price (required for Limit).
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": {
"category": "<category>",
"symbol": "<symbol>",
"side": "<side>",
"order_type": "<order_type>",
"qty": "<qty>"
},
"name": "pre_check_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| category | Yes | ||
| symbol | Yes | ||
| side | Yes | ||
| order_type | Yes | ||
| qty | Yes | ||
| price | No |