paft-aggregates 0.8.0

Aggregated info snapshots built on paft primitives.
Documentation

paft-aggregates

Aggregated snapshot models built on the paft primitives.

Crates.io Docs.rs

Install

Prefer the facade crate for most applications:

[dependencies]
paft = { version = "0.8.0", features = ["aggregates"] }

Advanced (direct dependency, minimal features):

[dependencies]
paft-aggregates = { version = "0.8.0", default-features = false }

With DataFrame integration:

[dependencies]
paft-aggregates = { version = "0.8.0", default-features = false, features = ["dataframe"] }
paft-utils = { version = "0.8.0", default-features = false, features = ["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 for GenericSnapshot<()>; use GenericSnapshot<M = ()> when you need a provider-metadata payload. Fundamentals/analyst/ESG fields belong in paft-fundamentals.

Features

  • bigdecimal: switch the shared decimal backend used by paft-money prices and paft-utils dataframe encoding from rust_decimal to bigdecimal
  • panicking-money-ops: forwards to paft-money to enable panicking arithmetic operators
  • dataframe: derives Polars dataframe support for Snapshot; direct users import ToDataFrame/ToDataFrameVec from paft_utils::dataframe

Links