refactor: share research domain and simplify application workflows

This commit is contained in:
Boki 2026-10-26 15:29:43 -04:00
parent 805a9f8fd4
commit 8c39ccf7ea
58 changed files with 3805 additions and 3081 deletions

View file

@ -81,3 +81,7 @@ This fixture does not need a provider connection or running databases. For initi
- [Backlog](../development/backlog/README.md) and [roadmap](../development/ROADMAP.md): work history, completion evidence and conditional future tasks.
When documentation and an implementation disagree, follow the current entrypoint, contract and focused regression test. Historical plans explain the direction; these guides explain how the current pieces fit together.
Primary navigation lists implemented workflows. Standalone Portfolio, Analytics and Settings
remain unavailable at their existing URLs and are hidden from the menu. Saved backtest and
experiment pages continue to provide performance, trade and risk analysis.

View file

@ -1,5 +1,14 @@
# Reading the implementation
The cleanup keeps old dataset/report paths as compatibility entrypoints. Read
`libs/research/src/datasets.ts` for V2 normalization and hashes, and
`libs/research/src/results.ts` for statistical reporting. The backtest API facade now delegates
to `apps/stock/web-api/src/services/backtests/{templates,runs,reproduction,results}.ts`.
Frontend run observation/submission, strategy cloning/version inspection and experiment
submission each have focused hooks/components beside their existing pages. These moves
preserve the Rust financial engine and saved-run contracts described below.
[Guide home](README.md) · [System map](system-map.md) · [Backtest walkthrough](backtest-walkthrough.md) · [Strategy authoring](strategy-development.md)
This guide follows **functions and state**, rather than application boxes. The linked TypeScript files now have explanatory TSDoc comments, and the Rust financial modules have module and method documentation. Read these beside the implementation; you can hover documented symbols in your editor.