elonepiece / tradingrunner

WOWOWOWOWOOWOWOWOOW the richest badass
0 stars 0 forks source link

Add indicator trading lib #1

Open delirial opened 3 months ago

delirial commented 3 months ago

We can use this robust library to get known metrics and support strategies.

The main issue here is the lib is only a wrapper, so we need to manage the installation of the real lib, write in C++ and environment, and system-dependent.

References

ta-lib

KapilMelwani commented 3 months ago

Need to download https://sourceforge.net/projects/ta-lib/files/ta-lib/0.4.0/, unzip the file and run the configure and make.

image

According to DOC, we will need to create some env-vars for the /include and /lib

I've tried to show the EMA 10 in the current chart. After some tests, it looks great!! As you can see, the first 10 elements are NaN and then, based on the TA-lib calculations, it shows the EMA10 values from the index n+10.

image
KapilMelwani commented 3 months ago

See this https://github.com/twopirllc/pandas-ta, looks interesting @delirial

delirial commented 3 months ago

Awesome ! it's a super wrapper based on ta-lib ! Definitely it deserves a try