ccxt 4.3.22 → 4.3.24

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 (44) hide show
  1. package/README.md +5 -5
  2. package/dist/cjs/ccxt.js +9 -6
  3. package/dist/cjs/src/base/Exchange.js +4 -3
  4. package/dist/cjs/src/binance.js +1 -1
  5. package/dist/cjs/src/bitrue.js +6 -1
  6. package/dist/cjs/src/coinbase.js +5 -0
  7. package/dist/cjs/src/coinbaseadvanced.js +17 -0
  8. package/dist/cjs/src/{coinbasepro.js → coinbaseexchange.js} +40 -40
  9. package/dist/cjs/src/coinex.js +198 -257
  10. package/dist/cjs/src/kucoin.js +1 -0
  11. package/dist/cjs/src/phemex.js +26 -9
  12. package/dist/cjs/src/pro/bitget.js +12 -3
  13. package/dist/cjs/src/pro/{coinbasepro.js → coinbaseexchange.js} +13 -13
  14. package/dist/cjs/src/pro/poloniexfutures.js +22 -17
  15. package/dist/cjs/src/probit.js +1 -20
  16. package/dist/cjs/src/whitebit.js +9 -0
  17. package/js/ccxt.d.ts +11 -8
  18. package/js/ccxt.js +8 -6
  19. package/js/src/abstract/coinbaseadvanced.d.ts +97 -0
  20. package/js/src/abstract/coinbaseadvanced.js +11 -0
  21. package/js/src/abstract/whitebit.d.ts +9 -0
  22. package/js/src/base/Exchange.js +4 -3
  23. package/js/src/binance.js +1 -1
  24. package/js/src/bitrue.js +6 -1
  25. package/js/src/coinbase.js +5 -0
  26. package/js/src/coinbaseadvanced.d.ts +4 -0
  27. package/js/src/coinbaseadvanced.js +18 -0
  28. package/js/src/{coinbasepro.d.ts → coinbaseexchange.d.ts} +3 -3
  29. package/js/src/{coinbasepro.js → coinbaseexchange.js} +39 -39
  30. package/js/src/coinex.d.ts +13 -13
  31. package/js/src/coinex.js +199 -258
  32. package/js/src/kucoin.js +1 -0
  33. package/js/src/phemex.d.ts +1 -0
  34. package/js/src/phemex.js +26 -9
  35. package/js/src/pro/bitget.js +12 -3
  36. package/js/src/pro/{coinbasepro.d.ts → coinbaseexchange.d.ts} +2 -2
  37. package/js/src/pro/{coinbasepro.js → coinbaseexchange.js} +12 -12
  38. package/js/src/pro/poloniexfutures.js +22 -17
  39. package/js/src/probit.js +1 -20
  40. package/js/src/whitebit.js +9 -0
  41. package/package.json +1 -1
  42. /package/dist/cjs/src/abstract/{coinbasepro.js → coinbaseexchange.js} +0 -0
  43. /package/js/src/abstract/{coinbasepro.d.ts → coinbaseexchange.d.ts} +0 -0
  44. /package/js/src/abstract/{coinbasepro.js → coinbaseexchange.js} +0 -0
@@ -4783,6 +4783,7 @@ class kucoin extends kucoin$1 {
4783
4783
  const partnerSignature = this.hmac(this.encode(partnerPayload), this.encode(partnerSecret), sha256.sha256, 'base64');
4784
4784
  headers['KC-API-PARTNER-SIGN'] = partnerSignature;
4785
4785
  headers['KC-API-PARTNER'] = partnerId;
4786
+ headers['KC-API-PARTNER-VERIFY'] = 'true';
4786
4787
  }
4787
4788
  if (isBroker) {
4788
4789
  const brokerName = this.safeString(partner, 'name');
@@ -3907,7 +3907,8 @@ class phemex extends phemex$1 {
3907
3907
  request['limit'] = limit;
3908
3908
  }
3909
3909
  let response = undefined;
3910
- if (market['settle'] === 'USDT') {
3910
+ const isUsdt = market['settle'] === 'USDT';
3911
+ if (isUsdt) {
3911
3912
  response = await this.privateGetApiDataGFuturesFundingFees(this.extend(request, params));
3912
3913
  }
3913
3914
  else {
@@ -3922,13 +3923,13 @@ class phemex extends phemex$1 {
3922
3923
  // {
3923
3924
  // "symbol": "BTCUSD",
3924
3925
  // "currency": "BTC",
3925
- // "execQty": 18,
3926
+ // "execQty": 18, // "execQty" regular, but "execQtyRq" in hedge
3926
3927
  // "side": "Buy",
3927
- // "execPriceEp": 360086455,
3928
- // "execValueEv": 49987,
3929
- // "fundingRateEr": 10000,
3930
- // "feeRateEr": 10000,
3931
- // "execFeeEv": 5,
3928
+ // "execPriceEp": 360086455, // "execPriceEp" regular, but "execPriceRp" in hedge
3929
+ // "execValueEv": 49987, // "execValueEv" regular, but "execValueRv" in hedge
3930
+ // "fundingRateEr": 10000, // "fundingRateEr" regular, but "fundingRateRr" in hedge
3931
+ // "feeRateEr": 10000, // "feeRateEr" regular, but "feeRateRr" in hedge
3932
+ // "execFeeEv": 5, // "execFeeEv" regular, but "execFeeRv" in hedge
3932
3933
  // "createTime": 1651881600000
3933
3934
  // }
3934
3935
  // ]
@@ -3941,18 +3942,34 @@ class phemex extends phemex$1 {
3941
3942
  for (let i = 0; i < rows.length; i++) {
3942
3943
  const entry = rows[i];
3943
3944
  const timestamp = this.safeInteger(entry, 'createTime');
3945
+ const execFee = this.safeString2(entry, 'execFeeEv', 'execFeeRv');
3946
+ const currencyCode = this.safeCurrencyCode(this.safeString(entry, 'currency'));
3944
3947
  result.push({
3945
3948
  'info': entry,
3946
3949
  'symbol': this.safeString(entry, 'symbol'),
3947
- 'code': this.safeCurrencyCode(this.safeString(entry, 'currency')),
3950
+ 'code': currencyCode,
3948
3951
  'timestamp': timestamp,
3949
3952
  'datetime': this.iso8601(timestamp),
3950
3953
  'id': undefined,
3951
- 'amount': this.fromEv(this.safeString(entry, 'execFeeEv'), market),
3954
+ 'amount': this.parseFundingFeeToPrecision(execFee, market, currencyCode),
3952
3955
  });
3953
3956
  }
3954
3957
  return result;
3955
3958
  }
3959
+ parseFundingFeeToPrecision(value, market = undefined, currencyCode = undefined) {
3960
+ if (value === undefined || currencyCode === undefined) {
3961
+ return value;
3962
+ }
3963
+ // it was confirmed by phemex support, that USDT contracts use direct amounts in funding fees, while USD & INVERSE needs 'valueScale'
3964
+ const isUsdt = market['settle'] === 'USDT';
3965
+ if (!isUsdt) {
3966
+ const currency = this.safeCurrency(currencyCode);
3967
+ const scale = this.safeString(currency['info'], 'valueScale');
3968
+ const tickPrecision = this.parsePrecision(scale);
3969
+ value = Precise["default"].stringMul(value, tickPrecision);
3970
+ }
3971
+ return value;
3972
+ }
3956
3973
  async fetchFundingRate(symbol, params = {}) {
3957
3974
  /**
3958
3975
  * @method
@@ -1123,7 +1123,7 @@ class bitget extends bitget$1 {
1123
1123
  // "executePrice": "35123", // this is limit price
1124
1124
  // "triggerType": "fill_price",
1125
1125
  // "planType": "amount",
1126
- // #### in case order had fill: ####
1126
+ // #### in case order had a partial fill: ####
1127
1127
  // fillPrice: '35123',
1128
1128
  // tradeId: '1171775539946528779',
1129
1129
  // baseVolume: '7', // field present in market order
@@ -1243,6 +1243,8 @@ class bitget extends bitget$1 {
1243
1243
  let totalAmount = undefined;
1244
1244
  let filledAmount = undefined;
1245
1245
  let cost = undefined;
1246
+ let remaining = undefined;
1247
+ const totalFilled = this.safeString(order, 'accBaseVolume');
1246
1248
  if (isSpot) {
1247
1249
  if (isMargin) {
1248
1250
  filledAmount = this.omitZero(this.safeString(order, 'fillTotalAmount'));
@@ -1250,7 +1252,13 @@ class bitget extends bitget$1 {
1250
1252
  cost = this.safeString(order, 'quoteSize');
1251
1253
  }
1252
1254
  else {
1253
- filledAmount = this.omitZero(this.safeString2(order, 'accBaseVolume', 'baseVolume'));
1255
+ const partialFillAmount = this.safeString(order, 'baseVolume');
1256
+ if (partialFillAmount !== undefined) {
1257
+ filledAmount = partialFillAmount;
1258
+ }
1259
+ else {
1260
+ filledAmount = totalFilled;
1261
+ }
1254
1262
  if (isMarketOrder) {
1255
1263
  if (isBuy) {
1256
1264
  totalAmount = accBaseVolume;
@@ -1273,6 +1281,7 @@ class bitget extends bitget$1 {
1273
1281
  totalAmount = this.safeString(order, 'size');
1274
1282
  cost = this.safeString(order, 'fillNotionalUsd');
1275
1283
  }
1284
+ remaining = this.omitZero(Precise["default"].stringSub(totalAmount, totalFilled));
1276
1285
  return this.safeOrder({
1277
1286
  'info': order,
1278
1287
  'symbol': symbol,
@@ -1291,7 +1300,7 @@ class bitget extends bitget$1 {
1291
1300
  'cost': cost,
1292
1301
  'average': avgPrice,
1293
1302
  'filled': filledAmount,
1294
- 'remaining': undefined,
1303
+ 'remaining': remaining,
1295
1304
  'status': this.parseWsOrderStatus(rawStatus),
1296
1305
  'fee': feeObject,
1297
1306
  'trades': undefined,
@@ -1,13 +1,13 @@
1
1
  'use strict';
2
2
 
3
- var coinbasepro$1 = require('../coinbasepro.js');
3
+ var coinbaseexchange$1 = require('../coinbaseexchange.js');
4
4
  var errors = require('../base/errors.js');
5
5
  var Cache = require('../base/ws/Cache.js');
6
6
  var sha256 = require('../static_dependencies/noble-hashes/sha256.js');
7
7
 
8
8
  // ---------------------------------------------------------------------------
9
9
  // ---------------------------------------------------------------------------
10
- class coinbasepro extends coinbasepro$1 {
10
+ class coinbaseexchange extends coinbaseexchange$1 {
11
11
  describe() {
12
12
  return this.deepExtend(super.describe(), {
13
13
  'has': {
@@ -28,7 +28,7 @@ class coinbasepro extends coinbasepro$1 {
28
28
  },
29
29
  'urls': {
30
30
  'api': {
31
- 'ws': 'wss://ws-feed.pro.coinbase.com',
31
+ 'ws': 'wss://ws-feed.exchange.coinbase.com',
32
32
  },
33
33
  'test': {
34
34
  'ws': 'wss://ws-feed-public.sandbox.exchange.coinbase.com',
@@ -109,7 +109,7 @@ class coinbasepro extends coinbasepro$1 {
109
109
  async watchTicker(symbol, params = {}) {
110
110
  /**
111
111
  * @method
112
- * @name coinbasepro#watchTicker
112
+ * @name coinbaseexchange#watchTicker
113
113
  * @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
114
114
  * @param {string} symbol unified symbol of the market to fetch the ticker for
115
115
  * @param {object} [params] extra parameters specific to the exchange API endpoint
@@ -121,7 +121,7 @@ class coinbasepro extends coinbasepro$1 {
121
121
  async watchTickers(symbols = undefined, params = {}) {
122
122
  /**
123
123
  * @method
124
- * @name coinbasepro#watchTickers
124
+ * @name coinbaseexchange#watchTickers
125
125
  * @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for all markets of a specific list
126
126
  * @param {string[]} [symbols] unified symbol of the market to fetch the ticker for
127
127
  * @param {object} [params] extra parameters specific to the exchange API endpoint
@@ -146,7 +146,7 @@ class coinbasepro extends coinbasepro$1 {
146
146
  async watchTrades(symbol, since = undefined, limit = undefined, params = {}) {
147
147
  /**
148
148
  * @method
149
- * @name coinbasepro#watchTrades
149
+ * @name coinbaseexchange#watchTrades
150
150
  * @description get the list of most recent trades for a particular symbol
151
151
  * @param {string} symbol unified symbol of the market to fetch trades for
152
152
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
@@ -192,7 +192,7 @@ class coinbasepro extends coinbasepro$1 {
192
192
  async watchMyTrades(symbol = undefined, since = undefined, limit = undefined, params = {}) {
193
193
  /**
194
194
  * @method
195
- * @name coinbasepro#watchMyTrades
195
+ * @name coinbaseexchange#watchMyTrades
196
196
  * @description watches information on multiple trades made by the user
197
197
  * @param {string} symbol unified market symbol of the market trades were made in
198
198
  * @param {int} [since] the earliest time in ms to fetch trades for
@@ -217,7 +217,7 @@ class coinbasepro extends coinbasepro$1 {
217
217
  async watchMyTradesForSymbols(symbols = undefined, since = undefined, limit = undefined, params = {}) {
218
218
  /**
219
219
  * @method
220
- * @name coinbasepro#watchMyTradesForSymbols
220
+ * @name coinbaseexchange#watchMyTradesForSymbols
221
221
  * @description watches information on multiple trades made by the user
222
222
  * @param {string[]} symbols unified symbol of the market to fetch trades for
223
223
  * @param {int} [since] the earliest time in ms to fetch trades for
@@ -241,7 +241,7 @@ class coinbasepro extends coinbasepro$1 {
241
241
  async watchOrdersForSymbols(symbols = undefined, since = undefined, limit = undefined, params = {}) {
242
242
  /**
243
243
  * @method
244
- * @name coinbasepro#watchOrdersForSymbols
244
+ * @name coinbaseexchange#watchOrdersForSymbols
245
245
  * @description watches information on multiple orders made by the user
246
246
  * @param {string[]} symbols unified symbol of the market to fetch orders for
247
247
  * @param {int} [since] the earliest time in ms to fetch orders for
@@ -265,7 +265,7 @@ class coinbasepro extends coinbasepro$1 {
265
265
  async watchOrders(symbol = undefined, since = undefined, limit = undefined, params = {}) {
266
266
  /**
267
267
  * @method
268
- * @name coinbasepro#watchOrders
268
+ * @name coinbaseexchange#watchOrders
269
269
  * @description watches information on multiple orders made by the user
270
270
  * @param {string} symbol unified market symbol of the market orders were made in
271
271
  * @param {int} [since] the earliest time in ms to fetch orders for
@@ -290,7 +290,7 @@ class coinbasepro extends coinbasepro$1 {
290
290
  async watchOrderBookForSymbols(symbols, limit = undefined, params = {}) {
291
291
  /**
292
292
  * @method
293
- * @name coinbasepro#watchOrderBookForSymbols
293
+ * @name coinbaseexchange#watchOrderBookForSymbols
294
294
  * @description watches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
295
295
  * @param {string[]} symbols unified array of symbols
296
296
  * @param {int} [limit] the maximum amount of order book entries to return
@@ -332,7 +332,7 @@ class coinbasepro extends coinbasepro$1 {
332
332
  async watchOrderBook(symbol, limit = undefined, params = {}) {
333
333
  /**
334
334
  * @method
335
- * @name coinbasepro#watchOrderBook
335
+ * @name coinbaseexchange#watchOrderBook
336
336
  * @description watches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
337
337
  * @param {string} symbol unified symbol of the market to fetch the order book for
338
338
  * @param {int} [limit] the maximum amount of order book entries to return
@@ -965,4 +965,4 @@ class coinbasepro extends coinbasepro$1 {
965
965
  }
966
966
  }
967
967
 
968
- module.exports = coinbasepro;
968
+ module.exports = coinbaseexchange;
@@ -843,31 +843,36 @@ class poloniexfutures extends poloniexfutures$1 {
843
843
  handleDelta(orderbook, delta) {
844
844
  //
845
845
  // {
846
- // "sequence": 18, // Sequence number which is used to judge the continuity of pushed messages
847
- // "change": "5000.0,sell,83" // Price, side, quantity
848
- // "timestamp": 1551770400000
849
- // }
846
+ // sequence: 123677914,
847
+ // lastSequence: 123677913,
848
+ // change: '80.36,buy,4924',
849
+ // changes: [ '80.19,buy,0',"80.15,buy,10794" ],
850
+ // timestamp: 1715643483528
851
+ // },
850
852
  //
851
853
  const sequence = this.safeInteger(delta, 'sequence');
854
+ const lastSequence = this.safeInteger(delta, 'lastSequence');
852
855
  const nonce = this.safeInteger(orderbook, 'nonce');
853
- if (nonce !== sequence - 1) {
854
- const checksum = this.safeBool(this.options, 'checksum', true);
855
- if (checksum) {
856
- // todo: client.reject from handleOrderBookMessage properly
857
- throw new errors.InvalidNonce(this.id + ' watchOrderBook received an out-of-order nonce');
858
- }
856
+ if (nonce > sequence) {
857
+ return;
858
+ }
859
+ if (nonce !== lastSequence) {
860
+ throw new errors.InvalidNonce(this.id + ' watchOrderBook received an out-of-order nonce');
861
+ }
862
+ const changes = this.safeList(delta, 'changes');
863
+ for (let i = 0; i < changes.length; i++) {
864
+ const change = changes[i];
865
+ const splitChange = change.split(',');
866
+ const price = this.safeNumber(splitChange, 0);
867
+ const side = this.safeString(splitChange, 1);
868
+ const size = this.safeNumber(splitChange, 2);
869
+ const orderBookSide = (side === 'buy') ? orderbook['bids'] : orderbook['asks'];
870
+ orderBookSide.store(price, size);
859
871
  }
860
- const change = this.safeString(delta, 'change');
861
- const splitChange = change.split(',');
862
- const price = this.safeNumber(splitChange, 0);
863
- const side = this.safeString(splitChange, 1);
864
- const size = this.safeNumber(splitChange, 2);
865
872
  const timestamp = this.safeInteger(delta, 'timestamp');
866
873
  orderbook['timestamp'] = timestamp;
867
874
  orderbook['datetime'] = this.iso8601(timestamp);
868
875
  orderbook['nonce'] = sequence;
869
- const orderBookSide = (side === 'buy') ? orderbook['bids'] : orderbook['asks'];
870
- orderBookSide.store(price, size);
871
876
  }
872
877
  handleBalance(client, message) {
873
878
  //
@@ -205,41 +205,22 @@ class probit extends probit$1 {
205
205
  },
206
206
  },
207
207
  'commonCurrencies': {
208
- 'AUTO': 'Cube',
209
- 'AZU': 'Azultec',
210
- 'BCC': 'BCC',
211
- 'BDP': 'BidiPass',
212
- 'BIRD': 'Birdchain',
213
- 'BTCBEAR': 'BEAR',
214
- 'BTCBULL': 'BULL',
208
+ 'BB': 'Baby Bali',
215
209
  'CBC': 'CryptoBharatCoin',
216
- 'CHE': 'Chellit',
217
- 'CLR': 'Color Platform',
218
210
  'CTK': 'Cryptyk',
219
211
  'CTT': 'Castweet',
220
- 'DIP': 'Dipper',
221
212
  'DKT': 'DAKOTA',
222
213
  'EGC': 'EcoG9coin',
223
214
  'EPS': 'Epanus',
224
215
  'FX': 'Fanzy',
225
- 'GDT': 'Gorilla Diamond',
226
216
  'GM': 'GM Holding',
227
217
  'GOGOL': 'GOL',
228
218
  'GOL': 'Goldofir',
229
- 'GRB': 'Global Reward Bank',
230
- 'HBC': 'Hybrid Bank Cash',
231
219
  'HUSL': 'The Hustle App',
232
220
  'LAND': 'Landbox',
233
- 'LBK': 'Legal Block',
234
- 'ORC': 'Oracle System',
235
- 'PXP': 'PIXSHOP COIN',
236
- 'PYE': 'CreamPYE',
237
- 'ROOK': 'Reckoon',
238
- 'SOC': 'Soda Coin',
239
221
  'SST': 'SocialSwap',
240
222
  'TCT': 'Top Coin Token',
241
223
  'TOR': 'Torex',
242
- 'TPAY': 'Tetra Pay',
243
224
  'UNI': 'UNICORN Token',
244
225
  'UNISWAP': 'UNI',
245
226
  },
@@ -232,6 +232,15 @@ class whitebit extends whitebit$1 {
232
232
  'convert/estimate',
233
233
  'convert/confirm',
234
234
  'convert/history',
235
+ 'sub-account/create',
236
+ 'sub-account/delete',
237
+ 'sub-account/edit',
238
+ 'sub-account/list',
239
+ 'sub-account/transfer',
240
+ 'sub-account/block',
241
+ 'sub-account/unblock',
242
+ 'sub-account/balances',
243
+ 'sub-account/transfer/history',
235
244
  ],
236
245
  },
237
246
  },
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 { Market, Trade, Fee, Ticker, OrderBook, Order, Transaction, Tickers, Currency, Balance, DepositAddress, WithdrawalResponse, DepositAddressResponse, OHLCV, Balances, PartialBalances, Dictionary, MinMax, Position, FundingRateHistory, Liquidation, FundingHistory, MarginMode, Greeks, Leverage, Leverages, Option, OptionChain, Conversion } from './src/base/types.js';
6
6
  import { BaseError, ExchangeError, AuthenticationError, PermissionDenied, AccountNotEnabled, AccountSuspended, ArgumentsRequired, BadRequest, BadSymbol, OperationRejected, NoChange, MarginModeAlreadySet, MarketClosed, BadResponse, NullResponse, InsufficientFunds, InvalidAddress, AddressPending, InvalidOrder, OrderNotFound, OrderNotCached, CancelPending, OrderImmediatelyFillable, OrderNotFillable, DuplicateOrderId, ContractUnavailable, NotSupported, ProxyError, ExchangeClosedByUser, OperationFailed, NetworkError, DDoSProtection, RateLimitExceeded, ExchangeNotAvailable, OnMaintenance, InvalidNonce, RequestTimeout } from './src/base/errors.js';
7
- declare const version = "4.3.21";
7
+ declare const version = "4.3.23";
8
8
  import ace from './src/ace.js';
9
9
  import alpaca from './src/alpaca.js';
10
10
  import ascendex from './src/ascendex.js';
@@ -44,8 +44,9 @@ import btcturk from './src/btcturk.js';
44
44
  import bybit from './src/bybit.js';
45
45
  import cex from './src/cex.js';
46
46
  import coinbase from './src/coinbase.js';
47
+ import coinbaseadvanced from './src/coinbaseadvanced.js';
48
+ import coinbaseexchange from './src/coinbaseexchange.js';
47
49
  import coinbaseinternational from './src/coinbaseinternational.js';
48
- import coinbasepro from './src/coinbasepro.js';
49
50
  import coincheck from './src/coincheck.js';
50
51
  import coinex from './src/coinex.js';
51
52
  import coinlist from './src/coinlist.js';
@@ -133,8 +134,8 @@ import blockchaincomPro from './src/pro/blockchaincom.js';
133
134
  import bybitPro from './src/pro/bybit.js';
134
135
  import cexPro from './src/pro/cex.js';
135
136
  import coinbasePro from './src/pro/coinbase.js';
137
+ import coinbaseexchangePro from './src/pro/coinbaseexchange.js';
136
138
  import coinbaseinternationalPro from './src/pro/coinbaseinternational.js';
137
- import coinbaseproPro from './src/pro/coinbasepro.js';
138
139
  import coincheckPro from './src/pro/coincheck.js';
139
140
  import coinexPro from './src/pro/coinex.js';
140
141
  import coinonePro from './src/pro/coinone.js';
@@ -214,8 +215,9 @@ declare const exchanges: {
214
215
  bybit: typeof bybit;
215
216
  cex: typeof cex;
216
217
  coinbase: typeof coinbase;
218
+ coinbaseadvanced: typeof coinbaseadvanced;
219
+ coinbaseexchange: typeof coinbaseexchange;
217
220
  coinbaseinternational: typeof coinbaseinternational;
218
- coinbasepro: typeof coinbasepro;
219
221
  coincheck: typeof coincheck;
220
222
  coinex: typeof coinex;
221
223
  coinlist: typeof coinlist;
@@ -305,8 +307,8 @@ declare const pro: {
305
307
  bybit: typeof bybitPro;
306
308
  cex: typeof cexPro;
307
309
  coinbase: typeof coinbasePro;
310
+ coinbaseexchange: typeof coinbaseexchangePro;
308
311
  coinbaseinternational: typeof coinbaseinternationalPro;
309
- coinbasepro: typeof coinbaseproPro;
310
312
  coincheck: typeof coincheckPro;
311
313
  coinex: typeof coinexPro;
312
314
  coinone: typeof coinonePro;
@@ -377,8 +379,8 @@ declare const ccxt: {
377
379
  bybit: typeof bybitPro;
378
380
  cex: typeof cexPro;
379
381
  coinbase: typeof coinbasePro;
382
+ coinbaseexchange: typeof coinbaseexchangePro;
380
383
  coinbaseinternational: typeof coinbaseinternationalPro;
381
- coinbasepro: typeof coinbaseproPro;
382
384
  coincheck: typeof coincheckPro;
383
385
  coinex: typeof coinexPro;
384
386
  coinone: typeof coinonePro;
@@ -459,8 +461,9 @@ declare const ccxt: {
459
461
  bybit: typeof bybit;
460
462
  cex: typeof cex;
461
463
  coinbase: typeof coinbase;
464
+ coinbaseadvanced: typeof coinbaseadvanced;
465
+ coinbaseexchange: typeof coinbaseexchange;
462
466
  coinbaseinternational: typeof coinbaseinternational;
463
- coinbasepro: typeof coinbasepro;
464
467
  coincheck: typeof coincheck;
465
468
  coinex: typeof coinex;
466
469
  coinlist: typeof coinlist;
@@ -525,5 +528,5 @@ declare const ccxt: {
525
528
  zaif: typeof zaif;
526
529
  zonda: typeof zonda;
527
530
  } & typeof functions & typeof errors;
528
- export { version, Exchange, exchanges, pro, Precise, functions, errors, BaseError, ExchangeError, AuthenticationError, PermissionDenied, AccountNotEnabled, AccountSuspended, ArgumentsRequired, BadRequest, BadSymbol, OperationRejected, NoChange, MarginModeAlreadySet, MarketClosed, BadResponse, NullResponse, InsufficientFunds, InvalidAddress, AddressPending, InvalidOrder, OrderNotFound, OrderNotCached, CancelPending, OrderImmediatelyFillable, OrderNotFillable, DuplicateOrderId, ContractUnavailable, NotSupported, ProxyError, ExchangeClosedByUser, OperationFailed, NetworkError, DDoSProtection, RateLimitExceeded, ExchangeNotAvailable, OnMaintenance, InvalidNonce, RequestTimeout, Market, Trade, Fee, Ticker, OrderBook, Order, Transaction, Tickers, Currency, Balance, DepositAddress, WithdrawalResponse, DepositAddressResponse, OHLCV, Balances, PartialBalances, Dictionary, MinMax, Position, FundingRateHistory, Liquidation, FundingHistory, MarginMode, Greeks, Leverage, Leverages, Option, OptionChain, Conversion, ace, alpaca, ascendex, bequant, bigone, binance, binancecoinm, binanceus, binanceusdm, bingx, bit2c, bitbank, bitbay, bitbns, bitcoincom, bitfinex, bitfinex2, bitflyer, bitget, bithumb, bitmart, bitmex, bitopro, bitpanda, bitrue, bitso, bitstamp, bitteam, bitvavo, bl3p, blockchaincom, blofin, btcalpha, btcbox, btcmarkets, btcturk, bybit, cex, coinbase, coinbaseinternational, coinbasepro, coincheck, coinex, coinlist, coinmate, coinmetro, coinone, coinsph, coinspot, cryptocom, currencycom, delta, deribit, digifinex, exmo, fmfwio, gate, gateio, gemini, hitbtc, hitbtc3, hollaex, htx, huobi, huobijp, hyperliquid, idex, independentreserve, indodax, kraken, krakenfutures, kucoin, kucoinfutures, kuna, latoken, lbank, luno, lykke, mercado, mexc, ndax, novadax, oceanex, okcoin, okx, onetrading, p2b, paymium, phemex, poloniex, poloniexfutures, probit, timex, tokocrypto, tradeogre, upbit, wavesexchange, wazirx, whitebit, woo, woofipro, yobit, zaif, zonda, };
531
+ export { version, Exchange, exchanges, pro, Precise, functions, errors, BaseError, ExchangeError, AuthenticationError, PermissionDenied, AccountNotEnabled, AccountSuspended, ArgumentsRequired, BadRequest, BadSymbol, OperationRejected, NoChange, MarginModeAlreadySet, MarketClosed, BadResponse, NullResponse, InsufficientFunds, InvalidAddress, AddressPending, InvalidOrder, OrderNotFound, OrderNotCached, CancelPending, OrderImmediatelyFillable, OrderNotFillable, DuplicateOrderId, ContractUnavailable, NotSupported, ProxyError, ExchangeClosedByUser, OperationFailed, NetworkError, DDoSProtection, RateLimitExceeded, ExchangeNotAvailable, OnMaintenance, InvalidNonce, RequestTimeout, Market, Trade, Fee, Ticker, OrderBook, Order, Transaction, Tickers, Currency, Balance, DepositAddress, WithdrawalResponse, DepositAddressResponse, OHLCV, Balances, PartialBalances, Dictionary, MinMax, Position, FundingRateHistory, Liquidation, FundingHistory, MarginMode, Greeks, Leverage, Leverages, Option, OptionChain, Conversion, ace, alpaca, ascendex, bequant, bigone, binance, binancecoinm, binanceus, binanceusdm, bingx, bit2c, bitbank, bitbay, bitbns, bitcoincom, bitfinex, bitfinex2, bitflyer, bitget, bithumb, bitmart, bitmex, bitopro, bitpanda, bitrue, bitso, bitstamp, bitteam, bitvavo, bl3p, blockchaincom, blofin, btcalpha, btcbox, btcmarkets, btcturk, bybit, cex, coinbase, coinbaseadvanced, coinbaseexchange, coinbaseinternational, coincheck, coinex, coinlist, coinmate, coinmetro, coinone, coinsph, coinspot, cryptocom, currencycom, delta, deribit, digifinex, exmo, fmfwio, gate, gateio, gemini, hitbtc, hitbtc3, hollaex, htx, huobi, huobijp, hyperliquid, idex, independentreserve, indodax, kraken, krakenfutures, kucoin, kucoinfutures, kuna, latoken, lbank, luno, lykke, mercado, mexc, ndax, novadax, oceanex, okcoin, okx, onetrading, p2b, paymium, phemex, poloniex, poloniexfutures, probit, timex, tokocrypto, tradeogre, upbit, wavesexchange, wazirx, whitebit, woo, woofipro, yobit, zaif, zonda, };
529
532
  export default ccxt;
package/js/ccxt.js CHANGED
@@ -38,7 +38,7 @@ import * as errors from './src/base/errors.js';
38
38
  import { BaseError, ExchangeError, AuthenticationError, PermissionDenied, AccountNotEnabled, AccountSuspended, ArgumentsRequired, BadRequest, BadSymbol, OperationRejected, NoChange, MarginModeAlreadySet, MarketClosed, BadResponse, NullResponse, InsufficientFunds, InvalidAddress, AddressPending, InvalidOrder, OrderNotFound, OrderNotCached, CancelPending, OrderImmediatelyFillable, OrderNotFillable, DuplicateOrderId, ContractUnavailable, NotSupported, ProxyError, ExchangeClosedByUser, OperationFailed, NetworkError, DDoSProtection, RateLimitExceeded, ExchangeNotAvailable, OnMaintenance, InvalidNonce, RequestTimeout } from './src/base/errors.js';
39
39
  //-----------------------------------------------------------------------------
40
40
  // this is updated by vss.js when building
41
- const version = '4.3.22';
41
+ const version = '4.3.24';
42
42
  Exchange.ccxtVersion = version;
43
43
  //-----------------------------------------------------------------------------
44
44
  import ace from './src/ace.js';
@@ -80,8 +80,9 @@ import btcturk from './src/btcturk.js';
80
80
  import bybit from './src/bybit.js';
81
81
  import cex from './src/cex.js';
82
82
  import coinbase from './src/coinbase.js';
83
+ import coinbaseadvanced from './src/coinbaseadvanced.js';
84
+ import coinbaseexchange from './src/coinbaseexchange.js';
83
85
  import coinbaseinternational from './src/coinbaseinternational.js';
84
- import coinbasepro from './src/coinbasepro.js';
85
86
  import coincheck from './src/coincheck.js';
86
87
  import coinex from './src/coinex.js';
87
88
  import coinlist from './src/coinlist.js';
@@ -170,8 +171,8 @@ import blockchaincomPro from './src/pro/blockchaincom.js';
170
171
  import bybitPro from './src/pro/bybit.js';
171
172
  import cexPro from './src/pro/cex.js';
172
173
  import coinbasePro from './src/pro/coinbase.js';
174
+ import coinbaseexchangePro from './src/pro/coinbaseexchange.js';
173
175
  import coinbaseinternationalPro from './src/pro/coinbaseinternational.js';
174
- import coinbaseproPro from './src/pro/coinbasepro.js';
175
176
  import coincheckPro from './src/pro/coincheck.js';
176
177
  import coinexPro from './src/pro/coinex.js';
177
178
  import coinonePro from './src/pro/coinone.js';
@@ -251,8 +252,9 @@ const exchanges = {
251
252
  'bybit': bybit,
252
253
  'cex': cex,
253
254
  'coinbase': coinbase,
255
+ 'coinbaseadvanced': coinbaseadvanced,
256
+ 'coinbaseexchange': coinbaseexchange,
254
257
  'coinbaseinternational': coinbaseinternational,
255
- 'coinbasepro': coinbasepro,
256
258
  'coincheck': coincheck,
257
259
  'coinex': coinex,
258
260
  'coinlist': coinlist,
@@ -342,8 +344,8 @@ const pro = {
342
344
  'bybit': bybitPro,
343
345
  'cex': cexPro,
344
346
  'coinbase': coinbasePro,
347
+ 'coinbaseexchange': coinbaseexchangePro,
345
348
  'coinbaseinternational': coinbaseinternationalPro,
346
- 'coinbasepro': coinbaseproPro,
347
349
  'coincheck': coincheckPro,
348
350
  'coinex': coinexPro,
349
351
  'coinone': coinonePro,
@@ -396,6 +398,6 @@ pro.exchanges = Object.keys(pro);
396
398
  pro['Exchange'] = Exchange; // now the same for rest and ts
397
399
  //-----------------------------------------------------------------------------
398
400
  const ccxt = Object.assign({ version, Exchange, Precise, 'exchanges': Object.keys(exchanges), 'pro': pro }, exchanges, functions, errors);
399
- export { version, Exchange, exchanges, pro, Precise, functions, errors, BaseError, ExchangeError, AuthenticationError, PermissionDenied, AccountNotEnabled, AccountSuspended, ArgumentsRequired, BadRequest, BadSymbol, OperationRejected, NoChange, MarginModeAlreadySet, MarketClosed, BadResponse, NullResponse, InsufficientFunds, InvalidAddress, AddressPending, InvalidOrder, OrderNotFound, OrderNotCached, CancelPending, OrderImmediatelyFillable, OrderNotFillable, DuplicateOrderId, ContractUnavailable, NotSupported, ProxyError, ExchangeClosedByUser, OperationFailed, NetworkError, DDoSProtection, RateLimitExceeded, ExchangeNotAvailable, OnMaintenance, InvalidNonce, RequestTimeout, ace, alpaca, ascendex, bequant, bigone, binance, binancecoinm, binanceus, binanceusdm, bingx, bit2c, bitbank, bitbay, bitbns, bitcoincom, bitfinex, bitfinex2, bitflyer, bitget, bithumb, bitmart, bitmex, bitopro, bitpanda, bitrue, bitso, bitstamp, bitteam, bitvavo, bl3p, blockchaincom, blofin, btcalpha, btcbox, btcmarkets, btcturk, bybit, cex, coinbase, coinbaseinternational, coinbasepro, coincheck, coinex, coinlist, coinmate, coinmetro, coinone, coinsph, coinspot, cryptocom, currencycom, delta, deribit, digifinex, exmo, fmfwio, gate, gateio, gemini, hitbtc, hitbtc3, hollaex, htx, huobi, huobijp, hyperliquid, idex, independentreserve, indodax, kraken, krakenfutures, kucoin, kucoinfutures, kuna, latoken, lbank, luno, lykke, mercado, mexc, ndax, novadax, oceanex, okcoin, okx, onetrading, p2b, paymium, phemex, poloniex, poloniexfutures, probit, timex, tokocrypto, tradeogre, upbit, wavesexchange, wazirx, whitebit, woo, woofipro, yobit, zaif, zonda, };
401
+ export { version, Exchange, exchanges, pro, Precise, functions, errors, BaseError, ExchangeError, AuthenticationError, PermissionDenied, AccountNotEnabled, AccountSuspended, ArgumentsRequired, BadRequest, BadSymbol, OperationRejected, NoChange, MarginModeAlreadySet, MarketClosed, BadResponse, NullResponse, InsufficientFunds, InvalidAddress, AddressPending, InvalidOrder, OrderNotFound, OrderNotCached, CancelPending, OrderImmediatelyFillable, OrderNotFillable, DuplicateOrderId, ContractUnavailable, NotSupported, ProxyError, ExchangeClosedByUser, OperationFailed, NetworkError, DDoSProtection, RateLimitExceeded, ExchangeNotAvailable, OnMaintenance, InvalidNonce, RequestTimeout, ace, alpaca, ascendex, bequant, bigone, binance, binancecoinm, binanceus, binanceusdm, bingx, bit2c, bitbank, bitbay, bitbns, bitcoincom, bitfinex, bitfinex2, bitflyer, bitget, bithumb, bitmart, bitmex, bitopro, bitpanda, bitrue, bitso, bitstamp, bitteam, bitvavo, bl3p, blockchaincom, blofin, btcalpha, btcbox, btcmarkets, btcturk, bybit, cex, coinbase, coinbaseadvanced, coinbaseexchange, coinbaseinternational, coincheck, coinex, coinlist, coinmate, coinmetro, coinone, coinsph, coinspot, cryptocom, currencycom, delta, deribit, digifinex, exmo, fmfwio, gate, gateio, gemini, hitbtc, hitbtc3, hollaex, htx, huobi, huobijp, hyperliquid, idex, independentreserve, indodax, kraken, krakenfutures, kucoin, kucoinfutures, kuna, latoken, lbank, luno, lykke, mercado, mexc, ndax, novadax, oceanex, okcoin, okx, onetrading, p2b, paymium, phemex, poloniex, poloniexfutures, probit, timex, tokocrypto, tradeogre, upbit, wavesexchange, wazirx, whitebit, woo, woofipro, yobit, zaif, zonda, };
400
402
  export default ccxt;
401
403
  //-----------------------------------------------------------------------------
@@ -0,0 +1,97 @@
1
+ import { implicitReturnType } from '../base/types.js';
2
+ import _coinbase from '../coinbase.js';
3
+ interface coinbase {
4
+ v2PublicGetCurrencies(params?: {}): Promise<implicitReturnType>;
5
+ v2PublicGetCurrenciesCrypto(params?: {}): Promise<implicitReturnType>;
6
+ v2PublicGetTime(params?: {}): Promise<implicitReturnType>;
7
+ v2PublicGetExchangeRates(params?: {}): Promise<implicitReturnType>;
8
+ v2PublicGetUsersUserId(params?: {}): Promise<implicitReturnType>;
9
+ v2PublicGetPricesSymbolBuy(params?: {}): Promise<implicitReturnType>;
10
+ v2PublicGetPricesSymbolSell(params?: {}): Promise<implicitReturnType>;
11
+ v2PublicGetPricesSymbolSpot(params?: {}): Promise<implicitReturnType>;
12
+ v2PrivateGetAccounts(params?: {}): Promise<implicitReturnType>;
13
+ v2PrivateGetAccountsAccountId(params?: {}): Promise<implicitReturnType>;
14
+ v2PrivateGetAccountsAccountIdAddresses(params?: {}): Promise<implicitReturnType>;
15
+ v2PrivateGetAccountsAccountIdAddressesAddressId(params?: {}): Promise<implicitReturnType>;
16
+ v2PrivateGetAccountsAccountIdAddressesAddressIdTransactions(params?: {}): Promise<implicitReturnType>;
17
+ v2PrivateGetAccountsAccountIdTransactions(params?: {}): Promise<implicitReturnType>;
18
+ v2PrivateGetAccountsAccountIdTransactionsTransactionId(params?: {}): Promise<implicitReturnType>;
19
+ v2PrivateGetAccountsAccountIdBuys(params?: {}): Promise<implicitReturnType>;
20
+ v2PrivateGetAccountsAccountIdBuysBuyId(params?: {}): Promise<implicitReturnType>;
21
+ v2PrivateGetAccountsAccountIdSells(params?: {}): Promise<implicitReturnType>;
22
+ v2PrivateGetAccountsAccountIdSellsSellId(params?: {}): Promise<implicitReturnType>;
23
+ v2PrivateGetAccountsAccountIdDeposits(params?: {}): Promise<implicitReturnType>;
24
+ v2PrivateGetAccountsAccountIdDepositsDepositId(params?: {}): Promise<implicitReturnType>;
25
+ v2PrivateGetAccountsAccountIdWithdrawals(params?: {}): Promise<implicitReturnType>;
26
+ v2PrivateGetAccountsAccountIdWithdrawalsWithdrawalId(params?: {}): Promise<implicitReturnType>;
27
+ v2PrivateGetPaymentMethods(params?: {}): Promise<implicitReturnType>;
28
+ v2PrivateGetPaymentMethodsPaymentMethodId(params?: {}): Promise<implicitReturnType>;
29
+ v2PrivateGetUser(params?: {}): Promise<implicitReturnType>;
30
+ v2PrivateGetUserAuth(params?: {}): Promise<implicitReturnType>;
31
+ v2PrivatePostAccounts(params?: {}): Promise<implicitReturnType>;
32
+ v2PrivatePostAccountsAccountIdPrimary(params?: {}): Promise<implicitReturnType>;
33
+ v2PrivatePostAccountsAccountIdAddresses(params?: {}): Promise<implicitReturnType>;
34
+ v2PrivatePostAccountsAccountIdTransactions(params?: {}): Promise<implicitReturnType>;
35
+ v2PrivatePostAccountsAccountIdTransactionsTransactionIdComplete(params?: {}): Promise<implicitReturnType>;
36
+ v2PrivatePostAccountsAccountIdTransactionsTransactionIdResend(params?: {}): Promise<implicitReturnType>;
37
+ v2PrivatePostAccountsAccountIdBuys(params?: {}): Promise<implicitReturnType>;
38
+ v2PrivatePostAccountsAccountIdBuysBuyIdCommit(params?: {}): Promise<implicitReturnType>;
39
+ v2PrivatePostAccountsAccountIdSells(params?: {}): Promise<implicitReturnType>;
40
+ v2PrivatePostAccountsAccountIdSellsSellIdCommit(params?: {}): Promise<implicitReturnType>;
41
+ v2PrivatePostAccountsAccountIdDeposits(params?: {}): Promise<implicitReturnType>;
42
+ v2PrivatePostAccountsAccountIdDepositsDepositIdCommit(params?: {}): Promise<implicitReturnType>;
43
+ v2PrivatePostAccountsAccountIdWithdrawals(params?: {}): Promise<implicitReturnType>;
44
+ v2PrivatePostAccountsAccountIdWithdrawalsWithdrawalIdCommit(params?: {}): Promise<implicitReturnType>;
45
+ v2PrivatePutAccountsAccountId(params?: {}): Promise<implicitReturnType>;
46
+ v2PrivatePutUser(params?: {}): Promise<implicitReturnType>;
47
+ v2PrivateDeleteAccountsId(params?: {}): Promise<implicitReturnType>;
48
+ v2PrivateDeleteAccountsAccountIdTransactionsTransactionId(params?: {}): Promise<implicitReturnType>;
49
+ v3PublicGetBrokerageTime(params?: {}): Promise<implicitReturnType>;
50
+ v3PublicGetBrokerageMarketProductBook(params?: {}): Promise<implicitReturnType>;
51
+ v3PublicGetBrokerageMarketProducts(params?: {}): Promise<implicitReturnType>;
52
+ v3PublicGetBrokerageMarketProductsProductId(params?: {}): Promise<implicitReturnType>;
53
+ v3PublicGetBrokerageMarketProductsProductIdCandles(params?: {}): Promise<implicitReturnType>;
54
+ v3PublicGetBrokerageMarketProductsProductIdTicker(params?: {}): Promise<implicitReturnType>;
55
+ v3PrivateGetBrokerageAccounts(params?: {}): Promise<implicitReturnType>;
56
+ v3PrivateGetBrokerageAccountsAccountUuid(params?: {}): Promise<implicitReturnType>;
57
+ v3PrivateGetBrokerageOrdersHistoricalBatch(params?: {}): Promise<implicitReturnType>;
58
+ v3PrivateGetBrokerageOrdersHistoricalFills(params?: {}): Promise<implicitReturnType>;
59
+ v3PrivateGetBrokerageOrdersHistoricalOrderId(params?: {}): Promise<implicitReturnType>;
60
+ v3PrivateGetBrokerageProducts(params?: {}): Promise<implicitReturnType>;
61
+ v3PrivateGetBrokerageProductsProductId(params?: {}): Promise<implicitReturnType>;
62
+ v3PrivateGetBrokerageProductsProductIdCandles(params?: {}): Promise<implicitReturnType>;
63
+ v3PrivateGetBrokerageProductsProductIdTicker(params?: {}): Promise<implicitReturnType>;
64
+ v3PrivateGetBrokerageBestBidAsk(params?: {}): Promise<implicitReturnType>;
65
+ v3PrivateGetBrokerageProductBook(params?: {}): Promise<implicitReturnType>;
66
+ v3PrivateGetBrokerageTransactionSummary(params?: {}): Promise<implicitReturnType>;
67
+ v3PrivateGetBrokeragePortfolios(params?: {}): Promise<implicitReturnType>;
68
+ v3PrivateGetBrokeragePortfoliosPortfolioUuid(params?: {}): Promise<implicitReturnType>;
69
+ v3PrivateGetBrokerageConvertTradeTradeId(params?: {}): Promise<implicitReturnType>;
70
+ v3PrivateGetBrokerageCfmBalanceSummary(params?: {}): Promise<implicitReturnType>;
71
+ v3PrivateGetBrokerageCfmPositions(params?: {}): Promise<implicitReturnType>;
72
+ v3PrivateGetBrokerageCfmPositionsProductId(params?: {}): Promise<implicitReturnType>;
73
+ v3PrivateGetBrokerageCfmSweeps(params?: {}): Promise<implicitReturnType>;
74
+ v3PrivateGetBrokerageIntxPortfolioPortfolioUuid(params?: {}): Promise<implicitReturnType>;
75
+ v3PrivateGetBrokerageIntxPositionsPortfolioUuid(params?: {}): Promise<implicitReturnType>;
76
+ v3PrivateGetBrokerageIntxPositionsPortfolioUuidSymbol(params?: {}): Promise<implicitReturnType>;
77
+ v3PrivateGetBrokeragePaymentMethods(params?: {}): Promise<implicitReturnType>;
78
+ v3PrivateGetBrokeragePaymentMethodsPaymentMethodId(params?: {}): Promise<implicitReturnType>;
79
+ v3PrivatePostBrokerageOrders(params?: {}): Promise<implicitReturnType>;
80
+ v3PrivatePostBrokerageOrdersBatchCancel(params?: {}): Promise<implicitReturnType>;
81
+ v3PrivatePostBrokerageOrdersEdit(params?: {}): Promise<implicitReturnType>;
82
+ v3PrivatePostBrokerageOrdersEditPreview(params?: {}): Promise<implicitReturnType>;
83
+ v3PrivatePostBrokerageOrdersPreview(params?: {}): Promise<implicitReturnType>;
84
+ v3PrivatePostBrokeragePortfolios(params?: {}): Promise<implicitReturnType>;
85
+ v3PrivatePostBrokeragePortfoliosMoveFunds(params?: {}): Promise<implicitReturnType>;
86
+ v3PrivatePostBrokerageConvertQuote(params?: {}): Promise<implicitReturnType>;
87
+ v3PrivatePostBrokerageConvertTradeTradeId(params?: {}): Promise<implicitReturnType>;
88
+ v3PrivatePostBrokerageCfmSweepsSchedule(params?: {}): Promise<implicitReturnType>;
89
+ v3PrivatePostBrokerageIntxAllocate(params?: {}): Promise<implicitReturnType>;
90
+ v3PrivatePostBrokerageOrdersClosePosition(params?: {}): Promise<implicitReturnType>;
91
+ v3PrivatePutBrokeragePortfoliosPortfolioUuid(params?: {}): Promise<implicitReturnType>;
92
+ v3PrivateDeleteBrokeragePortfoliosPortfolioUuid(params?: {}): Promise<implicitReturnType>;
93
+ v3PrivateDeleteBrokerageCfmSweeps(params?: {}): Promise<implicitReturnType>;
94
+ }
95
+ declare abstract class coinbase extends _coinbase {
96
+ }
97
+ export default coinbase;
@@ -0,0 +1,11 @@
1
+ // ----------------------------------------------------------------------------
2
+
3
+ // PLEASE DO NOT EDIT THIS FILE, IT IS GENERATED AND WILL BE OVERWRITTEN:
4
+ // https://github.com/ccxt/ccxt/blob/master/CONTRIBUTING.md#how-to-contribute-code
5
+ // EDIT THE CORRESPONDENT .ts FILE INSTEAD
6
+
7
+ // -------------------------------------------------------------------------------
8
+ import _coinbase from '../coinbase.js';
9
+ class coinbase extends _coinbase {
10
+ }
11
+ export default coinbase;
@@ -86,6 +86,15 @@ interface Exchange {
86
86
  v4PrivatePostConvertEstimate(params?: {}): Promise<implicitReturnType>;
87
87
  v4PrivatePostConvertConfirm(params?: {}): Promise<implicitReturnType>;
88
88
  v4PrivatePostConvertHistory(params?: {}): Promise<implicitReturnType>;
89
+ v4PrivatePostSubAccountCreate(params?: {}): Promise<implicitReturnType>;
90
+ v4PrivatePostSubAccountDelete(params?: {}): Promise<implicitReturnType>;
91
+ v4PrivatePostSubAccountEdit(params?: {}): Promise<implicitReturnType>;
92
+ v4PrivatePostSubAccountList(params?: {}): Promise<implicitReturnType>;
93
+ v4PrivatePostSubAccountTransfer(params?: {}): Promise<implicitReturnType>;
94
+ v4PrivatePostSubAccountBlock(params?: {}): Promise<implicitReturnType>;
95
+ v4PrivatePostSubAccountUnblock(params?: {}): Promise<implicitReturnType>;
96
+ v4PrivatePostSubAccountBalances(params?: {}): Promise<implicitReturnType>;
97
+ v4PrivatePostSubAccountTransferHistory(params?: {}): Promise<implicitReturnType>;
89
98
  }
90
99
  declare abstract class Exchange extends _Exchange {
91
100
  }