Skip to main content

anbima_price_from_snapshot

Function anbima_price_from_snapshot 

fn anbima_price_from_snapshot(
    snapshot: &[(NaiveDate, i64, f64, f64)],
    tir: f64,
    vna: f64,
) -> f64
Expand description

The unit price over a snapshot, applying the same truncation chain anbima_price does without materialising parcels.