volas
A Rust-backed, OHLCV-shaped DataFrame for candlestick / market time-series, with
a technical-indicator directive engine.
volas is intentionally narrow — not a general-purpose DataFrame. It targets live
OHLCV pipelines: append a new bar, keep indicator columns cached, and recompute only
the stale tail (O(lookback + new rows), not O(n)).
This crate is the umbrella that re-exports the volas workspace (volas-core,
volas-compute, volas-directive, volas-time, volas-io) behind one dependency.
[]
= "1"
use ;
use ;
let df = new?;
// `ma:2` is a 2-period simple moving average over `close`.
let directive = parse?;
let ma = execute?;
assert_eq!; // (3.0 + 4.0) / 2
# Ok::
Layout
- top level — the data model (
DataFrame,Series,Column,Index,DType,Scalar,Tz,Result,VolasError), plusread_csvandTimeFrame; volas::directive— parse a directive string, thenexecuteit;volas::compute— numeric kernels and technical indicators (pure functions);volas::time— time-frame cumulation (OHLCV resampling);volas::core— the fullvolas-coresurface.
There is also a Python package named volas (Rust kernels via PyO3) on PyPI; it is a
separate distribution from this crate.