Tutorials
Runnable, learning-oriented walkthroughs. Each tutorial assumes the quickstart has succeeded.
Python snippets execute via Pyodide directly in your browser; full project setups open in StackBlitz WebContainers. Both are sandboxed and never reach the production cluster.
Tutorial catalogue
- First backtest — author a momentum
strategy, run it through
EventDrivenBacktester, inspect thebacktest_runsledger row, render a tearsheet. - First bot — wrap the strategy in a
TradingBotspec, snapshot the version, run a paper session. - First RL experiment — author an
RLExperimentSpec, train via SB3 PPO, replay from the Iceberg trajectory store. - First agent workflow — compose a
three-node LangGraph (Research → Selection → Trader), run it
through
AgentRuntime, inspect the agent_runs_v2 ledger. - First paper trading session — attach the bot to the paper broker, watch the WebSocket frames, trigger the kill switch.
Each tutorial includes:
- A "Why" section explaining what you are about to learn.
- A canonical reference to the deeper concept doc.
- Inline runnable code.
- A "Verify" checklist at the end.
- A "What next" pointer.
Conventions for these tutorials
- One concept per page. If a tutorial gets too long, split it and link the second page.
- Verify everything. Every code block produces an observable effect — a JSON response, a ledger row, a WebSocket frame.
- Show the failure mode. Each tutorial documents at least one expected error and how to recover.