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'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.
The text was updated successfully, but these errors were encountered:
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
norMarketExchange
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.
The text was updated successfully, but these errors were encountered: