AttributeError: type object 'TA' has no attribute 'EVSTC'
ecojam opened this issue · 7 comments
ecojam commented
AttributeError
output of the formula
AttributeError: type object 'TA' has no attribute 'EVSTC'
Using 1.3
peerchemist commented
How are you using it?
TA surely does have a method EVSTC.
n [1]: TA.EVSTC?
Signature:
TA.EVSTC(
cls,
ohlc: pandas.core.frame.DataFrame,
period_fast: int = 12,
period_slow: int = 30,
k_period: int = 10,
d_period: int = 3,
adjust: bool = True,
) -> pandas.core.series.Series
Docstring: Modification of Schaff Trend Cycle using EVWMA MACD for calculation
File: ~/projects/finta/finta/finta.py
Type: function
ecojam commented
I'm only printing the output in my python code:
stc = TA.EVSTC(ohlc)
print(evstc)
James
…On Mon, Apr 5, 2021 at 9:36 AM peerchemist ***@***.***> wrote:
How are you using it?
TA surely does have a method EVSTC.
n [1]: TA.EVSTC?
Signature:
TA.EVSTC(
cls,
ohlc: pandas.core.frame.DataFrame,
period_fast: int = 12,
period_slow: int = 30,
k_period: int = 10,
d_period: int = 3,
adjust: bool = True,
) -> pandas.core.series.Series
Docstring: Modification of Schaff Trend Cycle using EVWMA MACD for calculation
File: ~/projects/finta/finta/finta.py
Type: function
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#114 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AHGCFRMVLJXYMNXLGD2CJMLTHHDFNANCNFSM42MADTDA>
.
peerchemist commented
You sure you run 1.3?
ecojam commented
Yes it's 1.3. I opened the file on my system and I can see the EVSTC code
is in the file. Using the below for any other indicator will generate an
output, but not EVSTC for some reason.
evstc = TA.EVSTC(ohlc)
print(evstc)
…On Mon, Apr 5, 2021 at 10:21 AM peerchemist ***@***.***> wrote:
You sure you run 1.3?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#114 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AHGCFROQBZ45L4HOS5KPNTDTHHIP7ANCNFSM42MADTDA>
.
peerchemist commented
Maybe remove all local files and pull from pypi again?
peerchemist commented
We good?
ecojam commented
It's working now. Thank you sir. Excellent work!
…On Wed, Apr 7, 2021 at 2:47 AM peerchemist ***@***.***> wrote:
We good?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#114 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AHGCFRL2L5PGKFKQNOH4QNTTHQEXJANCNFSM42MADTDA>
.