OpenQuant-rs is a Rust-first library for modern machine learning methods in finance, inspired by and building on the ideas from Advances in Financial Machine Learning by Marcos Lopez de Prado.
- A Rust implementation of core AFML techniques with a strict, testable baseline.
- A place to consolidate fixtures and baseline behavior before optimization.
- A stepping stone toward benchmarks and accelerated algorithms once parity is locked.
- Source of truth:
openquant-rs/tests/crosswalk.md - Project roadmap:
ROADMAP.md
# Run all Rust tests
cargo test -p openquant
# Sync ROADMAP.md from the crosswalk
python scripts/sync_roadmap.pyopenquant-rs/crates/openquant/src/: core library modulesopenquant-rs/crates/openquant/tests/: Rust test suiteopenquant-rs/tests/fixtures/: shared fixtures used for parityopenquant-rs/tests/crosswalk.md: mapping of Python tests to Rust tests
- Parity first: use crosswalk + shared fixtures to match Python behavior.
- Explicit tolerances: document any intentional deviations.
- Performance after parity: optimize only after tests are green and aligned.
If you are porting a module:
- Add or update fixtures under
openquant-rs/tests/fixtures/. - Implement Rust tests in
openquant-rs/crates/openquant/tests/. - Update
openquant-rs/tests/crosswalk.mdwith status and fixtures. - Run
python scripts/sync_roadmap.pyto keep the roadmap current.
TBD