stock-bot/libs/calculations/research/README.md

26 lines
2.2 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Research references, not runtime APIs
These source snapshots preserve **all seven previously disabled calculation modules**
from `ccce401`, including functions not present in the active indicator module. Markdown
keeps their former non-executable status explicit. Their source hashes are verified by
the calculation preservation tests; this does not validate their algorithms.
| Snapshot | Review concerns before promotion |
| ------------------------------------------------ | ------------------------------------------------------------------------------- |
| [Correlation analysis](correlation-analysis.md) | Random permutation tests and approximate inference/matrix methods |
| [Market statistics](market-statistics.md) | Hard-coded market cap/stress estimates and simplified microstructure outputs |
| [Options pricing](options-pricing.md) | Unseeded Monte Carlo, convergence fallbacks and logging |
| [Portfolio analytics](portfolio-analytics.md) | Equal-weight optimizer baselines, zero factor estimates, incomplete attribution |
| [Position sizing](position-sizing.md) | Unseeded simulation/search; old production-readiness claims were unsupported |
| [Additional indicators](technical-indicators.md) | Duplicates plus unique indicators and a placeholder Hilbert transform |
| [Volatility models](volatility-models.md) | Simplified Yang–Zhang/Heston estimates and random shocks |
[Historical position-sizing notes](position-sizing-notes.md) retain the old formula and
validation discussion without endorsing its production-readiness claims.
To promote a function: define its inputs, units, undefined-result policy and temporal
alignment; remove synthetic results, implicit clock access and unseeded randomness;
add an independently checked fixture and edge-case tests; then expose a deliberate
supported subpath. Keep approximate research explicitly labeled rather than treating
an importable function as proof of correctness. Supported code must not depend on these
references or the legacy namespace.