bot18
Version:
A high-frequency cryptocurrency trading bot by Zenbot creator @carlos8f
16 lines (11 loc) • 315 B
JavaScript
env.DEBUG = 'bfx:examples:*'
const debug = require('debug')('bfx:examples:funding_offers')
const bfx = require('../bfx')
const rest = bfx.rest(2)
debug('fetching funding offers...')
rest.fundingOffers('fUSD').then(fos => {
fos.forEach(fo => {
debug('fo: %j', fo)
})
}).catch(debug)
process.