Library of technical indicators in Rust.
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.
Add to your
[dependencies] technical_indicators = "0.5.0"
Next, add this to your crate:
extern crate technical_indicators;
Simple Moving Average
Exponential Moving Average
Ichimoku Kinkō Hyō
cargo test: Run tests.
cargo check: Quick compile check.
Thanks to Cryptowatch API 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)