check_order_safety
Prevent unsafe trades by running 13 pre-trade checks on order details, covering position sizing, daily loss limits, drawdown, buying power, concentration, and market risk. Returns ALLOW or BLOCK with reasons.
Instructions
Run 13 pre-trade safety checks before placing an order. Checks position sizing, daily loss limits, drawdown, fat fingers, buying power, concentration, VIX killswitch, margin, correlation, and more. Returns ALLOW or BLOCK with reasons.
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": {
"broker": "<broker>",
"symbol": "<symbol>",
"side": "<side>",
"qty": "<qty>"
},
"name": "check_order_safety"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| qty | Yes | ||
| side | Yes | ||
| broker | Yes | ||
| symbol | Yes | ||
| order_type | No | market | |
| asset_class | No | stock | |
| limit_price | No | ||
| notional_value | No |