mirror of
https://github.com/discountry/ritmex-bot.git
synced 2026-09-11 09:18:08 +00:00
commit
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
- [Coinone Markets](./examples/js/)
|
||||
|
||||
|
||||
```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')
|
||||
|
||||
}) ()
|
||||
|
||||
```
|
||||
Reference in New Issue
Block a user