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

fix LIMIT_BUY amount calculation #133

Merged
merged 2 commits into from Nov 22, 2017
Merged

Conversation

gcarq
Copy link
Member

@gcarq gcarq commented Nov 22, 2017

This PR should fix #132.
Turns out we don't need to apply fees ourselfs when opening a LIMIT_BUY order.
Fees are now only considered while calculating the profit.

@vertti
Copy link
Member

vertti commented Nov 22, 2017

Good catch!

@vertti vertti merged commit 21551b3 into develop Nov 22, 2017
@vertti vertti deleted the feature/fix-buy-amount-calc branch November 22, 2017 20:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

MIN_TRADE_REQUIREMENT_NOT_MET
2 participants