markcheno / go-talib

A pure Go port of TA-Lib (http://ta-lib.org)
MIT License
763 stars 213 forks source link

Result is different than Binance technical analysis result #21

Closed dineshpazani closed 3 years ago

dineshpazani commented 3 years ago

Could please help with the talib result in golang? It is looks different than the Binance dashboard. I raised the same question in stack overflow: https://stackoverflow.com/questions/68759178/result-is-different-than-binance-technical-analysis-result

markcheno commented 3 years ago

I have no idea what library Binance uses to calculate their indicators. Different libraries may have slightly different results. go-talib is based off of the official version of TA-LIB and should match it's results exactly.

However, please be aware that some indicators have very long lookbacks and final results will vary based on the number of bars input. So in order to properly compare, you would need to use the exact same data and same number of input bars to get a realistic result.

davidxiao commented 2 years ago

yeah, the same case for me, the data is the exact same as Binance. @dineshpazani , how do you handle it? any luck to resolve it now?

dineshpazani commented 2 years ago

I am using python-based TA-lib only. Golang lib is not working as expected.