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.
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 |