Skip to content
Sergey Gerasimov edited this page Oct 22, 2026 · 12 revisions

DerivLab

The institutional trading floor you can hold in your hand. Learn options and futures by making decisions — not by memorising formulas.

DerivLab is a local-first, cinematic strategy simulator. It combines real market history, synthetic option chains, a live decision game, and three autonomous AI desks that trade against you and explain what they saw.

Watch the 25-second demo · README · Getting Started

DerivLab AI Arena results, leaderboard and model stack


What is inside

Layer What it does
Strategy Deck Five field-guide playbooks: basis, covered call, cash-secured put, long straddle, iron condor.
Backtest Lab Payoff, equity, drawdown, cycles, Greeks, and institutional KPIs on historical data.
AI Arena Three autonomous rival desks, a four-desk leaderboard, a three-section critic report, and a cyberpunk NewsWire.
Hold the Position A live, one-day-per-second risk game with alerts, roll/hold/liquidate decisions, and a debrief.
Data Vault Fourteen instruments, local cache, bundled seed, provenance, and refresh controls.
Field Guide The language of derivatives, without the fog.

Start here

If you want to… Go to…
Run the app in minutes Getting Started
See every screen and what it teaches Feature Tour
Understand the simulation engine Architecture · Backtest Engine
Understand the AI desks and the async bridge AI Agents
Pick a model for the critic and the wire AI Model Guide
Deploy it for a team Deployment
Run the tests and inspect CI Testing & CI
Fix a problem Troubleshooting
Understand the documentation system Documentation & ADRs
Plan a release Versioning

Repository health

  • CI workflow — lint, 248 tests, Docker build, and container health.
  • CodeQL workflow — Python code scanning on push, pull request, and a weekly schedule.
  • Code scanning results — CodeQL alerts (currently zero).
  • Docs workflow — link checking, ADR validation, versioning, and presentation assets.
  • main is branch-protected with required checks:
    • Python 3.10 · lint + tests
    • Docker image and health
    • Analyze Python
    • Docs · links + ADR

What it is not

DerivLab is an educational simulator, not a broker or an execution system. Option chains are synthesized with Black-Scholes, the basis trade uses an idealized convergence hedge, and the AI commentary can be wrong. Nothing in this repository is investment advice.


Explore the documentation using the sidebar →

Clone this wiki locally