1 unstable release
new 0.1.0 | Feb 7, 2025 |
---|
#75 in Finance
31KB
867 lines
indexes-rs
A Rust library providing a comprehensive collection of technical analysis indicators for financial market analysis.
Developed by Flicker Finance
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
Usage
Add this to your Cargo.toml
:
[dependencies]
indexes-rs = "0.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.
Developed and maintained by Flicker Finance
Dependencies
~0.4–1MB
~23K SLoC