Technical analysis library for Rust.
The library is in development.
Add to you Cargo.toml
:
```
[dependencies]
whatlang = "*" ```
Example:
```rust use ta::indicators::ExponentialMovingAverage; use ta::Next;
let mut ema = ExponentialMovingAverage::new(3).unwrap(); asserteq!(ema.next(2.0), 2.0); asserteq!(ema.next(5.0), 3.5); asserteq!(ema.next(1.0), 2.25); asserteq!(ema.next(6.25), 4.25); ```