Crate indexes_rs

Source
Expand description

§indexes_rs Library

Welcome to the indexes_rs library! This library provides a suite of technical indicators for financial market analysis. All indicators and related types are grouped under the v1 module, which represents version 1 of the library.

The indicators implemented in this library include:

  • ATR (Average True Range): Measures market volatility.
  • Bollinger Bands: Uses a simple moving average (SMA) and standard deviation to define upper and lower price bands.
  • EMA (Exponential Moving Average): A weighted moving average that gives more importance to recent prices.
  • MA (Moving Averages): A unified module that consolidates multiple moving averages (SMA, EMA, MACD).
  • MACD (Moving Average Convergence Divergence): Combines fast and slow EMAs with a signal line to provide trend-following signals.
  • RSI (Relative Strength Index): An oscillator used to identify overbought and oversold conditions.
  • SMA (Simple Moving Average): Calculates the average of the close prices over a given period.
  • ROC (Rate of Change): Measures the percentage change between the current and a past price.
  • Momentum: Measures the difference between the current price and the price from a specified number of periods ago.
  • Stochastic Oscillator: A momentum indicator comparing a particular closing price to a range of its prices over a certain period.
  • Support & Resistance: Identifies potential support and resistance levels based on price swings.
  • Shared Types: Common structures and enumerations used across multiple indicators.

Each module contains its own implementation (typically in a main.rs file) and associated tests (in a __tests__.rs or _tests__ directory). For more details on each indicator, please refer to the documentation within the corresponding module.

Modules§

v1
Version 1