bitfinex-fork
v0.3.4
Published
node.js wrapper for bitfinex cryptocurrency exchange (naddison36 fork)
Downloads
5
Maintainers
Readme
NPM mirror for git://github.com/naddison36/bitfinex.git
Clone of Gabriel Ferrin's bitfinex package. git://github.com/gferrin/bitfinex.git
This is a node.js wrapper for the Bitfinex API.
Install
npm install bitfinex
coffee-script installation
npm install -g coffee-script
Compile coffee-script
coffee --compile bitfinex.coffee
Example
var Bitfinex = require('bitfinex');
var bitfinex = new Bitfinex(your_key, your_secret);
bitfinex.new_order("btcusd", 42, 802.7, "all", "buy", "exchange limit",
function(err, res, order_id){
console.log(order_id);
});