Browse by type
Rust implementations of the methods in Advances in Financial Machine Learning, with Python bindings.
Documentation · Quickstart · Issues
Pre-release (0.1.0, unpublished). The Rust core covers most AFML chapters and is
tested in CI. The module index
lists the current Rust and Python surfaces. The installation below builds from source
so the examples and extension use the same revision. Open work is tracked in
issues; the reasoning behind it is in
docs/design/production-readiness-brief.md.
Requires a Rust toolchain (pinned by rust-toolchain.toml), Python 3.11+ and
uv.
git clone https://github.com/Open-Quant/openquant.git && cd openquant
uv venv --python 3.13 .venv
uv sync --locked --group dev --no-install-project
uv run --no-sync --python .venv/bin/python maturin develop --release --manifest-path crates/pyopenquant/Cargo.toml
uv run --no-sync --python .venv/bin/python python -c "import openquant; print('ok')"
The Python distribution name is pyopenquant; the import name is openquant.
Check the release notes for packaged
release availability; the commands above do not depend on a published wheel. Do not pip install openquant - that name on PyPI belongs
to an unrelated project.
The extension crate (crates/pyopenquant) is built into a wheel with maturin and is
never published to crates.io.
# Core Rust tests (the long-running SADF test has a separate nightly gate)
cargo test --workspace --lib --tests --all-features -- --skip test_sadf_test
For the complete test, benchmark and documentation workflow, see CONTRIBUTING.md. Release criteria are in the publishing checklist. Experimental runners are research infrastructure, not a trading service or evidence of profitable strategies.
See CONTRIBUTING.md for setup, the test and docs gates, and pull request conventions, and tests/FIXTURES.md for where the test fixtures come from. Report security problems privately (SECURITY.md).
MIT (LICENSE)
browse all types & interfaces →
$ claude mcp add openquant \
-- python -m otcore.mcp_server <graph>