kucoin-api 2.1.9 → 2.1.10

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 CHANGED
@@ -36,7 +36,7 @@ Updated & performant JavaScript & Node.js SDK for the Kucoin REST APIs and WebSo
36
36
 
37
37
  - Issues? Check the [issues tab](https://github.com/tiagosiebler/kucoin-api/issues).
38
38
  - Discuss & collaborate with other node devs? Join our [Node.js Algo Traders](https://t.me/nodetraders) engineering community on telegram.
39
- - Follow our announcement channel for real-time updates on [X/Twitter](https://x.com/QuantSDKs)
39
+ - Follow our announcement channel for real-time updates on [X/Twitter](https://x.com/sieblyio)
40
40
 
41
41
  <!-- template_related_projects -->
42
42
 
@@ -95,7 +95,7 @@ export interface Order {
95
95
  clientOid: string;
96
96
  side: 'buy' | 'sell';
97
97
  symbol: string;
98
- leverage: number;
98
+ leverage?: number;
99
99
  type?: 'limit' | 'market';
100
100
  remark?: string;
101
101
  stop?: 'down' | 'up';
@@ -120,7 +120,7 @@ export interface SLTPOrder {
120
120
  clientOid: string;
121
121
  side: 'buy' | 'sell';
122
122
  symbol: string;
123
- leverage: number;
123
+ leverage?: number;
124
124
  type: 'limit' | 'market';
125
125
  remark?: string;
126
126
  triggerStopUpPrice?: string;
@@ -95,7 +95,7 @@ export interface Order {
95
95
  clientOid: string;
96
96
  side: 'buy' | 'sell';
97
97
  symbol: string;
98
- leverage: number;
98
+ leverage?: number;
99
99
  type?: 'limit' | 'market';
100
100
  remark?: string;
101
101
  stop?: 'down' | 'up';
@@ -120,7 +120,7 @@ export interface SLTPOrder {
120
120
  clientOid: string;
121
121
  side: 'buy' | 'sell';
122
122
  symbol: string;
123
- leverage: number;
123
+ leverage?: number;
124
124
  type: 'limit' | 'market';
125
125
  remark?: string;
126
126
  triggerStopUpPrice?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kucoin-api",
3
- "version": "2.1.9",
3
+ "version": "2.1.10",
4
4
  "description": "Complete & robust Node.js SDK for Kucoin's REST APIs and WebSockets, with TypeScript & strong end to end tests.",
5
5
  "scripts": {
6
6
  "clean": "rm -rf dist",