Skip to main content

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 for max_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

  1. Complete backtest → run_id
  2. deploy-gate/check passes (evaluates DSR, not raw Sharpe alone)
  3. Optional paper/live deploy via scoped session keys
  4. Publish flex card: POST /api/v2/social/flex-cards with run_id — see Verified flex charter

Local dev

Fleet: bash scripts/services/start-all.sh from repo root (full fleet; docs site not auto-started).