docs: explain strategy replay and durable execution code

This commit is contained in:
Boki 2026-10-25 11:31:23 -04:00
parent 8587c71cf3
commit dd7ac53c51
19 changed files with 494 additions and 41 deletions

View file

@ -17,9 +17,12 @@ In this repository, **canonical** means the supported, authoritative Rust financ
| 1. [System map](system-map.md) | What are the applications, libraries and databases, and how are they connected? |
| 2. [Follow one backtest](backtest-walkthrough.md) | What happens between clicking Run and seeing a trade, result or failure? |
| 3. [Understand and write a strategy](strategy-development.md) | Where does my trading logic go, what can it access, and what does it return? |
| 4. [Read the implementation](code-reading.md) | Which functions call each other, who owns each piece of state, and why are the checks there? |
Read the diagrams and examples first. Follow the source links when a component becomes relevant; you do not need to understand every library before writing a strategy.
For code-level detail, the fourth guide links the documented callback contracts, replay loop, Rust financial methods, durable runner/repository and browser state hook. Their source comments explain invariants and failure behavior beside the implementation.
## A first tour through the product
When your local application is configured and running: