binance 2.1.5 → 2.1.6
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 +4 -4
- package/lib/types/shared.d.ts +7 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Node.js & Typescript Binance API SDK
|
|
2
2
|
|
|
3
3
|
[](https://circleci.com/gh/tiagosiebler/binance)
|
|
4
4
|
[][1] [][1] [][1]
|
|
@@ -16,7 +16,6 @@ Node.js connector for the Binance APIs and WebSockets, with TypeScript & browser
|
|
|
16
16
|
- End-to-end testing before any release.
|
|
17
17
|
- Real API calls in e2e tests.
|
|
18
18
|
- Support REST APIs for Binance Spot, Margin, Isolated Margin & USDM Futures.
|
|
19
|
-
- Automatically manage latency related authentication issues.
|
|
20
19
|
- Strongly typed on most requests and responses.
|
|
21
20
|
- Support Websockets for Binance Spot, Margin, Isolated Margin & USDM Futures.
|
|
22
21
|
- Event driven messaging.
|
|
@@ -49,9 +48,10 @@ Refer to the [examples](./examples) folder for implementation demos.
|
|
|
49
48
|
Check out my related projects:
|
|
50
49
|
|
|
51
50
|
- Try my connectors:
|
|
52
|
-
- [ftx-api](https://www.npmjs.com/package/ftx-api)
|
|
53
|
-
- [bybit-api](https://www.npmjs.com/package/bybit-api)
|
|
54
51
|
- [binance](https://www.npmjs.com/package/binance)
|
|
52
|
+
- [bybit-api](https://www.npmjs.com/package/bybit-api)
|
|
53
|
+
- [okx-api](https://www.npmjs.com/package/okx-api)
|
|
54
|
+
- [ftx-api](https://www.npmjs.com/package/ftx-api)
|
|
55
55
|
- Try my misc utilities:
|
|
56
56
|
- [orderbooks](https://www.npmjs.com/package/orderbooks)
|
|
57
57
|
- Check out my examples:
|
package/lib/types/shared.d.ts
CHANGED
|
@@ -91,14 +91,19 @@ export interface NewOCOParams {
|
|
|
91
91
|
side: OrderSide;
|
|
92
92
|
quantity: number;
|
|
93
93
|
limitClientOrderId?: string;
|
|
94
|
+
limitStrategyId?: number;
|
|
95
|
+
limitStrategyType?: number;
|
|
94
96
|
price: number;
|
|
95
97
|
limitIcebergQty?: number;
|
|
98
|
+
trailingdelta?: number;
|
|
96
99
|
stopClientOrderId?: string;
|
|
97
100
|
stopPrice: number;
|
|
101
|
+
stopStrategyId?: number;
|
|
102
|
+
stopStrategyType?: number;
|
|
98
103
|
stopLimitPrice?: number;
|
|
99
104
|
stopIcebergQty?: number;
|
|
100
|
-
stopLimitTimeInForce
|
|
101
|
-
newOrderRespType
|
|
105
|
+
stopLimitTimeInForce?: OrderTimeInForce;
|
|
106
|
+
newOrderRespType?: OrderResponseType;
|
|
102
107
|
/** For isolated margin trading only */
|
|
103
108
|
isIsolated?: StringBoolean;
|
|
104
109
|
/** Define a side effect, only for margin trading */
|