jkbrzt / cointrol

฿ Bitcoin trading bot with a real-time dashboard for Bitstamp.
https://twitter.com/jakubroztocil
MIT License
1.45k stars 290 forks source link

AssertionError when adding relativestrategy profile. #4

Closed Byte1122 closed 7 years ago

Byte1122 commented 7 years ago

Great project! Everything is up and running. I get this little error when trying to add a relative strategy profile. (for example, sell 0,002 and buy 0,001)

AssertionError at /admin/core/relativestrategyprofile/add/ No exception message supplied Request Method: POST Request URL: http://localhost:8000/admin/core/relativestrategyprofile/add/ Django Version: 1.8 Exception Type: AssertionError Exception Location: /cointrol/cointrol/cointrol/core/models.py in save, line 126 Python Executable: /Library/Frameworks/Python.framework/Versions/3.6/bin/python3.6 Python Version: 3.6.0 Python Path:
['/Library/Frameworks/Python.framework/Versions/3.6/bin', '/Library/Frameworks/Python.framework/Versions/3.6/lib/python36.zip', '/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6', '/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/lib-dynload', '/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages',

Byte1122 commented 7 years ago

deleted "assert"