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

'Cannot find reference 'WILLR' in '__init__.py | __init__.py'

Open zsszyx opened this issue 3 years ago • 6 comments

python 3.7 TA_Lib-0.4.24-cp37-cp37m-win_amd64.whl IDE pycharm I added ‘from talib import *’,‘import talib as ta’

zsszyx avatar Jul 03 '22 03:07 zsszyx

It disappeared when I restarted pycharm...

zsszyx avatar Jul 03 '22 03:07 zsszyx

Please provide more information about the issue you are having.

On Jul 3, 2022, at 6:54 AM, zsszyx @.***> wrote:

 It disappeared when I restarted pycharm...

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

mrjbq7 avatar Jul 03 '22 09:07 mrjbq7

I build a venv for Python3.7 and put TA_Lib-0.4.24-cp37-cp37m-win_amd64.whl in venv\Scripts. Then I input pip install TA_Lib-0.4.24-cp37-cp37m-win_amd64.whl. Finally, I import talib and try to use ta.RSI() or ta.WILLR(). This warning happens. It can be used in python3.7 and talib0.4.19. I thought they are be canceled in released version but talib Official website does not show.

zsszyx avatar Jul 03 '22 10:07 zsszyx

What?

mrjbq7 avatar Jul 27 '22 10:07 mrjbq7

My fault. I should use ta.func.WILLR()and ta.func.RSI( )

zsszyx avatar Jul 27 '22 12:07 zsszyx

It should be available:

>>> import talib
>>> talib.WILLR
<function WILLR at 0x11de51870>

mrjbq7 avatar Jul 27 '22 22:07 mrjbq7