ccxt 4.5.13 → 4.5.14
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 +5 -5
- package/dist/ccxt.browser.min.js +3 -3
- package/dist/cjs/ccxt.js +1 -1
- package/dist/cjs/src/arkham.js +2 -2
- package/dist/cjs/src/binance.js +8 -2
- package/dist/cjs/src/bitget.js +75 -34
- package/dist/cjs/src/cryptocom.js +22 -18
- package/dist/cjs/src/gate.js +79 -27
- package/dist/cjs/src/hyperliquid.js +69 -7
- package/dist/cjs/src/kucoin.js +41 -3
- package/dist/cjs/src/pro/binance.js +6 -6
- package/dist/cjs/src/pro/bitfinex.js +9 -6
- package/dist/cjs/src/pro/htx.js +8 -6
- package/dist/cjs/src/toobit.js +1 -1
- package/js/ccxt.d.ts +1 -1
- package/js/ccxt.js +1 -1
- package/js/src/abstract/binance.d.ts +1 -0
- package/js/src/abstract/binancecoinm.d.ts +1 -0
- package/js/src/abstract/binanceus.d.ts +1 -0
- package/js/src/abstract/binanceusdm.d.ts +1 -0
- package/js/src/abstract/gate.d.ts +62 -18
- package/js/src/abstract/gateio.d.ts +62 -18
- package/js/src/abstract/kucoin.d.ts +30 -0
- package/js/src/abstract/kucoinfutures.d.ts +30 -0
- package/js/src/arkham.js +2 -2
- package/js/src/base/Exchange.d.ts +9 -11
- package/js/src/binance.js +8 -2
- package/js/src/bitget.d.ts +12 -0
- package/js/src/bitget.js +75 -34
- package/js/src/cryptocom.js +22 -18
- package/js/src/gate.js +79 -27
- package/js/src/hyperliquid.d.ts +3 -1
- package/js/src/hyperliquid.js +69 -7
- package/js/src/kucoin.js +41 -3
- package/js/src/pro/binance.js +6 -6
- package/js/src/pro/bitfinex.js +9 -6
- package/js/src/pro/htx.js +8 -6
- package/js/src/toobit.js +1 -1
- package/package.json +1 -1
|
@@ -350,6 +350,56 @@ class hyperliquid extends hyperliquid$1["default"] {
|
|
|
350
350
|
super.setSandboxMode(enabled);
|
|
351
351
|
this.options['sandboxMode'] = enabled;
|
|
352
352
|
}
|
|
353
|
+
market(symbol) {
|
|
354
|
+
if (this.markets === undefined) {
|
|
355
|
+
throw new errors.ExchangeError(this.id + ' markets not loaded');
|
|
356
|
+
}
|
|
357
|
+
if (symbol in this.markets) {
|
|
358
|
+
const market = this.markets[symbol];
|
|
359
|
+
if (market['spot']) {
|
|
360
|
+
const baseName = this.safeString(market, 'baseName');
|
|
361
|
+
const spotCurrencyMapping = this.safeDict(this.options, 'spotCurrencyMapping', {});
|
|
362
|
+
if (baseName in spotCurrencyMapping) {
|
|
363
|
+
const unifiedBaseName = this.safeString(spotCurrencyMapping, baseName);
|
|
364
|
+
const quote = this.safeString(market, 'quote');
|
|
365
|
+
const newSymbol = this.safeCurrencyCode(unifiedBaseName) + '/' + quote;
|
|
366
|
+
if (newSymbol in this.markets) {
|
|
367
|
+
return this.markets[newSymbol];
|
|
368
|
+
}
|
|
369
|
+
}
|
|
370
|
+
}
|
|
371
|
+
}
|
|
372
|
+
const res = super.market(symbol);
|
|
373
|
+
return res;
|
|
374
|
+
}
|
|
375
|
+
safeMarket(marketId = undefined, market = undefined, delimiter = undefined, marketType = undefined) {
|
|
376
|
+
if (marketId !== undefined) {
|
|
377
|
+
if ((this.markets_by_id !== undefined) && (marketId in this.markets_by_id)) {
|
|
378
|
+
const markets = this.markets_by_id[marketId];
|
|
379
|
+
const numMarkets = markets.length;
|
|
380
|
+
if (numMarkets === 1) {
|
|
381
|
+
return markets[0];
|
|
382
|
+
}
|
|
383
|
+
else {
|
|
384
|
+
if (numMarkets > 2) {
|
|
385
|
+
throw new errors.ExchangeError(this.id + ' safeMarket() found more than two markets with the same market id ' + marketId);
|
|
386
|
+
}
|
|
387
|
+
const firstMarket = markets[0];
|
|
388
|
+
const secondMarket = markets[1];
|
|
389
|
+
if (this.safeString(firstMarket, 'type') !== this.safeString(secondMarket, 'type')) {
|
|
390
|
+
throw new errors.ExchangeError(this.id + ' safeMarket() found two different market types with the same market id ' + marketId);
|
|
391
|
+
}
|
|
392
|
+
const baseCurrency = this.safeString(firstMarket, 'base');
|
|
393
|
+
const spotCurrencyMapping = this.safeDict(this.options, 'spotCurrencyMapping', {});
|
|
394
|
+
if (baseCurrency in spotCurrencyMapping) {
|
|
395
|
+
return secondMarket;
|
|
396
|
+
}
|
|
397
|
+
return firstMarket;
|
|
398
|
+
}
|
|
399
|
+
}
|
|
400
|
+
}
|
|
401
|
+
return super.safeMarket(marketId, market, delimiter, marketType);
|
|
402
|
+
}
|
|
353
403
|
/**
|
|
354
404
|
* @method
|
|
355
405
|
* @name hyperliquid#fetchCurrencies
|
|
@@ -696,12 +746,14 @@ class hyperliquid extends hyperliquid$1["default"] {
|
|
|
696
746
|
// backward support
|
|
697
747
|
const base = this.safeCurrencyCode(baseName);
|
|
698
748
|
const quote = this.safeCurrencyCode(quoteId);
|
|
749
|
+
const newEntry = this.extend({}, entry);
|
|
699
750
|
const symbol = base + '/' + quote;
|
|
700
751
|
if (symbol !== mappedSymbol) {
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
752
|
+
newEntry['symbol'] = symbol;
|
|
753
|
+
newEntry['base'] = base;
|
|
754
|
+
newEntry['quote'] = quote;
|
|
755
|
+
newEntry['baseName'] = baseName;
|
|
756
|
+
markets.push(this.safeMarketStructure(newEntry));
|
|
705
757
|
}
|
|
706
758
|
}
|
|
707
759
|
return markets;
|
|
@@ -1149,6 +1201,9 @@ class hyperliquid extends hyperliquid$1["default"] {
|
|
|
1149
1201
|
// optimization if limit is provided
|
|
1150
1202
|
const timeframeInMilliseconds = this.parseTimeframe(timeframe) * 1000;
|
|
1151
1203
|
since = this.sum(until, timeframeInMilliseconds * limit * -1);
|
|
1204
|
+
if (since < 0) {
|
|
1205
|
+
since = 0;
|
|
1206
|
+
}
|
|
1152
1207
|
useTail = false;
|
|
1153
1208
|
}
|
|
1154
1209
|
else {
|
|
@@ -2906,8 +2961,15 @@ class hyperliquid extends hyperliquid$1["default"] {
|
|
|
2906
2961
|
}
|
|
2907
2962
|
const rawUnrealizedPnl = this.safeString(entry, 'unrealizedPnl');
|
|
2908
2963
|
const absRawUnrealizedPnl = Precise["default"].stringAbs(rawUnrealizedPnl);
|
|
2909
|
-
const
|
|
2910
|
-
|
|
2964
|
+
const marginUsed = this.safeString(entry, 'marginUsed');
|
|
2965
|
+
let initialMargin = undefined;
|
|
2966
|
+
if (isIsolated) {
|
|
2967
|
+
initialMargin = Precise["default"].stringSub(marginUsed, rawUnrealizedPnl);
|
|
2968
|
+
}
|
|
2969
|
+
else {
|
|
2970
|
+
initialMargin = marginUsed;
|
|
2971
|
+
}
|
|
2972
|
+
const percentage = Precise["default"].stringMul(Precise["default"].stringDiv(absRawUnrealizedPnl, marginUsed), '100');
|
|
2911
2973
|
return this.safePosition({
|
|
2912
2974
|
'info': position,
|
|
2913
2975
|
'id': undefined,
|
|
@@ -2923,7 +2985,7 @@ class hyperliquid extends hyperliquid$1["default"] {
|
|
|
2923
2985
|
'markPrice': undefined,
|
|
2924
2986
|
'notional': this.safeNumber(entry, 'positionValue'),
|
|
2925
2987
|
'leverage': this.safeNumber(leverage, 'value'),
|
|
2926
|
-
'collateral': this.
|
|
2988
|
+
'collateral': this.parseNumber(marginUsed),
|
|
2927
2989
|
'initialMargin': this.parseNumber(initialMargin),
|
|
2928
2990
|
'maintenanceMargin': undefined,
|
|
2929
2991
|
'initialMarginPercentage': undefined,
|
package/dist/cjs/src/kucoin.js
CHANGED
|
@@ -127,6 +127,7 @@ class kucoin extends kucoin$1["default"] {
|
|
|
127
127
|
'webExchange': 'https://kucoin.com/_api',
|
|
128
128
|
'broker': 'https://api-broker.kucoin.com',
|
|
129
129
|
'earn': 'https://api.kucoin.com',
|
|
130
|
+
'uta': 'https://api.kucoin.com',
|
|
130
131
|
},
|
|
131
132
|
'www': 'https://www.kucoin.com',
|
|
132
133
|
'doc': [
|
|
@@ -166,7 +167,8 @@ class kucoin extends kucoin$1["default"] {
|
|
|
166
167
|
'mark-price/{symbol}/current': 3,
|
|
167
168
|
'mark-price/all-symbols': 3,
|
|
168
169
|
'margin/config': 25,
|
|
169
|
-
'announcements': 20,
|
|
170
|
+
'announcements': 20,
|
|
171
|
+
'margin/collateralRatio': 10,
|
|
170
172
|
},
|
|
171
173
|
'post': {
|
|
172
174
|
// ws
|
|
@@ -248,6 +250,9 @@ class kucoin extends kucoin$1["default"] {
|
|
|
248
250
|
'purchase/orders': 10,
|
|
249
251
|
// broker
|
|
250
252
|
'broker/api/rebase/download': 3,
|
|
253
|
+
'broker/queryMyCommission': 3,
|
|
254
|
+
'broker/queryUser': 3,
|
|
255
|
+
'broker/queryDetailByUid': 3,
|
|
251
256
|
'migrate/user/account/status': 3,
|
|
252
257
|
// affiliate
|
|
253
258
|
'affiliate/inviter/statistics': 30,
|
|
@@ -369,7 +374,9 @@ class kucoin extends kucoin$1["default"] {
|
|
|
369
374
|
'positions': 3,
|
|
370
375
|
'margin/maxWithdrawMargin': 15,
|
|
371
376
|
'contracts/risk-limit/{symbol}': 7.5,
|
|
372
|
-
'funding-history': 7.5,
|
|
377
|
+
'funding-history': 7.5,
|
|
378
|
+
'copy-trade/futures/get-max-open-size': 6,
|
|
379
|
+
'copy-trade/futures/position/margin/max-withdraw-margin': 15, // 10FW
|
|
373
380
|
},
|
|
374
381
|
'post': {
|
|
375
382
|
// funding
|
|
@@ -383,6 +390,17 @@ class kucoin extends kucoin$1["default"] {
|
|
|
383
390
|
'margin/withdrawMargin': 15,
|
|
384
391
|
'position/margin/deposit-margin': 6,
|
|
385
392
|
'position/risk-limit-level/change': 6,
|
|
393
|
+
'copy-trade/futures/orders': 3,
|
|
394
|
+
'copy-trade/futures/orders/test': 3,
|
|
395
|
+
'copy-trade/futures/st-orders': 3,
|
|
396
|
+
'copy-trade/futures/position/margin/deposit-margin': 6,
|
|
397
|
+
'copy-trade/futures/position/margin/withdraw-margin': 15,
|
|
398
|
+
'copy-trade/futures/position/risk-limit-level/change': 3,
|
|
399
|
+
'copy-trade/futures/position/margin/auto-deposit-status': 6,
|
|
400
|
+
'copy-trade/futures/position/changeMarginMode': 3,
|
|
401
|
+
'copy-trade/futures/position/changeCrossUserLeverage': 3,
|
|
402
|
+
'copy-trade/getCrossModeMarginRequirement': 4.5,
|
|
403
|
+
'copy-trade/position/switchPositionMode': 3,
|
|
386
404
|
// ws
|
|
387
405
|
'bullet-private': 15, // 10FW
|
|
388
406
|
},
|
|
@@ -390,7 +408,9 @@ class kucoin extends kucoin$1["default"] {
|
|
|
390
408
|
'orders/{orderId}': 1.5,
|
|
391
409
|
'orders/client-order/{clientOid}': 1.5,
|
|
392
410
|
'orders': 45,
|
|
393
|
-
'stopOrders': 22.5,
|
|
411
|
+
'stopOrders': 22.5,
|
|
412
|
+
'copy-trade/futures/orders': 1.5,
|
|
413
|
+
'copy-trade/futures/orders/client-order': 1.5, // 1FW
|
|
394
414
|
},
|
|
395
415
|
},
|
|
396
416
|
'webExchange': {
|
|
@@ -438,6 +458,21 @@ class kucoin extends kucoin$1["default"] {
|
|
|
438
458
|
'earn/orders': 7.5, // 5EW
|
|
439
459
|
},
|
|
440
460
|
},
|
|
461
|
+
'uta': {
|
|
462
|
+
'get': {
|
|
463
|
+
'market/announcement': 20,
|
|
464
|
+
'market/currency': 3,
|
|
465
|
+
'market/instrument': 4,
|
|
466
|
+
'market/ticker': 15,
|
|
467
|
+
'market/orderbook': 3,
|
|
468
|
+
'market/trade': 3,
|
|
469
|
+
'market/kline': 3,
|
|
470
|
+
'market/funding-rate': 2,
|
|
471
|
+
'market/funding-rate-history': 5,
|
|
472
|
+
'market/cross-config': 25,
|
|
473
|
+
'market/server/status': 3,
|
|
474
|
+
},
|
|
475
|
+
},
|
|
441
476
|
},
|
|
442
477
|
'timeframes': {
|
|
443
478
|
'1m': '1min',
|
|
@@ -5068,6 +5103,9 @@ class kucoin extends kucoin$1["default"] {
|
|
|
5068
5103
|
if (api === 'earn') {
|
|
5069
5104
|
endpoint = '/api/v1/' + this.implodeParams(path, params);
|
|
5070
5105
|
}
|
|
5106
|
+
if (api === 'uta') {
|
|
5107
|
+
endpoint = '/api/ua/v1/' + this.implodeParams(path, params);
|
|
5108
|
+
}
|
|
5071
5109
|
const query = this.omit(params, this.extractParams(path));
|
|
5072
5110
|
let endpart = '';
|
|
5073
5111
|
headers = (headers !== undefined) ? headers : {};
|
|
@@ -2319,10 +2319,6 @@ class binance extends binance$1["default"] {
|
|
|
2319
2319
|
}
|
|
2320
2320
|
signParams(params = {}) {
|
|
2321
2321
|
this.checkRequiredCredentials();
|
|
2322
|
-
let extendedParams = this.extend({
|
|
2323
|
-
'timestamp': this.nonce(),
|
|
2324
|
-
'apiKey': this.apiKey,
|
|
2325
|
-
}, params);
|
|
2326
2322
|
const defaultRecvWindow = this.safeInteger(this.options, 'recvWindow');
|
|
2327
2323
|
if (defaultRecvWindow !== undefined) {
|
|
2328
2324
|
params['recvWindow'] = defaultRecvWindow;
|
|
@@ -2331,6 +2327,10 @@ class binance extends binance$1["default"] {
|
|
|
2331
2327
|
if (recvWindow !== undefined) {
|
|
2332
2328
|
params['recvWindow'] = recvWindow;
|
|
2333
2329
|
}
|
|
2330
|
+
let extendedParams = this.extend({
|
|
2331
|
+
'timestamp': this.nonce(),
|
|
2332
|
+
'apiKey': this.apiKey,
|
|
2333
|
+
}, params);
|
|
2334
2334
|
extendedParams = this.keysort(extendedParams);
|
|
2335
2335
|
const query = this.urlencode(extendedParams);
|
|
2336
2336
|
let signature = undefined;
|
|
@@ -3551,7 +3551,7 @@ class binance extends binance$1["default"] {
|
|
|
3551
3551
|
else if (this.isInverse(type, subType)) {
|
|
3552
3552
|
type = 'delivery';
|
|
3553
3553
|
}
|
|
3554
|
-
params = this.extend(params, { 'type': type, 'symbol': symbol }); // needed inside authenticate for isolated margin
|
|
3554
|
+
params = this.extend(params, { 'type': type, 'symbol': symbol, 'subType': subType }); // needed inside authenticate for isolated margin
|
|
3555
3555
|
await this.authenticate(params);
|
|
3556
3556
|
let marginMode = undefined;
|
|
3557
3557
|
[marginMode, params] = this.handleMarginModeAndParams('watchOrders', params);
|
|
@@ -4230,7 +4230,7 @@ class binance extends binance$1["default"] {
|
|
|
4230
4230
|
messageHash += ':' + symbol;
|
|
4231
4231
|
params = this.extend(params, { 'type': market['type'], 'symbol': symbol });
|
|
4232
4232
|
}
|
|
4233
|
-
await this.authenticate(params);
|
|
4233
|
+
await this.authenticate(this.extend({ 'type': type, 'subType': subType }, params));
|
|
4234
4234
|
let urlType = type; // we don't change type because the listening key is different
|
|
4235
4235
|
if (type === 'margin') {
|
|
4236
4236
|
urlType = 'spot'; // spot-margin shares the same stream as regular spot
|
|
@@ -61,12 +61,15 @@ class bitfinex extends bitfinex$1["default"] {
|
|
|
61
61
|
};
|
|
62
62
|
const result = await this.watch(url, messageHash, this.deepExtend(request, params), messageHash, { 'checksum': false });
|
|
63
63
|
const checksum = this.safeBool(this.options, 'checksum', true);
|
|
64
|
-
if (checksum &&
|
|
65
|
-
client.subscriptions[messageHash]
|
|
66
|
-
|
|
67
|
-
'
|
|
68
|
-
|
|
69
|
-
|
|
64
|
+
if (checksum && (channel === 'book')) {
|
|
65
|
+
const sub = client.subscriptions[messageHash];
|
|
66
|
+
if (sub && !sub['checksum']) {
|
|
67
|
+
client.subscriptions[messageHash]['checksum'] = true;
|
|
68
|
+
await client.send({
|
|
69
|
+
'event': 'conf',
|
|
70
|
+
'flags': 131072,
|
|
71
|
+
});
|
|
72
|
+
}
|
|
70
73
|
}
|
|
71
74
|
return result;
|
|
72
75
|
}
|
package/dist/cjs/src/pro/htx.js
CHANGED
|
@@ -413,22 +413,24 @@ class htx extends htx$1["default"] {
|
|
|
413
413
|
await this.loadMarkets();
|
|
414
414
|
const market = this.market(symbol);
|
|
415
415
|
symbol = market['symbol'];
|
|
416
|
-
const allowedLimits = [20, 150];
|
|
416
|
+
const allowedLimits = [5, 20, 150, 400];
|
|
417
417
|
// 2) 5-level/20-level incremental MBP is a tick by tick feed,
|
|
418
418
|
// which means whenever there is an order book change at that level, it pushes an update;
|
|
419
419
|
// 150-levels/400-level incremental MBP feed is based on the gap
|
|
420
420
|
// between two snapshots at 100ms interval.
|
|
421
421
|
const options = this.safeDict(this.options, 'watchOrderBook', {});
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
422
|
+
if (limit === undefined) {
|
|
423
|
+
limit = this.safeInteger(options, 'depth', 150);
|
|
424
|
+
}
|
|
425
|
+
if (!this.inArray(limit, allowedLimits)) {
|
|
426
|
+
throw new errors.ExchangeError(this.id + ' watchOrderBook market accepts limits of 5, 20, 150 or 400 only');
|
|
425
427
|
}
|
|
426
428
|
let messageHash = undefined;
|
|
427
429
|
if (market['spot']) {
|
|
428
|
-
messageHash = 'market.' + market['id'] + '.mbp.' + this.numberToString(
|
|
430
|
+
messageHash = 'market.' + market['id'] + '.mbp.' + this.numberToString(limit);
|
|
429
431
|
}
|
|
430
432
|
else {
|
|
431
|
-
messageHash = 'market.' + market['id'] + '.depth.size_' + this.numberToString(
|
|
433
|
+
messageHash = 'market.' + market['id'] + '.depth.size_' + this.numberToString(limit) + '.high_freq';
|
|
432
434
|
}
|
|
433
435
|
const url = this.getUrlByMarketType(market['type'], market['linear'], false, true);
|
|
434
436
|
let method = this.handleOrderBookSubscription;
|
package/dist/cjs/src/toobit.js
CHANGED
package/js/ccxt.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ 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 } 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.13";
|
|
8
8
|
import alpaca from './src/alpaca.js';
|
|
9
9
|
import apex from './src/apex.js';
|
|
10
10
|
import arkham from './src/arkham.js';
|
package/js/ccxt.js
CHANGED
|
@@ -32,7 +32,7 @@ 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.13';
|
|
36
36
|
Exchange.ccxtVersion = version;
|
|
37
37
|
//-----------------------------------------------------------------------------
|
|
38
38
|
import alpaca from './src/alpaca.js';
|
|
@@ -767,6 +767,7 @@ interface Exchange {
|
|
|
767
767
|
papiDeleteMarginAllOpenOrders(params?: {}): Promise<implicitReturnType>;
|
|
768
768
|
papiDeleteMarginOrderList(params?: {}): Promise<implicitReturnType>;
|
|
769
769
|
papiDeleteListenKey(params?: {}): Promise<implicitReturnType>;
|
|
770
|
+
papiV2GetUmAccount(params?: {}): Promise<implicitReturnType>;
|
|
770
771
|
}
|
|
771
772
|
declare abstract class Exchange extends _Exchange {
|
|
772
773
|
}
|
|
@@ -767,6 +767,7 @@ interface binance {
|
|
|
767
767
|
papiDeleteMarginAllOpenOrders(params?: {}): Promise<implicitReturnType>;
|
|
768
768
|
papiDeleteMarginOrderList(params?: {}): Promise<implicitReturnType>;
|
|
769
769
|
papiDeleteListenKey(params?: {}): Promise<implicitReturnType>;
|
|
770
|
+
papiV2GetUmAccount(params?: {}): Promise<implicitReturnType>;
|
|
770
771
|
}
|
|
771
772
|
declare abstract class binance extends _binance {
|
|
772
773
|
}
|
|
@@ -819,6 +819,7 @@ interface binance {
|
|
|
819
819
|
papiDeleteMarginAllOpenOrders(params?: {}): Promise<implicitReturnType>;
|
|
820
820
|
papiDeleteMarginOrderList(params?: {}): Promise<implicitReturnType>;
|
|
821
821
|
papiDeleteListenKey(params?: {}): Promise<implicitReturnType>;
|
|
822
|
+
papiV2GetUmAccount(params?: {}): Promise<implicitReturnType>;
|
|
822
823
|
}
|
|
823
824
|
declare abstract class binance extends _binance {
|
|
824
825
|
}
|
|
@@ -767,6 +767,7 @@ interface binance {
|
|
|
767
767
|
papiDeleteMarginAllOpenOrders(params?: {}): Promise<implicitReturnType>;
|
|
768
768
|
papiDeleteMarginOrderList(params?: {}): Promise<implicitReturnType>;
|
|
769
769
|
papiDeleteListenKey(params?: {}): Promise<implicitReturnType>;
|
|
770
|
+
papiV2GetUmAccount(params?: {}): Promise<implicitReturnType>;
|
|
770
771
|
}
|
|
771
772
|
declare abstract class binance extends _binance {
|
|
772
773
|
}
|
|
@@ -2,6 +2,8 @@ import { implicitReturnType } from '../base/types.js';
|
|
|
2
2
|
import { Exchange as _Exchange } from '../base/Exchange.js';
|
|
3
3
|
interface Exchange {
|
|
4
4
|
publicWalletGetCurrencyChains(params?: {}): Promise<implicitReturnType>;
|
|
5
|
+
publicUnifiedGetCurrencies(params?: {}): Promise<implicitReturnType>;
|
|
6
|
+
publicUnifiedGetHistoryLoanRate(params?: {}): Promise<implicitReturnType>;
|
|
5
7
|
publicSpotGetCurrencies(params?: {}): Promise<implicitReturnType>;
|
|
6
8
|
publicSpotGetCurrenciesCurrency(params?: {}): Promise<implicitReturnType>;
|
|
7
9
|
publicSpotGetCurrencyPairs(params?: {}): Promise<implicitReturnType>;
|
|
@@ -11,13 +13,16 @@ interface Exchange {
|
|
|
11
13
|
publicSpotGetTrades(params?: {}): Promise<implicitReturnType>;
|
|
12
14
|
publicSpotGetCandlesticks(params?: {}): Promise<implicitReturnType>;
|
|
13
15
|
publicSpotGetTime(params?: {}): Promise<implicitReturnType>;
|
|
16
|
+
publicSpotGetInsuranceHistory(params?: {}): Promise<implicitReturnType>;
|
|
17
|
+
publicMarginGetUniCurrencyPairs(params?: {}): Promise<implicitReturnType>;
|
|
18
|
+
publicMarginGetUniCurrencyPairsCurrencyPair(params?: {}): Promise<implicitReturnType>;
|
|
19
|
+
publicMarginGetLoanMarginTiers(params?: {}): Promise<implicitReturnType>;
|
|
14
20
|
publicMarginGetCurrencyPairs(params?: {}): Promise<implicitReturnType>;
|
|
15
21
|
publicMarginGetCurrencyPairsCurrencyPair(params?: {}): Promise<implicitReturnType>;
|
|
16
22
|
publicMarginGetFundingBook(params?: {}): Promise<implicitReturnType>;
|
|
17
23
|
publicMarginGetCrossCurrencies(params?: {}): Promise<implicitReturnType>;
|
|
18
24
|
publicMarginGetCrossCurrenciesCurrency(params?: {}): Promise<implicitReturnType>;
|
|
19
|
-
|
|
20
|
-
publicMarginGetUniCurrencyPairsCurrencyPair(params?: {}): Promise<implicitReturnType>;
|
|
25
|
+
publicFlash_swapGetCurrencyPairs(params?: {}): Promise<implicitReturnType>;
|
|
21
26
|
publicFlash_swapGetCurrencies(params?: {}): Promise<implicitReturnType>;
|
|
22
27
|
publicFuturesGetSettleContracts(params?: {}): Promise<implicitReturnType>;
|
|
23
28
|
publicFuturesGetSettleContractsContract(params?: {}): Promise<implicitReturnType>;
|
|
@@ -39,6 +44,7 @@ interface Exchange {
|
|
|
39
44
|
publicDeliveryGetSettleCandlesticks(params?: {}): Promise<implicitReturnType>;
|
|
40
45
|
publicDeliveryGetSettleTickers(params?: {}): Promise<implicitReturnType>;
|
|
41
46
|
publicDeliveryGetSettleInsurance(params?: {}): Promise<implicitReturnType>;
|
|
47
|
+
publicDeliveryGetSettleRiskLimitTiers(params?: {}): Promise<implicitReturnType>;
|
|
42
48
|
publicOptionsGetUnderlyings(params?: {}): Promise<implicitReturnType>;
|
|
43
49
|
publicOptionsGetExpirations(params?: {}): Promise<implicitReturnType>;
|
|
44
50
|
publicOptionsGetContracts(params?: {}): Promise<implicitReturnType>;
|
|
@@ -53,6 +59,13 @@ interface Exchange {
|
|
|
53
59
|
publicOptionsGetTrades(params?: {}): Promise<implicitReturnType>;
|
|
54
60
|
publicEarnGetUniCurrencies(params?: {}): Promise<implicitReturnType>;
|
|
55
61
|
publicEarnGetUniCurrenciesCurrency(params?: {}): Promise<implicitReturnType>;
|
|
62
|
+
publicEarnGetDualInvestmentPlan(params?: {}): Promise<implicitReturnType>;
|
|
63
|
+
publicEarnGetStructuredProducts(params?: {}): Promise<implicitReturnType>;
|
|
64
|
+
publicLoanGetCollateralCurrencies(params?: {}): Promise<implicitReturnType>;
|
|
65
|
+
publicLoanGetMultiCollateralCurrencies(params?: {}): Promise<implicitReturnType>;
|
|
66
|
+
publicLoanGetMultiCollateralLtv(params?: {}): Promise<implicitReturnType>;
|
|
67
|
+
publicLoanGetMultiCollateralFixedRate(params?: {}): Promise<implicitReturnType>;
|
|
68
|
+
publicLoanGetMultiCollateralCurrentRate(params?: {}): Promise<implicitReturnType>;
|
|
56
69
|
privateWithdrawalsPostWithdrawals(params?: {}): Promise<implicitReturnType>;
|
|
57
70
|
privateWithdrawalsPostPush(params?: {}): Promise<implicitReturnType>;
|
|
58
71
|
privateWithdrawalsDeleteWithdrawalsWithdrawalId(params?: {}): Promise<implicitReturnType>;
|
|
@@ -87,23 +100,26 @@ interface Exchange {
|
|
|
87
100
|
privateSubAccountsPutSubAccountsUserIdKeysKey(params?: {}): Promise<implicitReturnType>;
|
|
88
101
|
privateSubAccountsDeleteSubAccountsUserIdKeysKey(params?: {}): Promise<implicitReturnType>;
|
|
89
102
|
privateUnifiedGetAccounts(params?: {}): Promise<implicitReturnType>;
|
|
90
|
-
privateUnifiedGetAccountMode(params?: {}): Promise<implicitReturnType>;
|
|
91
103
|
privateUnifiedGetBorrowable(params?: {}): Promise<implicitReturnType>;
|
|
92
104
|
privateUnifiedGetTransferable(params?: {}): Promise<implicitReturnType>;
|
|
105
|
+
privateUnifiedGetTransferables(params?: {}): Promise<implicitReturnType>;
|
|
106
|
+
privateUnifiedGetBatchBorrowable(params?: {}): Promise<implicitReturnType>;
|
|
93
107
|
privateUnifiedGetLoans(params?: {}): Promise<implicitReturnType>;
|
|
94
108
|
privateUnifiedGetLoanRecords(params?: {}): Promise<implicitReturnType>;
|
|
95
109
|
privateUnifiedGetInterestRecords(params?: {}): Promise<implicitReturnType>;
|
|
96
|
-
privateUnifiedGetEstimateRate(params?: {}): Promise<implicitReturnType>;
|
|
97
|
-
privateUnifiedGetCurrencyDiscountTiers(params?: {}): Promise<implicitReturnType>;
|
|
98
110
|
privateUnifiedGetRiskUnits(params?: {}): Promise<implicitReturnType>;
|
|
99
111
|
privateUnifiedGetUnifiedMode(params?: {}): Promise<implicitReturnType>;
|
|
112
|
+
privateUnifiedGetEstimateRate(params?: {}): Promise<implicitReturnType>;
|
|
113
|
+
privateUnifiedGetCurrencyDiscountTiers(params?: {}): Promise<implicitReturnType>;
|
|
100
114
|
privateUnifiedGetLoanMarginTiers(params?: {}): Promise<implicitReturnType>;
|
|
101
115
|
privateUnifiedGetLeverageUserCurrencyConfig(params?: {}): Promise<implicitReturnType>;
|
|
102
116
|
privateUnifiedGetLeverageUserCurrencySetting(params?: {}): Promise<implicitReturnType>;
|
|
103
|
-
|
|
117
|
+
privateUnifiedGetAccountMode(params?: {}): Promise<implicitReturnType>;
|
|
104
118
|
privateUnifiedPostLoans(params?: {}): Promise<implicitReturnType>;
|
|
105
119
|
privateUnifiedPostPortfolioCalculator(params?: {}): Promise<implicitReturnType>;
|
|
106
120
|
privateUnifiedPostLeverageUserCurrencySetting(params?: {}): Promise<implicitReturnType>;
|
|
121
|
+
privateUnifiedPostCollateralCurrencies(params?: {}): Promise<implicitReturnType>;
|
|
122
|
+
privateUnifiedPostAccountMode(params?: {}): Promise<implicitReturnType>;
|
|
107
123
|
privateUnifiedPutUnifiedMode(params?: {}): Promise<implicitReturnType>;
|
|
108
124
|
privateSpotGetFee(params?: {}): Promise<implicitReturnType>;
|
|
109
125
|
privateSpotGetBatchFee(params?: {}): Promise<implicitReturnType>;
|
|
@@ -132,6 +148,13 @@ interface Exchange {
|
|
|
132
148
|
privateMarginGetFundingAccounts(params?: {}): Promise<implicitReturnType>;
|
|
133
149
|
privateMarginGetAutoRepay(params?: {}): Promise<implicitReturnType>;
|
|
134
150
|
privateMarginGetTransferable(params?: {}): Promise<implicitReturnType>;
|
|
151
|
+
privateMarginGetUniEstimateRate(params?: {}): Promise<implicitReturnType>;
|
|
152
|
+
privateMarginGetUniLoans(params?: {}): Promise<implicitReturnType>;
|
|
153
|
+
privateMarginGetUniLoanRecords(params?: {}): Promise<implicitReturnType>;
|
|
154
|
+
privateMarginGetUniInterestRecords(params?: {}): Promise<implicitReturnType>;
|
|
155
|
+
privateMarginGetUniBorrowable(params?: {}): Promise<implicitReturnType>;
|
|
156
|
+
privateMarginGetUserLoanMarginTiers(params?: {}): Promise<implicitReturnType>;
|
|
157
|
+
privateMarginGetUserAccount(params?: {}): Promise<implicitReturnType>;
|
|
135
158
|
privateMarginGetLoans(params?: {}): Promise<implicitReturnType>;
|
|
136
159
|
privateMarginGetLoansLoanId(params?: {}): Promise<implicitReturnType>;
|
|
137
160
|
privateMarginGetLoansLoanIdRepayment(params?: {}): Promise<implicitReturnType>;
|
|
@@ -147,23 +170,17 @@ interface Exchange {
|
|
|
147
170
|
privateMarginGetCrossTransferable(params?: {}): Promise<implicitReturnType>;
|
|
148
171
|
privateMarginGetCrossEstimateRate(params?: {}): Promise<implicitReturnType>;
|
|
149
172
|
privateMarginGetCrossBorrowable(params?: {}): Promise<implicitReturnType>;
|
|
150
|
-
privateMarginGetUniEstimateRate(params?: {}): Promise<implicitReturnType>;
|
|
151
|
-
privateMarginGetUniLoans(params?: {}): Promise<implicitReturnType>;
|
|
152
|
-
privateMarginGetUniLoanRecords(params?: {}): Promise<implicitReturnType>;
|
|
153
|
-
privateMarginGetUniInterestRecords(params?: {}): Promise<implicitReturnType>;
|
|
154
|
-
privateMarginGetUniBorrowable(params?: {}): Promise<implicitReturnType>;
|
|
155
173
|
privateMarginPostAutoRepay(params?: {}): Promise<implicitReturnType>;
|
|
174
|
+
privateMarginPostUniLoans(params?: {}): Promise<implicitReturnType>;
|
|
175
|
+
privateMarginPostLeverageUserMarketSetting(params?: {}): Promise<implicitReturnType>;
|
|
156
176
|
privateMarginPostLoans(params?: {}): Promise<implicitReturnType>;
|
|
157
177
|
privateMarginPostMergedLoans(params?: {}): Promise<implicitReturnType>;
|
|
158
178
|
privateMarginPostLoansLoanIdRepayment(params?: {}): Promise<implicitReturnType>;
|
|
159
179
|
privateMarginPostCrossLoans(params?: {}): Promise<implicitReturnType>;
|
|
160
180
|
privateMarginPostCrossRepayments(params?: {}): Promise<implicitReturnType>;
|
|
161
|
-
privateMarginPostUniLoans(params?: {}): Promise<implicitReturnType>;
|
|
162
181
|
privateMarginPatchLoansLoanId(params?: {}): Promise<implicitReturnType>;
|
|
163
182
|
privateMarginPatchLoanRecordsLoanRecordId(params?: {}): Promise<implicitReturnType>;
|
|
164
183
|
privateMarginDeleteLoansLoanId(params?: {}): Promise<implicitReturnType>;
|
|
165
|
-
privateFlash_swapGetCurrencies(params?: {}): Promise<implicitReturnType>;
|
|
166
|
-
privateFlash_swapGetCurrencyPairs(params?: {}): Promise<implicitReturnType>;
|
|
167
184
|
privateFlash_swapGetOrders(params?: {}): Promise<implicitReturnType>;
|
|
168
185
|
privateFlash_swapGetOrdersOrderId(params?: {}): Promise<implicitReturnType>;
|
|
169
186
|
privateFlash_swapPostOrders(params?: {}): Promise<implicitReturnType>;
|
|
@@ -182,12 +199,14 @@ interface Exchange {
|
|
|
182
199
|
privateFuturesGetSettleLiquidates(params?: {}): Promise<implicitReturnType>;
|
|
183
200
|
privateFuturesGetSettleAutoDeleverages(params?: {}): Promise<implicitReturnType>;
|
|
184
201
|
privateFuturesGetSettleFee(params?: {}): Promise<implicitReturnType>;
|
|
185
|
-
|
|
202
|
+
privateFuturesGetSettleRiskLimitTable(params?: {}): Promise<implicitReturnType>;
|
|
186
203
|
privateFuturesGetSettlePriceOrders(params?: {}): Promise<implicitReturnType>;
|
|
187
204
|
privateFuturesGetSettlePriceOrdersOrderId(params?: {}): Promise<implicitReturnType>;
|
|
188
205
|
privateFuturesPostSettlePositionsContractMargin(params?: {}): Promise<implicitReturnType>;
|
|
189
206
|
privateFuturesPostSettlePositionsContractLeverage(params?: {}): Promise<implicitReturnType>;
|
|
190
207
|
privateFuturesPostSettlePositionsContractRiskLimit(params?: {}): Promise<implicitReturnType>;
|
|
208
|
+
privateFuturesPostSettlePositionsCrossMode(params?: {}): Promise<implicitReturnType>;
|
|
209
|
+
privateFuturesPostSettleDualCompPositionsCrossMode(params?: {}): Promise<implicitReturnType>;
|
|
191
210
|
privateFuturesPostSettleDualMode(params?: {}): Promise<implicitReturnType>;
|
|
192
211
|
privateFuturesPostSettleDualCompPositionsContractMargin(params?: {}): Promise<implicitReturnType>;
|
|
193
212
|
privateFuturesPostSettleDualCompPositionsContractLeverage(params?: {}): Promise<implicitReturnType>;
|
|
@@ -196,6 +215,8 @@ interface Exchange {
|
|
|
196
215
|
privateFuturesPostSettleBatchOrders(params?: {}): Promise<implicitReturnType>;
|
|
197
216
|
privateFuturesPostSettleCountdownCancelAll(params?: {}): Promise<implicitReturnType>;
|
|
198
217
|
privateFuturesPostSettleBatchCancelOrders(params?: {}): Promise<implicitReturnType>;
|
|
218
|
+
privateFuturesPostSettleBatchAmendOrders(params?: {}): Promise<implicitReturnType>;
|
|
219
|
+
privateFuturesPostSettleBboOrders(params?: {}): Promise<implicitReturnType>;
|
|
199
220
|
privateFuturesPostSettlePriceOrders(params?: {}): Promise<implicitReturnType>;
|
|
200
221
|
privateFuturesPutSettleOrdersOrderId(params?: {}): Promise<implicitReturnType>;
|
|
201
222
|
privateFuturesDeleteSettleOrders(params?: {}): Promise<implicitReturnType>;
|
|
@@ -239,14 +260,27 @@ interface Exchange {
|
|
|
239
260
|
privateOptionsPostMmpReset(params?: {}): Promise<implicitReturnType>;
|
|
240
261
|
privateOptionsDeleteOrders(params?: {}): Promise<implicitReturnType>;
|
|
241
262
|
privateOptionsDeleteOrdersOrderId(params?: {}): Promise<implicitReturnType>;
|
|
242
|
-
privateEarnGetUniCurrencies(params?: {}): Promise<implicitReturnType>;
|
|
243
|
-
privateEarnGetUniCurrenciesCurrency(params?: {}): Promise<implicitReturnType>;
|
|
244
263
|
privateEarnGetUniLends(params?: {}): Promise<implicitReturnType>;
|
|
245
264
|
privateEarnGetUniLendRecords(params?: {}): Promise<implicitReturnType>;
|
|
246
265
|
privateEarnGetUniInterestsCurrency(params?: {}): Promise<implicitReturnType>;
|
|
247
266
|
privateEarnGetUniInterestRecords(params?: {}): Promise<implicitReturnType>;
|
|
248
267
|
privateEarnGetUniInterestStatusCurrency(params?: {}): Promise<implicitReturnType>;
|
|
268
|
+
privateEarnGetUniChart(params?: {}): Promise<implicitReturnType>;
|
|
269
|
+
privateEarnGetUniRate(params?: {}): Promise<implicitReturnType>;
|
|
270
|
+
privateEarnGetStakingEth2RateRecords(params?: {}): Promise<implicitReturnType>;
|
|
271
|
+
privateEarnGetDualOrders(params?: {}): Promise<implicitReturnType>;
|
|
272
|
+
privateEarnGetStructuredOrders(params?: {}): Promise<implicitReturnType>;
|
|
273
|
+
privateEarnGetStakingCoins(params?: {}): Promise<implicitReturnType>;
|
|
274
|
+
privateEarnGetStakingOrderList(params?: {}): Promise<implicitReturnType>;
|
|
275
|
+
privateEarnGetStakingAwardList(params?: {}): Promise<implicitReturnType>;
|
|
276
|
+
privateEarnGetStakingAssets(params?: {}): Promise<implicitReturnType>;
|
|
277
|
+
privateEarnGetUniCurrencies(params?: {}): Promise<implicitReturnType>;
|
|
278
|
+
privateEarnGetUniCurrenciesCurrency(params?: {}): Promise<implicitReturnType>;
|
|
249
279
|
privateEarnPostUniLends(params?: {}): Promise<implicitReturnType>;
|
|
280
|
+
privateEarnPostStakingEth2Swap(params?: {}): Promise<implicitReturnType>;
|
|
281
|
+
privateEarnPostDualOrders(params?: {}): Promise<implicitReturnType>;
|
|
282
|
+
privateEarnPostStructuredOrders(params?: {}): Promise<implicitReturnType>;
|
|
283
|
+
privateEarnPostStakingSwap(params?: {}): Promise<implicitReturnType>;
|
|
250
284
|
privateEarnPutUniInterestReinvest(params?: {}): Promise<implicitReturnType>;
|
|
251
285
|
privateEarnPatchUniLends(params?: {}): Promise<implicitReturnType>;
|
|
252
286
|
privateLoanGetCollateralOrders(params?: {}): Promise<implicitReturnType>;
|
|
@@ -255,12 +289,12 @@ interface Exchange {
|
|
|
255
289
|
privateLoanGetCollateralCollaterals(params?: {}): Promise<implicitReturnType>;
|
|
256
290
|
privateLoanGetCollateralTotalAmount(params?: {}): Promise<implicitReturnType>;
|
|
257
291
|
privateLoanGetCollateralLtv(params?: {}): Promise<implicitReturnType>;
|
|
258
|
-
privateLoanGetCollateralCurrencies(params?: {}): Promise<implicitReturnType>;
|
|
259
292
|
privateLoanGetMultiCollateralOrders(params?: {}): Promise<implicitReturnType>;
|
|
260
293
|
privateLoanGetMultiCollateralOrdersOrderId(params?: {}): Promise<implicitReturnType>;
|
|
261
294
|
privateLoanGetMultiCollateralRepay(params?: {}): Promise<implicitReturnType>;
|
|
262
295
|
privateLoanGetMultiCollateralMortgage(params?: {}): Promise<implicitReturnType>;
|
|
263
296
|
privateLoanGetMultiCollateralCurrencyQuota(params?: {}): Promise<implicitReturnType>;
|
|
297
|
+
privateLoanGetCollateralCurrencies(params?: {}): Promise<implicitReturnType>;
|
|
264
298
|
privateLoanGetMultiCollateralCurrencies(params?: {}): Promise<implicitReturnType>;
|
|
265
299
|
privateLoanGetMultiCollateralLtv(params?: {}): Promise<implicitReturnType>;
|
|
266
300
|
privateLoanGetMultiCollateralFixedRate(params?: {}): Promise<implicitReturnType>;
|
|
@@ -272,15 +306,25 @@ interface Exchange {
|
|
|
272
306
|
privateLoanPostMultiCollateralRepay(params?: {}): Promise<implicitReturnType>;
|
|
273
307
|
privateLoanPostMultiCollateralMortgage(params?: {}): Promise<implicitReturnType>;
|
|
274
308
|
privateAccountGetDetail(params?: {}): Promise<implicitReturnType>;
|
|
309
|
+
privateAccountGetMainKeys(params?: {}): Promise<implicitReturnType>;
|
|
275
310
|
privateAccountGetRateLimit(params?: {}): Promise<implicitReturnType>;
|
|
276
311
|
privateAccountGetStpGroups(params?: {}): Promise<implicitReturnType>;
|
|
277
312
|
privateAccountGetStpGroupsStpIdUsers(params?: {}): Promise<implicitReturnType>;
|
|
278
313
|
privateAccountGetStpGroupsDebitFee(params?: {}): Promise<implicitReturnType>;
|
|
314
|
+
privateAccountGetDebitFee(params?: {}): Promise<implicitReturnType>;
|
|
279
315
|
privateAccountPostStpGroups(params?: {}): Promise<implicitReturnType>;
|
|
280
316
|
privateAccountPostStpGroupsStpIdUsers(params?: {}): Promise<implicitReturnType>;
|
|
317
|
+
privateAccountPostDebitFee(params?: {}): Promise<implicitReturnType>;
|
|
281
318
|
privateAccountDeleteStpGroupsStpIdUsers(params?: {}): Promise<implicitReturnType>;
|
|
282
319
|
privateRebateGetAgencyTransactionHistory(params?: {}): Promise<implicitReturnType>;
|
|
283
320
|
privateRebateGetAgencyCommissionHistory(params?: {}): Promise<implicitReturnType>;
|
|
321
|
+
privateRebateGetPartnerTransactionHistory(params?: {}): Promise<implicitReturnType>;
|
|
322
|
+
privateRebateGetPartnerCommissionHistory(params?: {}): Promise<implicitReturnType>;
|
|
323
|
+
privateRebateGetPartnerSubList(params?: {}): Promise<implicitReturnType>;
|
|
324
|
+
privateRebateGetBrokerCommissionHistory(params?: {}): Promise<implicitReturnType>;
|
|
325
|
+
privateRebateGetBrokerTransactionHistory(params?: {}): Promise<implicitReturnType>;
|
|
326
|
+
privateRebateGetUserInfo(params?: {}): Promise<implicitReturnType>;
|
|
327
|
+
privateRebateGetUserSubRelation(params?: {}): Promise<implicitReturnType>;
|
|
284
328
|
}
|
|
285
329
|
declare abstract class Exchange extends _Exchange {
|
|
286
330
|
}
|