UNPKG

bot18

Version:

A high-frequency cryptocurrency trading bot by Zenbot creator @carlos8f

16 lines (11 loc) 312 B
'use strict' process.env.DEBUG = 'bfx:examples:*' const debug = require('debug')('bfx:examples:funding_loans') const bfx = require('../bfx') const rest = bfx.rest(2) debug('fetching funding loans...') rest.fundingLoans('fUSD').then(fls => { fls.forEach(fl => { debug('fl: %j', fl) }) }).catch(debug)