talib-ruby
talib-ruby copied to clipboard
Ruby Wrapper for the Technical Analysis Library ta-lib
Running the following example code: ``` ruby close = [26.0, 54.0, 8.0, 77.0, 61.0, 39.0, 44.0, 91.0, 98.0, 17.0] volume = [1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0] func = TaLib::Function.new("OBV") len = close.length func.in_real(0, close)...
Running the following example code: ``` ruby close = [26.0, 54.0, 8.0, 77.0, 61.0, 39.0, 44.0, 91.0, 98.0, 17.0] volume = [1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0] func = TaLib::Function.new("OBV") len = close.length func.in_real(0, close)...
Getting Error - undefined symbol: TA_GetFuncHandle Platform Ubuntu -- Installation steps 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 cd ta-lib/ ./configure LDFLAGS="-lm" make make install gem install talib_ruby -- --with-talib-include=ABSOLUTE_PATH_TO_TALIB_HEADERS --with-talib-lib=ABSOLUTE_PATH_TO_TALIB_LIBS
Getting Error - undefined symbol: TA_GetFuncHandle Platform Ubuntu -- Installation steps 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 cd ta-lib/ ./configure LDFLAGS="-lm" make make install gem install talib_ruby -- --with-talib-include=ABSOLUTE_PATH_TO_TALIB_HEADERS --with-talib-lib=ABSOLUTE_PATH_TO_TALIB_LIBS
Maybe an indicator gem bug but I'll leave it here too. CDL3INSIDE doesn't return integers. please see https://gist.github.com/edbond/5806613 Thanks. https://github.com/mlamby/indicator/issues/9
Maybe an indicator gem bug but I'll leave it here too. CDL3INSIDE doesn't return integers. please see https://gist.github.com/edbond/5806613 Thanks. https://github.com/mlamby/indicator/issues/9
https://github.com/TA-Lib/ta-lib/blob/main/CHANGELOG.md#changed-1 > Static/Shared lib file names uses hyphen instead of underscore. This was needed for some package naming convention. In other word, look for "ta-lib" instead of "ta_lib".