mirror of
https://github.com/discountry/ritmex-bot.git
synced 2026-09-09 16:28:06 +00:00
17 lines
353 B
JavaScript
17 lines
353 B
JavaScript
|
|
|
|
import log from 'ololog';
|
|
import ccxt from '../../js/ccxt.js';
|
|
|
|
const exchange = new ccxt.coinone ({
|
|
'verbose': process.argv.includes ('--verbose'),
|
|
})
|
|
|
|
;(async function main () {
|
|
|
|
const markets = await exchange.loadMarkets ()
|
|
log (markets)
|
|
log ('\n' + exchange['name'] + ' supports ' + Object.keys (markets).length + ' pairs')
|
|
|
|
}) ()
|