TalibEx
Nif Implementation for TA-LIB.
It will use system installed TA-LIB
Generated files
-
All files in
c_src(expectutil.candutil.h) are generated lib/nif.exis generatedlib/talib_ex.exis generatedpriv/talib.sois generated
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 && makeInstall 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-libInstall TA-LIB (Mac OS)
brew install ta-libInstallation
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"}
]
endDocumentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/talib_ex.