Skip to content

IsQuantityReverted, IsPriceReverted flags #570

Open
@spiritedbytes

Description

@spiritedbytes

Hello guys,

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions