Giter VIP home page Giter VIP logo

technical_indicators's Introduction

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.5.0"

Next, add this to your crate:

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
  • 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.

technical_indicators's People

Contributors

dashed avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

technical_indicators's Issues

moving averages

impl

  • sma
  • ema
  • wma
  • Arnaud Legoux Moving Average (alma)
  • vwma

tests

  • sma
  • ema
  • wma
  • Arnaud Legoux Moving Average (alma)
  • vwma

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.