mylittleindicators 0.1.2

Multi-stream financial indicators library — 559 bar indicators + 21 event primitives across 35 categories. Consumes OHLCV bars, ticks, orderbook (snapshot/delta), funding, mark price, open interest, liquidations, ticker, agg trades, and 12+ extended stream types from digdigdig3 exchange connectors.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
//! Window axis — how many bars the event looks at.

/// The bar window over which the event is evaluated.
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
pub enum Window {
    /// Only the current bar (window = 1).
    CurrentBar,
    /// Last N bars.
    NBars(usize),
    /// Pivot window: L bars to the left, R bars to the right.
    PivotLR { l: usize, r: usize },
}