TA-Lib / ta-lib-python

Python wrapper for TA-Lib (http://ta-lib.org/).
http://ta-lib.github.io/ta-lib-python
Other
9.49k stars 1.74k forks source link

STOCHRSI results not accurate AT ALL ... anyone having the same issue ? #365

Closed bluetyphoon77 closed 3 years ago

bluetyphoon77 commented 3 years ago

Hi guyz ! I don't understand what's the point to be able to grab stochrsi data if we have totally wrong results ;) I've tested on binance and the results I get are totally different than what I see on Tradingview. Can someone help please ? thanks a lot

mrjbq7 commented 3 years ago

The definition is different.

See other issues reporter: #149, #170, #203,

This comment might be useful for you:

https://github.com/mrjbq7/ta-lib/issues/203#issuecomment-462143312

On Dec 3, 2020, at 7:17 AM, bluetyphoon77 notifications@github.com wrote:

 Hi guyz ! I don't understand what's the point to be able to grab stochrsi data if we have totally wrong results ;) I've tested on binance and the results I get are totally different than what I see on Tradingview. Can someone help please ? thanks a lot

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

bluetyphoon77 commented 3 years ago

Thanks for your answer. But what is the final conclusion ? TA-lib is not able to provide accurate results ? If not what library could I use ? Thanks a lot


From: John Benediktsson notifications@github.com Sent: Thursday, December 3, 2020 3:46 PM To: mrjbq7/ta-lib ta-lib@noreply.github.com Cc: bluetyphoon77 magicyvan@hotmail.com; Author author@noreply.github.com Subject: Re: [mrjbq7/ta-lib] STOCHRSI results not accurate AT ALL ... anyone having the same issue ? (#365)

The definition is different.

See other issues reporter: #149, #170, #203,

This comment might be useful for you:

https://github.com/mrjbq7/ta-lib/issues/203#issuecomment-462143312

On Dec 3, 2020, at 7:17 AM, bluetyphoon77 notifications@github.com wrote:

 Hi guyz ! I don't understand what's the point to be able to grab stochrsi data if we have totally wrong results ;) I've tested on binance and the results I get are totally different than what I see on Tradingview. Can someone help please ? thanks a lot

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

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/mrjbq7/ta-lib/issues/365#issuecomment-738090794, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AJEEGYEDKGYLMNKXVSXHE7TSS6XHFANCNFSM4UMDZOBA.

bluetyphoon77 commented 3 years ago

Hi, I've checked your links but it is unclear what the final conclusion is. Could you just tell me if ta-lib is capable of grabbing accurate values for stochrsi or not ? Do we have to use Tulip for just this stochrsi indicator ? Thanks

mrjbq7 commented 3 years ago

TA-LIB has an implementation of STOCHRSI.

It works. It's just a different definition than the one TradingView uses apparently.

You can build your own that does it the way TradingView does it.

See this comment for details: https://github.com/mrjbq7/ta-lib/issues/203#issuecomment-462161352

Without seeing test data that you are working with, I can't say for sure, but probably calling talib.STOCH with the results oftalib.RSI would be the same thing.

bluetyphoon77 commented 3 years ago

Hey John thanks again, I will give the info to the dev 😉 This is chinese to me 😉 Happy if you can get the same values as int TV. I'll transfer him your advice :) Do you know how much time it could take from scratch to write a bot that will send on telegram signals for 3 simple indicators like rsi, mfi, stochrsi ? Approximatively ? thanks :) I will try to find someone efficient.... not easy .... I've teste upwork and ... negative experiences there .....


From: John Benediktsson notifications@github.com Sent: Friday, December 4, 2020 7:07 PM To: mrjbq7/ta-lib ta-lib@noreply.github.com Cc: bluetyphoon77 magicyvan@hotmail.com; Author author@noreply.github.com Subject: Re: [mrjbq7/ta-lib] STOCHRSI results not accurate AT ALL ... anyone having the same issue ? (#365)

TA-LIB has an implementation of STOCHRSI.

It works. It's just a different definition than the one TradingView uses apparently.

You can build your own that does it the way TradingView does it.

See this comment for details: #203 (comment)https://github.com/mrjbq7/ta-lib/issues/203#issuecomment-462161352

Without seeing test data that you are working with, I can't say for sure, but probably calling talib.STOCH with the results oftalib.RSI would be the same thing.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/mrjbq7/ta-lib/issues/365#issuecomment-738963147, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AJEEGYDOPUPZ6ZC35JOOG3TSTEXPPANCNFSM4UMDZOBA.

mrjbq7 commented 3 years ago

I bet you could figure it out and write it yourself!

Here's a tutorial on writing a telegram bot in Python:

https://github.com/python-telegram-bot/python-telegram-bot/wiki/Extensions-–-Your-first-Bot

And getting prices, applying a few talib indicators, isn't probably too many lines of code...!

bluetyphoon77 commented 3 years ago

very friendly from you john ! :) ok I'll do my best :) cheeeers


From: John Benediktsson notifications@github.com Sent: Friday, December 4, 2020 7:26 PM To: mrjbq7/ta-lib ta-lib@noreply.github.com Cc: bluetyphoon77 magicyvan@hotmail.com; Author author@noreply.github.com Subject: Re: [mrjbq7/ta-lib] STOCHRSI results not accurate AT ALL ... anyone having the same issue ? (#365)

I bet you could figure it out and write it yourself!

Here's a tutorial on writing a telegram bot in Python:

https://github.com/python-telegram-bot/python-telegram-bot/wiki/Extensions-–-Your-first-Bothttps://github.com/python-telegram-bot/python-telegram-bot/wiki/Extensions-%E2%80%93-Your-first-Bot

And getting prices, applying a few talib indicators, isn't probably too many lines of code...!

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/mrjbq7/ta-lib/issues/365#issuecomment-738971965, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AJEEGYEUCX2WRPHVTKX6J73STEZUZANCNFSM4UMDZOBA.

Elyasnz commented 1 year ago

if a Python implementation of STOCHRSI is needed this comment is useful