Releases: ccxt/node-binance-api
Development Release
Update to v2 endpoints: futuresBalance futuresAccount futuresPositionRisk
Spot & Futures: Add usedWeight() statusCode() futuresLatency() orderCount() lastURL() getInfo() supporting x-mbx-used-weight x-mbx-order-count-1m
hedgeMode option & testnet futures streams by nimanr
Stable Release
(Spot) FIX: aggTrades is a public request & does not require an api key to use
Stable Release
Increase Depth and depthCache WebSocket Update Speed to 100ms default by bmino:
(POSSIBLE BREAKING CHANGE) If you're writing depth data to a database, it's likely that only InfluxDB could keep up with this faster speed. If this update causes you problems, let us know by submitting an issue.
Upgrade to v3 REST endpoints by bmino
Futures WebSocket: add futuresLiquidationStream
Stable Release
Futures: futuresChart() complete websocket chart cache
Futures: Fix for combined websockets
promiseRequest added as public method
Stable Release
Fix for multiple account API keys by joelrich
fix for futuresPrices()
Stable Release
This release fixes issues related to changes Binance made at an API level.
Futures: leverageBracket changed to USER_DATA
(BREAKING) futuresPositionRisk now returns an array instead of an object.
Significant Release
(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
Method to grab account lending data by JasonMcz.
Add option to override api urls by abou7mied (testnet)
Stable Release
Add maxBorrowable, maxTransferable, mgAllOrders by kirosc
Stable Release
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({})