Skip to content

Commit

Permalink
add demo run
Browse files Browse the repository at this point in the history
  • Loading branch information
mw66 committed Sep 13, 2020
1 parent 1d4838f commit 8a4af84
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,16 @@ 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
```

0 comments on commit 8a4af84

Please sign in to comment.