ProductPromotion
Logo

Elixir

made by https://0x3d.site

GitHub - thisiscetin/indicado: Technical indicator library for Elixir with no dependencies.
Technical indicator library for Elixir with no dependencies. - thisiscetin/indicado
Visit Site

GitHub - thisiscetin/indicado: Technical indicator library for Elixir with no dependencies.

GitHub - thisiscetin/indicado: Technical indicator library for Elixir with no dependencies.

Indicado 🚀🌕

Technical indicator library for Elixir with no dependencies. Indicado helps you analyze historical data to generate future price movement predictions on numerical datasets. Many traders and automated trading platforms use technical analysis because past actions may indicate future prices. Indicado might also be used outside financial markets if data hold patterns and not random.

What can you do with this library ❔

This library can be used as an add-on to Kamil Skorwon's great project Hands-on Elixir & OTP: Cryptocurrency trading bot, at some point. So, you can create sophisticated trading strategies that may better fit your risk appetite. You can also use this library for your custom solutions around automated trading/testing/strategy building.

In the future, in addition to supporting the community, I plan to release more open source tools around strategy building, backtesting, and numerical analysis.

Table of Contents 📋

Supported Indicators 📈

Indicators below are supported. New indicators being added regularly.

  • Accumulation/Distribution Line (ADI)
  • Bollinger Bands (BB)
  • Exponential Moving Average (EMA)
  • Money Flow Index (MFI)
  • Moving Average Convergence Divergence (MACD)
  • On-Balance Volume (OBV)
  • Relative Strength Index (RSI)
  • Simple Moving Average (SMA)
  • Stochastic Oscillator (SR)
  • Williams %R (WR)

Helper math functions such as mean, stddev, variance is accessible through Indicado.Math module.

Installation 💻

Indicado published to Hex. Just add it to your dependencies in mix.exs.

def deps do
  [
    {:indicado, "~> 0.0.4"}
  ]
end

Then run mix deps.get to install indicado.

Usage 🛠️

Indicado provides two functions on the public API of indicators. Namely eval and eval! function.

  • eval function calls return {:ok, result} or {:error, reason}.
  • eval! functions return a single result list or raises exceptions such as NotEnoughDataError.

Because every other indicator may expect different arguments, I recommend you check online documentation on hexdocs before using the indicado. For demonstration purposes how you can calculate a two day Simple Moving Average is shown below.

  iex(2)> Indicado.SMA.eval([1, 3, 5, 7], 2)
  {:ok, [2.0, 4.0, 6.0]}

Contributing 🧵

Please follow standard convention such as eval and eval! functions defined for all indicators inside lib folder. Rest is easy;

  • Fork it!
  • Create your feature branch (git checkout -b my-new-feature)
  • Commit your changes (git commit -am 'Add some feature')
  • Push to the branch (git push origin my-new-feature)
  • Create new Pull Request

To ensure a commit passes CI run mix test.ci before opening a pull request to execute commands below.

Articles
to learn more about the elixir concepts.

Resources
which are currently available to browse on.

mail [email protected] to add your project or resources here 🔥.

FAQ's
to know more about the topic.

mail [email protected] to add your project or resources here 🔥.

Queries
or most google FAQ's about Elixir.

mail [email protected] to add more queries here 🔍.

More Sites
to check out once you're finished browsing here.

0x3d
https://www.0x3d.site/
0x3d is designed for aggregating information.
NodeJS
https://nodejs.0x3d.site/
NodeJS Online Directory
Cross Platform
https://cross-platform.0x3d.site/
Cross Platform Online Directory
Open Source
https://open-source.0x3d.site/
Open Source Online Directory
Analytics
https://analytics.0x3d.site/
Analytics Online Directory
JavaScript
https://javascript.0x3d.site/
JavaScript Online Directory
GoLang
https://golang.0x3d.site/
GoLang Online Directory
Python
https://python.0x3d.site/
Python Online Directory
Swift
https://swift.0x3d.site/
Swift Online Directory
Rust
https://rust.0x3d.site/
Rust Online Directory
Scala
https://scala.0x3d.site/
Scala Online Directory
Ruby
https://ruby.0x3d.site/
Ruby Online Directory
Clojure
https://clojure.0x3d.site/
Clojure Online Directory
Elixir
https://elixir.0x3d.site/
Elixir Online Directory
Elm
https://elm.0x3d.site/
Elm Online Directory
Lua
https://lua.0x3d.site/
Lua Online Directory
C Programming
https://c-programming.0x3d.site/
C Programming Online Directory
C++ Programming
https://cpp-programming.0x3d.site/
C++ Programming Online Directory
R Programming
https://r-programming.0x3d.site/
R Programming Online Directory
Perl
https://perl.0x3d.site/
Perl Online Directory
Java
https://java.0x3d.site/
Java Online Directory
Kotlin
https://kotlin.0x3d.site/
Kotlin Online Directory
PHP
https://php.0x3d.site/
PHP Online Directory
React JS
https://react.0x3d.site/
React JS Online Directory
Angular
https://angular.0x3d.site/
Angular JS Online Directory