6 releases (breaking)

Uses old Rust 2015

0.5.0 Dec 24, 2017
0.4.0 Dec 24, 2017
0.3.1 Dec 24, 2017
0.2.0 Sep 24, 2017
0.1.0 Sep 24, 2017

#247 in Visualization

Download history 11/week @ 2023-10-30 2/week @ 2023-11-06 8/week @ 2023-11-13 7/week @ 2023-11-20 15/week @ 2023-11-27 6/week @ 2023-12-04 6/week @ 2023-12-18 12/week @ 2023-12-25 6/week @ 2024-01-08 11/week @ 2024-01-15 1/week @ 2024-01-22 12/week @ 2024-01-29 1/week @ 2024-02-05 34/week @ 2024-02-12

53 downloads per month

MIT license

20KB
373 lines

technical_indicators Build Status crate version docs.rs

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:

[dependencies]
technical_indicators = "0.2.0"

Next, add this to your crate:

extern crate technical_indicators;

Usage

TBA.

Indicators

Simple Moving Average

Read more: https://en.wikipedia.org/wiki/Moving_average#Simple_moving_average

Chores

  • ./pretty.sh: Run rustfmt
  • cargo test: Run tests.
  • cargo check: Quick compile check.

Credits

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)

License

MIT.

No runtime deps