bitfinex
node.js wrapper for bitfinex cryptocurrency exchange
Last updated 5 years ago by loourr .
Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install bitfinex 
SYNC missed versions from official npm registry.

This is a node.js wrapper for the Bitfinex API.

Install

npm install bitfinex

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);
});

Error

If your getting the error [Error: Nonce is too small.] then your most likely running the same process twice using the same API keys.

Functions

ticker(symbol, cb)

today(symbol, cb)

candles(symbol, cb)

lendbook(currency, cb)

orderbook(symbol, options, cb)

trades(symbol, cb)

lends(currency, cb)

get_symbols(cb)

symbols_details(cb)

AUTHENTICATED REQUESTS

new_deposit(currency, method, wallet_name, cb)

new_order(symbol, amount, price, exchange, side, type, cb)

multiple_new_orders(symbol, amount, price, exchange, side, type, cb)

cancel_order(order_id, cb)

cancel_all_orders(cb)

cancel_multiple_orders(order_ids, cb)

replace_order(order_id, symbol, amount, price, exchange, side, type, cb)

order_status(order_id, cb)

active_orders(cb)

active_positions(cb)

movements(currency, [options,] cb)

past_trades(symbol, [options,] cb)

new_offer(currency, amount, rate, period, direction, insurance_option, cb)

cancel_offer(offer_id, cb)

offer_status(order_id, cb)

active_offers(cb)

active_credits(cb)

wallet_balances(cb)

taken_swaps(cb)

close_swap(cb)

account_infos(cb)

margin_infos(cb)

Current Tags

  • 1.0.3                                ...           latest (5 years ago)

31 Versions

  • 1.0.3                                ...           5 years ago
  • 1.0.2                                ...           5 years ago
  • 1.0.1                                ...           5 years ago
  • 1.0.0                                ...           5 years ago
  • 0.4.1                                ...           5 years ago
  • 0.4.0                                ...           5 years ago
  • 0.3.8                                ...           5 years ago
  • 0.3.7                                ...           5 years ago
  • 0.3.6                                ...           5 years ago
  • 0.3.5                                ...           5 years ago
  • 0.3.4                                ...           5 years ago
  • 0.3.3                                ...           5 years ago
  • 0.3.2                                ...           5 years ago
  • 0.3.1                                ...           5 years ago
  • 0.3.0                                ...           5 years ago
  • 0.2.9                                ...           6 years ago
  • 0.2.8                                ...           6 years ago
  • 0.2.7                                ...           6 years ago
  • 0.1.3                                ...           6 years ago
  • 0.1.2                                ...           6 years ago
  • 0.1.1                                ...           6 years ago
  • 0.1.0                                ...           6 years ago
  • 0.0.9                                ...           6 years ago
  • 0.0.8                                ...           6 years ago
  • 0.0.7                                ...           6 years ago
  • 0.0.6                                ...           6 years ago
  • 0.0.5                                ...           6 years ago
  • 0.0.4                                ...           6 years ago
  • 0.0.3                                ...           6 years ago
  • 0.0.2                                ...           6 years ago
  • 0.0.1                                ...           6 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 1
Last Month 2
Dependencies (1)
Dev Dependencies (0)
None

Copyright 2014 - 2017 © taobao.org |