Skip to main content

chrono_ta/
lib.rs

1//! Timestamp-aware, duration-windowed technical indicators.
2//!
3//! Unlike observation-count libraries, `chrono-ta` accepts
4//! `(chrono::DateTime<chrono::Utc>, value)` inputs and expires observations by
5//! elapsed time. Start with [`indicators`] and the [`Next`] trait for streaming
6//! updates, or [`NextBatch`] for an equivalent batched state transition.
7
8#[cfg(test)]
9#[macro_use]
10mod test_helper;
11
12#[cfg(test)]
13mod helpers;
14
15pub mod errors;
16pub mod indicators;
17pub mod simd;
18
19mod traits;
20pub use crate::traits::*;
21
22mod data_item;
23pub use crate::data_item::{Close, DataItem, High, Low, Open, Volume};