Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Syntax error in code #146

Closed
deepeetoo opened this issue May 28, 2018 · 2 comments
Closed

Syntax error in code #146

deepeetoo opened this issue May 28, 2018 · 2 comments

Comments

@deepeetoo
Copy link

Expected Behavior

DEXBot starts up.

Actual Behavior

DEXBot does not start up.

Steps to Reproduce the Problem

  1. pull latest from Git
  2. make install-user
  3. run dexbot-gui

--> .local/lib/python3.5/site-packages/dexbot-0.2.3-py3.5.egg/dexbot/strategies/staggered_orders.py", line 184 sell_price = center_price * math.sqrt(1 + increment spread)

Should be math.sqrt(1 + increment + spread) ?

@MarkoPaasila
Copy link
Collaborator

LOL and thanks!

@mikakoi
Copy link
Collaborator

mikakoi commented May 28, 2018

I've made a hotfix which fixes this issue. The fix can be found in 0.2.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants