knox revised this gist . Go to revision
1 file changed, 7 insertions
CCXT-readme-16.js(file created)
@@ -0,0 +1,7 @@ | |||
1 | + | //esm example | |
2 | + | import {version, binance} from 'ccxt'; | |
3 | + | ||
4 | + | console.log(version); | |
5 | + | const exchange = new binance(); | |
6 | + | const ticker = await exchange.fetchTicker('BTC/USDT'); | |
7 | + | console.log(ticker); |
Newer
Older