https://github.com/stjepangolemac/inditech
A set of technical indicators
https://github.com/stjepangolemac/inditech
analysis indicators series technical time
Last synced: 5 months ago
JSON representation
A set of technical indicators
- Host: GitHub
- URL: https://github.com/stjepangolemac/inditech
- Owner: stjepangolemac
- License: mit
- Created: 2021-08-26T07:48:02.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-08-26T07:50:38.000Z (over 4 years ago)
- Last Synced: 2025-06-17T04:39:07.522Z (8 months ago)
- Topics: analysis, indicators, series, technical, time
- Language: Rust
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# inditech
[](https://github.com/stjepangolemac/inditech/main/LICENSE)
A set of technical indicators that can be used for time series analysis.
There's only a few of them for now but new ones might be added soon.
## Usage
```rust
use inditech::{Frame, Identity, EMA, ROC, RSI, SMA};
fn main() {
let mut frame = Frame::new();
frame.add(Box::new(Identity::new()));
frame.add(Box::new(SMA::new(8)));
frame.add(Box::new(EMA::new(8)));
frame.add(Box::new(RSI::new(8)));
frame.add(Box::new(ROC::new(8)));
let data: Vec = generate_data();
data.iter().for_each(|item| frame.push(item));
dbg!(frame.last());
// Vec[, , , , ]
}
```