Closed ghost closed 9 years ago
Sorry about that! I apparently forgot to test with combined indicators/volatility indicators. I'll fix this very shortly.
Thanks, will give it a try and let you know if I find anything else. Really appreciate all the effort. You've made a very awesome trading bot.
Unable to modify DMI thresholds. Get the following error in the configuration:
builtins.AttributeError
AttributeError: 'DMI' object has no attribute 'vi20' Traceback (most recent call last)
File "C:\Python34\lib\site-packages\flask\app.py", line 1836, in __call__
return self.wsgi_app(environ, start_response)
File "C:\Python34\lib\site-packages\flask\app.py", line 1820, in wsgi_app
response = self.make_response(self.handle_exception(e))
File "C:\Python34\lib\site-packages\flask\app.py", line 1403, in handle_exception
reraise(exc_type, exc_value, tb)
File "C:\Python34\lib\site-packages\flask\_compat.py", line 33, in reraise
raise value
File "C:\Python34\lib\site-packages\flask\app.py", line 1817, in wsgi_app
response = self.full_dispatch_request()
File "C:\Python34\lib\site-packages\flask\app.py", line 1477, in full_dispatch_request
rv = self.handle_user_exception(e)
File "C:\Python34\lib\site-packages\flask\app.py", line 1381, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "C:\Python34\lib\site-packages\flask\_compat.py", line 33, in reraise
raise value
File "C:\Python34\lib\site-packages\flask\app.py", line 1475, in full_dispatch_request
rv = self.dispatch_request()
File "C:\Python34\lib\site-packages\flask\app.py", line 1461, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "C:\AvariceSimulation\webconfigure.py", line 1361, in configuration_dmi
'Verbose'] = form32.vi20.data
AttributeError: 'DMI' object has no attribute 'vi20'
The debugger caught an exception in your WSGI application. You can now look at the traceback which led to the error.
To switch between the interactive traceback and the plaintext one, you can click on the "Traceback" headline. From the text traceback you can also create a paste of it. For code execution mouse-over the frame you want to debug and click on the console icon on the right side.
You can execute arbitrary Python code in the stack frames and there are some extra helpers available for introspection:
dump() shows all variables in the frame
dump(obj) dumps all that's known about the object
stupid typos in webconfigure, moved a little too quickly. Fixed those again.
Thanks for the quick response. Downloaded the new staging branch and running it in simulation now. Will let you know if I find anything else. As always, really appreciate the work.
Thank you, please let me know.
Closing this issue for now since I believe it is fixed. If there are any other issues, please create a new issue and let me know.
Running the latest staging branch and keep getting the following error whether DMI is in Full mode or volatility.
File "C:\Python34\lib\site-packages\configobj.py", line 554, in getitem val = dict.getitem(self, key) KeyError: 'DMI'
File "C:\Python34\lib\site-packages\configobj.py", line 554, in getitem val = dict.getitem(self, key) KeyError: 'DMI'