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

Workaround conversion from double to string, related to issue #544. #558

Closed
wants to merge 1 commit into from

Conversation

marcialvieira
Copy link
Contributor

Avoid assertion failure, but still need a solution to double as a parameter.

@pmconrad
Copy link
Contributor

pmconrad commented Jan 5, 2018

IMO these APIs shouldn't be fixed but removed. Fixing only encourages further use.

@abitmore
Copy link
Member

I recommend that we just change the parameters from double to string.

@pmconrad
Copy link
Contributor

That would be a simple fix for the technical issue.
The API is still dangerous though, because due to rounding issues you might create an order with a significantly different price.

@abitmore
Copy link
Member

Makes sense. Close this PR and make a new one to remove the commands?

@abitmore
Copy link
Member

Closing this one. Submitted #595 to remove those commands.

@abitmore abitmore closed this Jan 23, 2018
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.

3 participants