ta-lib-python icon indicating copy to clipboard operation
ta-lib-python copied to clipboard

where can we find the source code for one indicator(for example: MACD)?

Open nickhuangxinyu opened this issue 3 years ago • 1 comments

nickhuangxinyu avatar Dec 14 '20 06:12 nickhuangxinyu

Well, you could download the source code:

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

But it might be easier to look at the unofficial source code mirror here on GitHub:

https://github.com/TA-Lib/ta-lib/blob/master/src/ta_func/ta_MACD.c

You can then see the wrapper code that I use when calling it:

https://github.com/mrjbq7/ta-lib/blob/master/talib/_func.pxi#L3424

On Dec 13, 2020, at 10:57 PM, xyhuang [email protected] wrote:

 — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

mrjbq7 avatar Dec 14 '20 14:12 mrjbq7