Cryptopia base and quote currency reversed
See original GitHub issueThe symbols Cryptopia uses have a reversed base and quote currency: DOT/BTC
Here you can see the results of a loadMarkets()
.
"DOT/BTC": {
"id": 100,
"symbol": "DOT/BTC",
"base": "DOT",
"quote": "BTC",
"info": {
"Id": 100,
"Label": "DOT/BTC",
"Currency": "Dotcoin",
"Symbol": "DOT",
"BaseCurrency": "Bitcoin",
"BaseSymbol": "BTC",
"Status": "OK",
"StatusMessage": null,
"TradeFee": 0.2,
"MinimumTrade": 1e-8,
"MaximumTrade": 100000000,
"MinimumBaseTrade": 0.00005,
"MaximumBaseTrade": 100000000,
"MinimumPrice": 1e-8,
"MaximumPrice": 100000000
},
"maker": 0.002,
"taker": 0.002
},
base
should be BTC
.
Issue Analytics
- State:
- Created 6 years ago
- Comments:14 (14 by maintainers)
Top Results From Across the Web
What Is a Currency Pair? Major, Minor, and Exotic Examples
Currency pairs compare the value of one currency to another—the base currency (or the first one) versus the second or the quote currency....
Read more >CryptoCurrency Pairs - Investing.com
Name Exchange Last Open High Low Chg. % Vol. Time
Bitcoin Investing.com 16,584.8 16,797.3 16,781.1 16,567.7 ‑1.26% 211.71K 11:03:32
BTC/USD Binance 16,587.1 16,797.7 16,805.0 16,559.8...
Read more >What is a quanto contract? - Delta Exchange
In a typical futures contract, there's a base currency and quote currency. ... be potentially denominated in USD (vanilla futures) or ETH (inverse...
Read more >Why does the inverse of USDEUR not equal to EURUSD (or ...
The "inverse" of a currency pair is not always equal to the exchange rate of the opposite pair because we receive spot rates...
Read more >Quote vs Base Cryptocurrency on Exchanges [Tutorial]
In this video, we cover what it means to be a base currency vs a quote currency on cryptocurrency exchanges. This will help...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks for the fix!
I agree about the base-quote. The crypto market isn’t always consistent with the real stock market. As long as the unified API gives consistent results across the exchanges, I’m fine with that.
Check out the volumes in your example.
baseVolume
is in BTC.Here is the Cryptopia API GetMarkets:
If you get base BTC markets with
https://www.cryptopia.co.nz/api/GetMarkets/BTC
you will see theETH/BTC
pair.