You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am wondering if it makes sense to introduce the following two flags:
IsPriceReverted
IsQuantityReverted
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:
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: