crypto-market-samples icon indicating copy to clipboard operation
crypto-market-samples copied to clipboard

TypeError: must be real number, not list for bfxhfindicators/ema.py

Open balioglum opened this issue 3 years ago • 1 comments

Getting the following error for binance_pairs_ema

File "/.../calc_ema_for_20coins.py", line 70, in <module> iEMA = EMA([period]) File "/usr/local/lib/python3.9/site-packages/bfxhfindicators/ema.py", line 8, in __init__ 'name': 'EMA(%f)' % (period), TypeError: must be real number, not list

All paths are correct, I've just shortened the path for calc_ema_for_20coins.py

I've used the code as is, without any alterations.

balioglum avatar Oct 21 '21 07:10 balioglum

I have the same issue. Can some one help out?

Exception has occurred: TypeError must be real number, not list File "D:\Python_Projects\Pump scanner\bfxhfindicators\ema.py", line 8, in init 'name': 'EMA(%f)' % (period), File "D:\Python_Projects\Pump scanner\JABBADABBA.PY", line 70, in iEMA = EMA([period])

Portokali avatar Jan 02 '22 11:01 Portokali