How to use the bitfinex-api-node.RESTv1 function in bitfinex-api-node

To help you get started, we’ve selected a few bitfinex-api-node examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github askmike / gekko / exchange / wrappers / bitfinex.js View on Github external
var Trader = function(config) {
  _.bindAll(this);
  if(_.isObject(config)) {
    this.key = config.key;
    this.secret = config.secret;
  }
  this.name = 'Bitfinex';
  this.balance;
  this.price;
  this.asset = config.asset;
  this.currency = config.currency;
  this.pair = this.asset + this.currency;
  this.bitfinex = new Bitfinex.RESTv1({apiKey: this.key, apiSecret: this.secret, transform: true});

  this.interval = 4000;
}

bitfinex-api-node

Node reference library for Bitfinex API

MIT
Latest version published 2 months ago

Package Health Score

70 / 100
Full package analysis

Popular bitfinex-api-node functions