https://github.com/dashed/technical_indicators
π Library of technical indicators in Rust. (work in progress)
https://github.com/dashed/technical_indicators
candlestick indicators investing rust technical-analysis trading
Last synced: 6 months ago
JSON representation
π Library of technical indicators in Rust. (work in progress)
- Host: GitHub
- URL: https://github.com/dashed/technical_indicators
- Owner: dashed
- License: mit
- Created: 2017-09-13T06:32:54.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-12-24T11:06:18.000Z (almost 8 years ago)
- Last Synced: 2025-03-28T17:57:29.704Z (6 months ago)
- Topics: candlestick, indicators, investing, rust, technical-analysis, trading
- Language: Rust
- Homepage:
- Size: 48.8 KB
- Stars: 19
- Watchers: 4
- Forks: 5
- Open Issues: 15
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
technical_indicators [](https://travis-ci.org/dashed/technical_indicators) [](https://crates.io/crates/technical_indicators) [](https://docs.rs/technical_indicators)
====================> Library of technical indicators in Rust.
## What?
A technical indicator is a tool that attempts to forecast a technical analysis feature (e.g. support / resistance) based on given data such as historical price and volume.
Typically, a trader or an investor would use technical indicators against an asset (e.g. stocks), and then perform technical analysis to formulate a trading (or investing) decision.
See: https://en.wikipedia.org/wiki/Technical_indicator
## Install
Add to your `Cargo.toml`:
```toml
[dependencies]
technical_indicators = "0.5.0"
```Next, add this to your crate:
```rust
extern crate technical_indicators;
```## Usage
*TBA.*
Indicators
==========Implemented indicators.
## Simple Moving Average
Read more: https://en.wikipedia.org/wiki/Moving_average#Simple_moving_average
## Exponential Moving Average
Read more: https://en.wikipedia.org/wiki/Moving_average#Exponential_moving_average
## Ichimoku KinkΕ HyΕ
Read more: https://en.wikipedia.org/wiki/Ichimoku_Kink%C5%8D_Hy%C5%8D
Chores
======- `./pretty.sh`: Run [`rustfmt`](https://github.com/rust-lang-nursery/rustfmt)
- `cargo test`: Run tests.
- `cargo check`: Quick compile check.Credits
=======Thanks to [Cryptowatch API](https://cryptowat.ch/docs/api#ohlc) for the bitcoin trading data of the GDAX (Coinbase) exchange.
URL used to access the trading data: `https://api.cryptowat.ch/markets/gdax/btcusd/ohlc?periods=14400` (4 hour candles)
License
=======MIT.