You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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 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.
I also tried to find similar answers, but it did not bring success.
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.
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.
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.
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.
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 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.
I was able to reproduce, and I believe that it's not working because of how we use __import__ to load and then wrap the functions to allow pandas compatibility.
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 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.
Hey John,
I reinstalled and here is what I got, looks like it is working! Is there a way of getting the argument list for the methods or is that not possible because of this being a wrapper for the C code? I don't get the arguments list in the console either. If that is a limitation, can you point me to a place (code or website) where I can look those up. I did do a search for the RSI method and found python code; one example just used talib.RSI and called the method with stock closing prices. I can across another website from someone who rewrote many of the C functions into python. That person's RSI function requires the df to have open and close prices and not the closing prices. So knowing the parameters would be greatly helpful.
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 ☺️
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 ☺️
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
Activity
mrjbq7 commentedon Jul 5, 2020
ArtReeX commentedon Jul 5, 2020
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.
I also tried to find similar answers, but it did not bring success.
mrjbq7 commentedon Jul 5, 2020
xtracool commentedon Jul 18, 2020
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
mrjbq7 commentedon Jul 18, 2020
xtracool commentedon Jul 18, 2020
Amazing John, they do! Both the function and abstract APIs do, any further thoughts on why the IDE isn't working?

mrjbq7 commentedon Jul 18, 2020
xtracool commentedon Jul 18, 2020
Thx, I'll go look thru the talib code and see if I can figure it out if there is some non-ascii character.
mrjbq7 commentedon Jul 18, 2020
xtracool commentedon Jul 18, 2020
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
mrjbq7 commentedon Jul 18, 2020
xtracool commentedon Jul 19, 2020
Thank you, appreciate your support for the product! If there is a way to donate $ please LMK
mrjbq7 commentedon Jul 19, 2020
No need for donations, thanks!
I was able to reproduce, and I believe that it's not working because of how we use
__import__to load and then wrap the functions to allow pandas compatibility.Let me work on a fix.
mrjbq7 commentedon Jul 20, 2020
Can you test the
masterbranch?I changed how I do the imports slightly to make it more friendly to PyCharm's code completion. It seems to work for me?
mrjbq7 commentedon Jul 20, 2020
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.
ArtReeX commentedon Jul 20, 2020
I am waiting for a solution to this problem, just the same. All my friends do not have a list of functions.
mrjbq7 commentedon Jul 20, 2020
xtracool commentedon Jul 20, 2020
Will do a check out and try it.
xtracool commentedon Jul 20, 2020
Hey John,
I reinstalled and here is what I got, looks like it is working! Is there a way of getting the argument list for the methods or is that not possible because of this being a wrapper for the C code? I don't get the arguments list in the console either. If that is a limitation, can you point me to a place (code or website) where I can look those up. I did do a search for the RSI method and found python code; one example just used talib.RSI and called the method with stock closing prices. I can across another website from someone who rewrote many of the C functions into python. That person's RSI function requires the df to have open and close prices and not the closing prices. So knowing the parameters would be greatly helpful.
Again thanks for the help!
xtracool commentedon Jul 20, 2020
I think I found the link to the methods :)
https://mrjbq7.github.io/ta-lib/doc_index.html
at-cf commentedon Sep 27, 2020
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☺️
mrjbq7 commentedon Sep 27, 2020
mrjbq7 commentedon Sep 28, 2020
Released 0.4.19.
I would still like to fix the issue where it shows (args, kwds) instead of the actual arguments.
mrjbq7 commentedon Jul 20, 2023
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.
yoobi commentedon Dec 28, 2024
Hi, I had the same issue PyCharm doesn't show method signature (I was using 0.4.32), I've updated to the last version 0.5.2 and now it does work :)