Releases: ccxt/node-binance-api
Stable Release
Delivery API (Futures w/Expiration Date)
deliveryBuy
deliverySell
deliveryMarketBuy
deliveryMarketSell
deliveryPrices
deliveryDaily
deliveryOpenInterest
deliveryExchangeInfo
deliveryOpenOrders
deliveryAllOrders
deliveryCandles
deliveryIndexKlines
deliveryContinuousKlines
deliveryMarkPriceKlines
deliveryMarkPrice
deliveryHistoricalTrades
deliveryTrades
deliveryAggTrades
deliveryUserTrades
deliveryLiquidationOrders
deliveryPositionRisk
deliveryLeverage
deliveryMarginType
deliveryPositionMargin
deliveryPositionMarginHistory
deliveryIncome
deliveryBalance
deliveryAccount
deliveryDepth
deliveryQuote
deliveryLeverageBracket
deliveryOrderStatus
deliveryCancel
deliveryCancelAll
deliveryCountdownCancelAll
deliveryOrder
deliveryGetDataStream
deliveryCloseDataStream
deliveryKeepDataStream
deliveryPing
deliveryTime
deliveryOrder
by meetmangukiya flamy-dev@14dd1ce
Stable Release
Prevent statusCode errors
Add futuresCountdownCancelAll
Development Release
by tommuhm: reqHandler response is undefined on ETIMEOUT error
by bhnow: Add 'sideEffectType' options for Margin orders
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!