Skip to content

Releases: ccxt/node-binance-api

Significant Release

05 May 02:08
5478c90

Choose a tag to compare

(BREAKING) Futures orders timeInForce set to "post only" by default, in order to match the web interface. It used to allow limit orders, now you must specify GTC.

Futures WebSocket Streams

Futures miniTicker stream for all symbols

binance.futuresMiniTickerStream( console.log );

Futures miniTicker stream for a symbol

binance.futuresMiniTickerStream( 'BTCUSDT', console.log );

Futures prevDay ticker stream for all symbols

binance.futuresTickerStream( console.log );

Futures prevDay ticker stream for a symbol

binance.futuresTickerStream( 'BTCUSDT', console.log );

Futures mark price stream for all symbols

binance.futuresMarkPriceStream( console.log );

Futures mark price stream for a symbol

binance.futuresMarkPriceStream( 'BTCUSDT', console.log );

Futures aggregate trade stream for a symbol

binance.futuresAggTradeStream( 'BTCUSDT', console.log );

Connect to a custom endpoint. Easier shortcut functions will come later

binance.futuresSubscribe( 'btcusdt@kline_4h', console.log );

Terminate an existing socket

binance.futuresTerminate( 'btcusdt@kline_4h' );

Return active sockets and subscriptions

console.log( binance.futuresSubscriptions() );

Spot Trading: bookTickers stream includes the bid/ask price & amount, for all symbols

binance.websockets.bookTickers( console.log );

Spot Trading: bookTickers stream includes the bid/ask price & amount, for a symbol

binance.websockets.bookTickers( 'BTCUSDT', console.log );

Remaining WebSockets will be coming later. Pull requests are welcome. Ciao!

Stable Release

07 Apr 13:07
ad3cc72

Choose a tag to compare

Method to grab account lending data by JasonMcz.
Add option to override api urls by abou7mied (testnet)

Stable Release

29 Mar 17:58
9624995

Choose a tag to compare

Add maxBorrowable, maxTransferable, mgAllOrders by kirosc

Stable Release

26 Mar 01:02
28f16d5

Choose a tag to compare

Margin account details by jmacioszek
New constructor:

const Binance = require('node-binance-api');
const binance = new Binance({
  APIKEY: '<key>',
  APISECRET: '<secret>'
});

previous constructor still works fine with .options({})

Stable Release

09 Mar 19:25
d7536d4

Choose a tag to compare

Add futuresLeverage, futuresMarginType, futuresPositionMargin, futuresPositionMarginHistory

  • Error handling for promiseRequest

Stable Release

17 Feb 20:10
7e4e90c

Choose a tag to compare

Additions to Futures API
futuresMarketBuy futuresMarketSell futuresOrder futuresBuy futuresSell

Stable Release

08 Feb 22:04
0448e17

Choose a tag to compare

Additions to Futures API
futuresOpenOrders futuresOrderStatus futuresCancelAll futuresCancel futuresIncome futuresLiquidationOrders futuresAllOrders futuresUserTrades futuresPositionRisk futuresGetDataStream futuresKeepDataStream futuresCloseDataStream futuresOrder

Stable Release

08 Feb 00:54
f9c95e8

Choose a tag to compare

Futures API support: First release includes most everything, buying/selling/cancelling and Websockets still to come

Now supporting Promises, Margin, Futures and OCO

Stable Release

19 Jan 20:36
e672560

Choose a tag to compare

No breaking changes

Conditionally promisified API calls by Eluvade #355

Stable Release

20 Nov 14:04
1f815ef

Choose a tag to compare

More margin methods by dbvcode