Validate Order
warden.validate_orderValidates proposed orders against house exposure floors, rejecting trades that exceed position or gross caps with exact limit details. Supports per-fund overrides while always reporting deviations.
Instructions
Validate a proposed order against the house floors (max position 25%, gross cap 60%).
order: {symbol, notional, side: buy|sell}; current_positions: {symbol: notional}. Per-fund overrides are allowed but the response always reports the deviation from the house floors. Rejections quote the exact floor — the same function gating live capital.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order | Yes | Proposed order: {symbol, notional, side: buy|sell}. | |
| equity | Yes | Account equity (base currency) used for the exposure floors. | |
| floor_overrides | No | Optional per-fund overrides {max_position_pct, max_gross_exposure_pct}; the response always reports the deviation from the house floors. | |
| current_positions | No | Optional {symbol: notional} map of current positions. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| how | No | ||
| tool | No | ||
| error | No | ||
| access | No | ||
| safety | No | ||
| verdict | No | ||
| provenance | No | ||
| violations | No | ||
| house_floors | No | ||
| fund_overrides | No | ||
| post_gross_pct | No | ||
| rejection_quote | No | ||
| post_position_pct | No | ||
| request_access_at | No |