guardrail/migrations/0003_trade_events.sql
caelum0x 2d2b15c7fe feat: full guardrail-alpha system + CLI modularization + Vercel deploy config
- Rust engine: real bootstrap/wiring preflight (guardrail-agent), execution layer (retry/router/pre-trade/post-trade/reconciliation), guardrail-doctor diagnostics with allowlist-drift guard.

- guardrail-cli: extracted pure helpers into util.rs (split in progress).

- 6 Track-2 skills + ensemble; python-lab analytics (regime/drawdown/montecarlo/dossier/ensemble/journal/seed); clients (ts/py/go/mcp/langchain/web-lite/proof-verifier); alert relay; scenarios; helm/k8s/compose; docs.

- dashboard/vercel.json + docs/VERCEL_DEPLOY.md for Vercel deployment.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-15 11:02:22 +03:00

15 lines
326 B
SQL

CREATE TABLE IF NOT EXISTS trade_events (
id TEXT PRIMARY KEY,
run_id TEXT NOT NULL,
timestamp TEXT NOT NULL,
from_symbol TEXT NOT NULL,
to_symbol TEXT NOT NULL,
amount_usd REAL NOT NULL,
status TEXT NOT NULL,
quote_json TEXT,
risk_decision_json TEXT,
tx_hash TEXT,
reason TEXT
);