ccxt 4.5.44 → 4.5.45
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 +9 -12
- package/dist/ccxt.browser.min.js +3 -3
- package/dist/cjs/ccxt.js +1 -12
- package/dist/cjs/src/abstract/kucoinfutures.js +1 -1
- package/dist/cjs/src/base/Exchange.js +36 -3
- package/dist/cjs/src/base/functions/encode.js +2 -2
- package/dist/cjs/src/base/functions/generic.js +8 -2
- package/dist/cjs/src/bitrue.js +1 -1
- package/dist/cjs/src/bitteam.js +1 -1
- package/dist/cjs/src/btcbox.js +1 -1
- package/dist/cjs/src/cex.js +1 -0
- package/dist/cjs/src/gate.js +227 -168
- package/dist/cjs/src/grvt.js +3 -2
- package/dist/cjs/src/hyperliquid.js +16 -5
- package/dist/cjs/src/kraken.js +2 -2
- package/dist/cjs/src/krakenfutures.js +1 -5
- package/dist/cjs/src/kucoin.js +4729 -970
- package/dist/cjs/src/kucoinfutures.js +14 -3434
- package/dist/cjs/src/lbank.js +1 -1
- package/dist/cjs/src/poloniex.js +1 -1
- package/dist/cjs/src/pro/gate.js +37 -1
- package/dist/cjs/src/pro/kucoin.js +819 -178
- package/dist/cjs/src/pro/kucoinfutures.js +95 -1261
- package/dist/cjs/src/pro/mexc.js +10 -5
- package/dist/cjs/src/pro/okx.js +84 -39
- package/js/ccxt.d.ts +2 -14
- package/js/ccxt.js +2 -10
- package/js/src/abstract/kucoin.d.ts +46 -3
- package/js/src/abstract/kucoinfutures.d.ts +27 -12
- package/js/src/base/Exchange.d.ts +12 -1
- package/js/src/base/Exchange.js +36 -3
- package/js/src/base/functions/encode.js +2 -2
- package/js/src/base/functions/generic.js +9 -3
- package/js/src/bitrue.js +1 -1
- package/js/src/bitteam.js +1 -1
- package/js/src/btcbox.js +1 -1
- package/js/src/cex.js +2 -1
- package/js/src/gate.d.ts +125 -119
- package/js/src/gate.js +227 -168
- package/js/src/grvt.js +3 -2
- package/js/src/hyperliquid.d.ts +3 -1
- package/js/src/hyperliquid.js +16 -5
- package/js/src/kraken.js +2 -2
- package/js/src/krakenfutures.js +1 -5
- package/js/src/kucoin.d.ts +696 -100
- package/js/src/kucoin.js +4730 -971
- package/js/src/kucoinfutures.d.ts +4 -522
- package/js/src/kucoinfutures.js +14 -3434
- package/js/src/lbank.js +1 -1
- package/js/src/poloniex.js +1 -1
- package/js/src/pro/gate.d.ts +30 -1
- package/js/src/pro/gate.js +37 -1
- package/js/src/pro/kucoin.d.ts +70 -30
- package/js/src/pro/kucoin.js +821 -180
- package/js/src/pro/kucoinfutures.d.ts +17 -195
- package/js/src/pro/kucoinfutures.js +96 -1262
- package/js/src/pro/mexc.js +10 -5
- package/js/src/pro/okx.d.ts +1 -0
- package/js/src/pro/okx.js +84 -39
- package/package.json +1 -1
- package/dist/cjs/src/abstract/alp.js +0 -11
- package/dist/cjs/src/abstract/defx.js +0 -11
- package/dist/cjs/src/abstract/timex.js +0 -11
- package/dist/cjs/src/alp.js +0 -1059
- package/dist/cjs/src/defx.js +0 -2142
- package/dist/cjs/src/pro/defx.js +0 -866
- package/dist/cjs/src/timex.js +0 -1793
- package/js/src/abstract/alp.d.ts +0 -21
- package/js/src/abstract/alp.js +0 -5
- package/js/src/abstract/defx.d.ts +0 -72
- package/js/src/abstract/defx.js +0 -5
- package/js/src/abstract/timex.d.ts +0 -65
- package/js/src/abstract/timex.js +0 -5
- package/js/src/alp.d.ts +0 -209
- package/js/src/alp.js +0 -1052
- package/js/src/defx.d.ts +0 -348
- package/js/src/defx.js +0 -2135
- package/js/src/pro/defx.d.ts +0 -236
- package/js/src/pro/defx.js +0 -859
- package/js/src/timex.d.ts +0 -247
- package/js/src/timex.js +0 -1786
package/dist/cjs/src/pro/mexc.js
CHANGED
|
@@ -1428,7 +1428,7 @@ class mexc extends mexc$1["default"] {
|
|
|
1428
1428
|
//
|
|
1429
1429
|
const timestamp = this.safeInteger(order, 'createTime');
|
|
1430
1430
|
const side = this.safeString(order, 'tradeType');
|
|
1431
|
-
const status = this.
|
|
1431
|
+
const status = this.safeString2(order, 'status', 'state');
|
|
1432
1432
|
const type = this.safeString(order, 'orderType');
|
|
1433
1433
|
let fee = undefined;
|
|
1434
1434
|
const feeCurrency = this.safeString(order, 'N');
|
|
@@ -1450,8 +1450,8 @@ class mexc extends mexc$1["default"] {
|
|
|
1450
1450
|
'timeInForce': this.parseWsTimeInForce(type),
|
|
1451
1451
|
'side': (side === '1') ? 'buy' : 'sell',
|
|
1452
1452
|
'price': this.safeString(order, 'price'),
|
|
1453
|
-
'stopPrice':
|
|
1454
|
-
'triggerPrice':
|
|
1453
|
+
'stopPrice': this.safeString2(order, 'triggerPrice', 'P'),
|
|
1454
|
+
'triggerPrice': this.safeString2(order, 'triggerPrice', 'P'),
|
|
1455
1455
|
'average': this.safeString(order, 'avgPrice'),
|
|
1456
1456
|
'amount': this.safeString(order, 'quantity'),
|
|
1457
1457
|
'cost': this.safeString(order, 'amount'),
|
|
@@ -1464,6 +1464,7 @@ class mexc extends mexc$1["default"] {
|
|
|
1464
1464
|
}
|
|
1465
1465
|
parseWsOrderStatus(status, market = undefined) {
|
|
1466
1466
|
const statuses = {
|
|
1467
|
+
'0': 'open',
|
|
1467
1468
|
'1': 'open',
|
|
1468
1469
|
'2': 'closed',
|
|
1469
1470
|
'3': 'open',
|
|
@@ -1483,7 +1484,9 @@ class mexc extends mexc$1["default"] {
|
|
|
1483
1484
|
'3': undefined,
|
|
1484
1485
|
'4': undefined,
|
|
1485
1486
|
'5': 'market',
|
|
1486
|
-
'100': 'limit',
|
|
1487
|
+
'100': 'limit',
|
|
1488
|
+
'101': 'limit',
|
|
1489
|
+
'102': 'limit', // OCO_LIMIT
|
|
1487
1490
|
};
|
|
1488
1491
|
return this.safeString(types, type);
|
|
1489
1492
|
}
|
|
@@ -1494,7 +1497,9 @@ class mexc extends mexc$1["default"] {
|
|
|
1494
1497
|
'3': 'IOC',
|
|
1495
1498
|
'4': 'FOK',
|
|
1496
1499
|
'5': 'GTC',
|
|
1497
|
-
'100': 'GTC',
|
|
1500
|
+
'100': 'GTC',
|
|
1501
|
+
'101': 'GTC',
|
|
1502
|
+
'102': 'GTC', // OCO_LIMIT
|
|
1498
1503
|
};
|
|
1499
1504
|
return this.safeString(timeInForceIds, timeInForce);
|
|
1500
1505
|
}
|
package/dist/cjs/src/pro/okx.js
CHANGED
|
@@ -1534,6 +1534,7 @@ class okx extends okx$1["default"] {
|
|
|
1534
1534
|
/**
|
|
1535
1535
|
* @method
|
|
1536
1536
|
* @name okx#watchBalance
|
|
1537
|
+
* @see https://www.okx.com/docs-v5/en/#trading-account-websocket-account-channel
|
|
1537
1538
|
* @description watch balance and get the amount of funds available for trading or funds locked in orders
|
|
1538
1539
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1539
1540
|
* @returns {object} a [balance structure]{@link https://docs.ccxt.com/?id=balance-structure}
|
|
@@ -1549,55 +1550,99 @@ class okx extends okx$1["default"] {
|
|
|
1549
1550
|
handleBalance(client, message) {
|
|
1550
1551
|
//
|
|
1551
1552
|
// {
|
|
1552
|
-
//
|
|
1553
|
-
//
|
|
1553
|
+
// arg: {
|
|
1554
|
+
// channel: 'account',
|
|
1555
|
+
// uid: '158635852459810816'
|
|
1556
|
+
// },
|
|
1557
|
+
// eventType: 'snapshot',
|
|
1558
|
+
// curPage: 1,
|
|
1559
|
+
// lastPage: true,
|
|
1560
|
+
// data: [
|
|
1554
1561
|
// {
|
|
1555
|
-
//
|
|
1556
|
-
//
|
|
1562
|
+
// adjEq: '100942.13298468884',
|
|
1563
|
+
// availEq: '98461.99074635761',
|
|
1564
|
+
// borrowFroz: '409.3702076072169',
|
|
1565
|
+
// delta: '',
|
|
1566
|
+
// deltaLever: '',
|
|
1567
|
+
// deltaNeutralStatus: '',
|
|
1568
|
+
// details: [
|
|
1557
1569
|
// {
|
|
1558
|
-
//
|
|
1559
|
-
//
|
|
1560
|
-
//
|
|
1561
|
-
//
|
|
1562
|
-
//
|
|
1563
|
-
//
|
|
1564
|
-
//
|
|
1565
|
-
//
|
|
1566
|
-
//
|
|
1567
|
-
//
|
|
1568
|
-
//
|
|
1569
|
-
//
|
|
1570
|
-
//
|
|
1571
|
-
//
|
|
1572
|
-
//
|
|
1573
|
-
//
|
|
1574
|
-
//
|
|
1575
|
-
//
|
|
1576
|
-
//
|
|
1577
|
-
//
|
|
1578
|
-
//
|
|
1579
|
-
//
|
|
1570
|
+
// accAvgPx: '',
|
|
1571
|
+
// autoLendAmt: '0',
|
|
1572
|
+
// autoLendMtAmt: '0',
|
|
1573
|
+
// autoLendStatus: 'unsupported',
|
|
1574
|
+
// autoStakingStatus: 'unsupported',
|
|
1575
|
+
// availBal: '2900',
|
|
1576
|
+
// availEq: '2900',
|
|
1577
|
+
// borrowFroz: '0',
|
|
1578
|
+
// cashBal: '2900',
|
|
1579
|
+
// ccy: 'TUSD',
|
|
1580
|
+
// clSpotInUseAmt: '',
|
|
1581
|
+
// coinUsdPrice: '200.026',
|
|
1582
|
+
// colBorrAutoConversion: '0',
|
|
1583
|
+
// colRes: '0',
|
|
1584
|
+
// collateralEnabled: false,
|
|
1585
|
+
// collateralRestrict: false,
|
|
1586
|
+
// crossLiab: '0',
|
|
1587
|
+
// disEq: '0',
|
|
1588
|
+
// eq: '2900',
|
|
1589
|
+
// eqUsd: '580075.4',
|
|
1590
|
+
// fixedBal: '0',
|
|
1591
|
+
// frozenBal: '0',
|
|
1592
|
+
// frpType: '0',
|
|
1593
|
+
// imr: '',
|
|
1594
|
+
// interest: '0',
|
|
1595
|
+
// isoEq: '0',
|
|
1596
|
+
// isoLiab: '0',
|
|
1597
|
+
// isoUpl: '0',
|
|
1598
|
+
// liab: '0',
|
|
1599
|
+
// maxLoan: '0',
|
|
1600
|
+
// maxSpotInUseAmt: '',
|
|
1601
|
+
// mgnRatio: '',
|
|
1602
|
+
// mmr: '',
|
|
1603
|
+
// notionalLever: '',
|
|
1604
|
+
// openAvgPx: '',
|
|
1605
|
+
// ordFrozen: '0',
|
|
1606
|
+
// rewardBal: '',
|
|
1607
|
+
// smtSyncEq: '0',
|
|
1608
|
+
// spotBal: '',
|
|
1609
|
+
// spotCopyTradingEq: '0',
|
|
1610
|
+
// spotInUseAmt: '',
|
|
1611
|
+
// spotIsoBal: '0',
|
|
1612
|
+
// spotUpl: '',
|
|
1613
|
+
// spotUplRatio: '',
|
|
1614
|
+
// stgyEq: '0',
|
|
1615
|
+
// totalPnl: '',
|
|
1616
|
+
// totalPnlRatio: '',
|
|
1617
|
+
// twap: '0',
|
|
1618
|
+
// uTime: '1752243427083',
|
|
1619
|
+
// upl: '0',
|
|
1620
|
+
// uplLiab: '0'
|
|
1621
|
+
// }
|
|
1580
1622
|
// ],
|
|
1581
|
-
//
|
|
1582
|
-
//
|
|
1583
|
-
//
|
|
1584
|
-
//
|
|
1585
|
-
//
|
|
1586
|
-
//
|
|
1587
|
-
//
|
|
1588
|
-
//
|
|
1623
|
+
// imr: '2480.1422383312265',
|
|
1624
|
+
// isoEq: '0',
|
|
1625
|
+
// mgnRatio: '1814.5924297007082',
|
|
1626
|
+
// mmr: '52.196024182958055',
|
|
1627
|
+
// notionalUsd: '4634.0971302081125',
|
|
1628
|
+
// notionalUsdForBorrow: '2046.8510380360844',
|
|
1629
|
+
// notionalUsdForFutures: '101.11322817202809',
|
|
1630
|
+
// notionalUsdForOption: '0',
|
|
1631
|
+
// notionalUsdForSwap: '2486.1328640000006',
|
|
1632
|
+
// ordFroz: '1208.3566666666668',
|
|
1633
|
+
// totalEq: '711018.8951315446',
|
|
1634
|
+
// uTime: '1773837554158',
|
|
1635
|
+
// upl: '9.244336372701904'
|
|
1589
1636
|
// }
|
|
1590
1637
|
// ]
|
|
1591
1638
|
// }
|
|
1592
1639
|
//
|
|
1593
1640
|
const arg = this.safeValue(message, 'arg', {});
|
|
1594
1641
|
const channel = this.safeString(arg, 'channel');
|
|
1595
|
-
const type = 'spot';
|
|
1596
1642
|
const balance = this.parseTradingBalance(message);
|
|
1597
|
-
const
|
|
1598
|
-
|
|
1599
|
-
this.balance
|
|
1600
|
-
client.resolve(this.balance[type], channel);
|
|
1643
|
+
const newBalance = this.deepExtend(this.balance, balance);
|
|
1644
|
+
this.balance = this.safeBalance(newBalance);
|
|
1645
|
+
client.resolve(this.balance, channel);
|
|
1601
1646
|
}
|
|
1602
1647
|
orderToTrade(order, market = undefined) {
|
|
1603
1648
|
const info = this.safeValue(order, 'info', {});
|
package/js/ccxt.d.ts
CHANGED
|
@@ -4,9 +4,8 @@ import * as functions from './src/base/functions.js';
|
|
|
4
4
|
import * as errors from './src/base/errors.js';
|
|
5
5
|
import type { Int, int, Str, Strings, Num, Bool, IndexType, OrderSide, OrderType, MarketType, SubType, Dict, NullableDict, List, NullableList, Fee, OHLCV, OHLCVC, implicitReturnType, Market, Currency, Dictionary, MinMax, FeeInterface, TradingFeeInterface, MarketInterface, Trade, Order, OrderBook, Ticker, Transaction, Tickers, CurrencyInterface, Balance, BalanceAccount, Account, PartialBalances, Balances, DepositAddress, WithdrawalResponse, FundingRate, FundingRates, Position, BorrowInterest, LeverageTier, LedgerEntry, DepositWithdrawFeeNetwork, DepositWithdrawFee, TransferEntry, CrossBorrowRate, IsolatedBorrowRate, FundingRateHistory, OpenInterest, Liquidation, OrderRequest, CancellationRequest, FundingHistory, MarketMarginModes, MarginMode, Greeks, Conversion, Option, LastPrice, Leverage, MarginModification, Leverages, LastPrices, Currencies, TradingFees, MarginModes, OptionChain, IsolatedBorrowRates, CrossBorrowRates, LeverageTiers, LongShortRatio, OrderBooks, OpenInterests, ConstructorArgs, ADL } from './src/base/types.js';
|
|
6
6
|
import { BaseError, ExchangeError, AuthenticationError, PermissionDenied, AccountNotEnabled, AccountSuspended, ArgumentsRequired, BadRequest, BadSymbol, OperationRejected, NoChange, MarginModeAlreadySet, MarketClosed, ManualInteractionNeeded, RestrictedLocation, InsufficientFunds, InvalidAddress, AddressPending, InvalidOrder, OrderNotFound, OrderNotCached, OrderImmediatelyFillable, OrderNotFillable, DuplicateOrderId, ContractUnavailable, NotSupported, InvalidProxySettings, ExchangeClosedByUser, OperationFailed, NetworkError, DDoSProtection, RateLimitExceeded, ExchangeNotAvailable, OnMaintenance, InvalidNonce, ChecksumError, RequestTimeout, BadResponse, NullResponse, CancelPending, UnsubscribeError } from './src/base/errors.js';
|
|
7
|
-
declare const version = "4.5.
|
|
7
|
+
declare const version = "4.5.44";
|
|
8
8
|
import aftermath from './src/aftermath.js';
|
|
9
|
-
import alp from './src/alp.js';
|
|
10
9
|
import alpaca from './src/alpaca.js';
|
|
11
10
|
import apex from './src/apex.js';
|
|
12
11
|
import arkham from './src/arkham.js';
|
|
@@ -60,7 +59,6 @@ import coinspot from './src/coinspot.js';
|
|
|
60
59
|
import cryptocom from './src/cryptocom.js';
|
|
61
60
|
import cryptomus from './src/cryptomus.js';
|
|
62
61
|
import deepcoin from './src/deepcoin.js';
|
|
63
|
-
import defx from './src/defx.js';
|
|
64
62
|
import delta from './src/delta.js';
|
|
65
63
|
import deribit from './src/deribit.js';
|
|
66
64
|
import derive from './src/derive.js';
|
|
@@ -105,7 +103,6 @@ import paradex from './src/paradex.js';
|
|
|
105
103
|
import paymium from './src/paymium.js';
|
|
106
104
|
import phemex from './src/phemex.js';
|
|
107
105
|
import poloniex from './src/poloniex.js';
|
|
108
|
-
import timex from './src/timex.js';
|
|
109
106
|
import tokocrypto from './src/tokocrypto.js';
|
|
110
107
|
import toobit from './src/toobit.js';
|
|
111
108
|
import upbit from './src/upbit.js';
|
|
@@ -157,7 +154,6 @@ import coinexPro from './src/pro/coinex.js';
|
|
|
157
154
|
import coinonePro from './src/pro/coinone.js';
|
|
158
155
|
import cryptocomPro from './src/pro/cryptocom.js';
|
|
159
156
|
import deepcoinPro from './src/pro/deepcoin.js';
|
|
160
|
-
import defxPro from './src/pro/defx.js';
|
|
161
157
|
import deribitPro from './src/pro/deribit.js';
|
|
162
158
|
import derivePro from './src/pro/derive.js';
|
|
163
159
|
import dydxPro from './src/pro/dydx.js';
|
|
@@ -200,7 +196,6 @@ import woofiproPro from './src/pro/woofipro.js';
|
|
|
200
196
|
import xtPro from './src/pro/xt.js';
|
|
201
197
|
declare const exchanges: {
|
|
202
198
|
aftermath: typeof aftermath;
|
|
203
|
-
alp: typeof alp;
|
|
204
199
|
alpaca: typeof alpaca;
|
|
205
200
|
apex: typeof apex;
|
|
206
201
|
arkham: typeof arkham;
|
|
@@ -254,7 +249,6 @@ declare const exchanges: {
|
|
|
254
249
|
cryptocom: typeof cryptocom;
|
|
255
250
|
cryptomus: typeof cryptomus;
|
|
256
251
|
deepcoin: typeof deepcoin;
|
|
257
|
-
defx: typeof defx;
|
|
258
252
|
delta: typeof delta;
|
|
259
253
|
deribit: typeof deribit;
|
|
260
254
|
derive: typeof derive;
|
|
@@ -299,7 +293,6 @@ declare const exchanges: {
|
|
|
299
293
|
paymium: typeof paymium;
|
|
300
294
|
phemex: typeof phemex;
|
|
301
295
|
poloniex: typeof poloniex;
|
|
302
|
-
timex: typeof timex;
|
|
303
296
|
tokocrypto: typeof tokocrypto;
|
|
304
297
|
toobit: typeof toobit;
|
|
305
298
|
upbit: typeof upbit;
|
|
@@ -353,7 +346,6 @@ declare const pro: {
|
|
|
353
346
|
coinone: typeof coinonePro;
|
|
354
347
|
cryptocom: typeof cryptocomPro;
|
|
355
348
|
deepcoin: typeof deepcoinPro;
|
|
356
|
-
defx: typeof defxPro;
|
|
357
349
|
deribit: typeof deribitPro;
|
|
358
350
|
derive: typeof derivePro;
|
|
359
351
|
dydx: typeof dydxPro;
|
|
@@ -440,7 +432,6 @@ declare const ccxt: {
|
|
|
440
432
|
coinone: typeof coinonePro;
|
|
441
433
|
cryptocom: typeof cryptocomPro;
|
|
442
434
|
deepcoin: typeof deepcoinPro;
|
|
443
|
-
defx: typeof defxPro;
|
|
444
435
|
deribit: typeof deribitPro;
|
|
445
436
|
derive: typeof derivePro;
|
|
446
437
|
dydx: typeof dydxPro;
|
|
@@ -484,7 +475,6 @@ declare const ccxt: {
|
|
|
484
475
|
};
|
|
485
476
|
} & {
|
|
486
477
|
aftermath: typeof aftermath;
|
|
487
|
-
alp: typeof alp;
|
|
488
478
|
alpaca: typeof alpaca;
|
|
489
479
|
apex: typeof apex;
|
|
490
480
|
arkham: typeof arkham;
|
|
@@ -538,7 +528,6 @@ declare const ccxt: {
|
|
|
538
528
|
cryptocom: typeof cryptocom;
|
|
539
529
|
cryptomus: typeof cryptomus;
|
|
540
530
|
deepcoin: typeof deepcoin;
|
|
541
|
-
defx: typeof defx;
|
|
542
531
|
delta: typeof delta;
|
|
543
532
|
deribit: typeof deribit;
|
|
544
533
|
derive: typeof derive;
|
|
@@ -583,7 +572,6 @@ declare const ccxt: {
|
|
|
583
572
|
paymium: typeof paymium;
|
|
584
573
|
phemex: typeof phemex;
|
|
585
574
|
poloniex: typeof poloniex;
|
|
586
|
-
timex: typeof timex;
|
|
587
575
|
tokocrypto: typeof tokocrypto;
|
|
588
576
|
toobit: typeof toobit;
|
|
589
577
|
upbit: typeof upbit;
|
|
@@ -597,5 +585,5 @@ declare const ccxt: {
|
|
|
597
585
|
zebpay: typeof zebpay;
|
|
598
586
|
zonda: typeof zonda;
|
|
599
587
|
} & typeof functions & typeof errors;
|
|
600
|
-
export { version, Exchange, exchanges, pro, Precise, functions, errors, BaseError, ExchangeError, AuthenticationError, PermissionDenied, AccountNotEnabled, AccountSuspended, ArgumentsRequired, BadRequest, BadSymbol, OperationRejected, NoChange, MarginModeAlreadySet, MarketClosed, ManualInteractionNeeded, RestrictedLocation, InsufficientFunds, InvalidAddress, AddressPending, InvalidOrder, OrderNotFound, OrderNotCached, OrderImmediatelyFillable, OrderNotFillable, DuplicateOrderId, ContractUnavailable, NotSupported, InvalidProxySettings, ExchangeClosedByUser, OperationFailed, NetworkError, DDoSProtection, RateLimitExceeded, ExchangeNotAvailable, OnMaintenance, InvalidNonce, ChecksumError, RequestTimeout, BadResponse, NullResponse, CancelPending, UnsubscribeError, Int, int, Str, Strings, Num, Bool, IndexType, OrderSide, OrderType, MarketType, SubType, Dict, NullableDict, List, NullableList, Fee, OHLCV, OHLCVC, implicitReturnType, Market, Currency, ConstructorArgs, Dictionary, MinMax, FeeInterface, TradingFeeInterface, MarketMarginModes, MarketInterface, Trade, Order, OrderBook, OrderBooks, Ticker, Transaction, Tickers, CurrencyInterface, Balance, BalanceAccount, Account, PartialBalances, Balances, DepositAddress, WithdrawalResponse, FundingRate, FundingRates, Position, BorrowInterest, LeverageTier, LedgerEntry, DepositWithdrawFeeNetwork, DepositWithdrawFee, TransferEntry, CrossBorrowRate, IsolatedBorrowRate, FundingRateHistory, OpenInterest, OpenInterests, Liquidation, OrderRequest, CancellationRequest, FundingHistory, MarginMode, Greeks, Conversion, Option, LastPrice, Leverage, LongShortRatio, ADL, MarginModification, Leverages, LastPrices, Currencies, TradingFees, MarginModes, OptionChain, IsolatedBorrowRates, CrossBorrowRates, LeverageTiers, aftermath,
|
|
588
|
+
export { version, Exchange, exchanges, pro, Precise, functions, errors, BaseError, ExchangeError, AuthenticationError, PermissionDenied, AccountNotEnabled, AccountSuspended, ArgumentsRequired, BadRequest, BadSymbol, OperationRejected, NoChange, MarginModeAlreadySet, MarketClosed, ManualInteractionNeeded, RestrictedLocation, InsufficientFunds, InvalidAddress, AddressPending, InvalidOrder, OrderNotFound, OrderNotCached, OrderImmediatelyFillable, OrderNotFillable, DuplicateOrderId, ContractUnavailable, NotSupported, InvalidProxySettings, ExchangeClosedByUser, OperationFailed, NetworkError, DDoSProtection, RateLimitExceeded, ExchangeNotAvailable, OnMaintenance, InvalidNonce, ChecksumError, RequestTimeout, BadResponse, NullResponse, CancelPending, UnsubscribeError, Int, int, Str, Strings, Num, Bool, IndexType, OrderSide, OrderType, MarketType, SubType, Dict, NullableDict, List, NullableList, Fee, OHLCV, OHLCVC, implicitReturnType, Market, Currency, ConstructorArgs, Dictionary, MinMax, FeeInterface, TradingFeeInterface, MarketMarginModes, MarketInterface, Trade, Order, OrderBook, OrderBooks, Ticker, Transaction, Tickers, CurrencyInterface, Balance, BalanceAccount, Account, PartialBalances, Balances, DepositAddress, WithdrawalResponse, FundingRate, FundingRates, Position, BorrowInterest, LeverageTier, LedgerEntry, DepositWithdrawFeeNetwork, DepositWithdrawFee, TransferEntry, CrossBorrowRate, IsolatedBorrowRate, FundingRateHistory, OpenInterest, OpenInterests, Liquidation, OrderRequest, CancellationRequest, FundingHistory, MarginMode, Greeks, Conversion, Option, LastPrice, Leverage, LongShortRatio, ADL, MarginModification, Leverages, LastPrices, Currencies, TradingFees, MarginModes, OptionChain, IsolatedBorrowRates, CrossBorrowRates, LeverageTiers, aftermath, alpaca, apex, arkham, ascendex, aster, backpack, bequant, bigone, binance, binancecoinm, binanceus, binanceusdm, bingx, bit2c, bitbank, bitbns, bitfinex, bitflyer, bitget, bithumb, bitmart, bitmex, bitopro, bitrue, bitso, bitstamp, bitteam, bittrade, bitvavo, blockchaincom, blofin, btcbox, btcmarkets, btcturk, bullish, bybit, bydfi, cex, coinbase, coinbaseadvanced, coinbaseexchange, coinbaseinternational, coincatch, coincheck, coinex, coinmate, coinmetro, coinone, coinsph, coinspot, cryptocom, cryptomus, deepcoin, delta, deribit, derive, digifinex, dydx, exmo, fmfwio, foxbit, gate, gateio, gemini, grvt, hashkey, hibachi, hitbtc, hollaex, htx, huobi, hyperliquid, independentreserve, indodax, kraken, krakenfutures, kucoin, kucoinfutures, latoken, lbank, lighter, luno, mercado, mexc, modetrade, myokx, ndax, novadax, okx, okxus, onetrading, oxfun, p2b, paradex, paymium, phemex, poloniex, tokocrypto, toobit, upbit, wavesexchange, whitebit, woo, woofipro, xt, yobit, zaif, zebpay, zonda, };
|
|
601
589
|
export default ccxt;
|
package/js/ccxt.js
CHANGED
|
@@ -32,11 +32,10 @@ import * as errors from './src/base/errors.js';
|
|
|
32
32
|
import { BaseError, ExchangeError, AuthenticationError, PermissionDenied, AccountNotEnabled, AccountSuspended, ArgumentsRequired, BadRequest, BadSymbol, OperationRejected, NoChange, MarginModeAlreadySet, MarketClosed, ManualInteractionNeeded, RestrictedLocation, InsufficientFunds, InvalidAddress, AddressPending, InvalidOrder, OrderNotFound, OrderNotCached, OrderImmediatelyFillable, OrderNotFillable, DuplicateOrderId, ContractUnavailable, NotSupported, InvalidProxySettings, ExchangeClosedByUser, OperationFailed, NetworkError, DDoSProtection, RateLimitExceeded, ExchangeNotAvailable, OnMaintenance, InvalidNonce, ChecksumError, RequestTimeout, BadResponse, NullResponse, CancelPending, UnsubscribeError } from './src/base/errors.js';
|
|
33
33
|
//-----------------------------------------------------------------------------
|
|
34
34
|
// this is updated by vss.js when building
|
|
35
|
-
const version = '4.5.
|
|
35
|
+
const version = '4.5.44';
|
|
36
36
|
Exchange.ccxtVersion = version;
|
|
37
37
|
//-----------------------------------------------------------------------------
|
|
38
38
|
import aftermath from './src/aftermath.js';
|
|
39
|
-
import alp from './src/alp.js';
|
|
40
39
|
import alpaca from './src/alpaca.js';
|
|
41
40
|
import apex from './src/apex.js';
|
|
42
41
|
import arkham from './src/arkham.js';
|
|
@@ -90,7 +89,6 @@ import coinspot from './src/coinspot.js';
|
|
|
90
89
|
import cryptocom from './src/cryptocom.js';
|
|
91
90
|
import cryptomus from './src/cryptomus.js';
|
|
92
91
|
import deepcoin from './src/deepcoin.js';
|
|
93
|
-
import defx from './src/defx.js';
|
|
94
92
|
import delta from './src/delta.js';
|
|
95
93
|
import deribit from './src/deribit.js';
|
|
96
94
|
import derive from './src/derive.js';
|
|
@@ -135,7 +133,6 @@ import paradex from './src/paradex.js';
|
|
|
135
133
|
import paymium from './src/paymium.js';
|
|
136
134
|
import phemex from './src/phemex.js';
|
|
137
135
|
import poloniex from './src/poloniex.js';
|
|
138
|
-
import timex from './src/timex.js';
|
|
139
136
|
import tokocrypto from './src/tokocrypto.js';
|
|
140
137
|
import toobit from './src/toobit.js';
|
|
141
138
|
import upbit from './src/upbit.js';
|
|
@@ -188,7 +185,6 @@ import coinexPro from './src/pro/coinex.js';
|
|
|
188
185
|
import coinonePro from './src/pro/coinone.js';
|
|
189
186
|
import cryptocomPro from './src/pro/cryptocom.js';
|
|
190
187
|
import deepcoinPro from './src/pro/deepcoin.js';
|
|
191
|
-
import defxPro from './src/pro/defx.js';
|
|
192
188
|
import deribitPro from './src/pro/deribit.js';
|
|
193
189
|
import derivePro from './src/pro/derive.js';
|
|
194
190
|
import dydxPro from './src/pro/dydx.js';
|
|
@@ -231,7 +227,6 @@ import woofiproPro from './src/pro/woofipro.js';
|
|
|
231
227
|
import xtPro from './src/pro/xt.js';
|
|
232
228
|
const exchanges = {
|
|
233
229
|
'aftermath': aftermath,
|
|
234
|
-
'alp': alp,
|
|
235
230
|
'alpaca': alpaca,
|
|
236
231
|
'apex': apex,
|
|
237
232
|
'arkham': arkham,
|
|
@@ -285,7 +280,6 @@ const exchanges = {
|
|
|
285
280
|
'cryptocom': cryptocom,
|
|
286
281
|
'cryptomus': cryptomus,
|
|
287
282
|
'deepcoin': deepcoin,
|
|
288
|
-
'defx': defx,
|
|
289
283
|
'delta': delta,
|
|
290
284
|
'deribit': deribit,
|
|
291
285
|
'derive': derive,
|
|
@@ -330,7 +324,6 @@ const exchanges = {
|
|
|
330
324
|
'paymium': paymium,
|
|
331
325
|
'phemex': phemex,
|
|
332
326
|
'poloniex': poloniex,
|
|
333
|
-
'timex': timex,
|
|
334
327
|
'tokocrypto': tokocrypto,
|
|
335
328
|
'toobit': toobit,
|
|
336
329
|
'upbit': upbit,
|
|
@@ -384,7 +377,6 @@ const pro = {
|
|
|
384
377
|
'coinone': coinonePro,
|
|
385
378
|
'cryptocom': cryptocomPro,
|
|
386
379
|
'deepcoin': deepcoinPro,
|
|
387
|
-
'defx': defxPro,
|
|
388
380
|
'deribit': deribitPro,
|
|
389
381
|
'derive': derivePro,
|
|
390
382
|
'dydx': dydxPro,
|
|
@@ -438,6 +430,6 @@ pro.exchanges = Object.keys(pro);
|
|
|
438
430
|
pro['Exchange'] = Exchange; // now the same for rest and ts
|
|
439
431
|
//-----------------------------------------------------------------------------
|
|
440
432
|
const ccxt = Object.assign({ version, Exchange, Precise, 'exchanges': Object.keys(exchanges), 'pro': pro }, exchanges, functions, errors);
|
|
441
|
-
export { version, Exchange, exchanges, pro, Precise, functions, errors, BaseError, ExchangeError, AuthenticationError, PermissionDenied, AccountNotEnabled, AccountSuspended, ArgumentsRequired, BadRequest, BadSymbol, OperationRejected, NoChange, MarginModeAlreadySet, MarketClosed, ManualInteractionNeeded, RestrictedLocation, InsufficientFunds, InvalidAddress, AddressPending, InvalidOrder, OrderNotFound, OrderNotCached, OrderImmediatelyFillable, OrderNotFillable, DuplicateOrderId, ContractUnavailable, NotSupported, InvalidProxySettings, ExchangeClosedByUser, OperationFailed, NetworkError, DDoSProtection, RateLimitExceeded, ExchangeNotAvailable, OnMaintenance, InvalidNonce, ChecksumError, RequestTimeout, BadResponse, NullResponse, CancelPending, UnsubscribeError, aftermath,
|
|
433
|
+
export { version, Exchange, exchanges, pro, Precise, functions, errors, BaseError, ExchangeError, AuthenticationError, PermissionDenied, AccountNotEnabled, AccountSuspended, ArgumentsRequired, BadRequest, BadSymbol, OperationRejected, NoChange, MarginModeAlreadySet, MarketClosed, ManualInteractionNeeded, RestrictedLocation, InsufficientFunds, InvalidAddress, AddressPending, InvalidOrder, OrderNotFound, OrderNotCached, OrderImmediatelyFillable, OrderNotFillable, DuplicateOrderId, ContractUnavailable, NotSupported, InvalidProxySettings, ExchangeClosedByUser, OperationFailed, NetworkError, DDoSProtection, RateLimitExceeded, ExchangeNotAvailable, OnMaintenance, InvalidNonce, ChecksumError, RequestTimeout, BadResponse, NullResponse, CancelPending, UnsubscribeError, aftermath, alpaca, apex, arkham, ascendex, aster, backpack, bequant, bigone, binance, binancecoinm, binanceus, binanceusdm, bingx, bit2c, bitbank, bitbns, bitfinex, bitflyer, bitget, bithumb, bitmart, bitmex, bitopro, bitrue, bitso, bitstamp, bitteam, bittrade, bitvavo, blockchaincom, blofin, btcbox, btcmarkets, btcturk, bullish, bybit, bydfi, cex, coinbase, coinbaseadvanced, coinbaseexchange, coinbaseinternational, coincatch, coincheck, coinex, coinmate, coinmetro, coinone, coinsph, coinspot, cryptocom, cryptomus, deepcoin, delta, deribit, derive, digifinex, dydx, exmo, fmfwio, foxbit, gate, gateio, gemini, grvt, hashkey, hibachi, hitbtc, hollaex, htx, huobi, hyperliquid, independentreserve, indodax, kraken, krakenfutures, kucoin, kucoinfutures, latoken, lbank, lighter, luno, mercado, mexc, modetrade, myokx, ndax, novadax, okx, okxus, onetrading, oxfun, p2b, paradex, paymium, phemex, poloniex, tokocrypto, toobit, upbit, wavesexchange, whitebit, woo, woofipro, xt, yobit, zaif, zebpay, zonda, };
|
|
442
434
|
export default ccxt;
|
|
443
435
|
//-----------------------------------------------------------------------------
|
|
@@ -25,7 +25,6 @@ interface Exchange {
|
|
|
25
25
|
publicGetConvertCurrencies(params?: {}): Promise<implicitReturnType>;
|
|
26
26
|
publicPostBulletPublic(params?: {}): Promise<implicitReturnType>;
|
|
27
27
|
privateGetUserInfo(params?: {}): Promise<implicitReturnType>;
|
|
28
|
-
privateGetUserApiKey(params?: {}): Promise<implicitReturnType>;
|
|
29
28
|
privateGetAccounts(params?: {}): Promise<implicitReturnType>;
|
|
30
29
|
privateGetAccountsAccountId(params?: {}): Promise<implicitReturnType>;
|
|
31
30
|
privateGetAccountsLedgers(params?: {}): Promise<implicitReturnType>;
|
|
@@ -79,6 +78,13 @@ interface Exchange {
|
|
|
79
78
|
privateGetHfMarginOrdersOrderId(params?: {}): Promise<implicitReturnType>;
|
|
80
79
|
privateGetHfMarginOrdersClientOrderClientOid(params?: {}): Promise<implicitReturnType>;
|
|
81
80
|
privateGetHfMarginFills(params?: {}): Promise<implicitReturnType>;
|
|
81
|
+
privateGetHfMarginStopOrders(params?: {}): Promise<implicitReturnType>;
|
|
82
|
+
privateGetHfMarginStopOrderOrderId(params?: {}): Promise<implicitReturnType>;
|
|
83
|
+
privateGetHfMarginStopOrderClientOid(params?: {}): Promise<implicitReturnType>;
|
|
84
|
+
privateGetHfMarginOcoOrderOrderId(params?: {}): Promise<implicitReturnType>;
|
|
85
|
+
privateGetHfMarginOcoOrderClientOid(params?: {}): Promise<implicitReturnType>;
|
|
86
|
+
privateGetHfMarginOcoOrderDetailOrderId(params?: {}): Promise<implicitReturnType>;
|
|
87
|
+
privateGetHfMarginOcoOrders(params?: {}): Promise<implicitReturnType>;
|
|
82
88
|
privateGetEtfInfo(params?: {}): Promise<implicitReturnType>;
|
|
83
89
|
privateGetMarginCurrencies(params?: {}): Promise<implicitReturnType>;
|
|
84
90
|
privateGetRiskLimitStrategy(params?: {}): Promise<implicitReturnType>;
|
|
@@ -104,7 +110,6 @@ interface Exchange {
|
|
|
104
110
|
privateGetConvertLimitOrderDetail(params?: {}): Promise<implicitReturnType>;
|
|
105
111
|
privateGetConvertLimitOrders(params?: {}): Promise<implicitReturnType>;
|
|
106
112
|
privateGetAffiliateInviterStatistics(params?: {}): Promise<implicitReturnType>;
|
|
107
|
-
privateGetEarnRedeemPreview(params?: {}): Promise<implicitReturnType>;
|
|
108
113
|
privatePostSubUserCreated(params?: {}): Promise<implicitReturnType>;
|
|
109
114
|
privatePostSubApiKey(params?: {}): Promise<implicitReturnType>;
|
|
110
115
|
privatePostSubApiKeyUpdate(params?: {}): Promise<implicitReturnType>;
|
|
@@ -129,8 +134,10 @@ interface Exchange {
|
|
|
129
134
|
privatePostOcoOrder(params?: {}): Promise<implicitReturnType>;
|
|
130
135
|
privatePostHfMarginOrder(params?: {}): Promise<implicitReturnType>;
|
|
131
136
|
privatePostHfMarginOrderTest(params?: {}): Promise<implicitReturnType>;
|
|
137
|
+
privatePostHfMarginStopOrder(params?: {}): Promise<implicitReturnType>;
|
|
132
138
|
privatePostMarginOrder(params?: {}): Promise<implicitReturnType>;
|
|
133
139
|
privatePostMarginOrderTest(params?: {}): Promise<implicitReturnType>;
|
|
140
|
+
privatePostHfMarginOcoOrder(params?: {}): Promise<implicitReturnType>;
|
|
134
141
|
privatePostMarginBorrow(params?: {}): Promise<implicitReturnType>;
|
|
135
142
|
privatePostMarginRepay(params?: {}): Promise<implicitReturnType>;
|
|
136
143
|
privatePostPurchase(params?: {}): Promise<implicitReturnType>;
|
|
@@ -162,10 +169,17 @@ interface Exchange {
|
|
|
162
169
|
privateDeleteHfMarginOrdersOrderId(params?: {}): Promise<implicitReturnType>;
|
|
163
170
|
privateDeleteHfMarginOrdersClientOrderClientOid(params?: {}): Promise<implicitReturnType>;
|
|
164
171
|
privateDeleteHfMarginOrders(params?: {}): Promise<implicitReturnType>;
|
|
172
|
+
privateDeleteHfMarginStopOrderCancelById(params?: {}): Promise<implicitReturnType>;
|
|
173
|
+
privateDeleteHfMarginStopOrderCancelByClientOid(params?: {}): Promise<implicitReturnType>;
|
|
174
|
+
privateDeleteHfMarginStopOrderCancel(params?: {}): Promise<implicitReturnType>;
|
|
175
|
+
privateDeleteHfMarginOcoOrderCancelById(params?: {}): Promise<implicitReturnType>;
|
|
176
|
+
privateDeleteHfMarginOcoOrderCancelByClientOid(params?: {}): Promise<implicitReturnType>;
|
|
177
|
+
privateDeleteHfMarginOcoOrderCancel(params?: {}): Promise<implicitReturnType>;
|
|
165
178
|
privateDeleteConvertLimitOrderCancel(params?: {}): Promise<implicitReturnType>;
|
|
166
179
|
futuresPublicGetContractsActive(params?: {}): Promise<implicitReturnType>;
|
|
167
180
|
futuresPublicGetContractsSymbol(params?: {}): Promise<implicitReturnType>;
|
|
168
181
|
futuresPublicGetTicker(params?: {}): Promise<implicitReturnType>;
|
|
182
|
+
futuresPublicGetAllTickers(params?: {}): Promise<implicitReturnType>;
|
|
169
183
|
futuresPublicGetLevel2Snapshot(params?: {}): Promise<implicitReturnType>;
|
|
170
184
|
futuresPublicGetLevel2Depth20(params?: {}): Promise<implicitReturnType>;
|
|
171
185
|
futuresPublicGetLevel2Depth100(params?: {}): Promise<implicitReturnType>;
|
|
@@ -181,6 +195,9 @@ interface Exchange {
|
|
|
181
195
|
futuresPublicGetTimestamp(params?: {}): Promise<implicitReturnType>;
|
|
182
196
|
futuresPublicGetStatus(params?: {}): Promise<implicitReturnType>;
|
|
183
197
|
futuresPublicGetLevel2MessageQuery(params?: {}): Promise<implicitReturnType>;
|
|
198
|
+
futuresPublicGetContractsRiskLimitSymbol(params?: {}): Promise<implicitReturnType>;
|
|
199
|
+
futuresPublicGetLevel3MessageQuery(params?: {}): Promise<implicitReturnType>;
|
|
200
|
+
futuresPublicGetLevel3Snapshot(params?: {}): Promise<implicitReturnType>;
|
|
184
201
|
futuresPublicPostBulletPublic(params?: {}): Promise<implicitReturnType>;
|
|
185
202
|
futuresPrivateGetTransactionHistory(params?: {}): Promise<implicitReturnType>;
|
|
186
203
|
futuresPrivateGetAccountOverview(params?: {}): Promise<implicitReturnType>;
|
|
@@ -193,6 +210,7 @@ interface Exchange {
|
|
|
193
210
|
futuresPrivateGetOrdersByClientOid(params?: {}): Promise<implicitReturnType>;
|
|
194
211
|
futuresPrivateGetFills(params?: {}): Promise<implicitReturnType>;
|
|
195
212
|
futuresPrivateGetRecentFills(params?: {}): Promise<implicitReturnType>;
|
|
213
|
+
futuresPrivateGetTradeFees(params?: {}): Promise<implicitReturnType>;
|
|
196
214
|
futuresPrivateGetOpenOrderStatistics(params?: {}): Promise<implicitReturnType>;
|
|
197
215
|
futuresPrivateGetPosition(params?: {}): Promise<implicitReturnType>;
|
|
198
216
|
futuresPrivateGetPositions(params?: {}): Promise<implicitReturnType>;
|
|
@@ -201,9 +219,21 @@ interface Exchange {
|
|
|
201
219
|
futuresPrivateGetFundingHistory(params?: {}): Promise<implicitReturnType>;
|
|
202
220
|
futuresPrivateGetCopyTradeFuturesGetMaxOpenSize(params?: {}): Promise<implicitReturnType>;
|
|
203
221
|
futuresPrivateGetCopyTradeFuturesPositionMarginMaxWithdrawMargin(params?: {}): Promise<implicitReturnType>;
|
|
222
|
+
futuresPrivateGetHistoryPositions(params?: {}): Promise<implicitReturnType>;
|
|
223
|
+
futuresPrivateGetPositionGetMarginMode(params?: {}): Promise<implicitReturnType>;
|
|
224
|
+
futuresPrivateGetPositionGetPositionMode(params?: {}): Promise<implicitReturnType>;
|
|
225
|
+
futuresPrivateGetDepositAddress(params?: {}): Promise<implicitReturnType>;
|
|
226
|
+
futuresPrivateGetDepositList(params?: {}): Promise<implicitReturnType>;
|
|
227
|
+
futuresPrivateGetWithdrawalsQuotas(params?: {}): Promise<implicitReturnType>;
|
|
228
|
+
futuresPrivateGetWithdrawalList(params?: {}): Promise<implicitReturnType>;
|
|
229
|
+
futuresPrivateGetSubApiKey(params?: {}): Promise<implicitReturnType>;
|
|
230
|
+
futuresPrivateGetTradeStatistics(params?: {}): Promise<implicitReturnType>;
|
|
231
|
+
futuresPrivateGetGetMaxOpenSize(params?: {}): Promise<implicitReturnType>;
|
|
232
|
+
futuresPrivateGetGetCrossUserLeverage(params?: {}): Promise<implicitReturnType>;
|
|
204
233
|
futuresPrivatePostTransferOut(params?: {}): Promise<implicitReturnType>;
|
|
205
234
|
futuresPrivatePostTransferIn(params?: {}): Promise<implicitReturnType>;
|
|
206
235
|
futuresPrivatePostOrders(params?: {}): Promise<implicitReturnType>;
|
|
236
|
+
futuresPrivatePostStOrders(params?: {}): Promise<implicitReturnType>;
|
|
207
237
|
futuresPrivatePostOrdersTest(params?: {}): Promise<implicitReturnType>;
|
|
208
238
|
futuresPrivatePostOrdersMulti(params?: {}): Promise<implicitReturnType>;
|
|
209
239
|
futuresPrivatePostPositionMarginAutoDepositStatus(params?: {}): Promise<implicitReturnType>;
|
|
@@ -221,6 +251,12 @@ interface Exchange {
|
|
|
221
251
|
futuresPrivatePostCopyTradeFuturesPositionChangeCrossUserLeverage(params?: {}): Promise<implicitReturnType>;
|
|
222
252
|
futuresPrivatePostCopyTradeGetCrossModeMarginRequirement(params?: {}): Promise<implicitReturnType>;
|
|
223
253
|
futuresPrivatePostCopyTradePositionSwitchPositionMode(params?: {}): Promise<implicitReturnType>;
|
|
254
|
+
futuresPrivatePostChangeCrossUserLeverage(params?: {}): Promise<implicitReturnType>;
|
|
255
|
+
futuresPrivatePostWithdrawals(params?: {}): Promise<implicitReturnType>;
|
|
256
|
+
futuresPrivatePostSubApiKey(params?: {}): Promise<implicitReturnType>;
|
|
257
|
+
futuresPrivatePostSubApiKeyUpdate(params?: {}): Promise<implicitReturnType>;
|
|
258
|
+
futuresPrivatePostPositionChangeMarginMode(params?: {}): Promise<implicitReturnType>;
|
|
259
|
+
futuresPrivatePostPositionSwitchPositionMode(params?: {}): Promise<implicitReturnType>;
|
|
224
260
|
futuresPrivatePostBulletPrivate(params?: {}): Promise<implicitReturnType>;
|
|
225
261
|
futuresPrivateDeleteOrdersOrderId(params?: {}): Promise<implicitReturnType>;
|
|
226
262
|
futuresPrivateDeleteOrdersClientOrderClientOid(params?: {}): Promise<implicitReturnType>;
|
|
@@ -228,7 +264,12 @@ interface Exchange {
|
|
|
228
264
|
futuresPrivateDeleteStopOrders(params?: {}): Promise<implicitReturnType>;
|
|
229
265
|
futuresPrivateDeleteCopyTradeFuturesOrders(params?: {}): Promise<implicitReturnType>;
|
|
230
266
|
futuresPrivateDeleteCopyTradeFuturesOrdersClientOrder(params?: {}): Promise<implicitReturnType>;
|
|
267
|
+
futuresPrivateDeleteOrdersMultiCancel(params?: {}): Promise<implicitReturnType>;
|
|
268
|
+
futuresPrivateDeleteWithdrawalsWithdrawalId(params?: {}): Promise<implicitReturnType>;
|
|
269
|
+
futuresPrivateDeleteCancelTransferOut(params?: {}): Promise<implicitReturnType>;
|
|
270
|
+
futuresPrivateDeleteSubApiKey(params?: {}): Promise<implicitReturnType>;
|
|
231
271
|
webExchangeGetCurrencyCurrencyChainInfo(params?: {}): Promise<implicitReturnType>;
|
|
272
|
+
webExchangeGetContractSymbolFundingRates(params?: {}): Promise<implicitReturnType>;
|
|
232
273
|
brokerGetBrokerNdInfo(params?: {}): Promise<implicitReturnType>;
|
|
233
274
|
brokerGetBrokerNdAccount(params?: {}): Promise<implicitReturnType>;
|
|
234
275
|
brokerGetBrokerNdAccountApikey(params?: {}): Promise<implicitReturnType>;
|
|
@@ -259,7 +300,7 @@ interface Exchange {
|
|
|
259
300
|
earnDeleteEarnOrders(params?: {}): Promise<implicitReturnType>;
|
|
260
301
|
utaGetMarketAnnouncement(params?: {}): Promise<implicitReturnType>;
|
|
261
302
|
utaGetMarketCurrency(params?: {}): Promise<implicitReturnType>;
|
|
262
|
-
|
|
303
|
+
utaGetAssetCurrencies(params?: {}): Promise<implicitReturnType>;
|
|
263
304
|
utaGetMarketInstrument(params?: {}): Promise<implicitReturnType>;
|
|
264
305
|
utaGetMarketTicker(params?: {}): Promise<implicitReturnType>;
|
|
265
306
|
utaGetMarketTrade(params?: {}): Promise<implicitReturnType>;
|
|
@@ -278,6 +319,7 @@ interface Exchange {
|
|
|
278
319
|
utaPrivateGetAccountMode(params?: {}): Promise<implicitReturnType>;
|
|
279
320
|
utaPrivateGetAccountLedger(params?: {}): Promise<implicitReturnType>;
|
|
280
321
|
utaPrivateGetAccountInterestHistory(params?: {}): Promise<implicitReturnType>;
|
|
322
|
+
utaPrivateGetAssetDepositAddress(params?: {}): Promise<implicitReturnType>;
|
|
281
323
|
utaPrivateGetAccountDepositAddress(params?: {}): Promise<implicitReturnType>;
|
|
282
324
|
utaPrivateGetAccountModeAccountBalance(params?: {}): Promise<implicitReturnType>;
|
|
283
325
|
utaPrivateGetAccountModeAccountOverview(params?: {}): Promise<implicitReturnType>;
|
|
@@ -298,6 +340,7 @@ interface Exchange {
|
|
|
298
340
|
utaPrivatePostAccountModeOrderPlaceBatch(params?: {}): Promise<implicitReturnType>;
|
|
299
341
|
utaPrivatePostAccountModeOrderCancel(params?: {}): Promise<implicitReturnType>;
|
|
300
342
|
utaPrivatePostAccountModeOrderCancelBatch(params?: {}): Promise<implicitReturnType>;
|
|
343
|
+
utaPrivatePostAccountModeOrderCancelAll(params?: {}): Promise<implicitReturnType>;
|
|
301
344
|
utaPrivatePostSubAccountCanTransferOut(params?: {}): Promise<implicitReturnType>;
|
|
302
345
|
utaPrivatePostDcpSet(params?: {}): Promise<implicitReturnType>;
|
|
303
346
|
}
|