talibd 0.1.0

D wrapper for https://ta-lib.org/


To use this package, run the following command in your project's root directory:

Manual usage
Put the following dependency into your project's dependences section:

D wrapper for https://ta-lib.org/

pre-req:

ta-lib https://ta-lib.org/

download, and build

https://ta-lib.org/hdr_dw.html

http://prdownloads.sourceforge.net/ta-lib/ta-lib-0.4.0-src.tar.gz

  • build talib Linux Static Libraries
  • please check https://github.com/mingwugmail/talibd/blob/master/lib/Makefile
$ cd lib && make

DPP

NOTE: source/talibd.d has been manually modified due to: https://github.com/atilaneves/dpp/issues/272

Design:

  • the output and the input data are of the same length, and are end-aligned!
  • the output is front-padded with 0 instead of NaN, i.e the lookback area

Demo:

https://github.com/mingwugmail/talibd/blob/master/source/app.d

just type make to run it:

$ make
...

$ ./talibd
Run some tests
prices.length=755
test TA_MA
prices[$-1]=334.06 sma10[9]=236.502 sma10[$-1]=343.91 sma20[$-1]=342.521
test TA_RSI
prices[$-1]=334.06 rsi14[14]=80.4548 rsi14[$-1]=45.0602
test TA_MACD
prices[$-1]=334.06 macd[$-1]=1.86243 macdSignal[$-1]=4.30537 macdHist[$-1]=-2.44294

Authors:
  • mw
Dependencies:
fluent-asserts, jdiutil
Versions:
0.2.0 2023-Jun-17
0.1.4 2022-Nov-12
0.1.3 2020-Nov-06
0.1.2 2020-Sep-15
0.1.1 2020-Sep-14
Show all 7 versions
Download Stats:
  • 0 downloads today

  • 0 downloads this week

  • 0 downloads this month

  • 38 downloads total

Score:
0.6
Short URL:
talibd.dub.pm