paft-aggregates
Aggregated snapshot models built on the paft primitives.
Install
Prefer the facade crate for most applications:
[]
= { = "0.8.0", = ["aggregates"] }
Advanced (direct dependency, minimal features):
[]
= { = "0.8.0", = false }
With DataFrame integration:
[]
= { = "0.8.0", = false, = ["dataframe"] }
= { = "0.8.0", = false, = ["dataframe"] } # trait imports for direct users
What’s inside
Snapshot— strictly instant-in-time snapshot for an instrument: identity, the current session's prices/ranges, and the snapshot timestamp. This is the standard no-metadata alias forGenericSnapshot<()>; useGenericSnapshot<M = ()>when you need a provider-metadata payload. Fundamentals/analyst/ESG fields belong inpaft-fundamentals.
Features
bigdecimal: switch the shared decimal backend used bypaft-moneyprices andpaft-utilsdataframe encoding fromrust_decimaltobigdecimalpanicking-money-ops: forwards topaft-moneyto enable panicking arithmetic operatorsdataframe: derives Polars dataframe support forSnapshot; direct users importToDataFrame/ToDataFrameVecfrompaft_utils::dataframe
Links
- API docs: docs.rs/paft-aggregates
- Workspace overview: GitHub: workspace README
- License: LICENSE