-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing Method List #329
Comments
I assume that doing something like
ta.RSI(c, 10)
works but this is an issue with their code completion?
… On Jul 5, 2020, at 5:34 AM, Артур Лазаренко ***@***.***> wrote:
Good day. this problem occurs in both PyCharm and VS Code. When importing talib, there are no available methods (because of which you have to use the Function method and pass the name there), which is not very convenient because you have to look at the arguments every time.
Python 3.8 / Poetry / MacOS
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
I have tried all the various IDEs, as well as versions of Python 3 and above. I also tried to find similar answers, but it did not bring success. |
Do you have that same completion issue with the ta.func module?
… On Jul 5, 2020, at 12:03 PM, Артур Лазаренко ***@***.***> wrote:
I assume that doing something like ta.RSI(c, 10) works but this is an issue with their code completion?
…
On Jul 5, 2020, at 5:34 AM, Артур Лазаренко @.***> wrote: Good day. this problem occurs in both PyCharm and VS Code. When importing talib, there are no available methods (because of which you have to use the Function method and pass the name there), which is not very convenient because you have to look at the arguments every time. Python 3.8 / Poetry / MacOS — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.
I have tried all the various IDEs, as well as versions of Python 3 and above.
Not in one other library, such a problem does not arise.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Hi John, I'm using PyCharm Professional 2020.1 and I don't get any method suggestions either. I tried your example above for RSI, after typing in ta. or ta.R, I don't get a list of methods or suggestions. I tried to use the Abstract API and using the example from your page: sma = abstract.SMA # SMA is not suggested Any guidance/help would be greatly appreciated. Also, since I can't get the auto suggest/complete to work, what is the best way to see what parameters the methods require. I went back to SourceForge and original author's website and can't find a document. -Ven |
Do the method recommendations work inside a Python console in PyCharm?
… On Jul 18, 2020, at 9:03 AM, xtracool ***@***.***> wrote:
Hi John,
I'm using PyCharm Professional 2020.1 and I don't get any method suggestions either. I tried your example above for RSI, after typing in ta. or ta.R, I don't get a list of methods or suggestions.
I tried to use the Abstract API and using the example from your page:
sma = abstract.SMA # SMA is not suggested
sma = abstract.Function # Function is suggested, see screenshot
Any guidance/help would be greatly appreciated. Also, since I can't get the auto suggest/complete to work, what is the best way to see what parameters the methods require. I went back to SourceForge and original author's website and can't find a document.
-Ven
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Any chance this comment on this StackOverflow helps?
https://stackoverflow.com/questions/15022804/pycharm-code-completion-not-giving-recommendations
“ As it happens, I've just had exactly the same problem as OP and the solution was:
A NON-ASCII CHAR SOMEWHERE IN THE PROJECT'S FOLDER PATH
Seriously, PyCharm devs...[doubleFacepalm]”
… On Jul 18, 2020, at 9:31 AM, xtracool ***@***.***> wrote:
Amazing John, they do! Both the function and abstract APIs do, any further thoughts on why the IDE isn't working?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Thx, I'll go look thru the talib code and see if I can figure it out if there is some non-ascii character. |
I’m not sure if they mean the path to the project you are building, or the path to the Python site-packages.
… On Jul 18, 2020, at 10:09 AM, xtracool ***@***.***> wrote:
Thx, I'll go look thru the talib code and see if I can figure it out if there is some non-ascii character.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
I have a similar problem with one other package I use called pyEX (an interface for IEX Cloud for stock data). Never seen this issue otherwise. I'm wondering if the issue is caused by the file that seems to be auto-generated called _ta_lib.py |
I wonder if it’s related to the dynamic way we bind all the functions at import time.
I will try and get PyCharm when I have a moment to see if I can reproduce. I’m sorry that you’re having trouble with it!
… On Jul 18, 2020, at 3:37 PM, xtracool ***@***.***> wrote:
I have a similar problem with one other package I use called pyEX (an interface for IEX Cloud for stock data). Never seen this issue otherwise.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Thank you, appreciate your support for the product! If there is a way to donate $ please LMK |
No need for donations, thanks! I was able to reproduce, and I believe that it's not working because of how we use Let me work on a fix. |
Can you test the I changed how I do the imports slightly to make it more friendly to PyCharm's code completion. It seems to work for me? |
I apologize that it took me 2 weeks to get around to looking at this. If it works for you, I might do a little bit more cleanup and then maybe I should push a new release just so others don't have this problem. Nothing functional changed, just how the imports looked. |
I am waiting for a solution to this problem, just the same. All my friends do not have a list of functions. |
Did you try the current master branch?
Install from git checkout.
python3 setup.py install
Unless maybe you are on Windows and use the unofficial binaries and then I should release so those get updated. Just wanted to confirm with someone having the problem first.
I had to uninstall first before installing the 0.4.19-dev version from master.
… On Jul 20, 2020, at 9:38 AM, Артур Лазаренко ***@***.***> wrote:
I apologize that it took me 2 weeks to get around to looking at this.
If it works for you, I might do a little bit more cleanup and then maybe I should push a new release just so others don't have this problem. Nothing functional changed, just how the imports looked.
I am waiting for a solution to this problem, just the same. All my friends do not have a list of functions.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Will do a check out and try it. |
Hey John, Again thanks for the help! |
I think I found the link to the methods :) |
Hate to be the guy that asks this but any idea when the fix will be published under release? I try to avoid installing modules from branches, but if there is no plan to release soon then I will |
Good reminder!
I didn’t have a fix (yet!) for the arguments, but we can make a release this week with at least what we have!
Thanks for the reminder.
… On Sep 27, 2020, at 8:32 AM, cf ***@***.***> wrote:
Hate to be the guy that asks this but any idea when the fix will be published under release? I try to avoid installing modules from branches, but if there is no plan to release soon then I will
|
Released 0.4.19. I would still like to fix the issue where it shows (args, kwds) instead of the actual arguments. |
Can you see if this is fixed in the master branch? I found a setting that I had not noticed in cython to embed function signatures. |
Good day. this problem occurs in both PyCharm and VS Code. When importing talib, there are no available methods (because of which you have to use the Function method and pass the name there), which is not very convenient because you have to look at the arguments every time.
Python 3.8 / Poetry / MacOS
The text was updated successfully, but these errors were encountered: