ccxt 4.0.78 → 4.0.80

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.
Files changed (50) hide show
  1. package/README.md +3 -3
  2. package/dist/ccxt.browser.js +189 -169
  3. package/dist/ccxt.browser.min.js +3 -3
  4. package/dist/cjs/ccxt.js +1 -1
  5. package/dist/cjs/src/binance.js +78 -67
  6. package/dist/cjs/src/bithumb.js +1 -1
  7. package/dist/cjs/src/bitmex.js +2 -2
  8. package/dist/cjs/src/bybit.js +4 -2
  9. package/dist/cjs/src/coinsph.js +2 -2
  10. package/dist/cjs/src/krakenfutures.js +2 -2
  11. package/dist/cjs/src/mexc.js +1 -0
  12. package/dist/cjs/src/okcoin.js +2 -2
  13. package/dist/cjs/src/okx.js +1 -1
  14. package/dist/cjs/src/phemex.js +8 -3
  15. package/dist/cjs/src/poloniex.js +54 -74
  16. package/dist/cjs/src/pro/bitget.js +18 -2
  17. package/dist/cjs/src/pro/gate.js +5 -3
  18. package/dist/cjs/src/pro/kraken.js +2 -2
  19. package/dist/cjs/src/probit.js +2 -2
  20. package/dist/cjs/src/upbit.js +1 -1
  21. package/dist/cjs/src/wavesexchange.js +4 -2
  22. package/dist/cjs/src/wazirx.js +1 -0
  23. package/js/ccxt.d.ts +1 -1
  24. package/js/ccxt.js +1 -1
  25. package/js/src/abstract/binance.d.ts +12 -1
  26. package/js/src/abstract/binancecoinm.d.ts +12 -1
  27. package/js/src/abstract/binanceus.d.ts +12 -1
  28. package/js/src/abstract/binanceusdm.d.ts +12 -1
  29. package/js/src/abstract/bybit.d.ts +1 -0
  30. package/js/src/abstract/mexc.d.ts +1 -0
  31. package/js/src/abstract/mexc3.d.ts +1 -0
  32. package/js/src/binance.js +78 -67
  33. package/js/src/bithumb.js +1 -1
  34. package/js/src/bitmex.js +2 -2
  35. package/js/src/bybit.js +4 -2
  36. package/js/src/coinsph.js +2 -2
  37. package/js/src/krakenfutures.js +2 -2
  38. package/js/src/mexc.js +1 -0
  39. package/js/src/okcoin.js +2 -2
  40. package/js/src/okx.js +1 -1
  41. package/js/src/phemex.js +8 -3
  42. package/js/src/poloniex.js +54 -74
  43. package/js/src/pro/bitget.js +19 -3
  44. package/js/src/pro/gate.js +5 -3
  45. package/js/src/pro/kraken.js +2 -2
  46. package/js/src/probit.js +2 -2
  47. package/js/src/upbit.js +1 -1
  48. package/js/src/wavesexchange.js +4 -2
  49. package/js/src/wazirx.js +1 -0
  50. package/package.json +1 -1
@@ -1204,25 +1204,21 @@ class poloniex extends poloniex$1 {
1204
1204
  return this.parseOrders(response, market, since, limit, extension);
1205
1205
  }
1206
1206
  async createOrder(symbol, type, side, amount, price = undefined, params = {}) {
1207
- //
1208
- // @method
1209
- // @name poloniex#createOrder
1210
- // @description create a trade order
1211
- // @see https://docs.poloniex.com/#authenticated-endpoints-orders-create-order
1212
- // @see https://docs.poloniex.com/#authenticated-endpoints-smart-orders-create-order // trigger orders
1213
- // @param {string} symbol unified symbol of the market to create an order in
1214
- // @param {string} type 'market' or 'limit'
1215
- // @param {string} side 'buy' or 'sell'
1216
- // @param {float} amount how much of currency you want to trade in units of base currency
1217
- // @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1218
- // @param {object} [params] extra parameters specific to the poloniex api endpoint
1219
- // <<<<<<< HEAD
1220
- // @param {float} [params.triggerPrice] *spot only* The price at which a trigger order is triggered at
1221
- // @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1222
- // =======
1223
- // @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1224
- // >>>>>>> 1e1c747220aa06f7c710fc71e9b6658d1260c4d1
1225
- //
1207
+ /**
1208
+ * @method
1209
+ * @name poloniex#createOrder
1210
+ * @description create a trade order
1211
+ * @see https://docs.poloniex.com/#authenticated-endpoints-orders-create-order
1212
+ * @see https://docs.poloniex.com/#authenticated-endpoints-smart-orders-create-order // trigger orders
1213
+ * @param {string} symbol unified symbol of the market to create an order in
1214
+ * @param {string} type 'market' or 'limit'
1215
+ * @param {string} side 'buy' or 'sell'
1216
+ * @param {float} amount how much of currency you want to trade in units of base currency
1217
+ * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1218
+ * @param {object} [params] extra parameters specific to the poloniex api endpoint
1219
+ * @param {float} [params.triggerPrice] *spot only* The price at which a trigger order is triggered at
1220
+ * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1221
+ */
1226
1222
  await this.loadMarkets();
1227
1223
  const market = this.market(symbol);
1228
1224
  if (!market['spot']) {
@@ -1291,26 +1287,22 @@ class poloniex extends poloniex$1 {
1291
1287
  return [request, params];
1292
1288
  }
1293
1289
  async editOrder(id, symbol, type, side, amount = undefined, price = undefined, params = {}) {
1294
- //
1295
- // @method
1296
- // @name poloniex#editOrder
1297
- // @description edit a trade order
1298
- // @see https://docs.poloniex.com/#authenticated-endpoints-orders-cancel-replace-order
1299
- // @see https://docs.poloniex.com/#authenticated-endpoints-smart-orders-cancel-replace-order
1300
- // @param {string} id order id
1301
- // @param {string} symbol unified symbol of the market to create an order in
1302
- // @param {string} type 'market' or 'limit'
1303
- // @param {string} side 'buy' or 'sell'
1304
- // @param {float} [amount] how much of the currency you want to trade in units of the base currency
1305
- // @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1306
- // @param {object} [params] extra parameters specific to the poloniex api endpoint
1307
- // <<<<<<< HEAD
1308
- // @param {float} [params.triggerPrice] The price at which a trigger order is triggered at
1309
- // @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1310
- // =======
1311
- // @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1312
- // >>>>>>> 1e1c747220aa06f7c710fc71e9b6658d1260c4d1
1313
- //
1290
+ /**
1291
+ * @method
1292
+ * @name poloniex#editOrder
1293
+ * @description edit a trade order
1294
+ * @see https://docs.poloniex.com/#authenticated-endpoints-orders-cancel-replace-order
1295
+ * @see https://docs.poloniex.com/#authenticated-endpoints-smart-orders-cancel-replace-order
1296
+ * @param {string} id order id
1297
+ * @param {string} symbol unified symbol of the market to create an order in
1298
+ * @param {string} type 'market' or 'limit'
1299
+ * @param {string} side 'buy' or 'sell'
1300
+ * @param {float} [amount] how much of the currency you want to trade in units of the base currency
1301
+ * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1302
+ * @param {object} [params] extra parameters specific to the poloniex api endpoint
1303
+ * @param {float} [params.triggerPrice] The price at which a trigger order is triggered at
1304
+ * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1305
+ */
1314
1306
  await this.loadMarkets();
1315
1307
  const market = this.market(symbol);
1316
1308
  if (!market['spot']) {
@@ -1350,12 +1342,8 @@ class poloniex extends poloniex$1 {
1350
1342
  // @param {string} id order id
1351
1343
  // @param {string} symbol unified symbol of the market the order was made in
1352
1344
  // @param {object} [params] extra parameters specific to the poloniex api endpoint
1353
- // <<<<<<< HEAD
1354
1345
  // @param {boolean} [params.trigger] true if canceling a trigger order
1355
1346
  // @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1356
- // =======
1357
- // @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1358
- // >>>>>>> 1e1c747220aa06f7c710fc71e9b6658d1260c4d1
1359
1347
  //
1360
1348
  await this.loadMarkets();
1361
1349
  const request = {};
@@ -1385,21 +1373,17 @@ class poloniex extends poloniex$1 {
1385
1373
  return this.parseOrder(response);
1386
1374
  }
1387
1375
  async cancelAllOrders(symbol = undefined, params = {}) {
1388
- //
1389
- // @method
1390
- // @name poloniex#cancelAllOrders
1391
- // @description cancel all open orders
1392
- // @see https://docs.poloniex.com/#authenticated-endpoints-orders-cancel-all-orders
1393
- // @see https://docs.poloniex.com/#authenticated-endpoints-smart-orders-cancel-all-orders // trigger orders
1394
- // @param {string} symbol unified market symbol, only orders in the market of this symbol are cancelled when symbol is not undefined
1395
- // @param {object} [params] extra parameters specific to the poloniex api endpoint
1396
- // <<<<<<< HEAD
1397
- // @param {boolean} [params.trigger] true if canceling trigger orders
1398
- // @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1399
- // =======
1400
- // @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1401
- // >>>>>>> 1e1c747220aa06f7c710fc71e9b6658d1260c4d1
1402
- //
1376
+ /**
1377
+ * @method
1378
+ * @name poloniex#cancelAllOrders
1379
+ * @description cancel all open orders
1380
+ * @see https://docs.poloniex.com/#authenticated-endpoints-orders-cancel-all-orders
1381
+ * @see https://docs.poloniex.com/#authenticated-endpoints-smart-orders-cancel-all-orders // trigger orders
1382
+ * @param {string} symbol unified market symbol, only orders in the market of this symbol are cancelled when symbol is not undefined
1383
+ * @param {object} [params] extra parameters specific to the poloniex api endpoint
1384
+ * @param {boolean} [params.trigger] true if canceling trigger orders
1385
+ * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1386
+ */
1403
1387
  await this.loadMarkets();
1404
1388
  const request = {
1405
1389
  // 'accountTypes': 'SPOT',
@@ -1441,22 +1425,18 @@ class poloniex extends poloniex$1 {
1441
1425
  return this.parseOrders(response, market);
1442
1426
  }
1443
1427
  async fetchOrder(id, symbol = undefined, params = {}) {
1444
- //
1445
- // @method
1446
- // @name poloniex#fetchOrder
1447
- // @description fetch an order by it's id
1448
- // @see https://docs.poloniex.com/#authenticated-endpoints-orders-order-details
1449
- // @see https://docs.poloniex.com/#authenticated-endpoints-smart-orders-open-orders // trigger orders
1450
- // @param {string} id order id
1451
- // @param {string} symbol unified market symbol, default is undefined
1452
- // @param {object} [params] extra parameters specific to the poloniex api endpoint
1453
- // <<<<<<< HEAD
1454
- // @param {boolean} [params.trigger] true if fetching a trigger order
1455
- // @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1456
- // =======
1457
- // @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1458
- // >>>>>>> 1e1c747220aa06f7c710fc71e9b6658d1260c4d1
1459
- //
1428
+ /**
1429
+ * @method
1430
+ * @name poloniex#fetchOrder
1431
+ * @description fetch an order by it's id
1432
+ * @see https://docs.poloniex.com/#authenticated-endpoints-orders-order-details
1433
+ * @see https://docs.poloniex.com/#authenticated-endpoints-smart-orders-open-orders // trigger orders
1434
+ * @param {string} id order id
1435
+ * @param {string} symbol unified market symbol, default is undefined
1436
+ * @param {object} [params] extra parameters specific to the poloniex api endpoint
1437
+ * @param {boolean} [params.trigger] true if fetching a trigger order
1438
+ * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1439
+ */
1460
1440
  await this.loadMarkets();
1461
1441
  id = id.toString();
1462
1442
  const request = {
@@ -51,9 +51,18 @@ class bitget extends bitget$1 {
51
51
  'ws': {
52
52
  'exact': {
53
53
  '30001': errors.BadRequest,
54
+ '30002': errors.AuthenticationError,
55
+ '30003': errors.BadRequest,
56
+ '30004': errors.AuthenticationError,
57
+ '30005': errors.AuthenticationError,
58
+ '30006': errors.RateLimitExceeded,
59
+ '30007': errors.RateLimitExceeded,
60
+ '30011': errors.AuthenticationError,
61
+ '30012': errors.AuthenticationError,
62
+ '30013': errors.AuthenticationError,
63
+ '30014': errors.BadRequest,
54
64
  '30015': errors.AuthenticationError,
55
- '30016': errors.BadRequest,
56
- '30011': errors.AuthenticationError, // { event: 'error', code: 30011, msg: 'Invalid ACCESS_KEY' }
65
+ '30016': errors.BadRequest, // { event: 'error', code: 30016, msg: 'Param error' }
57
66
  },
58
67
  },
59
68
  },
@@ -1143,6 +1152,9 @@ class bitget extends bitget$1 {
1143
1152
  const code = this.safeString(message, 'code');
1144
1153
  const feedback = this.id + ' ' + this.json(message);
1145
1154
  this.throwExactlyMatchedException(this.exceptions['ws']['exact'], code, feedback);
1155
+ const msg = this.safeString(message, 'msg', '');
1156
+ this.throwBroadlyMatchedException(this.exceptions['ws']['broad'], msg, feedback);
1157
+ throw new errors.ExchangeError(feedback);
1146
1158
  }
1147
1159
  return false;
1148
1160
  }
@@ -1154,6 +1166,10 @@ class bitget extends bitget$1 {
1154
1166
  delete client.subscriptions[messageHash];
1155
1167
  }
1156
1168
  }
1169
+ else {
1170
+ // Note: if error happens on a subscribe event, user will have to close exchange to resubscribe. Issue #19041
1171
+ client.reject(e);
1172
+ }
1157
1173
  return true;
1158
1174
  }
1159
1175
  }
@@ -489,15 +489,17 @@ class gate extends gate$1 {
489
489
  const subscription = this.safeString(ohlcv, 'n', '');
490
490
  const parts = subscription.split('_');
491
491
  const timeframe = this.safeString(parts, 0);
492
+ const timeframeId = this.findTimeframe(timeframe);
492
493
  const prefix = timeframe + '_';
493
494
  const marketId = subscription.replace(prefix, '');
494
495
  const symbol = this.safeSymbol(marketId, undefined, '_', marketType);
495
496
  const parsed = this.parseOHLCV(ohlcv);
496
- let stored = this.safeValue(this.ohlcvs, symbol);
497
+ this.ohlcvs[symbol] = this.safeValue(this.ohlcvs, symbol, {});
498
+ let stored = this.safeValue(this.ohlcvs[symbol], timeframe);
497
499
  if (stored === undefined) {
498
500
  const limit = this.safeInteger(this.options, 'OHLCVLimit', 1000);
499
501
  stored = new Cache.ArrayCacheByTimestamp(limit);
500
- this.ohlcvs[symbol] = stored;
502
+ this.ohlcvs[symbol][timeframeId] = stored;
501
503
  }
502
504
  stored.append(parsed);
503
505
  marketIds[symbol] = timeframe;
@@ -508,7 +510,7 @@ class gate extends gate$1 {
508
510
  const timeframe = marketIds[symbol];
509
511
  const interval = this.findTimeframe(timeframe);
510
512
  const hash = 'candles' + ':' + interval + ':' + symbol;
511
- const stored = this.safeValue(this.ohlcvs, symbol);
513
+ const stored = this.safeValue(this.ohlcvs[symbol], interval);
512
514
  client.resolve(stored, hash);
513
515
  }
514
516
  }
@@ -731,8 +731,8 @@ class kraken extends kraken$1 {
731
731
  }
732
732
  }
733
733
  formatNumber(n, length) {
734
- const string = this.numberToString(n);
735
- const parts = string.split('.');
734
+ const stringNumber = this.numberToString(n);
735
+ const parts = stringNumber.split('.');
736
736
  const integer = this.safeString(parts, 0);
737
737
  const decimals = this.safeString(parts, 1, '');
738
738
  const paddedDecimals = decimals.padEnd(length, '0');
@@ -1224,7 +1224,7 @@ class probit extends probit$1 {
1224
1224
  }
1225
1225
  }
1226
1226
  else if (cost === undefined) {
1227
- throw new errors.InvalidOrder(this.id + " createOrder() requires the price argument for market buy orders to calculate total order cost (amount to spend), where cost = amount * price. Supply a price argument to createOrder() call if you want the cost to be calculated for you from price and amount, or, alternatively, add .options['createMarketBuyOrderRequiresPrice'] = false and supply the total cost value in the 'amount' argument or in the 'cost' extra parameter (the exchange-specific behaviour)");
1227
+ throw new errors.InvalidOrder(this.id + ' createOrder() requires the price argument for market buy orders to calculate total order cost (amount to spend), where cost = amount * price. Supply a price argument to createOrder() call if you want the cost to be calculated for you from price and amount, or, alternatively, add .options["createMarketBuyOrderRequiresPrice"] = false and supply the total cost value in the "amount" argument or in the "cost" extra parameter (the exchange-specific behaviour)');
1228
1228
  }
1229
1229
  }
1230
1230
  else {
@@ -1694,7 +1694,7 @@ class probit extends probit$1 {
1694
1694
  const networkCode = this.networkIdToCode(networkId, currency['code']);
1695
1695
  const withdrawalFees = this.safeValue(network, 'withdrawal_fee', {});
1696
1696
  const withdrawFee = this.safeNumber(withdrawalFees[0], 'amount');
1697
- if (withdrawalFees.length > 0) {
1697
+ if (withdrawalFees.length) {
1698
1698
  const withdrawResult = {
1699
1699
  'fee': withdrawFee,
1700
1700
  'percentage': (withdrawFee !== undefined) ? false : undefined,
@@ -1034,7 +1034,7 @@ class upbit extends upbit$1 {
1034
1034
  if (side === 'buy') {
1035
1035
  if (this.options['createMarketBuyOrderRequiresPrice']) {
1036
1036
  if (price === undefined) {
1037
- throw new errors.InvalidOrder(this.id + " createOrder() requires the price argument with market buy orders to calculate total order cost (amount to spend), where cost = amount * price. Supply a price argument to createOrder() call if you want the cost to be calculated for you from price and amount, or, alternatively, add .options['createMarketBuyOrderRequiresPrice'] = false to supply the cost in the amount argument (the exchange-specific behaviour)");
1037
+ throw new errors.InvalidOrder(this.id + ' createOrder() requires the price argument with market buy orders to calculate total order cost (amount to spend), where cost = amount * price. Supply a price argument to createOrder() call if you want the cost to be calculated for you from price and amount, or, alternatively, add .options["createMarketBuyOrderRequiresPrice"] = false to supply the cost in the amount argument (the exchange-specific behaviour)');
1038
1038
  }
1039
1039
  else {
1040
1040
  amount = amount * price;
@@ -2318,7 +2318,8 @@ class wavesexchange extends wavesexchange$1 {
2318
2318
  const entry = depositWithdrawFees[code];
2319
2319
  const networks = this.safeValue(entry, 'networks');
2320
2320
  const networkKeys = Object.keys(networks);
2321
- if (networkKeys.length === 1) {
2321
+ const networkKeysLength = networkKeys.length;
2322
+ if (networkKeysLength === 1) {
2322
2323
  const network = this.safeValue(networks, networkKeys[0]);
2323
2324
  depositWithdrawFees[code]['withdraw'] = this.safeValue(network, 'withdraw');
2324
2325
  depositWithdrawFees[code]['deposit'] = this.safeValue(network, 'deposit');
@@ -2460,7 +2461,8 @@ class wavesexchange extends wavesexchange$1 {
2460
2461
  let isErc20 = true;
2461
2462
  const noPrefix = this.remove0xPrefix(address);
2462
2463
  const lower = noPrefix.toLowerCase();
2463
- for (let i = 0; i < lower.length; i++) {
2464
+ const stringLength = lower.length * 1;
2465
+ for (let i = 0; i < stringLength; i++) {
2464
2466
  const character = lower[i];
2465
2467
  if (!(character in set)) {
2466
2468
  isErc20 = false;
@@ -809,6 +809,7 @@ class wazirx extends wazirx$1 {
809
809
  const stopPrice = this.safeString(params, 'stopPrice');
810
810
  if (stopPrice !== undefined) {
811
811
  request['type'] = 'stop_limit';
812
+ request['stopPrice'] = this.priceToPrecision(symbol, stopPrice);
812
813
  }
813
814
  const response = await this.privatePostOrder(this.extend(request, params));
814
815
  // {
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 { Market, Trade, Fee, Ticker, OrderBook, Order, Transaction, Tickers, Currency, Balance, DepositAddress, WithdrawalResponse, DepositAddressResponse, OHLCV, Balances, PartialBalances, Dictionary, MinMax } from './src/base/types.js';
6
6
  import { BaseError, ExchangeError, PermissionDenied, AccountNotEnabled, AccountSuspended, ArgumentsRequired, BadRequest, BadSymbol, MarginModeAlreadySet, BadResponse, NullResponse, InsufficientFunds, InvalidAddress, InvalidOrder, OrderNotFound, OrderNotCached, CancelPending, OrderImmediatelyFillable, OrderNotFillable, DuplicateOrderId, NotSupported, NetworkError, DDoSProtection, RateLimitExceeded, ExchangeNotAvailable, OnMaintenance, InvalidNonce, RequestTimeout, AuthenticationError, AddressPending } from './src/base/errors.js';
7
- declare const version = "4.0.77";
7
+ declare const version = "4.0.79";
8
8
  import ace from './src/ace.js';
9
9
  import alpaca from './src/alpaca.js';
10
10
  import ascendex from './src/ascendex.js';
package/js/ccxt.js CHANGED
@@ -38,7 +38,7 @@ import * as errors from './src/base/errors.js';
38
38
  import { BaseError, ExchangeError, PermissionDenied, AccountNotEnabled, AccountSuspended, ArgumentsRequired, BadRequest, BadSymbol, MarginModeAlreadySet, BadResponse, NullResponse, InsufficientFunds, InvalidAddress, InvalidOrder, OrderNotFound, OrderNotCached, CancelPending, OrderImmediatelyFillable, OrderNotFillable, DuplicateOrderId, NotSupported, NetworkError, DDoSProtection, RateLimitExceeded, ExchangeNotAvailable, OnMaintenance, InvalidNonce, RequestTimeout, AuthenticationError, AddressPending } from './src/base/errors.js';
39
39
  //-----------------------------------------------------------------------------
40
40
  // this is updated by vss.js when building
41
- const version = '4.0.78';
41
+ const version = '4.0.80';
42
42
  Exchange.ccxtVersion = version;
43
43
  //-----------------------------------------------------------------------------
44
44
  import ace from './src/ace.js';
@@ -47,6 +47,7 @@ interface Exchange {
47
47
  sapiGetMarginExchangeSmallLiability(params?: {}): Promise<implicitReturnType>;
48
48
  sapiGetMarginExchangeSmallLiabilityHistory(params?: {}): Promise<implicitReturnType>;
49
49
  sapiGetMarginNextHourlyInterestRate(params?: {}): Promise<implicitReturnType>;
50
+ sapiGetMarginDelistSchedule(params?: {}): Promise<implicitReturnType>;
50
51
  sapiGetLoanVipLoanableData(params?: {}): Promise<implicitReturnType>;
51
52
  sapiGetLoanVipCollateralData(params?: {}): Promise<implicitReturnType>;
52
53
  sapiGetLoanVipRequestData(params?: {}): Promise<implicitReturnType>;
@@ -98,7 +99,8 @@ interface Exchange {
98
99
  sapiGetSubAccountTransferSubUserHistory(params?: {}): Promise<implicitReturnType>;
99
100
  sapiGetSubAccountUniversalTransfer(params?: {}): Promise<implicitReturnType>;
100
101
  sapiGetSubAccountApiRestrictionsIpRestrictionThirdPartyList(params?: {}): Promise<implicitReturnType>;
101
- sapiGetSubAccountTransactionTatistics(params?: {}): Promise<implicitReturnType>;
102
+ sapiGetSubAccountTransactionStatistics(params?: {}): Promise<implicitReturnType>;
103
+ sapiGetSubAccountSubAccountApiIpRestriction(params?: {}): Promise<implicitReturnType>;
102
104
  sapiGetManagedSubaccountAsset(params?: {}): Promise<implicitReturnType>;
103
105
  sapiGetManagedSubaccountAccountSnapshot(params?: {}): Promise<implicitReturnType>;
104
106
  sapiGetManagedSubaccountQueryTransLogForInvestor(params?: {}): Promise<implicitReturnType>;
@@ -174,6 +176,9 @@ interface Exchange {
174
176
  sapiGetGiftcardVerify(params?: {}): Promise<implicitReturnType>;
175
177
  sapiGetGiftcardCryptographyRsaPublicKey(params?: {}): Promise<implicitReturnType>;
176
178
  sapiGetGiftcardBuyCodeTokenLimit(params?: {}): Promise<implicitReturnType>;
179
+ sapiGetAlgoSpotOpenOrders(params?: {}): Promise<implicitReturnType>;
180
+ sapiGetAlgoSpotHistoricalOrders(params?: {}): Promise<implicitReturnType>;
181
+ sapiGetAlgoSpotSubOrders(params?: {}): Promise<implicitReturnType>;
177
182
  sapiGetAlgoFuturesOpenOrders(params?: {}): Promise<implicitReturnType>;
178
183
  sapiGetAlgoFuturesHistoricalOrders(params?: {}): Promise<implicitReturnType>;
179
184
  sapiGetAlgoFuturesSubOrders(params?: {}): Promise<implicitReturnType>;
@@ -282,6 +287,7 @@ interface Exchange {
282
287
  sapiPostGiftcardCreateCode(params?: {}): Promise<implicitReturnType>;
283
288
  sapiPostGiftcardRedeemCode(params?: {}): Promise<implicitReturnType>;
284
289
  sapiPostGiftcardBuyCode(params?: {}): Promise<implicitReturnType>;
290
+ sapiPostAlgoSpotNewOrderTwap(params?: {}): Promise<implicitReturnType>;
285
291
  sapiPostAlgoFuturesNewOrderVp(params?: {}): Promise<implicitReturnType>;
286
292
  sapiPostAlgoFuturesNewOrderTwap(params?: {}): Promise<implicitReturnType>;
287
293
  sapiPostStakingPurchase(params?: {}): Promise<implicitReturnType>;
@@ -321,9 +327,12 @@ interface Exchange {
321
327
  sapiDeleteUserDataStreamIsolated(params?: {}): Promise<implicitReturnType>;
322
328
  sapiDeleteBrokerSubAccountApi(params?: {}): Promise<implicitReturnType>;
323
329
  sapiDeleteBrokerSubAccountApiIpRestrictionIpList(params?: {}): Promise<implicitReturnType>;
330
+ sapiDeleteAlgoSpotOrder(params?: {}): Promise<implicitReturnType>;
324
331
  sapiDeleteAlgoFuturesOrder(params?: {}): Promise<implicitReturnType>;
332
+ sapiDeleteSubAccountSubAccountApiIpRestrictionIpList(params?: {}): Promise<implicitReturnType>;
325
333
  sapiV2GetSubAccountFuturesAccount(params?: {}): Promise<implicitReturnType>;
326
334
  sapiV2GetSubAccountFuturesPositionRisk(params?: {}): Promise<implicitReturnType>;
335
+ sapiV2PostSubAccountSubAccountApiIpRestriction(params?: {}): Promise<implicitReturnType>;
327
336
  sapiV3GetSubAccountAssets(params?: {}): Promise<implicitReturnType>;
328
337
  sapiV3PostAssetGetUserAsset(params?: {}): Promise<implicitReturnType>;
329
338
  sapiV4GetSubAccountAssets(params?: {}): Promise<implicitReturnType>;
@@ -518,10 +527,12 @@ interface Exchange {
518
527
  publicGetAggTrades(params?: {}): Promise<implicitReturnType>;
519
528
  publicGetHistoricalTrades(params?: {}): Promise<implicitReturnType>;
520
529
  publicGetKlines(params?: {}): Promise<implicitReturnType>;
530
+ publicGetUiKlines(params?: {}): Promise<implicitReturnType>;
521
531
  publicGetTicker24hr(params?: {}): Promise<implicitReturnType>;
522
532
  publicGetTickerPrice(params?: {}): Promise<implicitReturnType>;
523
533
  publicGetTickerBookTicker(params?: {}): Promise<implicitReturnType>;
524
534
  publicGetExchangeInfo(params?: {}): Promise<implicitReturnType>;
535
+ publicGetAvgPrice(params?: {}): Promise<implicitReturnType>;
525
536
  publicPutUserDataStream(params?: {}): Promise<implicitReturnType>;
526
537
  publicPostUserDataStream(params?: {}): Promise<implicitReturnType>;
527
538
  publicDeleteUserDataStream(params?: {}): Promise<implicitReturnType>;
@@ -47,6 +47,7 @@ interface binance {
47
47
  sapiGetMarginExchangeSmallLiability(params?: {}): Promise<implicitReturnType>;
48
48
  sapiGetMarginExchangeSmallLiabilityHistory(params?: {}): Promise<implicitReturnType>;
49
49
  sapiGetMarginNextHourlyInterestRate(params?: {}): Promise<implicitReturnType>;
50
+ sapiGetMarginDelistSchedule(params?: {}): Promise<implicitReturnType>;
50
51
  sapiGetLoanVipLoanableData(params?: {}): Promise<implicitReturnType>;
51
52
  sapiGetLoanVipCollateralData(params?: {}): Promise<implicitReturnType>;
52
53
  sapiGetLoanVipRequestData(params?: {}): Promise<implicitReturnType>;
@@ -98,7 +99,8 @@ interface binance {
98
99
  sapiGetSubAccountTransferSubUserHistory(params?: {}): Promise<implicitReturnType>;
99
100
  sapiGetSubAccountUniversalTransfer(params?: {}): Promise<implicitReturnType>;
100
101
  sapiGetSubAccountApiRestrictionsIpRestrictionThirdPartyList(params?: {}): Promise<implicitReturnType>;
101
- sapiGetSubAccountTransactionTatistics(params?: {}): Promise<implicitReturnType>;
102
+ sapiGetSubAccountTransactionStatistics(params?: {}): Promise<implicitReturnType>;
103
+ sapiGetSubAccountSubAccountApiIpRestriction(params?: {}): Promise<implicitReturnType>;
102
104
  sapiGetManagedSubaccountAsset(params?: {}): Promise<implicitReturnType>;
103
105
  sapiGetManagedSubaccountAccountSnapshot(params?: {}): Promise<implicitReturnType>;
104
106
  sapiGetManagedSubaccountQueryTransLogForInvestor(params?: {}): Promise<implicitReturnType>;
@@ -174,6 +176,9 @@ interface binance {
174
176
  sapiGetGiftcardVerify(params?: {}): Promise<implicitReturnType>;
175
177
  sapiGetGiftcardCryptographyRsaPublicKey(params?: {}): Promise<implicitReturnType>;
176
178
  sapiGetGiftcardBuyCodeTokenLimit(params?: {}): Promise<implicitReturnType>;
179
+ sapiGetAlgoSpotOpenOrders(params?: {}): Promise<implicitReturnType>;
180
+ sapiGetAlgoSpotHistoricalOrders(params?: {}): Promise<implicitReturnType>;
181
+ sapiGetAlgoSpotSubOrders(params?: {}): Promise<implicitReturnType>;
177
182
  sapiGetAlgoFuturesOpenOrders(params?: {}): Promise<implicitReturnType>;
178
183
  sapiGetAlgoFuturesHistoricalOrders(params?: {}): Promise<implicitReturnType>;
179
184
  sapiGetAlgoFuturesSubOrders(params?: {}): Promise<implicitReturnType>;
@@ -282,6 +287,7 @@ interface binance {
282
287
  sapiPostGiftcardCreateCode(params?: {}): Promise<implicitReturnType>;
283
288
  sapiPostGiftcardRedeemCode(params?: {}): Promise<implicitReturnType>;
284
289
  sapiPostGiftcardBuyCode(params?: {}): Promise<implicitReturnType>;
290
+ sapiPostAlgoSpotNewOrderTwap(params?: {}): Promise<implicitReturnType>;
285
291
  sapiPostAlgoFuturesNewOrderVp(params?: {}): Promise<implicitReturnType>;
286
292
  sapiPostAlgoFuturesNewOrderTwap(params?: {}): Promise<implicitReturnType>;
287
293
  sapiPostStakingPurchase(params?: {}): Promise<implicitReturnType>;
@@ -321,9 +327,12 @@ interface binance {
321
327
  sapiDeleteUserDataStreamIsolated(params?: {}): Promise<implicitReturnType>;
322
328
  sapiDeleteBrokerSubAccountApi(params?: {}): Promise<implicitReturnType>;
323
329
  sapiDeleteBrokerSubAccountApiIpRestrictionIpList(params?: {}): Promise<implicitReturnType>;
330
+ sapiDeleteAlgoSpotOrder(params?: {}): Promise<implicitReturnType>;
324
331
  sapiDeleteAlgoFuturesOrder(params?: {}): Promise<implicitReturnType>;
332
+ sapiDeleteSubAccountSubAccountApiIpRestrictionIpList(params?: {}): Promise<implicitReturnType>;
325
333
  sapiV2GetSubAccountFuturesAccount(params?: {}): Promise<implicitReturnType>;
326
334
  sapiV2GetSubAccountFuturesPositionRisk(params?: {}): Promise<implicitReturnType>;
335
+ sapiV2PostSubAccountSubAccountApiIpRestriction(params?: {}): Promise<implicitReturnType>;
327
336
  sapiV3GetSubAccountAssets(params?: {}): Promise<implicitReturnType>;
328
337
  sapiV3PostAssetGetUserAsset(params?: {}): Promise<implicitReturnType>;
329
338
  sapiV4GetSubAccountAssets(params?: {}): Promise<implicitReturnType>;
@@ -518,10 +527,12 @@ interface binance {
518
527
  publicGetAggTrades(params?: {}): Promise<implicitReturnType>;
519
528
  publicGetHistoricalTrades(params?: {}): Promise<implicitReturnType>;
520
529
  publicGetKlines(params?: {}): Promise<implicitReturnType>;
530
+ publicGetUiKlines(params?: {}): Promise<implicitReturnType>;
521
531
  publicGetTicker24hr(params?: {}): Promise<implicitReturnType>;
522
532
  publicGetTickerPrice(params?: {}): Promise<implicitReturnType>;
523
533
  publicGetTickerBookTicker(params?: {}): Promise<implicitReturnType>;
524
534
  publicGetExchangeInfo(params?: {}): Promise<implicitReturnType>;
535
+ publicGetAvgPrice(params?: {}): Promise<implicitReturnType>;
525
536
  publicPutUserDataStream(params?: {}): Promise<implicitReturnType>;
526
537
  publicPostUserDataStream(params?: {}): Promise<implicitReturnType>;
527
538
  publicDeleteUserDataStream(params?: {}): Promise<implicitReturnType>;
@@ -47,6 +47,7 @@ interface binance {
47
47
  sapiGetMarginExchangeSmallLiability(params?: {}): Promise<implicitReturnType>;
48
48
  sapiGetMarginExchangeSmallLiabilityHistory(params?: {}): Promise<implicitReturnType>;
49
49
  sapiGetMarginNextHourlyInterestRate(params?: {}): Promise<implicitReturnType>;
50
+ sapiGetMarginDelistSchedule(params?: {}): Promise<implicitReturnType>;
50
51
  sapiGetLoanVipLoanableData(params?: {}): Promise<implicitReturnType>;
51
52
  sapiGetLoanVipCollateralData(params?: {}): Promise<implicitReturnType>;
52
53
  sapiGetLoanVipRequestData(params?: {}): Promise<implicitReturnType>;
@@ -98,7 +99,8 @@ interface binance {
98
99
  sapiGetSubAccountTransferSubUserHistory(params?: {}): Promise<implicitReturnType>;
99
100
  sapiGetSubAccountUniversalTransfer(params?: {}): Promise<implicitReturnType>;
100
101
  sapiGetSubAccountApiRestrictionsIpRestrictionThirdPartyList(params?: {}): Promise<implicitReturnType>;
101
- sapiGetSubAccountTransactionTatistics(params?: {}): Promise<implicitReturnType>;
102
+ sapiGetSubAccountTransactionStatistics(params?: {}): Promise<implicitReturnType>;
103
+ sapiGetSubAccountSubAccountApiIpRestriction(params?: {}): Promise<implicitReturnType>;
102
104
  sapiGetManagedSubaccountAsset(params?: {}): Promise<implicitReturnType>;
103
105
  sapiGetManagedSubaccountAccountSnapshot(params?: {}): Promise<implicitReturnType>;
104
106
  sapiGetManagedSubaccountQueryTransLogForInvestor(params?: {}): Promise<implicitReturnType>;
@@ -174,6 +176,9 @@ interface binance {
174
176
  sapiGetGiftcardVerify(params?: {}): Promise<implicitReturnType>;
175
177
  sapiGetGiftcardCryptographyRsaPublicKey(params?: {}): Promise<implicitReturnType>;
176
178
  sapiGetGiftcardBuyCodeTokenLimit(params?: {}): Promise<implicitReturnType>;
179
+ sapiGetAlgoSpotOpenOrders(params?: {}): Promise<implicitReturnType>;
180
+ sapiGetAlgoSpotHistoricalOrders(params?: {}): Promise<implicitReturnType>;
181
+ sapiGetAlgoSpotSubOrders(params?: {}): Promise<implicitReturnType>;
177
182
  sapiGetAlgoFuturesOpenOrders(params?: {}): Promise<implicitReturnType>;
178
183
  sapiGetAlgoFuturesHistoricalOrders(params?: {}): Promise<implicitReturnType>;
179
184
  sapiGetAlgoFuturesSubOrders(params?: {}): Promise<implicitReturnType>;
@@ -282,6 +287,7 @@ interface binance {
282
287
  sapiPostGiftcardCreateCode(params?: {}): Promise<implicitReturnType>;
283
288
  sapiPostGiftcardRedeemCode(params?: {}): Promise<implicitReturnType>;
284
289
  sapiPostGiftcardBuyCode(params?: {}): Promise<implicitReturnType>;
290
+ sapiPostAlgoSpotNewOrderTwap(params?: {}): Promise<implicitReturnType>;
285
291
  sapiPostAlgoFuturesNewOrderVp(params?: {}): Promise<implicitReturnType>;
286
292
  sapiPostAlgoFuturesNewOrderTwap(params?: {}): Promise<implicitReturnType>;
287
293
  sapiPostStakingPurchase(params?: {}): Promise<implicitReturnType>;
@@ -321,9 +327,12 @@ interface binance {
321
327
  sapiDeleteUserDataStreamIsolated(params?: {}): Promise<implicitReturnType>;
322
328
  sapiDeleteBrokerSubAccountApi(params?: {}): Promise<implicitReturnType>;
323
329
  sapiDeleteBrokerSubAccountApiIpRestrictionIpList(params?: {}): Promise<implicitReturnType>;
330
+ sapiDeleteAlgoSpotOrder(params?: {}): Promise<implicitReturnType>;
324
331
  sapiDeleteAlgoFuturesOrder(params?: {}): Promise<implicitReturnType>;
332
+ sapiDeleteSubAccountSubAccountApiIpRestrictionIpList(params?: {}): Promise<implicitReturnType>;
325
333
  sapiV2GetSubAccountFuturesAccount(params?: {}): Promise<implicitReturnType>;
326
334
  sapiV2GetSubAccountFuturesPositionRisk(params?: {}): Promise<implicitReturnType>;
335
+ sapiV2PostSubAccountSubAccountApiIpRestriction(params?: {}): Promise<implicitReturnType>;
327
336
  sapiV3GetSubAccountAssets(params?: {}): Promise<implicitReturnType>;
328
337
  sapiV3PostAssetGetUserAsset(params?: {}): Promise<implicitReturnType>;
329
338
  sapiV4GetSubAccountAssets(params?: {}): Promise<implicitReturnType>;
@@ -518,10 +527,12 @@ interface binance {
518
527
  publicGetAggTrades(params?: {}): Promise<implicitReturnType>;
519
528
  publicGetHistoricalTrades(params?: {}): Promise<implicitReturnType>;
520
529
  publicGetKlines(params?: {}): Promise<implicitReturnType>;
530
+ publicGetUiKlines(params?: {}): Promise<implicitReturnType>;
521
531
  publicGetTicker24hr(params?: {}): Promise<implicitReturnType>;
522
532
  publicGetTickerPrice(params?: {}): Promise<implicitReturnType>;
523
533
  publicGetTickerBookTicker(params?: {}): Promise<implicitReturnType>;
524
534
  publicGetExchangeInfo(params?: {}): Promise<implicitReturnType>;
535
+ publicGetAvgPrice(params?: {}): Promise<implicitReturnType>;
525
536
  publicPutUserDataStream(params?: {}): Promise<implicitReturnType>;
526
537
  publicPostUserDataStream(params?: {}): Promise<implicitReturnType>;
527
538
  publicDeleteUserDataStream(params?: {}): Promise<implicitReturnType>;
@@ -47,6 +47,7 @@ interface binance {
47
47
  sapiGetMarginExchangeSmallLiability(params?: {}): Promise<implicitReturnType>;
48
48
  sapiGetMarginExchangeSmallLiabilityHistory(params?: {}): Promise<implicitReturnType>;
49
49
  sapiGetMarginNextHourlyInterestRate(params?: {}): Promise<implicitReturnType>;
50
+ sapiGetMarginDelistSchedule(params?: {}): Promise<implicitReturnType>;
50
51
  sapiGetLoanVipLoanableData(params?: {}): Promise<implicitReturnType>;
51
52
  sapiGetLoanVipCollateralData(params?: {}): Promise<implicitReturnType>;
52
53
  sapiGetLoanVipRequestData(params?: {}): Promise<implicitReturnType>;
@@ -98,7 +99,8 @@ interface binance {
98
99
  sapiGetSubAccountTransferSubUserHistory(params?: {}): Promise<implicitReturnType>;
99
100
  sapiGetSubAccountUniversalTransfer(params?: {}): Promise<implicitReturnType>;
100
101
  sapiGetSubAccountApiRestrictionsIpRestrictionThirdPartyList(params?: {}): Promise<implicitReturnType>;
101
- sapiGetSubAccountTransactionTatistics(params?: {}): Promise<implicitReturnType>;
102
+ sapiGetSubAccountTransactionStatistics(params?: {}): Promise<implicitReturnType>;
103
+ sapiGetSubAccountSubAccountApiIpRestriction(params?: {}): Promise<implicitReturnType>;
102
104
  sapiGetManagedSubaccountAsset(params?: {}): Promise<implicitReturnType>;
103
105
  sapiGetManagedSubaccountAccountSnapshot(params?: {}): Promise<implicitReturnType>;
104
106
  sapiGetManagedSubaccountQueryTransLogForInvestor(params?: {}): Promise<implicitReturnType>;
@@ -174,6 +176,9 @@ interface binance {
174
176
  sapiGetGiftcardVerify(params?: {}): Promise<implicitReturnType>;
175
177
  sapiGetGiftcardCryptographyRsaPublicKey(params?: {}): Promise<implicitReturnType>;
176
178
  sapiGetGiftcardBuyCodeTokenLimit(params?: {}): Promise<implicitReturnType>;
179
+ sapiGetAlgoSpotOpenOrders(params?: {}): Promise<implicitReturnType>;
180
+ sapiGetAlgoSpotHistoricalOrders(params?: {}): Promise<implicitReturnType>;
181
+ sapiGetAlgoSpotSubOrders(params?: {}): Promise<implicitReturnType>;
177
182
  sapiGetAlgoFuturesOpenOrders(params?: {}): Promise<implicitReturnType>;
178
183
  sapiGetAlgoFuturesHistoricalOrders(params?: {}): Promise<implicitReturnType>;
179
184
  sapiGetAlgoFuturesSubOrders(params?: {}): Promise<implicitReturnType>;
@@ -282,6 +287,7 @@ interface binance {
282
287
  sapiPostGiftcardCreateCode(params?: {}): Promise<implicitReturnType>;
283
288
  sapiPostGiftcardRedeemCode(params?: {}): Promise<implicitReturnType>;
284
289
  sapiPostGiftcardBuyCode(params?: {}): Promise<implicitReturnType>;
290
+ sapiPostAlgoSpotNewOrderTwap(params?: {}): Promise<implicitReturnType>;
285
291
  sapiPostAlgoFuturesNewOrderVp(params?: {}): Promise<implicitReturnType>;
286
292
  sapiPostAlgoFuturesNewOrderTwap(params?: {}): Promise<implicitReturnType>;
287
293
  sapiPostStakingPurchase(params?: {}): Promise<implicitReturnType>;
@@ -321,9 +327,12 @@ interface binance {
321
327
  sapiDeleteUserDataStreamIsolated(params?: {}): Promise<implicitReturnType>;
322
328
  sapiDeleteBrokerSubAccountApi(params?: {}): Promise<implicitReturnType>;
323
329
  sapiDeleteBrokerSubAccountApiIpRestrictionIpList(params?: {}): Promise<implicitReturnType>;
330
+ sapiDeleteAlgoSpotOrder(params?: {}): Promise<implicitReturnType>;
324
331
  sapiDeleteAlgoFuturesOrder(params?: {}): Promise<implicitReturnType>;
332
+ sapiDeleteSubAccountSubAccountApiIpRestrictionIpList(params?: {}): Promise<implicitReturnType>;
325
333
  sapiV2GetSubAccountFuturesAccount(params?: {}): Promise<implicitReturnType>;
326
334
  sapiV2GetSubAccountFuturesPositionRisk(params?: {}): Promise<implicitReturnType>;
335
+ sapiV2PostSubAccountSubAccountApiIpRestriction(params?: {}): Promise<implicitReturnType>;
327
336
  sapiV3GetSubAccountAssets(params?: {}): Promise<implicitReturnType>;
328
337
  sapiV3PostAssetGetUserAsset(params?: {}): Promise<implicitReturnType>;
329
338
  sapiV4GetSubAccountAssets(params?: {}): Promise<implicitReturnType>;
@@ -518,10 +527,12 @@ interface binance {
518
527
  publicGetAggTrades(params?: {}): Promise<implicitReturnType>;
519
528
  publicGetHistoricalTrades(params?: {}): Promise<implicitReturnType>;
520
529
  publicGetKlines(params?: {}): Promise<implicitReturnType>;
530
+ publicGetUiKlines(params?: {}): Promise<implicitReturnType>;
521
531
  publicGetTicker24hr(params?: {}): Promise<implicitReturnType>;
522
532
  publicGetTickerPrice(params?: {}): Promise<implicitReturnType>;
523
533
  publicGetTickerBookTicker(params?: {}): Promise<implicitReturnType>;
524
534
  publicGetExchangeInfo(params?: {}): Promise<implicitReturnType>;
535
+ publicGetAvgPrice(params?: {}): Promise<implicitReturnType>;
525
536
  publicPutUserDataStream(params?: {}): Promise<implicitReturnType>;
526
537
  publicPostUserDataStream(params?: {}): Promise<implicitReturnType>;
527
538
  publicDeleteUserDataStream(params?: {}): Promise<implicitReturnType>;
@@ -98,6 +98,7 @@ interface Exchange {
98
98
  publicGetV5MarketDeliveryPrice(params?: {}): Promise<implicitReturnType>;
99
99
  publicGetV5SpotLeverTokenInfo(params?: {}): Promise<implicitReturnType>;
100
100
  publicGetV5SpotLeverTokenReference(params?: {}): Promise<implicitReturnType>;
101
+ publicGetV5SpotMarginTradeData(params?: {}): Promise<implicitReturnType>;
101
102
  publicGetV5SpotCrossMarginTradeData(params?: {}): Promise<implicitReturnType>;
102
103
  publicGetV5SpotCrossMarginTradePledgeToken(params?: {}): Promise<implicitReturnType>;
103
104
  publicGetV5SpotCrossMarginTradeBorrowToken(params?: {}): Promise<implicitReturnType>;
@@ -48,6 +48,7 @@ interface Exchange {
48
48
  spotPrivateGetRebateDetail(params?: {}): Promise<implicitReturnType>;
49
49
  spotPrivateGetRebateDetailKickback(params?: {}): Promise<implicitReturnType>;
50
50
  spotPrivateGetRebateReferCode(params?: {}): Promise<implicitReturnType>;
51
+ spotPrivateGetRebateAffiliateCommission(params?: {}): Promise<implicitReturnType>;
51
52
  spotPrivateGetMxDeductEnable(params?: {}): Promise<implicitReturnType>;
52
53
  spotPrivateGetUserDataStream(params?: {}): Promise<implicitReturnType>;
53
54
  spotPrivatePostOrder(params?: {}): Promise<implicitReturnType>;
@@ -48,6 +48,7 @@ interface mexc {
48
48
  spotPrivateGetRebateDetail(params?: {}): Promise<implicitReturnType>;
49
49
  spotPrivateGetRebateDetailKickback(params?: {}): Promise<implicitReturnType>;
50
50
  spotPrivateGetRebateReferCode(params?: {}): Promise<implicitReturnType>;
51
+ spotPrivateGetRebateAffiliateCommission(params?: {}): Promise<implicitReturnType>;
51
52
  spotPrivateGetMxDeductEnable(params?: {}): Promise<implicitReturnType>;
52
53
  spotPrivateGetUserDataStream(params?: {}): Promise<implicitReturnType>;
53
54
  spotPrivatePostOrder(params?: {}): Promise<implicitReturnType>;