Skip to content

rounding for amounts ? #11

@bvandenbon

Description

@bvandenbon

to round the prices I use the pricePrecision which is provided by the market() function.
is there a similar precision for the amounts. e.g. ETH should be 2 decimals I think, while XRP seems to be 0 decimals I think.

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