Elena & backtesting
Elena is QuantDesk’s dedicated backtest lifecycle agent. It is not MIKEY-AI (general protocol intelligence). Elena orchestrates dataset selection, strategy specs, simulation, walk-forward validation, and deploy gating.Status
Architecture
- Elena never re-implements sim logic — it calls backend
/api/v2/backtest/*as a client. - MIKEY has no tool that submits sim jobs directly.
Gateway routes
Backtest API (narrative)
Base:/api/v2/backtest. Full schemas in Swagger (/api/docs/).
StrategyCardSchema
Developer output emits StrategyCardSchema JSON — SSOT formax_leverage, cost model refs, and Solana friction (priority fees + slippage floor). Deploy bundles extend this schema; there is no competing parallel format.
Deploy gate → flex publish
- Complete backtest →
run_id deploy-gate/checkpasses (evaluates DSR, not raw Sharpe alone)- Optional paper/live deploy via scoped session keys
- Publish flex card:
POST /api/v2/social/flex-cardswithrun_id— see Verified flex charter
Local dev
bash scripts/services/start-all.sh from repo root (full fleet; docs site not auto-started).
Related
- V2 API endpoints — social, markets, data plane
- Building on QuantDesk —
place_order_v2live deploy - Data plane overview — dataset dumps and candles
- Verified flex charter