-
-
Notifications
You must be signed in to change notification settings - Fork 374
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
IsQuantityReverted, IsPriceReverted flags #570
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello guys,
I am wondering if it makes sense to introduce the following two flags:
Because we have a global format BASE-QUOTE and the price format is 1 base = X quote. But what if the format is reversed on an exchange? Also, the quantity format can be reversed too (in the library we specify the amounts in quote currency vs base one).
The IsPriceReverted will revert the price by dividing it by 1.
The IsQuantityReverted will revert the quantity by dividing it by price (Ask/Bid/Limit).
But I already see the MarketSymbolIsReverted flag, however, I am not sure if it's a complete substitution to the two flags I mentioned above. Do you know if it makes sense to develop these two flags?
The text was updated successfully, but these errors were encountered: