question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

EXMO fetchCurrencies() is missing currencies

See original GitHub issue
  • OS: OSX
  • Programming Language version: Node.js
  • CCXT version: 1.27.89
const ccxt = require('ccxt');

(async () => {
  const exch = new ccxt.exmo({
    enableRateLimit: true, 
    apiKey: 'K-yourKEY, 
    secret: 'S-yourSECRET'
  });

  const markets = await exch.loadMarkets(true);

  console.info("Markets found: %s", Object.keys(markets).sort().join(' '));
  console.info("Currencies found: %s", Object.keys(exch.currencies).sort().join(' '));
})();
node exmo-currency-bug.js 

Markets found: ADA/BTC ADA/ETH ADA/USD ALGO/BTC ALGO/EUR ALGO/EXM ALGO/RUB ALGO/USDT ATOM/BTC ATOM/EUR ATOM/EXM ATOM/USD BCH/BTC BCH/ETH BCH/EUR BCH/RUB BCH/UAH BCH/USD BCH/USDT BTC/EUR BTC/GBP BTC/KZT BTC/PLN BTC/RUB BTC/TRY BTC/UAH BTC/USD BTC/USDT BTG/BTC BTG/ETH BTG/USD BTT/BTC BTT/RUB BTT/UAH CRON/BTC CRON/ETH CRON/EXM CRON/USDT DAI/BTC DAI/ETH DAI/RUB DAI/USD DASH/BTC DASH/RUB DASH/UAH DASH/USD DASH/USDT DCR/BTC DCR/RUB DCR/UAH DOGE/BTC DOGE/USD EOS/BTC EOS/EUR EOS/USD ETC/BTC ETC/RUB ETC/USD ETH/BTC ETH/EUR ETH/GBP ETH/KZT ETH/LTC ETH/PLN ETH/RUB ETH/TRY ETH/UAH ETH/USD ETH/USDT ETZ/BTC ETZ/ETH ETZ/USDT EXM/BTC EXM/ETH EXM/USDT GAS/BTC GAS/USD GNT/BTC GNT/ETH GUSD/BTC GUSD/RUB GUSD/USD HB/BTC HP/BTC LSK/BTC LSK/RUB LSK/USD LTC/BTC LTC/EUR LTC/RUB LTC/UAH LTC/USD MKR/BTC MKR/DAI MNC/BTC MNC/ETH MNC/USD NEO/BTC NEO/RUB NEO/USD OMG/BTC OMG/ETH OMG/USD ONG/BTC ONG/EXM ONG/RUB ONG/UAH ONT/BTC ONT/EXM ONT/RUB ONT/UAH PTI/BTC PTI/EOS PTI/RUB PTI/USDT QTUM/BTC QTUM/ETH QTUM/USD ROOBEE/BTC SMART/BTC SMART/EUR SMART/RUB SMART/USD TRX/BTC TRX/EUR TRX/RUB TRX/UAH TRX/USD USD/RUB USDC/BTC USDC/ETH USDC/USD USDC/USDT USDT/EUR USDT/GBP USDT/KZT USDT/RUB USDT/UAH USDT/USD VLX/BTC WAVES/BTC WAVES/ETH WAVES/RUB WAVES/USD XEM/BTC XEM/EUR XEM/UAH XEM/USD XLM/BTC XLM/RUB XLM/TRY XLM/USD XMR/BTC XMR/ETH XMR/EUR XMR/RUB XMR/UAH XMR/USD XRP/BTC XRP/ETH XRP/EUR XRP/GBP XRP/RUB XRP/TRY XRP/UAH XRP/USD XRP/USDT XTZ/BTC XTZ/ETH XTZ/RUB XTZ/USD ZAG/BTC ZEC/BTC ZEC/EUR ZEC/RUB ZEC/USD ZRX/BTC ZRX/ETH ZRX/USD

Currencies found: ADA ALGO ATMCASH BCH BTC BTCZ BTG BTT CRON DAI DASH DCR DOGE DXT EOS ETC ETH ETZ EUR EXM GAS GNT GUSD HB INK KICK KZT LSK LTC MKR MNC MNX NEO OMG ONG ONT PLN PTI QTUM ROOBEE RUB SMART TRX TRY UAH USD USDC USDT VLX WAVES XEM XLM XMR XRP ZAG ZEC ZRX

There is currencies that we find in the markets, but which are missing in the currencies object: eg.: ATOM, GBP, HP, XTZ.

I’ve tried fetchCurrencies() but the result is the same.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:15 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
davidonlaptopcommented, May 18, 2020

Thanks again @kroitor !

2reactions
kroitorcommented, May 18, 2020

@davidonlaptop i’ve uploaded the fix for USDT, however, on BCH they say this: https://exmo.me/en/news_view?id=2989

Read more comments on GitHub >

github_iconTop Results From Across the Web

Important Update: EX-CODE becomes unavailable for ... - EXMO
Only certified exchange services will be able to create EXMO Gift Cards in fiat currencies. The changes will come into force at 00:00...
Read more >
Exchanges — ccxt 2.4.71 documentation
fetchCurrencies () : Fetches all available currencies an exchange and returns an associative dictionary of currencies (objects with properties such as code ...
Read more >
Error Messages, by Exakat
Message File Line $this‑>id . ' allows limit orders only' /php/itbit.php 566 $this‑>id . ' returned ' . $this‑>json($response) /php/cex.php 1234 /php/cex.php 581
Read more >
ccxt Documentation - Read the Docs
ccxt Documentation, 1.13.142. () import sys def test (*args): ... In that case some currencies may be missing in returned balance structure.
Read more >
A User's Guide to EXMO Exchange - FinSMEs
EXMO is one of the best cryptocurrency exchanges on the market, ... It does support all major cryptocurrencies, without being overloaded ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found