crypto-market-samples
crypto-market-samples copied to clipboard
TypeError: must be real number, not list for bfxhfindicators/ema.py
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.
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