stock-bot/libs/calculations/research
2026-10-21 20:27:07 -04:00
..
correlation-analysis.md Extract shared calculations and preserve legacy research capabilities 2026-10-21 20:27:07 -04:00
market-statistics.md Extract shared calculations and preserve legacy research capabilities 2026-10-21 20:27:07 -04:00
options-pricing.md Extract shared calculations and preserve legacy research capabilities 2026-10-21 20:27:07 -04:00
portfolio-analytics.md Extract shared calculations and preserve legacy research capabilities 2026-10-21 20:27:07 -04:00
position-sizing-notes.md Extract shared calculations and preserve legacy research capabilities 2026-10-21 20:27:07 -04:00
position-sizing.md Extract shared calculations and preserve legacy research capabilities 2026-10-21 20:27:07 -04:00
README.md Extract shared calculations and preserve legacy research capabilities 2026-10-21 20:27:07 -04:00
technical-indicators.md Extract shared calculations and preserve legacy research capabilities 2026-10-21 20:27:07 -04:00
volatility-models.md Extract shared calculations and preserve legacy research capabilities 2026-10-21 20:27:07 -04:00

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 Random permutation tests and approximate inference/matrix methods
Market statistics Hard-coded market cap/stress estimates and simplified microstructure outputs
Options pricing Unseeded Monte Carlo, convergence fallbacks and logging
Portfolio analytics Equal-weight optimizer baselines, zero factor estimates, incomplete attribution
Position sizing Unseeded simulation/search; old production-readiness claims were unsupported
Additional indicators Duplicates plus unique indicators and a placeholder Hilbert transform
Volatility models Simplified Yang–Zhang/Heston estimates and random shocks

Historical position-sizing notes 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.