binance 2.3.0 → 2.3.2
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 +12 -8
- package/lib/types/websockets.d.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -11,23 +11,27 @@
|
|
|
11
11
|
|
|
12
12
|
Node.js connector for the Binance APIs and WebSockets, with TypeScript & browser support.
|
|
13
13
|
|
|
14
|
-
- Extremely robust connector with significant trading volume in production (livenet).
|
|
15
|
-
-
|
|
16
|
-
|
|
17
|
-
-
|
|
18
|
-
-
|
|
14
|
+
- Extremely robust & performant connector with significant trading volume in production (livenet).
|
|
15
|
+
- Actively maintained with a modern, promise-driven interface.
|
|
16
|
+
- Support for seamless HMAC and RSA authentication.
|
|
17
|
+
- Passing a private key as a secret will automatically revert to RSA authentication.
|
|
18
|
+
- Supports REST APIs for Binance Spot, Margin, Isolated Margin & USDM Futures.
|
|
19
19
|
- Strongly typed on most requests and responses.
|
|
20
|
-
-
|
|
20
|
+
- Supports Websockets for Binance Spot, Margin, Isolated Margin & USDM Futures.
|
|
21
21
|
- Event driven messaging.
|
|
22
22
|
- Smart websocket persistence
|
|
23
23
|
- Automatically handle silent websocket disconnections through timed heartbeats, including the scheduled 24hr disconnect.
|
|
24
24
|
- Automatically handle listenKey persistence and expiration/refresh.
|
|
25
25
|
- Emit `reconnected` event when dropped connection is restored.
|
|
26
|
-
- Strongly typed on most websocket events.
|
|
26
|
+
- Strongly typed on most websocket events, with typeguards available for TypeScript users.
|
|
27
27
|
- Optional:
|
|
28
|
-
- Automatic beautification of
|
|
28
|
+
- Automatic beautification of Websocket events (from one-letter keys to descriptive words, and strings with floats to numbers).
|
|
29
29
|
- Automatic beautification of REST responses (parsing numbers in strings to numbers).
|
|
30
|
+
- Heavy end-to-end testing with real API calls.
|
|
31
|
+
- End-to-end testing before any release.
|
|
32
|
+
- Real API calls in e2e tests.
|
|
30
33
|
- Proxy support via axios integration.
|
|
34
|
+
- Active community support & collaboration in telegram: [Node.js Algo Traders](https://t.me/nodetraders).
|
|
31
35
|
|
|
32
36
|
## Installation
|
|
33
37
|
|
|
@@ -532,7 +532,7 @@ export interface WsMessageFuturesUserDataTradeUpdateEventFormatted extends WsSha
|
|
|
532
532
|
clientOrderId: string;
|
|
533
533
|
orderSide: OrderSide;
|
|
534
534
|
orderType: FuturesOrderType;
|
|
535
|
-
|
|
535
|
+
timeInForce: OrderTimeInForce;
|
|
536
536
|
originalQuantity: number;
|
|
537
537
|
originalPrice: number;
|
|
538
538
|
averagePrice: number;
|