-
Notifications
You must be signed in to change notification settings - Fork 2
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
feat: update validation on market and position decimals #2226
Conversation
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.
For spot this should be formulated in terms of market decimals, quote asset decimals and base asset decimals.
In fact for spot there is no issue to prevent as there are no mark-to-market cash-flows |
No mark to market cash-flows but maybe we want to be able to represent the smallest trade at the smallest price in quote asset decimals. So we want
|
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.
Can we formulate it in terms of number of decimal places, because that's what goes into the proposals? Not "precision" please, unless the comparison operator for "precision" is defined carefully.
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.
Can we still move from "precision" to talking about dps in the ACs please?
Co-authored-by: David Siska <[email protected]>
Co-authored-by: David Siska <[email protected]>
Co-authored-by: David Siska <[email protected]>
Co-authored-by: David Siska <[email protected]>
close #2225