order_preview
Preview a what-if order before sending to see estimated commission, margin impact, and equity with loan, validating cost and risk without placing it.
Instructions
Preview/what-if an order: see estimated commission, margin impact, equity with loan before actually sending.
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": {
"side": "<side>",
"quantity": "<quantity>",
"orderType": "<orderType>"
},
"name": "order_preview"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tif | No | ||
| side | Yes | ||
| conId | No | ||
| symbol | No | ||
| secType | No | ||
| auxPrice | No | ||
| currency | No | ||
| exchange | No | ||
| quantity | Yes | ||
| orderType | Yes | ||
| limitPrice | No |