TalibEx

Nif Implementation for TA-LIB.

It will use system installed TA-LIB

Generated files

Mix task to generate files

The module Mix.Tasks.Talib is responsible for generating the files The module TalibEx.FunctionDef holds the mapping information

To Generate files and build c src and generate the nif moduke

mix talib && make clean && make

Install TA-LIB (Ubunut)

apt-get update
apt-get install gcc build-essential wget
wget http://prdownloads.sourceforge.net/ta-lib/ta-lib-0.4.0-src.tar.gz
tar -zxvf ta-lib-0.4.0-src.tar.gz
rm ta-lib-0.4.0-src.tar.gz
cd ta-lib
./configure --prefix=/usr
make
make install
cd ../
rm -rf ta-lib

Install TA-LIB (Mac OS)

brew install ta-lib

Installation

If available in Hex, the package can be installed by adding talib_ex to your list of dependencies in mix.exs:

def deps do
  [
    {:talib_ex, "~> 0.1.0"}
  ]
end

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/talib_ex.