ta 0.0.1-alpha

Technical analysis library. Implements number of indicators: EMA, SMA, RSI, MACD, Stochastic, etc.
Documentation

Technical Analysis for Rust (ta)

Build Status License Documentation

Technical analysis library for Rust.

Status

The library is in development.

Goals

  • Implement flexible and easy to use library in pure Rust
  • Support most popular technical analysis indicators
  • Have a good documentation for every indicator

Get started

Add to you Cargo.toml:

[dependencies]

whatlang = "*"

Example:

use ta::indicators::ExponentialMovingAverage;
use ta::Next;

let mut ema = ExponentialMovingAverage::new(3).unwrap();
assert_eq!(ema.next(2.0), 2.0);
assert_eq!(ema.next(5.0), 3.5);
assert_eq!(ema.next(1.0), 2.25);
assert_eq!(ema.next(6.25), 4.25);

License

MIT © Sergey Potapov

Contributors

  • greyblake Potapov Sergey - creator, maintainer.