indexes-rs

Crates.ioindexes-rs
lib.rsindexes-rs
version1.1.0
created_at2025-02-07 15:05:52.61762+00
updated_at2025-08-19 07:30:13.635841+00
descriptionA comprehensive collection of technical analysis indicators including RSI, EMA, Bollinger Bands, and more. Designed for financial market analysis with a focus on accuracy and performance.
homepage
repositoryhttps://github.com/Flicker-Finance/indexes-rs
max_upload_size
id1547040
size278,637
Onik (grep-o)

documentation

https://docs.rs/indexes-rs

README

indexes-rs

A Rust library providing a comprehensive collection of technical analysis indicators for financial market analysis(especially crypto market analysis).

Crates.io Documentation License: MIT

Developed and maintained by Flicker

Features

Currently supported technical indicators:

  • ATR (Average True Range)
  • Bollinger Bands
  • EMA (Exponential Moving Average)
  • MA (Moving Average)
  • MACD (Moving Average Convergence Divergence)
  • Momentum
  • ROC (Rate of Change)
  • RSI (Relative Strength Index)
  • SMA (Simple Moving Average)
  • Stochastic Oscillator
  • Support and Resistance Levels
  • OBV (On Balance Volume)
  • MFI (Money Flow Index)
  • Parabolic SAR (Stop and Reverse)
  • ADX (Average Directional Index)
  • CCI (Commodity Channel Index)
  • Williams %R
  • Standard Deviation

Usage

Add this to your Cargo.toml:

[dependencies]
indexes-rs = "1.1.0"

Basic example:

use indexes_rs::v1::rsi::main::RSI;

fn main() {
    let prices = vec![10.0, 12.0, 11.0, 13.0, 15.0, 14.0];
    let rsi = RSI::new(14); // 14-period RSI
}

License

This project is licensed under the MIT License - see the LICENSE file for details.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.


Commit count: 25

cargo fmt