binance 2.2.0 → 2.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/lib/types/websockets.d.ts +1 -1
- package/lib/websocket-client.d.ts +1 -1
- package/lib/websocket-client.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -51,6 +51,7 @@ Check out my related projects:
|
|
|
51
51
|
- [binance](https://www.npmjs.com/package/binance)
|
|
52
52
|
- [bybit-api](https://www.npmjs.com/package/bybit-api)
|
|
53
53
|
- [okx-api](https://www.npmjs.com/package/okx-api)
|
|
54
|
+
- [bitget-api](https://www.npmjs.com/package/bitget-api)
|
|
54
55
|
- [ftx-api](https://www.npmjs.com/package/ftx-api)
|
|
55
56
|
- Try my misc utilities:
|
|
56
57
|
- [orderbooks](https://www.npmjs.com/package/orderbooks)
|
|
@@ -352,7 +352,7 @@ export interface WsMessageSpotUserDataExecutionReportEventFormatted extends WsSh
|
|
|
352
352
|
isMaker: false;
|
|
353
353
|
ignoreThis2: true;
|
|
354
354
|
orderCreationTime: number;
|
|
355
|
-
|
|
355
|
+
cummulativeQuoteAssetTransactedQty: number;
|
|
356
356
|
lastQuoteAssetTransactedQty: number;
|
|
357
357
|
orderQuoteQty: number;
|
|
358
358
|
}
|
|
@@ -201,7 +201,7 @@ export declare class WebsocketClient extends EventEmitter {
|
|
|
201
201
|
*/
|
|
202
202
|
subscribeSpotAggregateTrades(symbol: string, forceNewConnection?: boolean): WebSocket;
|
|
203
203
|
/**
|
|
204
|
-
* Subscribe to
|
|
204
|
+
* Subscribe to trades for a symbol in spot markets.
|
|
205
205
|
*/
|
|
206
206
|
subscribeSpotTrades(symbol: string, forceNewConnection?: boolean): WebSocket;
|
|
207
207
|
/**
|
package/lib/websocket-client.js
CHANGED
|
@@ -821,7 +821,7 @@ class WebsocketClient extends events_1.EventEmitter {
|
|
|
821
821
|
return this.subscribeAggregateTrades(symbol, 'spot', forceNewConnection);
|
|
822
822
|
}
|
|
823
823
|
/**
|
|
824
|
-
* Subscribe to
|
|
824
|
+
* Subscribe to trades for a symbol in spot markets.
|
|
825
825
|
*/
|
|
826
826
|
subscribeSpotTrades(symbol, forceNewConnection) {
|
|
827
827
|
const lowerCaseSymbol = symbol.toLowerCase();
|