global: snapshot

This commit is contained in:
nym21
2026-02-28 00:22:55 +01:00
parent 85c7933ad6
commit a2bd7ca299
38 changed files with 279 additions and 166 deletions
@@ -23,7 +23,7 @@ impl Vecs {
self.hodl_bank.compute_cumulative_transformed_binary(
starting_indexes.height,
&prices.price.usd,
&prices.price.usd.height,
&self.vocdd_365d_median,
|price, median| StoredF64::from(f64::from(price) - f64::from(median)),
exit,
@@ -31,7 +31,7 @@ impl Vecs {
self.reserve_risk.height.compute_divide(
starting_indexes.height,
&prices.price.usd,
&prices.price.usd.height,
&self.hodl_bank,
exit,
)?;