kucoin-api 2.0.0 → 2.0.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/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/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/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/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/package.json +1 -1
|
@@ -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
|
*
|
|
@@ -34,7 +34,7 @@ export class FuturesClient extends BaseRestClient {
|
|
|
34
34
|
}
|
|
35
35
|
/**
|
|
36
36
|
* Get Account Ledgers - Futures
|
|
37
|
-
* This
|
|
37
|
+
* This endpoint can query the ledger records of the futures business line
|
|
38
38
|
*/
|
|
39
39
|
getTransactions(params) {
|
|
40
40
|
return this.getPrivate('api/v1/transaction-history', params);
|
|
@@ -58,7 +58,7 @@ export class FuturesClient extends BaseRestClient {
|
|
|
58
58
|
*/
|
|
59
59
|
/**
|
|
60
60
|
* Get Actual Fee - Futures
|
|
61
|
-
* This
|
|
61
|
+
* 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.
|
|
62
62
|
*/
|
|
63
63
|
getTradingPairFee(params) {
|
|
64
64
|
return this.getPrivate('api/v1/trade-fees', params);
|
|
@@ -210,7 +210,7 @@ export class FuturesClient extends BaseRestClient {
|
|
|
210
210
|
}
|
|
211
211
|
/**
|
|
212
212
|
* Add Take Profit And Stop Loss Order
|
|
213
|
-
* 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
|
|
213
|
+
* 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.
|
|
214
214
|
*/
|
|
215
215
|
submitSLTPOrder(params) {
|
|
216
216
|
return this.postPrivate('api/v1/st-orders', params);
|
|
@@ -227,7 +227,10 @@ export class FuturesClient extends BaseRestClient {
|
|
|
227
227
|
* Cancel an order (including a stop order) by client order id.
|
|
228
228
|
*/
|
|
229
229
|
cancelOrderByClientOid(params) {
|
|
230
|
-
|
|
230
|
+
const { clientOid, symbol } = params;
|
|
231
|
+
return this.deletePrivate(`api/v1/orders/client-order/${clientOid}`, {
|
|
232
|
+
symbol,
|
|
233
|
+
});
|
|
231
234
|
}
|
|
232
235
|
/**
|
|
233
236
|
* Batch Cancel Orders
|
|
@@ -280,7 +283,7 @@ export class FuturesClient extends BaseRestClient {
|
|
|
280
283
|
}
|
|
281
284
|
/**
|
|
282
285
|
* Get Stop Order List
|
|
283
|
-
* Get the un-triggered stop orders list. Stop orders that have been triggered can be queried through the general order
|
|
286
|
+
* Get the un-triggered stop orders list. Stop orders that have been triggered can be queried through the general order endpoint
|
|
284
287
|
*/
|
|
285
288
|
getStopOrders(params) {
|
|
286
289
|
return this.getPrivate('api/v1/stopOrders', params);
|
|
@@ -314,7 +317,7 @@ export class FuturesClient extends BaseRestClient {
|
|
|
314
317
|
*/
|
|
315
318
|
/**
|
|
316
319
|
* Get Margin Mode
|
|
317
|
-
* This
|
|
320
|
+
* This endpoint can query the margin mode of the current symbol.
|
|
318
321
|
*/
|
|
319
322
|
getMarginMode(params) {
|
|
320
323
|
return this.getPrivate('api/v2/position/getMarginMode', params);
|
|
@@ -349,28 +352,28 @@ export class FuturesClient extends BaseRestClient {
|
|
|
349
352
|
}
|
|
350
353
|
/**
|
|
351
354
|
* Get Positions History
|
|
352
|
-
* This
|
|
355
|
+
* This endpoint can query position history information records.
|
|
353
356
|
*/
|
|
354
357
|
getHistoryPositions(params) {
|
|
355
358
|
return this.getPrivate('api/v1/history-positions', params);
|
|
356
359
|
}
|
|
357
360
|
/**
|
|
358
361
|
* Get Max Withdraw Margin
|
|
359
|
-
* This
|
|
362
|
+
* This endpoint can query the maximum amount of margin that the current position supports withdrawal.
|
|
360
363
|
*/
|
|
361
364
|
getMaxWithdrawMargin(params) {
|
|
362
365
|
return this.getPrivate('api/v1/margin/maxWithdrawMargin', params);
|
|
363
366
|
}
|
|
364
367
|
/**
|
|
365
368
|
* Get Cross Margin Leverage
|
|
366
|
-
* This
|
|
369
|
+
* This endpoint can query the current symbol’s cross-margin leverage multiple.
|
|
367
370
|
*/
|
|
368
371
|
getCrossMarginLeverage(params) {
|
|
369
372
|
return this.getPrivate('api/v2/getCrossUserLeverage', params);
|
|
370
373
|
}
|
|
371
374
|
/**
|
|
372
375
|
* Modify Cross Margin Leverage
|
|
373
|
-
* This
|
|
376
|
+
* This endpoint can modify the current symbol’s cross-margin leverage multiple.
|
|
374
377
|
*/
|
|
375
378
|
changeCrossMarginLeverage(params) {
|
|
376
379
|
return this.postPrivate('api/v2/changeCrossUserLeverage', params);
|
|
@@ -391,14 +394,14 @@ export class FuturesClient extends BaseRestClient {
|
|
|
391
394
|
}
|
|
392
395
|
/**
|
|
393
396
|
* Get Isolated Margin Risk Limit
|
|
394
|
-
* This
|
|
397
|
+
* This endpoint can be used to obtain information about risk limit level of a specific contract(Only valid for isolated Margin).
|
|
395
398
|
*/
|
|
396
399
|
getRiskLimitLevel(params) {
|
|
397
400
|
return this.getPrivate(`api/v1/contracts/risk-limit/${params.symbol}`);
|
|
398
401
|
}
|
|
399
402
|
/**
|
|
400
403
|
* Modify Isolated Margin Risk Limit
|
|
401
|
-
* This
|
|
404
|
+
* This endpoint is for the adjustment of the risk limit level(Only valid for isolated Margin).
|
|
402
405
|
*/
|
|
403
406
|
updateRiskLimitLevel(params) {
|
|
404
407
|
return this.postPrivate('api/v1/position/risk-limit-level/change', params);
|
|
@@ -410,17 +413,17 @@ export class FuturesClient extends BaseRestClient {
|
|
|
410
413
|
*/
|
|
411
414
|
/**
|
|
412
415
|
* Get Current Funding Rate
|
|
413
|
-
* This
|
|
416
|
+
* This endpoint can be used to obtain the current funding rate of the specified symbol.
|
|
414
417
|
*/
|
|
415
418
|
getFundingRate(params) {
|
|
416
|
-
return this.
|
|
419
|
+
return this.getPrivate(`api/v1/funding-rate/${params.symbol}/current`);
|
|
417
420
|
}
|
|
418
421
|
/**
|
|
419
422
|
* Get Public Funding History
|
|
420
423
|
* Query the funding rate at each settlement time point within a certain time range of the corresponding contract
|
|
421
424
|
*/
|
|
422
425
|
getFundingRates(params) {
|
|
423
|
-
return this.
|
|
426
|
+
return this.getPrivate('api/v1/contract/funding-rates', params);
|
|
424
427
|
}
|
|
425
428
|
/**
|
|
426
429
|
* Get Private Funding History
|
|
@@ -429,6 +432,96 @@ export class FuturesClient extends BaseRestClient {
|
|
|
429
432
|
getFundingHistory(params) {
|
|
430
433
|
return this.getPrivate('api/v1/funding-history', params);
|
|
431
434
|
}
|
|
435
|
+
/**
|
|
436
|
+
*
|
|
437
|
+
* REST - Futures Trading - CopyTrading
|
|
438
|
+
*
|
|
439
|
+
*/
|
|
440
|
+
/**
|
|
441
|
+
* Add Order
|
|
442
|
+
* Place order to the futures trading system for copy trading
|
|
443
|
+
*/
|
|
444
|
+
submitCopyTradeOrder(params) {
|
|
445
|
+
return this.postPrivate('api/v1/copy-trade/futures/orders', params);
|
|
446
|
+
}
|
|
447
|
+
/**
|
|
448
|
+
* Add Order Test
|
|
449
|
+
* Order test endpoint, the request parameters and return parameters of this endpoint are exactly the same as the order endpoint,
|
|
450
|
+
* and can be used to verify whether the signature is correct and other operations.
|
|
451
|
+
*/
|
|
452
|
+
submitCopyTradeOrderTest(params) {
|
|
453
|
+
return this.postPrivate('api/v1/copy-trade/futures/orders/test', params);
|
|
454
|
+
}
|
|
455
|
+
/**
|
|
456
|
+
* Add Take Profit And Stop Loss Order
|
|
457
|
+
* 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.
|
|
458
|
+
*/
|
|
459
|
+
submitCopyTradeSLTPOrder(params) {
|
|
460
|
+
return this.postPrivate('api/v1/copy-trade/futures/st-orders', params);
|
|
461
|
+
}
|
|
462
|
+
/**
|
|
463
|
+
* Cancel Order By OrderId
|
|
464
|
+
* Cancel an order (including a stop order) in copy trading.
|
|
465
|
+
*/
|
|
466
|
+
cancelCopyTradeOrderById(params) {
|
|
467
|
+
return this.deletePrivate('api/v1/copy-trade/futures/orders', params);
|
|
468
|
+
}
|
|
469
|
+
/**
|
|
470
|
+
* Cancel Order By Client Order Id
|
|
471
|
+
* Cancel an order (including a stop order) in copy trading by client order id.
|
|
472
|
+
*/
|
|
473
|
+
cancelCopyTradeOrderByClientOid(params) {
|
|
474
|
+
return this.deletePrivate(`api/v1/copy-trade/futures/orders/client-order`, params);
|
|
475
|
+
}
|
|
476
|
+
/**
|
|
477
|
+
* Get Max Open Size
|
|
478
|
+
* Get Maximum Open Position Size.
|
|
479
|
+
*/
|
|
480
|
+
getCopyTradeMaxOpenSize(params) {
|
|
481
|
+
return this.getPrivate('api/v1/copy-trade/futures/get-max-open-size', params);
|
|
482
|
+
}
|
|
483
|
+
/**
|
|
484
|
+
* Get Max Withdraw Margin
|
|
485
|
+
* This endpoint can query the maximum amount of margin that the current position supports withdrawal.
|
|
486
|
+
*/
|
|
487
|
+
getCopyTradeMaxWithdrawMargin(params) {
|
|
488
|
+
return this.getPrivate('api/v1/copy-trade/futures/position/margin/max-withdraw-margin', params);
|
|
489
|
+
}
|
|
490
|
+
/**
|
|
491
|
+
* Add Isolated Margin
|
|
492
|
+
* Add Isolated Margin Manually.
|
|
493
|
+
*/
|
|
494
|
+
addCopyTradeIsolatedMargin(params) {
|
|
495
|
+
return this.postPrivate('api/v1/copy-trade/futures/position/margin/deposit-margin', params);
|
|
496
|
+
}
|
|
497
|
+
/**
|
|
498
|
+
* Remove Isolated Margin
|
|
499
|
+
* Remove Isolated Margin Manually.
|
|
500
|
+
*/
|
|
501
|
+
removeCopyTradeIsolatedMargin(params) {
|
|
502
|
+
return this.postPrivate('api/v1/copy-trade/futures/position/margin/withdraw-margin', params);
|
|
503
|
+
}
|
|
504
|
+
/**
|
|
505
|
+
* Modify Isolated Margin Risk Limit
|
|
506
|
+
* This endpoint is for the adjustment of the risk limit level(Only valid for isolated Margin).
|
|
507
|
+
* 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.
|
|
508
|
+
*/
|
|
509
|
+
modifyCopyTradeRiskLimitLevel(params) {
|
|
510
|
+
return this.postPrivate('api/v1/copy-trade/futures/position/risk-limit-level/change', params);
|
|
511
|
+
}
|
|
512
|
+
/**
|
|
513
|
+
* Modify Isolated Margin Auto-Deposit Status
|
|
514
|
+
* This endpoint is only applicable to isolated margin and is no longer recommended. It is recommended to use cross margin instead.
|
|
515
|
+
* @deprecated - It is recommended to use cross margin instead
|
|
516
|
+
*/
|
|
517
|
+
updateCopyTradeAutoDepositStatus(params) {
|
|
518
|
+
return this.postPrivate('api/v1/copy-trade/futures/position/margin/auto-deposit-status', params);
|
|
519
|
+
}
|
|
520
|
+
/**
|
|
521
|
+
*
|
|
522
|
+
* REST - Futures - Broker
|
|
523
|
+
*
|
|
524
|
+
*/
|
|
432
525
|
/**
|
|
433
526
|
* Get download link for broker rebate orders
|
|
434
527
|
*
|
|
@@ -475,7 +568,6 @@ export class FuturesClient extends BaseRestClient {
|
|
|
475
568
|
* @deprecated - please use updateMarginMode() instead
|
|
476
569
|
*/
|
|
477
570
|
updateAutoDepositStatus(params) {
|
|
478
|
-
console.warn('WARNING: This method is deprecated. It is recommended to use cross margin mode instead.');
|
|
479
571
|
return this.postPrivate('api/v1/position/margin/auto-deposit-status', params);
|
|
480
572
|
}
|
|
481
573
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FuturesClient.js","sourceRoot":"","sources":["../../src/FuturesClient.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAEhC,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AACzD,OAAO,EACL,qBAAqB,GAGtB,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"FuturesClient.js","sourceRoot":"","sources":["../../src/FuturesClient.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAEhC,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAA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