binance-api-node
binance-api-node copied to clipboard
:chart: A complete and heavily tested wrapper with typings for the Binance API.
The "batchOrders" must be a JSON string, not a "NewFuturesOrder[]". I encountered an error when attempting to place multiple orders using "futuresBatchOrders", which looked like this:   The issue...
The Binance API allows to send the quantity param and it is missing in the type.
futuresOrders start to fail recently, seems that parameter quantity is required for TRAILING_STOP_MARKET now.
After a few times using a this library, I see the difference between fitted values from "futuresCandles" and indicators on Binance. See candle with ```openTime: 1692426600000``` ``` { openTime: 1692426600000,...
Getting the following error when I use it the package for electron ``` (node:80303) [DEP0091] DeprecationWarning: crypto.DEFAULT_ENCODING is deprecated. ```
I can't receive some of pairs from partial depth websocket. Pairs like BTCUSDT, ETHUSDT are works well. But NEOBTC, NEOUSDT not received response. am i anything did wrong?
missing typings for the `dustTransfer` method I see it is in there in the JS, but it is just missing the type definition
As these endpoints are also available it would be nice to have them implemented in the package. Details: https://binance-docs.github.io/apidocs/spot/en/#staking-endpoints https://binance-docs.github.io/apidocs/spot/en/#savings-endpoints
I added the option for use an RSA Apikey Reference: [BInance - apidocs](https://binance-docs.github.io/apidocs/spot/en/#signed-trade-user_data-and-margin-endpoint-security) [Binance - Generate RSA](https://www.binance.com/en/support/faq/how-to-generate-an-rsa-key-pair-to-send-api-requests-on-binance-2b79728f331e43079b27440d9d15c5db )
this.socket = new WebSocket('wss://stream.binance.com:9443/stream') ... this.socket.send('pong') // Invalid JSON: expected value at line