trade_preflight
Pre-trade decision gate for AI trading agents ($0.01).
Deterministic ALLOW / REDUCE / REQUIRE_CONFIRMATION / BLOCK with reason codes, an order-hash-bound approved size, 60s expiry, and an EIP-191-signed attestation. Composes the live regime detector, the measured execution-cost oracle, and YOUR policy (max_notional_usd, max_cost_bps, daily_loss_limit_usd, confirm_above_usd, symbol_allowlist, ...). order: {symbol, side, notional_usd, order_type}. evidence: {audit_score} from audit_backtest. Not investment advice.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order | Yes | ||
| state | No | ||
| policy | No | ||
| evidence | No | ||
| payment_signature | No |