gekko-exchanges
Based on [gekko](https://github.com/askmike/gekko)
Last updated 2 years ago by rhrn .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install gekko-exchanges 
SYNC missed versions from official npm registry.

Gekko Exchanges

Based on gekko

Use gekko-exchanges at your own risk.

Gekko exchanges api (async / callback)

Install

npm install gekko-exchanges

Usage example

const { Binance, Bitfinex } = require('gekko-exchanges');

const binance = new Binance({ key: '', secret: '', currency: 'BTC', asset: 'ETH' });
const bitfinex = new Bitfinex({ key: '', secret: '', currency: 'BTC', asset: 'ETH' });

// async example
(async () => {

  try {
    const binanceTrades = await binance.getTradesAsync(null)
    console.log('binanceTrades', binanceTrades)
  } catch (err) {
    console.log('err', err)
  }

})();

// callback example
bitfinex.getTrades(null, (err, bitfinexTrades) => {
  console.log('err', err)
  console.log('bitfinexTrades', bitfinexTrades)
})

Avalialbe Methods docs

// Sync
getCapabilities

// Async
getTradesAsync
getTickerAsync
getPortfolioAsync
addOrderAsync
getOrderAsync
buyAsync
sellAsync
checkOrderAsync
cancelOrderAsync

// Callback
getTrades
getTicker
getPortfolio
addOrder
getOrder
buy
sell
checkOrder
cancelOrder

Avalialbe Exchanges

Binance
Bitcoincoid
Bitfinex
Bittrex
CEXio
Coinfalcon
Gdax
Gemini
Quadriga

Current Tags

  • 1.0.1                                ...           latest (2 years ago)

2 Versions

  • 1.0.1                                ...           2 years ago
  • 1.0.0                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (2)
  • bluebird ^3.5.1
  • gekko git+https://github.com/askmike/gekko.git#0.5.14
Dev Dependencies (3)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |