Skip to content

Does the API enable you to distinguish between fiat and crypto currencies? #614

Open
@jdx-john

Description

@jdx-john

I'm writing code to analyse different markets and it needs to know which are fiat currencies (USD, GBP,etc). Ideally it would work across any exchange implementation without external knowledge but so far I cannot see this is possible. e.g. for Kraken fiat currencies are prefixed with 'Z' (ZUSD, ZEUR) but I don't think this is a standard.
And neither MarketCurrency nor MarketExchange seem to provide this, at least not reliably/consistently.

There are not very many fiat currencies and they don't change often(!) so it could be easier to hard-code but it's nice to check. I'd probably like to identify both fiat and stable-coins but even then there aren't that many that hard-coding is a huge issue.

Thanks for any knowledge I've missed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions