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
{{ message }}
This repository has been archived by the owner on Sep 2, 2022. It is now read-only.
File "/home/xxx/.local/lib/python3.6/site-packages/finta/finta.py", line 517, in EV_MACD
evwma_slow = cls.EVWMA(ohlcv, period_slow)
File "/home/xxx/.local/lib/python3.6/site-packages/finta/finta.py", line 317, in EVWMA
for x, y in zip(x.fillna(0).iteritems(), y.iteritems()):
UnboundLocalError: local variable 'x' referenced before assignment
Versions:
python 3.6.7 (default, Oct 22 2018, 11:32:17)
[GCC 8.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
Pandas 0.25.3
The text was updated successfully, but these errors were encountered:
On Tue, Dec 24, 2019 at 5:08 AM peerchemist ***@***.***> wrote:
How many rows in that df?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#47?email_source=notifications&email_token=AHPPEUGOYXHOAFT2EWM2SOLQ2HNS7A5CNFSM4J6XZZNKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHS6GUQ#issuecomment-568714066>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AHPPEUD7BWMZALTPMWQNVSDQ2HNS7ANCNFSM4J6XZZNA>
.
Example:
import finta
print(df)
macd = finta.TA.EV_MACD(df)
Output(Partial)
open close high low volume
2018-03-19 264.293667 261.528421 265.308880 259.720376 109208442.0
2018-03-20 261.963513 261.973181 262.669327 261.228692 59757271.0
2018-03-21 261.924838 261.470409 264.216318 261.238361 78709578.0
2018-03-22 259.033899 254.934374 259.962094 254.634645 148785916.0
2018-03-23 255.417809 249.500570 255.775550 249.287859 183534751.0
[446 rows x 5 columns]
File "/home/xxx/.local/lib/python3.6/site-packages/finta/finta.py", line 517, in EV_MACD
evwma_slow = cls.EVWMA(ohlcv, period_slow)
File "/home/xxx/.local/lib/python3.6/site-packages/finta/finta.py", line 317, in EVWMA
for x, y in zip(x.fillna(0).iteritems(), y.iteritems()):
UnboundLocalError: local variable 'x' referenced before assignment
Versions:
python 3.6.7 (default, Oct 22 2018, 11:32:17)
[GCC 8.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
Pandas 0.25.3
The text was updated successfully, but these errors were encountered: