First:
Thank you for your work: I just try to learn and I really appreciate what you do here:
I have an issue running this script and the following exeception occurs.
runfile('C:/Users/cbauer/Documents/Forex-Trader-master/app.py', wdir='C:/Users/cbauer/Documents/Forex-Trader-master')
Traceback (most recent call last):
File "<ipython-input-1-8d303ce76422>", line 1, in <module>
runfile('C:/Users/cbauer/Documents/Forex-Trader-master/app.py', wdir='C:/Users/cbauer/Documents/Forex-Trader-master')
File "C:\ProgramData\Anaconda3\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 704, in runfile
execfile(filename, namespace)
File "C:\ProgramData\Anaconda3\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 108, in execfile
exec(compile(f.read(), filename, 'exec'), namespace)
File "C:/Users/cbauer/Documents/Forex-Trader-master/app.py", line 139, in <module>
t.main()
File "C:/Users/cbauer/Documents/Forex-Trader-master/app.py", line 87, in main
units= self.lots(),
File "C:/Users/cbauer/Documents/Forex-Trader-master/app.py", line 64, in lots
size = abs(int((float(balance) * float(userVals.risk)) / (self.currentClose - self.resistance)))
ZeroDivisionError: float division by zero
First: Thank you for your work: I just try to learn and I really appreciate what you do here:
I have an issue running this script and the following exeception occurs.
Thank you for your help!