Skip to main content

Crate volas_time

Crate volas_time 

Source
Expand description

volas-time: OHLCV time-frame cumulation (resampling) over the volas data model. Groups fine bars on a DatetimeIndex into coarser periods and aggregates each (open=first, high=max, low=min, close=last, volume=sum).

Depends on volas-core only — a sibling of volas-io / volas-directive with no cross-sibling coupling.

Re-exports§

pub use agg::Agg;
pub use agg::AggSpec;
pub use cumulate::aggregate_period;
pub use cumulate::cumulate;
pub use cumulate::Cumulator;
pub use time_frame::TimeFrame;

Modules§

agg
Typed aggregators for cumulation (replaces stock-pandas’s Python callables).
cumulate
Cumulation: group fine bars into coarser periods and aggregate.
time_frame
Time frames and their period-key unification.