kucoin-api 2.0.0 → 2.0.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/dist/cjs/FuturesClient.d.ts +129 -24
- package/dist/cjs/FuturesClient.js +108 -16
- package/dist/cjs/FuturesClient.js.map +1 -1
- package/dist/cjs/SpotClient.d.ts +80 -85
- package/dist/cjs/SpotClient.js +55 -55
- package/dist/cjs/SpotClient.js.map +1 -1
- package/dist/cjs/WebsocketClient.d.ts +1 -0
- package/dist/cjs/WebsocketClient.js +23 -22
- package/dist/cjs/WebsocketClient.js.map +1 -1
- package/dist/cjs/lib/BaseRestClient.d.ts +6 -2
- package/dist/cjs/lib/BaseRestClient.js +8 -1
- package/dist/cjs/lib/BaseRestClient.js.map +1 -1
- package/dist/cjs/lib/requestUtils.d.ts +1 -0
- package/dist/cjs/lib/requestUtils.js.map +1 -1
- package/dist/cjs/types/request/futures.types.d.ts +68 -16
- package/dist/cjs/types/request/spot-account.d.ts +1 -1
- package/dist/cjs/types/request/spot-funding.d.ts +0 -2
- package/dist/cjs/types/request/spot-trading.d.ts +11 -20
- package/dist/cjs/types/response/futures.types.d.ts +118 -58
- package/dist/cjs/types/response/spot-account.d.ts +76 -28
- package/dist/cjs/types/response/spot-funding.d.ts +34 -32
- package/dist/cjs/types/response/spot-margin-trading.d.ts +80 -15
- package/dist/cjs/types/response/spot-misc.d.ts +1 -1
- package/dist/cjs/types/response/spot-trading.d.ts +100 -74
- package/dist/cjs/types/websockets/client.d.ts +4 -0
- package/dist/mjs/FuturesClient.d.ts +129 -24
- package/dist/mjs/FuturesClient.js +108 -16
- package/dist/mjs/FuturesClient.js.map +1 -1
- package/dist/mjs/SpotClient.d.ts +80 -85
- package/dist/mjs/SpotClient.js +55 -55
- package/dist/mjs/SpotClient.js.map +1 -1
- package/dist/mjs/WebsocketClient.d.ts +1 -0
- package/dist/mjs/WebsocketClient.js +23 -22
- package/dist/mjs/WebsocketClient.js.map +1 -1
- package/dist/mjs/lib/BaseRestClient.d.ts +6 -2
- package/dist/mjs/lib/BaseRestClient.js +8 -1
- package/dist/mjs/lib/BaseRestClient.js.map +1 -1
- package/dist/mjs/lib/requestUtils.d.ts +1 -0
- package/dist/mjs/lib/requestUtils.js.map +1 -1
- package/dist/mjs/types/request/futures.types.d.ts +68 -16
- package/dist/mjs/types/request/spot-account.d.ts +1 -1
- package/dist/mjs/types/request/spot-funding.d.ts +0 -2
- package/dist/mjs/types/request/spot-trading.d.ts +11 -20
- package/dist/mjs/types/response/futures.types.d.ts +118 -58
- package/dist/mjs/types/response/spot-account.d.ts +76 -28
- package/dist/mjs/types/response/spot-funding.d.ts +34 -32
- package/dist/mjs/types/response/spot-margin-trading.d.ts +80 -15
- package/dist/mjs/types/response/spot-misc.d.ts +1 -1
- package/dist/mjs/types/response/spot-trading.d.ts +100 -74
- package/dist/mjs/types/websockets/client.d.ts +4 -0
- package/package.json +2 -2
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { AxiosRequestConfig } from 'axios';
|
|
2
2
|
import { BaseRestClient } from './lib/BaseRestClient.js';
|
|
3
3
|
import { RestClientOptions, RestClientType } from './lib/requestUtils.js';
|
|
4
|
-
import { AccountFillsRequest, BatchCancelOrdersRequest, GetFundingHistoryRequest, GetFundingRatesRequest, GetInterestRatesRequest, GetKlinesRequest, GetOrdersRequest, GetStopOrdersRequest, GetTransactionsRequest, MaxOpenSizeRequest, Order, SLTPOrder } from './types/request/futures.types.js';
|
|
5
|
-
import { AccountBalance, AccountSummary, AddMargin, BatchCancelOrderResult, FullOrderBookDetail, FuturesAccountFundingRateHistory, FuturesAccountTransaction, FuturesActiveOrder, FuturesClosedPositions, FuturesCurrentFundingRate, FuturesFill, FuturesFills, FuturesHistoricFundingRate, FuturesKline, FuturesMarkPrice, FuturesOrder, FuturesOrders, FuturesPosition, FuturesRiskLimit, FuturesSymbolInfo, IndexListItem, InterestRateItem, MarketTradeDetail, MaxOpenSize, PremiumIndexItem,
|
|
4
|
+
import { AccountFillsRequest, BatchCancelOrdersRequest, CopyTradeOrderRequest, CopyTradeSLTPOrderRequest, GetFundingHistoryRequest, GetFundingRatesRequest, GetInterestRatesRequest, GetKlinesRequest, GetOrdersRequest, GetStopOrdersRequest, GetTransactionsRequest, MaxOpenSizeRequest, Order, SLTPOrder } from './types/request/futures.types.js';
|
|
5
|
+
import { AccountBalance, AccountSummary, AddMargin, BatchCancelOrderResult, CopyTradePosition, FullOrderBookDetail, FuturesAccountFundingRateHistory, FuturesAccountTransaction, FuturesActiveOrder, FuturesClosedPositions, FuturesCurrentFundingRate, FuturesFill, FuturesFills, FuturesHistoricFundingRate, FuturesKline, FuturesMarkPrice, FuturesOrder, FuturesOrders, FuturesPosition, FuturesRiskLimit, FuturesSubAccount, FuturesSymbolInfo, IndexListItem, InterestRateItem, MarketTradeDetail, MaxOpenSize, PremiumIndexItem, SubmitMultipleOrdersFuturesResponse, TickerDetail } from './types/response/futures.types.js';
|
|
6
6
|
import { APISuccessResponse, ServiceStatus } from './types/response/shared.types.js';
|
|
7
7
|
import { WsConnectionInfo } from './types/response/ws.js';
|
|
8
8
|
/**
|
|
@@ -31,7 +31,7 @@ export declare class FuturesClient extends BaseRestClient {
|
|
|
31
31
|
}): Promise<APISuccessResponse<AccountBalance>>;
|
|
32
32
|
/**
|
|
33
33
|
* Get Account Ledgers - Futures
|
|
34
|
-
* This
|
|
34
|
+
* This endpoint can query the ledger records of the futures business line
|
|
35
35
|
*/
|
|
36
36
|
getTransactions(params: GetTransactionsRequest): Promise<APISuccessResponse<{
|
|
37
37
|
hasMore: boolean;
|
|
@@ -50,7 +50,7 @@ export declare class FuturesClient extends BaseRestClient {
|
|
|
50
50
|
currency?: string;
|
|
51
51
|
}): Promise<APISuccessResponse<{
|
|
52
52
|
summary: AccountSummary;
|
|
53
|
-
accounts:
|
|
53
|
+
accounts: FuturesSubAccount[];
|
|
54
54
|
}>>;
|
|
55
55
|
/**
|
|
56
56
|
*
|
|
@@ -59,7 +59,7 @@ export declare class FuturesClient extends BaseRestClient {
|
|
|
59
59
|
*/
|
|
60
60
|
/**
|
|
61
61
|
* Get Actual Fee - Futures
|
|
62
|
-
* This
|
|
62
|
+
* This endpoint is for the actual futures fee rate of the trading pair. The fee rate of your sub-account is the same as that of the master account.
|
|
63
63
|
*/
|
|
64
64
|
getTradingPairFee(params: {
|
|
65
65
|
symbol: string;
|
|
@@ -208,7 +208,7 @@ export declare class FuturesClient extends BaseRestClient {
|
|
|
208
208
|
submitMultipleOrders(params: Order[]): Promise<APISuccessResponse<SubmitMultipleOrdersFuturesResponse[]>>;
|
|
209
209
|
/**
|
|
210
210
|
* Add Take Profit And Stop Loss Order
|
|
211
|
-
* Place take profit and stop loss order supports both take-profit and stop-loss functions, and other functions are exactly the same as the place order
|
|
211
|
+
* Place take profit and stop loss order supports both take-profit and stop-loss functions, and other functions are exactly the same as the place order endpoint.
|
|
212
212
|
*/
|
|
213
213
|
submitSLTPOrder(params: SLTPOrder): Promise<APISuccessResponse<{
|
|
214
214
|
orderId?: string;
|
|
@@ -229,6 +229,7 @@ export declare class FuturesClient extends BaseRestClient {
|
|
|
229
229
|
*/
|
|
230
230
|
cancelOrderByClientOid(params: {
|
|
231
231
|
clientOid: string;
|
|
232
|
+
symbol: string;
|
|
232
233
|
}): Promise<APISuccessResponse<{
|
|
233
234
|
clientOid: string;
|
|
234
235
|
}>>;
|
|
@@ -236,9 +237,7 @@ export declare class FuturesClient extends BaseRestClient {
|
|
|
236
237
|
* Batch Cancel Orders
|
|
237
238
|
* Cancel multiple orders.
|
|
238
239
|
*/
|
|
239
|
-
batchCancelOrders(params: BatchCancelOrdersRequest): Promise<APISuccessResponse<
|
|
240
|
-
data: BatchCancelOrderResult[];
|
|
241
|
-
}>>;
|
|
240
|
+
batchCancelOrders(params: BatchCancelOrdersRequest): Promise<APISuccessResponse<BatchCancelOrderResult[]>>;
|
|
242
241
|
/**
|
|
243
242
|
* Cancel All Orders
|
|
244
243
|
* Using this endpoint, all open orders (excluding stop orders) can be canceled in batches.
|
|
@@ -285,7 +284,7 @@ export declare class FuturesClient extends BaseRestClient {
|
|
|
285
284
|
}): Promise<APISuccessResponse<FuturesOrder[]>>;
|
|
286
285
|
/**
|
|
287
286
|
* Get Stop Order List
|
|
288
|
-
* Get the un-triggered stop orders list. Stop orders that have been triggered can be queried through the general order
|
|
287
|
+
* Get the un-triggered stop orders list. Stop orders that have been triggered can be queried through the general order endpoint
|
|
289
288
|
*/
|
|
290
289
|
getStopOrders(params?: GetStopOrdersRequest): Promise<APISuccessResponse<FuturesOrders>>;
|
|
291
290
|
/**
|
|
@@ -315,7 +314,7 @@ export declare class FuturesClient extends BaseRestClient {
|
|
|
315
314
|
*/
|
|
316
315
|
/**
|
|
317
316
|
* Get Margin Mode
|
|
318
|
-
* This
|
|
317
|
+
* This endpoint can query the margin mode of the current symbol.
|
|
319
318
|
*/
|
|
320
319
|
getMarginMode(params: {
|
|
321
320
|
symbol: string;
|
|
@@ -355,7 +354,7 @@ export declare class FuturesClient extends BaseRestClient {
|
|
|
355
354
|
}): Promise<APISuccessResponse<FuturesPosition[]>>;
|
|
356
355
|
/**
|
|
357
356
|
* Get Positions History
|
|
358
|
-
* This
|
|
357
|
+
* This endpoint can query position history information records.
|
|
359
358
|
*/
|
|
360
359
|
getHistoryPositions(params?: {
|
|
361
360
|
symbol?: string;
|
|
@@ -366,14 +365,14 @@ export declare class FuturesClient extends BaseRestClient {
|
|
|
366
365
|
}): Promise<APISuccessResponse<FuturesClosedPositions>>;
|
|
367
366
|
/**
|
|
368
367
|
* Get Max Withdraw Margin
|
|
369
|
-
* This
|
|
368
|
+
* This endpoint can query the maximum amount of margin that the current position supports withdrawal.
|
|
370
369
|
*/
|
|
371
370
|
getMaxWithdrawMargin(params: {
|
|
372
371
|
symbol: string;
|
|
373
|
-
}): Promise<APISuccessResponse<
|
|
372
|
+
}): Promise<APISuccessResponse<string>>;
|
|
374
373
|
/**
|
|
375
374
|
* Get Cross Margin Leverage
|
|
376
|
-
* This
|
|
375
|
+
* This endpoint can query the current symbol’s cross-margin leverage multiple.
|
|
377
376
|
*/
|
|
378
377
|
getCrossMarginLeverage(params: {
|
|
379
378
|
symbol: string;
|
|
@@ -383,7 +382,7 @@ export declare class FuturesClient extends BaseRestClient {
|
|
|
383
382
|
}>>;
|
|
384
383
|
/**
|
|
385
384
|
* Modify Cross Margin Leverage
|
|
386
|
-
* This
|
|
385
|
+
* This endpoint can modify the current symbol’s cross-margin leverage multiple.
|
|
387
386
|
*/
|
|
388
387
|
changeCrossMarginLeverage(params: {
|
|
389
388
|
symbol: string;
|
|
@@ -408,25 +407,22 @@ export declare class FuturesClient extends BaseRestClient {
|
|
|
408
407
|
withdrawMargin(params: {
|
|
409
408
|
symbol: string;
|
|
410
409
|
withdrawAmount: string;
|
|
411
|
-
}): Promise<APISuccessResponse<
|
|
412
|
-
sybmol: string;
|
|
413
|
-
withdrawAmount: number;
|
|
414
|
-
}>>;
|
|
410
|
+
}): Promise<APISuccessResponse<string>>;
|
|
415
411
|
/**
|
|
416
412
|
* Get Isolated Margin Risk Limit
|
|
417
|
-
* This
|
|
413
|
+
* This endpoint can be used to obtain information about risk limit level of a specific contract(Only valid for isolated Margin).
|
|
418
414
|
*/
|
|
419
415
|
getRiskLimitLevel(params: {
|
|
420
416
|
symbol: string;
|
|
421
417
|
}): Promise<APISuccessResponse<FuturesRiskLimit[]>>;
|
|
422
418
|
/**
|
|
423
419
|
* Modify Isolated Margin Risk Limit
|
|
424
|
-
* This
|
|
420
|
+
* This endpoint is for the adjustment of the risk limit level(Only valid for isolated Margin).
|
|
425
421
|
*/
|
|
426
422
|
updateRiskLimitLevel(params: {
|
|
427
423
|
symbol: string;
|
|
428
424
|
level: number;
|
|
429
|
-
}): Promise<
|
|
425
|
+
}): Promise<boolean>;
|
|
430
426
|
/**
|
|
431
427
|
*
|
|
432
428
|
* REST - Futures Trading - Funding Fees
|
|
@@ -434,7 +430,7 @@ export declare class FuturesClient extends BaseRestClient {
|
|
|
434
430
|
*/
|
|
435
431
|
/**
|
|
436
432
|
* Get Current Funding Rate
|
|
437
|
-
* This
|
|
433
|
+
* This endpoint can be used to obtain the current funding rate of the specified symbol.
|
|
438
434
|
*/
|
|
439
435
|
getFundingRate(params: {
|
|
440
436
|
symbol: string;
|
|
@@ -452,6 +448,115 @@ export declare class FuturesClient extends BaseRestClient {
|
|
|
452
448
|
dataList: FuturesAccountFundingRateHistory[];
|
|
453
449
|
hasMore: boolean;
|
|
454
450
|
}>>;
|
|
451
|
+
/**
|
|
452
|
+
*
|
|
453
|
+
* REST - Futures Trading - CopyTrading
|
|
454
|
+
*
|
|
455
|
+
*/
|
|
456
|
+
/**
|
|
457
|
+
* Add Order
|
|
458
|
+
* Place order to the futures trading system for copy trading
|
|
459
|
+
*/
|
|
460
|
+
submitCopyTradeOrder(params: CopyTradeOrderRequest): Promise<APISuccessResponse<{
|
|
461
|
+
orderId: string;
|
|
462
|
+
clientOid: string;
|
|
463
|
+
}>>;
|
|
464
|
+
/**
|
|
465
|
+
* Add Order Test
|
|
466
|
+
* Order test endpoint, the request parameters and return parameters of this endpoint are exactly the same as the order endpoint,
|
|
467
|
+
* and can be used to verify whether the signature is correct and other operations.
|
|
468
|
+
*/
|
|
469
|
+
submitCopyTradeOrderTest(params: CopyTradeOrderRequest): Promise<APISuccessResponse<{
|
|
470
|
+
orderId: string;
|
|
471
|
+
clientOid: string;
|
|
472
|
+
}>>;
|
|
473
|
+
/**
|
|
474
|
+
* Add Take Profit And Stop Loss Order
|
|
475
|
+
* Place take profit and stop loss order supports both take-profit and stop-loss functions, and other functions are exactly the same as the place order endpoint.
|
|
476
|
+
*/
|
|
477
|
+
submitCopyTradeSLTPOrder(params: CopyTradeSLTPOrderRequest): Promise<APISuccessResponse<{
|
|
478
|
+
orderId: string;
|
|
479
|
+
clientOid: string;
|
|
480
|
+
}>>;
|
|
481
|
+
/**
|
|
482
|
+
* Cancel Order By OrderId
|
|
483
|
+
* Cancel an order (including a stop order) in copy trading.
|
|
484
|
+
*/
|
|
485
|
+
cancelCopyTradeOrderById(params: {
|
|
486
|
+
orderId: string;
|
|
487
|
+
}): Promise<APISuccessResponse<{
|
|
488
|
+
cancelledOrderIds: string[];
|
|
489
|
+
}>>;
|
|
490
|
+
/**
|
|
491
|
+
* Cancel Order By Client Order Id
|
|
492
|
+
* Cancel an order (including a stop order) in copy trading by client order id.
|
|
493
|
+
*/
|
|
494
|
+
cancelCopyTradeOrderByClientOid(params: {
|
|
495
|
+
clientOid?: string;
|
|
496
|
+
symbol: string;
|
|
497
|
+
}): Promise<APISuccessResponse<{
|
|
498
|
+
clientOid: string;
|
|
499
|
+
}>>;
|
|
500
|
+
/**
|
|
501
|
+
* Get Max Open Size
|
|
502
|
+
* Get Maximum Open Position Size.
|
|
503
|
+
*/
|
|
504
|
+
getCopyTradeMaxOpenSize(params: {
|
|
505
|
+
symbol: string;
|
|
506
|
+
maxBuyOpenSize: string;
|
|
507
|
+
maxSellOpenSize: string;
|
|
508
|
+
}): Promise<APISuccessResponse<{
|
|
509
|
+
symbol: string;
|
|
510
|
+
price: string;
|
|
511
|
+
leverage: number;
|
|
512
|
+
}>>;
|
|
513
|
+
/**
|
|
514
|
+
* Get Max Withdraw Margin
|
|
515
|
+
* This endpoint can query the maximum amount of margin that the current position supports withdrawal.
|
|
516
|
+
*/
|
|
517
|
+
getCopyTradeMaxWithdrawMargin(params: {
|
|
518
|
+
symbol: string;
|
|
519
|
+
}): Promise<APISuccessResponse<string>>;
|
|
520
|
+
/**
|
|
521
|
+
* Add Isolated Margin
|
|
522
|
+
* Add Isolated Margin Manually.
|
|
523
|
+
*/
|
|
524
|
+
addCopyTradeIsolatedMargin(params: {
|
|
525
|
+
symbol: string;
|
|
526
|
+
margin: number;
|
|
527
|
+
bizNo: string;
|
|
528
|
+
}): Promise<APISuccessResponse<CopyTradePosition>>;
|
|
529
|
+
/**
|
|
530
|
+
* Remove Isolated Margin
|
|
531
|
+
* Remove Isolated Margin Manually.
|
|
532
|
+
*/
|
|
533
|
+
removeCopyTradeIsolatedMargin(params: {
|
|
534
|
+
symbol: string;
|
|
535
|
+
withdrawAmount: string;
|
|
536
|
+
}): Promise<APISuccessResponse<string>>;
|
|
537
|
+
/**
|
|
538
|
+
* Modify Isolated Margin Risk Limit
|
|
539
|
+
* This endpoint is for the adjustment of the risk limit level(Only valid for isolated Margin).
|
|
540
|
+
* To adjust the level will cancel the open order, the response can only indicate whether the submit of the adjustment request is successful or not.
|
|
541
|
+
*/
|
|
542
|
+
modifyCopyTradeRiskLimitLevel(params: {
|
|
543
|
+
symbol: string;
|
|
544
|
+
level: number;
|
|
545
|
+
}): Promise<APISuccessResponse<boolean>>;
|
|
546
|
+
/**
|
|
547
|
+
* Modify Isolated Margin Auto-Deposit Status
|
|
548
|
+
* This endpoint is only applicable to isolated margin and is no longer recommended. It is recommended to use cross margin instead.
|
|
549
|
+
* @deprecated - It is recommended to use cross margin instead
|
|
550
|
+
*/
|
|
551
|
+
updateCopyTradeAutoDepositStatus(params: {
|
|
552
|
+
symbol: string;
|
|
553
|
+
status: boolean;
|
|
554
|
+
}): Promise<APISuccessResponse<boolean>>;
|
|
555
|
+
/**
|
|
556
|
+
*
|
|
557
|
+
* REST - Futures - Broker
|
|
558
|
+
*
|
|
559
|
+
*/
|
|
455
560
|
/**
|
|
456
561
|
* Get download link for broker rebate orders
|
|
457
562
|
*
|
|
@@ -37,7 +37,7 @@ class FuturesClient extends BaseRestClient_js_1.BaseRestClient {
|
|
|
37
37
|
}
|
|
38
38
|
/**
|
|
39
39
|
* Get Account Ledgers - Futures
|
|
40
|
-
* This
|
|
40
|
+
* This endpoint can query the ledger records of the futures business line
|
|
41
41
|
*/
|
|
42
42
|
getTransactions(params) {
|
|
43
43
|
return this.getPrivate('api/v1/transaction-history', params);
|
|
@@ -61,7 +61,7 @@ class FuturesClient extends BaseRestClient_js_1.BaseRestClient {
|
|
|
61
61
|
*/
|
|
62
62
|
/**
|
|
63
63
|
* Get Actual Fee - Futures
|
|
64
|
-
* This
|
|
64
|
+
* This endpoint is for the actual futures fee rate of the trading pair. The fee rate of your sub-account is the same as that of the master account.
|
|
65
65
|
*/
|
|
66
66
|
getTradingPairFee(params) {
|
|
67
67
|
return this.getPrivate('api/v1/trade-fees', params);
|
|
@@ -213,7 +213,7 @@ class FuturesClient extends BaseRestClient_js_1.BaseRestClient {
|
|
|
213
213
|
}
|
|
214
214
|
/**
|
|
215
215
|
* Add Take Profit And Stop Loss Order
|
|
216
|
-
* Place take profit and stop loss order supports both take-profit and stop-loss functions, and other functions are exactly the same as the place order
|
|
216
|
+
* Place take profit and stop loss order supports both take-profit and stop-loss functions, and other functions are exactly the same as the place order endpoint.
|
|
217
217
|
*/
|
|
218
218
|
submitSLTPOrder(params) {
|
|
219
219
|
return this.postPrivate('api/v1/st-orders', params);
|
|
@@ -230,7 +230,10 @@ class FuturesClient extends BaseRestClient_js_1.BaseRestClient {
|
|
|
230
230
|
* Cancel an order (including a stop order) by client order id.
|
|
231
231
|
*/
|
|
232
232
|
cancelOrderByClientOid(params) {
|
|
233
|
-
|
|
233
|
+
const { clientOid, symbol } = params;
|
|
234
|
+
return this.deletePrivate(`api/v1/orders/client-order/${clientOid}`, {
|
|
235
|
+
symbol,
|
|
236
|
+
});
|
|
234
237
|
}
|
|
235
238
|
/**
|
|
236
239
|
* Batch Cancel Orders
|
|
@@ -283,7 +286,7 @@ class FuturesClient extends BaseRestClient_js_1.BaseRestClient {
|
|
|
283
286
|
}
|
|
284
287
|
/**
|
|
285
288
|
* Get Stop Order List
|
|
286
|
-
* Get the un-triggered stop orders list. Stop orders that have been triggered can be queried through the general order
|
|
289
|
+
* Get the un-triggered stop orders list. Stop orders that have been triggered can be queried through the general order endpoint
|
|
287
290
|
*/
|
|
288
291
|
getStopOrders(params) {
|
|
289
292
|
return this.getPrivate('api/v1/stopOrders', params);
|
|
@@ -317,7 +320,7 @@ class FuturesClient extends BaseRestClient_js_1.BaseRestClient {
|
|
|
317
320
|
*/
|
|
318
321
|
/**
|
|
319
322
|
* Get Margin Mode
|
|
320
|
-
* This
|
|
323
|
+
* This endpoint can query the margin mode of the current symbol.
|
|
321
324
|
*/
|
|
322
325
|
getMarginMode(params) {
|
|
323
326
|
return this.getPrivate('api/v2/position/getMarginMode', params);
|
|
@@ -352,28 +355,28 @@ class FuturesClient extends BaseRestClient_js_1.BaseRestClient {
|
|
|
352
355
|
}
|
|
353
356
|
/**
|
|
354
357
|
* Get Positions History
|
|
355
|
-
* This
|
|
358
|
+
* This endpoint can query position history information records.
|
|
356
359
|
*/
|
|
357
360
|
getHistoryPositions(params) {
|
|
358
361
|
return this.getPrivate('api/v1/history-positions', params);
|
|
359
362
|
}
|
|
360
363
|
/**
|
|
361
364
|
* Get Max Withdraw Margin
|
|
362
|
-
* This
|
|
365
|
+
* This endpoint can query the maximum amount of margin that the current position supports withdrawal.
|
|
363
366
|
*/
|
|
364
367
|
getMaxWithdrawMargin(params) {
|
|
365
368
|
return this.getPrivate('api/v1/margin/maxWithdrawMargin', params);
|
|
366
369
|
}
|
|
367
370
|
/**
|
|
368
371
|
* Get Cross Margin Leverage
|
|
369
|
-
* This
|
|
372
|
+
* This endpoint can query the current symbol’s cross-margin leverage multiple.
|
|
370
373
|
*/
|
|
371
374
|
getCrossMarginLeverage(params) {
|
|
372
375
|
return this.getPrivate('api/v2/getCrossUserLeverage', params);
|
|
373
376
|
}
|
|
374
377
|
/**
|
|
375
378
|
* Modify Cross Margin Leverage
|
|
376
|
-
* This
|
|
379
|
+
* This endpoint can modify the current symbol’s cross-margin leverage multiple.
|
|
377
380
|
*/
|
|
378
381
|
changeCrossMarginLeverage(params) {
|
|
379
382
|
return this.postPrivate('api/v2/changeCrossUserLeverage', params);
|
|
@@ -394,14 +397,14 @@ class FuturesClient extends BaseRestClient_js_1.BaseRestClient {
|
|
|
394
397
|
}
|
|
395
398
|
/**
|
|
396
399
|
* Get Isolated Margin Risk Limit
|
|
397
|
-
* This
|
|
400
|
+
* This endpoint can be used to obtain information about risk limit level of a specific contract(Only valid for isolated Margin).
|
|
398
401
|
*/
|
|
399
402
|
getRiskLimitLevel(params) {
|
|
400
403
|
return this.getPrivate(`api/v1/contracts/risk-limit/${params.symbol}`);
|
|
401
404
|
}
|
|
402
405
|
/**
|
|
403
406
|
* Modify Isolated Margin Risk Limit
|
|
404
|
-
* This
|
|
407
|
+
* This endpoint is for the adjustment of the risk limit level(Only valid for isolated Margin).
|
|
405
408
|
*/
|
|
406
409
|
updateRiskLimitLevel(params) {
|
|
407
410
|
return this.postPrivate('api/v1/position/risk-limit-level/change', params);
|
|
@@ -413,17 +416,17 @@ class FuturesClient extends BaseRestClient_js_1.BaseRestClient {
|
|
|
413
416
|
*/
|
|
414
417
|
/**
|
|
415
418
|
* Get Current Funding Rate
|
|
416
|
-
* This
|
|
419
|
+
* This endpoint can be used to obtain the current funding rate of the specified symbol.
|
|
417
420
|
*/
|
|
418
421
|
getFundingRate(params) {
|
|
419
|
-
return this.
|
|
422
|
+
return this.getPrivate(`api/v1/funding-rate/${params.symbol}/current`);
|
|
420
423
|
}
|
|
421
424
|
/**
|
|
422
425
|
* Get Public Funding History
|
|
423
426
|
* Query the funding rate at each settlement time point within a certain time range of the corresponding contract
|
|
424
427
|
*/
|
|
425
428
|
getFundingRates(params) {
|
|
426
|
-
return this.
|
|
429
|
+
return this.getPrivate('api/v1/contract/funding-rates', params);
|
|
427
430
|
}
|
|
428
431
|
/**
|
|
429
432
|
* Get Private Funding History
|
|
@@ -432,6 +435,96 @@ class FuturesClient extends BaseRestClient_js_1.BaseRestClient {
|
|
|
432
435
|
getFundingHistory(params) {
|
|
433
436
|
return this.getPrivate('api/v1/funding-history', params);
|
|
434
437
|
}
|
|
438
|
+
/**
|
|
439
|
+
*
|
|
440
|
+
* REST - Futures Trading - CopyTrading
|
|
441
|
+
*
|
|
442
|
+
*/
|
|
443
|
+
/**
|
|
444
|
+
* Add Order
|
|
445
|
+
* Place order to the futures trading system for copy trading
|
|
446
|
+
*/
|
|
447
|
+
submitCopyTradeOrder(params) {
|
|
448
|
+
return this.postPrivate('api/v1/copy-trade/futures/orders', params);
|
|
449
|
+
}
|
|
450
|
+
/**
|
|
451
|
+
* Add Order Test
|
|
452
|
+
* Order test endpoint, the request parameters and return parameters of this endpoint are exactly the same as the order endpoint,
|
|
453
|
+
* and can be used to verify whether the signature is correct and other operations.
|
|
454
|
+
*/
|
|
455
|
+
submitCopyTradeOrderTest(params) {
|
|
456
|
+
return this.postPrivate('api/v1/copy-trade/futures/orders/test', params);
|
|
457
|
+
}
|
|
458
|
+
/**
|
|
459
|
+
* Add Take Profit And Stop Loss Order
|
|
460
|
+
* Place take profit and stop loss order supports both take-profit and stop-loss functions, and other functions are exactly the same as the place order endpoint.
|
|
461
|
+
*/
|
|
462
|
+
submitCopyTradeSLTPOrder(params) {
|
|
463
|
+
return this.postPrivate('api/v1/copy-trade/futures/st-orders', params);
|
|
464
|
+
}
|
|
465
|
+
/**
|
|
466
|
+
* Cancel Order By OrderId
|
|
467
|
+
* Cancel an order (including a stop order) in copy trading.
|
|
468
|
+
*/
|
|
469
|
+
cancelCopyTradeOrderById(params) {
|
|
470
|
+
return this.deletePrivate('api/v1/copy-trade/futures/orders', params);
|
|
471
|
+
}
|
|
472
|
+
/**
|
|
473
|
+
* Cancel Order By Client Order Id
|
|
474
|
+
* Cancel an order (including a stop order) in copy trading by client order id.
|
|
475
|
+
*/
|
|
476
|
+
cancelCopyTradeOrderByClientOid(params) {
|
|
477
|
+
return this.deletePrivate(`api/v1/copy-trade/futures/orders/client-order`, params);
|
|
478
|
+
}
|
|
479
|
+
/**
|
|
480
|
+
* Get Max Open Size
|
|
481
|
+
* Get Maximum Open Position Size.
|
|
482
|
+
*/
|
|
483
|
+
getCopyTradeMaxOpenSize(params) {
|
|
484
|
+
return this.getPrivate('api/v1/copy-trade/futures/get-max-open-size', params);
|
|
485
|
+
}
|
|
486
|
+
/**
|
|
487
|
+
* Get Max Withdraw Margin
|
|
488
|
+
* This endpoint can query the maximum amount of margin that the current position supports withdrawal.
|
|
489
|
+
*/
|
|
490
|
+
getCopyTradeMaxWithdrawMargin(params) {
|
|
491
|
+
return this.getPrivate('api/v1/copy-trade/futures/position/margin/max-withdraw-margin', params);
|
|
492
|
+
}
|
|
493
|
+
/**
|
|
494
|
+
* Add Isolated Margin
|
|
495
|
+
* Add Isolated Margin Manually.
|
|
496
|
+
*/
|
|
497
|
+
addCopyTradeIsolatedMargin(params) {
|
|
498
|
+
return this.postPrivate('api/v1/copy-trade/futures/position/margin/deposit-margin', params);
|
|
499
|
+
}
|
|
500
|
+
/**
|
|
501
|
+
* Remove Isolated Margin
|
|
502
|
+
* Remove Isolated Margin Manually.
|
|
503
|
+
*/
|
|
504
|
+
removeCopyTradeIsolatedMargin(params) {
|
|
505
|
+
return this.postPrivate('api/v1/copy-trade/futures/position/margin/withdraw-margin', params);
|
|
506
|
+
}
|
|
507
|
+
/**
|
|
508
|
+
* Modify Isolated Margin Risk Limit
|
|
509
|
+
* This endpoint is for the adjustment of the risk limit level(Only valid for isolated Margin).
|
|
510
|
+
* To adjust the level will cancel the open order, the response can only indicate whether the submit of the adjustment request is successful or not.
|
|
511
|
+
*/
|
|
512
|
+
modifyCopyTradeRiskLimitLevel(params) {
|
|
513
|
+
return this.postPrivate('api/v1/copy-trade/futures/position/risk-limit-level/change', params);
|
|
514
|
+
}
|
|
515
|
+
/**
|
|
516
|
+
* Modify Isolated Margin Auto-Deposit Status
|
|
517
|
+
* This endpoint is only applicable to isolated margin and is no longer recommended. It is recommended to use cross margin instead.
|
|
518
|
+
* @deprecated - It is recommended to use cross margin instead
|
|
519
|
+
*/
|
|
520
|
+
updateCopyTradeAutoDepositStatus(params) {
|
|
521
|
+
return this.postPrivate('api/v1/copy-trade/futures/position/margin/auto-deposit-status', params);
|
|
522
|
+
}
|
|
523
|
+
/**
|
|
524
|
+
*
|
|
525
|
+
* REST - Futures - Broker
|
|
526
|
+
*
|
|
527
|
+
*/
|
|
435
528
|
/**
|
|
436
529
|
* Get download link for broker rebate orders
|
|
437
530
|
*
|
|
@@ -478,7 +571,6 @@ class FuturesClient extends BaseRestClient_js_1.BaseRestClient {
|
|
|
478
571
|
* @deprecated - please use updateMarginMode() instead
|
|
479
572
|
*/
|
|
480
573
|
updateAutoDepositStatus(params) {
|
|
481
|
-
console.warn('WARNING: This method is deprecated. It is recommended to use cross margin mode instead.');
|
|
482
574
|
return this.postPrivate('api/v1/position/margin/auto-deposit-status', params);
|
|
483
575
|
}
|
|
484
576
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FuturesClient.js","sourceRoot":"","sources":["../../src/FuturesClient.ts"],"names":[],"mappings":";;;AACA,mCAAgC;AAEhC,+DAAyD;AACzD,2DAI+B;
|
|
1
|
+
{"version":3,"file":"FuturesClient.js","sourceRoot":"","sources":["../../src/FuturesClient.ts"],"names":[],"mappings":";;;AACA,mCAAgC;AAEhC,+DAAyD;AACzD,2DAI+B;AAsD/B;;GAEG;AACH,MAAa,aAAc,SAAQ,kCAAc;IAC/C,YACE,oBAAuC,EAAE,EACzC,iBAAqC,EAAE;QAEvC,KAAK,CAAC,iBAAiB,EAAE,cAAc,CAAC,CAAC;QACzC,OAAO,IAAI,CAAC;IACd,CAAC;IAED,aAAa;QACX,OAAO,uCAAqB,CAAC,OAAO,CAAC;IACvC,CAAC;IAED;;;;OAIG;IAEH,kBAAkB;QAChB,OAAO,IAAA,eAAM,EAAC,EAAE,CAAC,CAAC;IACpB,CAAC;IAED;;;;OAIG;IAEH;;;OAGG;IACH,UAAU,CAAC,MAEV;QACC,OAAO,IAAI,CAAC,UAAU,CAAC,yBAAyB,EAAE,MAAM,CAAC,CAAC;IAC5D,CAAC;IAED;;;OAGG;IACH,eAAe,CAAC,MAA8B;QAM5C,OAAO,IAAI,CAAC,UAAU,CAAC,4BAA4B,EAAE,MAAM,CAAC,CAAC;IAC/D,CAAC;IAED;;;;OAIG;IAEH;;;OAGG;IACH,cAAc,CAAC,MAA8B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