TA-Lib / ta-lib-python

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

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

Open zsszyx opened 2 years ago

zsszyx commented 2 years ago

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 commented 2 years ago

It disappeared when I restarted pycharm...

mrjbq7 commented 2 years ago

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.

zsszyx commented 2 years ago

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.

mrjbq7 commented 2 years ago

What?

zsszyx commented 2 years ago

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

mrjbq7 commented 2 years ago

It should be available:

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