volas-time 1.1.0

Time-frame cumulation (OHLCV resampling) for volas
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! 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.

pub mod agg;
pub mod cumulate;
pub mod time_frame;

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