stock-bot/apps/stock/engine/reference/legacy-reporting/README.md

7 lines
1.1 KiB
Markdown

# Uncompiled legacy reporting reference
These two files were moved byte-for-byte from `src/backtest/metrics_calculator.rs` and `src/backtest/results.rs` at baseline `700ee09c`. They were already outside the Rust module graph; this directory is not compiled or exported.
`metrics_calculator.rs` retains return/volatility/risk-ratio, drawdown, streak and symbol-summary prototypes. `results.rs` retains their supporting report structures. They depend on obsolete types and contain unfinished calculations, fabricated placeholder zeros, and financial/statistical assumptions that have not passed the canonical research gates. They are reference material, not supported calculations or expected-result fixtures.
Use the reviewed [calculation library](../../../../../libs/calculations/README.md) and canonical [financial reporting](../../src/financial/reporting.rs) for current work. If a prototype is useful, port only that calculation with explicit units, sampling/alignment/null semantics and independent fixtures. Do not import this directory into the engine or revive its old result model.