-
Notifications
You must be signed in to change notification settings - Fork 54
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 fixer #1133
Fix fixer #1133
Conversation
c800d36
to
a67fa77
Compare
and is_ms_valid(limits_amount.get(Ecmsc.LIMITS_AMOUNT_MIN.value)) | ||
): | ||
# min cost can be computed from min price and amount: those values come from exchange data | ||
cost_min = limits_price.get(Ecmsc.LIMITS_PRICE_MIN.value) * limits_amount.get(Ecmsc.LIMITS_AMOUNT_MIN.value) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I updated this part to be sure not to create invalid values
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could we test that I does not create invalid values please?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right, up !
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't understand as I don't see any new test
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tests added
a67fa77
to
c8d65e9
Compare
c8d65e9
to
fa25ed5
Compare
No description provided.