Open PiotrJuzwiak opened 8 months ago
Hello @PiotrJuzwiak
Pandas TA is not even 1.0.0+ let alone 2.1.4.
So I assume you are on v0.3.14.
Yes, some indicators, like kc, have not had their internal ma(mamode, x, length=length)
accept **kwargs yet. Should be a relatively easy PR to update all the indicators that match = ma(mamode,
and append , **kwargs)
to it. Currently overloaded with PRs and Issues.
Kind Regards KJ
Which version are you running? The lastest version is on Github. Pip is for major releases.
Do you have TA Lib also installed in your environment?
Yes
Have you tried the development version? Did it resolve the issue?
No
Describe the bug Many indicators e.g. Keltner Channel is using internally ma(mamode, close, length) but it should have ma(mamode, close, length, kwargs) Many moving averages e.g linreg have extra kwargs that are not passed further So for example passing kwargs to kc Class is not passing those kwargs to be used when calculating moving average.
To Reproduce Provide sample code.
Expected behavior A clear and concise description of what you expected to happen. When calling should have kwargs passed into it e.g. ma(mamode, close, length, kwargs)
Inside kc
Screenshots If applicable, add screenshots to help explain your problem.
Additional context Add any other context about the problem here.
Thanks for using Pandas TA!