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