global: snapshot

This commit is contained in:
nym21
2026-03-06 21:46:44 +01:00
parent 8c32ad2483
commit 9a2ee0273f
26 changed files with 955 additions and 578 deletions
@@ -0,0 +1,9 @@
mod distribution_stats;
mod emas;
mod per_period;
mod windows;
pub use distribution_stats::*;
pub use emas::*;
pub use per_period::*;
pub use windows::*;
@@ -0,0 +1,11 @@
mod aggregated;
mod cumulative;
mod cumulative_sum;
mod distribution;
mod full;
pub use aggregated::*;
pub use cumulative::*;
pub use cumulative_sum::*;
pub use distribution::*;
pub use full::*;
@@ -1,33 +1,23 @@
mod aggregated;
mod base;
mod by_unit;
mod computed;
mod constant;
mod cumulative;
mod cumulative_sum;
mod distribution;
mod fiat;
mod full;
mod lazy;
mod percent;
mod percent_distribution;
mod percentiles;
mod price;
mod ratio;
mod stddev;
mod value;
pub use aggregated::*;
pub use base::*;
pub use by_unit::*;
pub use computed::*;
pub use constant::*;
pub use cumulative::*;
pub use cumulative_sum::*;
pub use distribution::*;
pub use fiat::*;
pub use full::*;
pub use lazy::*;
pub use percent::*;
pub use percent_distribution::*;
pub use percentiles::*;
pub use price::*;
pub use ratio::*;
@@ -10,7 +10,7 @@ use crate::{
internal::{BpsType, ComputeDrawdown},
};
use super::{ComputedFromHeight, LazyFromHeight};
use crate::internal::{ComputedFromHeight, LazyFromHeight};
/// Basis-point storage with both ratio and percentage float views.
///
@@ -8,7 +8,7 @@ use crate::{
internal::{BpsType, WindowStarts},
};
use super::{ComputedFromHeightDistribution, LazyFromHeight};
use crate::internal::{ComputedFromHeightDistribution, LazyFromHeight};
/// Like PercentFromHeight but with rolling distribution stats on the bps data.
#[derive(Traversable)]
@@ -0,0 +1,5 @@
mod base;
mod distribution;
pub use base::*;
pub use distribution::*;
@@ -0,0 +1,5 @@
mod eager;
mod lazy;
pub use eager::*;
pub use lazy::*;
+4 -14
View File
@@ -1,35 +1,25 @@
mod aggregate;
pub(crate) mod algo;
mod containers;
mod db_utils;
mod derived;
mod distribution_stats;
mod eager_indexes;
mod emas;
mod from_height;
mod from_tx;
mod lazy_eager_indexes;
mod lazy_value;
mod per_period;
mod indexes;
mod rolling;
mod traits;
pub mod transform;
mod value;
mod windows;
pub(crate) use aggregate::*;
pub(crate) use algo::*;
pub(crate) use containers::*;
pub(crate) use db_utils::*;
pub(crate) use derived::*;
pub(crate) use distribution_stats::*;
pub(crate) use eager_indexes::*;
pub(crate) use emas::*;
pub(crate) use from_height::*;
pub(crate) use from_tx::*;
pub(crate) use lazy_eager_indexes::*;
pub(crate) use lazy_value::*;
pub(crate) use per_period::*;
pub(crate) use indexes::*;
pub(crate) use rolling::*;
pub(crate) use traits::*;
pub use transform::*;
pub(crate) use value::*;
pub(crate) use windows::*;
@@ -0,0 +1,5 @@
mod base;
mod lazy;
pub use base::*;
pub use lazy::*;