FIRE / Finxsight Rust quant toolkit — indicators, regimes, options analytics, Polars TA plugins, and an execution-aware backtest engine. Functionally aligned with QuantWave without Python, WASM, or PyPI packaging.
| Crate | Role |
|---|---|
firequant |
Facade: core, backtest, exec, optional polars |
firequant-core |
Indicators, features, regimes, Next<T> streaming |
firequant-backtest |
Polars batch + streaming sim, metrics, walk-forward, Monte Carlo |
firequant-polars |
Polars expression plugins (ta, bt namespaces) |
firequant-exec |
Thin re-export of order/fill types and OrderSim |
Requires Rust nightly (see rust-toolchain.toml).
cargo test --workspaceLive EODHD smoke (set EODHD_API_KEY in your environment or a local .env — see .env.example; never commit the key):
cargo test -p firequant --test eodhd_live -- --nocapture
cargo run -p firequant --example eodhd_rsi_backtest -- MSFT.UScargo run -p firequant-stress --bin eodhd_stress -- fetch # cache under .cache/eodhd/
cargo run -p firequant-stress --bin eodhd_stress -- stress
cargo test -p firequant-stress --test stress_bed_cachedSee firequant-stress/README.md.
use firequant::exec::{
CostModel, ExecutionModel, ExecBar, Order, OrderSim, OrderType, Side,
};
let exec = ExecutionModel::Simple(CostModel::default());
let mut sim = OrderSim::new(&exec);
// ... step bars, then sim.finish()use firequant::polars; // registers expression plugins when linkedMIT — upstream QuantWave is MIT; see docs/ATTRIBUTION.md.