binance-api-node icon indicating copy to clipboard operation
binance-api-node copied to clipboard

:chart: A complete and heavily tested wrapper with typings for the Binance API.

Results 91 binance-api-node issues
Sort by recently updated
recently updated
newest added

There is no way to detect a broken connection from for example an internet disconnect. The websockets package suggests this [pattern](https://github.com/websockets/ws/blob/becf237cef8924a765075ecbd45599bc10fb6d18/README.md#how-to-detect-and-close-broken-connections). @balthazar would you be willing to accept a pull...

enhancement

when I call "marginOpenOrders" function, it always returns open orders of cross margin account. How can I get open orders(Limit orders) of isolated margin account?

I noticed a few functions are missing: 1. Query All Margin Oco Orders https://binance-docs.github.io/apidocs/spot/en/#query-margin-account-39-s-all-oco-user_data 2. Query All Open Margin Oco Orders https://binance-docs.github.io/apidocs/spot/en/#query-margin-account-39-s-open-oco-user_data 3. Cancel Oco Order https://binance-docs.github.io/apidocs/spot/en/#margin-account-cancel-oco-trade If we are...

```js function futuresCustomSubStream() => new Promise((rs, rj) => { // connect ws // on error -> reject // on success -> resolve }) const unsubscribe = await client.ws.futuresCustomSubStream() ```

it would be helpful to know when a stream subscription was successful within async blocks

Hi, i'm using the package in my Nuxt 3, Vue 3, Vite, Typescript Project, i just installed it and got a error when importing Binance. With this config: ![image](https://user-images.githubusercontent.com/54317276/149666766-ddf649aa-d882-4510-8647-2de3aedc0295.png) I...

Fixes the inconsistency where `client.futuresCandles` is the only endpoint to return the candle's opening time as 'startTime'; all other endpoints has the property name 'openTime'. Also updated the README.md as...

enhancement

Hi!, I want to know if this library has any plan to implement [[POST] /api/v3/order/cancelReplace](https://binance-docs.github.io/apidocs/spot/en/#cancel-an-existing-order-and-send-a-new-order-trade) endpoint?