ccxt 4.1.86 → 4.1.87

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 (181) hide show
  1. package/README.md +5 -8
  2. package/dist/ccxt.browser.js +17010 -23553
  3. package/dist/ccxt.browser.min.js +3 -3
  4. package/dist/cjs/ccxt.js +1 -16
  5. package/dist/cjs/src/binanceus.js +0 -2
  6. package/dist/cjs/src/bitforex.js +0 -2
  7. package/dist/cjs/src/coinlist.js +0 -2
  8. package/dist/cjs/src/coinsph.js +0 -2
  9. package/dist/cjs/src/cryptocom.js +0 -2
  10. package/dist/cjs/src/gate.js +0 -210
  11. package/dist/cjs/src/kuna.js +0 -2
  12. package/dist/cjs/src/mexc.js +0 -2
  13. package/dist/cjs/src/okx.js +0 -1
  14. package/dist/cjs/src/pro/coinex.js +2 -1
  15. package/dist/cjs/src/tokocrypto.js +0 -1
  16. package/dist/cjs/src/upbit.js +36 -26
  17. package/dist/cjs/src/wazirx.js +0 -2
  18. package/dist/cjs/src/whitebit.js +0 -2
  19. package/dist/cjs/src/woo.js +0 -2
  20. package/js/ccxt.d.ts +3 -21
  21. package/js/ccxt.js +2 -14
  22. package/js/src/ace.d.ts +1 -1
  23. package/js/src/alpaca.d.ts +1 -1
  24. package/js/src/ascendex.d.ts +1 -1
  25. package/js/src/base/Exchange.d.ts +3 -3
  26. package/js/src/bigone.d.ts +1 -1
  27. package/js/src/binance.d.ts +1 -1
  28. package/js/src/binanceus.js +0 -2
  29. package/js/src/bingx.d.ts +1 -1
  30. package/js/src/bit2c.d.ts +1 -1
  31. package/js/src/bitbank.d.ts +1 -1
  32. package/js/src/bitbns.d.ts +1 -1
  33. package/js/src/bitfinex.d.ts +1 -1
  34. package/js/src/bitfinex2.d.ts +1 -1
  35. package/js/src/bitflyer.d.ts +1 -1
  36. package/js/src/bitforex.d.ts +1 -1
  37. package/js/src/bitforex.js +0 -2
  38. package/js/src/bitget.d.ts +1 -1
  39. package/js/src/bithumb.d.ts +1 -1
  40. package/js/src/bitmart.d.ts +1 -1
  41. package/js/src/bitmex.d.ts +1 -1
  42. package/js/src/bitopro.d.ts +1 -1
  43. package/js/src/bitpanda.d.ts +1 -1
  44. package/js/src/bitrue.d.ts +1 -1
  45. package/js/src/bitso.d.ts +1 -1
  46. package/js/src/bitstamp.d.ts +1 -1
  47. package/js/src/bitvavo.d.ts +1 -1
  48. package/js/src/bl3p.d.ts +1 -1
  49. package/js/src/blockchaincom.d.ts +1 -1
  50. package/js/src/btcalpha.d.ts +1 -1
  51. package/js/src/btcbox.d.ts +1 -1
  52. package/js/src/btcmarkets.d.ts +1 -1
  53. package/js/src/btcturk.d.ts +1 -1
  54. package/js/src/bybit.d.ts +1 -1
  55. package/js/src/cex.d.ts +1 -1
  56. package/js/src/coinbase.d.ts +1 -1
  57. package/js/src/coinbasepro.d.ts +1 -1
  58. package/js/src/coincheck.d.ts +1 -1
  59. package/js/src/coinex.d.ts +1 -1
  60. package/js/src/coinlist.d.ts +1 -1
  61. package/js/src/coinlist.js +0 -2
  62. package/js/src/coinmate.d.ts +1 -1
  63. package/js/src/coinone.d.ts +1 -1
  64. package/js/src/coinsph.d.ts +1 -1
  65. package/js/src/coinsph.js +0 -2
  66. package/js/src/coinspot.d.ts +1 -1
  67. package/js/src/cryptocom.d.ts +1 -1
  68. package/js/src/cryptocom.js +0 -2
  69. package/js/src/currencycom.d.ts +1 -1
  70. package/js/src/delta.d.ts +1 -1
  71. package/js/src/deribit.d.ts +1 -1
  72. package/js/src/digifinex.d.ts +1 -1
  73. package/js/src/exmo.d.ts +1 -1
  74. package/js/src/gate.d.ts +1 -28
  75. package/js/src/gate.js +0 -210
  76. package/js/src/gemini.d.ts +1 -1
  77. package/js/src/hitbtc.d.ts +1 -1
  78. package/js/src/hollaex.d.ts +1 -1
  79. package/js/src/htx.d.ts +1 -1
  80. package/js/src/huobijp.d.ts +1 -1
  81. package/js/src/idex.d.ts +1 -1
  82. package/js/src/independentreserve.d.ts +1 -1
  83. package/js/src/indodax.d.ts +1 -1
  84. package/js/src/kraken.d.ts +1 -1
  85. package/js/src/krakenfutures.d.ts +1 -1
  86. package/js/src/kucoin.d.ts +1 -1
  87. package/js/src/kucoinfutures.d.ts +1 -1
  88. package/js/src/kuna.d.ts +1 -1
  89. package/js/src/kuna.js +0 -2
  90. package/js/src/latoken.d.ts +1 -1
  91. package/js/src/lbank.d.ts +1 -1
  92. package/js/src/luno.d.ts +1 -1
  93. package/js/src/lykke.d.ts +1 -1
  94. package/js/src/mercado.d.ts +1 -1
  95. package/js/src/mexc.d.ts +1 -1
  96. package/js/src/mexc.js +0 -2
  97. package/js/src/ndax.d.ts +1 -1
  98. package/js/src/novadax.d.ts +1 -1
  99. package/js/src/oceanex.d.ts +1 -1
  100. package/js/src/okcoin.d.ts +1 -1
  101. package/js/src/okx.d.ts +1 -1
  102. package/js/src/okx.js +0 -1
  103. package/js/src/p2b.d.ts +1 -1
  104. package/js/src/paymium.d.ts +1 -1
  105. package/js/src/phemex.d.ts +1 -1
  106. package/js/src/poloniex.d.ts +1 -1
  107. package/js/src/poloniexfutures.d.ts +1 -1
  108. package/js/src/pro/alpaca.d.ts +8 -8
  109. package/js/src/pro/ascendex.d.ts +7 -7
  110. package/js/src/pro/binance.d.ts +24 -24
  111. package/js/src/pro/bingx.d.ts +7 -7
  112. package/js/src/pro/bitfinex.d.ts +6 -6
  113. package/js/src/pro/bitfinex2.d.ts +11 -11
  114. package/js/src/pro/bitget.d.ts +17 -17
  115. package/js/src/pro/bitmart.d.ts +13 -13
  116. package/js/src/pro/bitmex.d.ts +10 -10
  117. package/js/src/pro/bitopro.d.ts +5 -5
  118. package/js/src/pro/bitpanda.d.ts +10 -10
  119. package/js/src/pro/bitrue.d.ts +5 -5
  120. package/js/src/pro/bitstamp.d.ts +6 -6
  121. package/js/src/pro/bitvavo.d.ts +7 -7
  122. package/js/src/pro/blockchaincom.d.ts +10 -10
  123. package/js/src/pro/bybit.d.ts +14 -14
  124. package/js/src/pro/cex.d.ts +20 -20
  125. package/js/src/pro/coinbase.d.ts +7 -6
  126. package/js/src/pro/coinbasepro.d.ts +12 -12
  127. package/js/src/pro/coinex.d.ts +12 -12
  128. package/js/src/pro/coinex.js +2 -1
  129. package/js/src/pro/cryptocom.d.ts +13 -13
  130. package/js/src/pro/currencycom.d.ts +6 -6
  131. package/js/src/pro/deribit.d.ts +8 -8
  132. package/js/src/pro/exmo.d.ts +6 -6
  133. package/js/src/pro/gate.d.ts +11 -11
  134. package/js/src/pro/gemini.d.ts +7 -7
  135. package/js/src/pro/hitbtc.d.ts +13 -13
  136. package/js/src/pro/hollaex.d.ts +6 -6
  137. package/js/src/pro/htx.d.ts +12 -12
  138. package/js/src/pro/huobijp.d.ts +5 -5
  139. package/js/src/pro/idex.d.ts +7 -7
  140. package/js/src/pro/independentreserve.d.ts +4 -4
  141. package/js/src/pro/kraken.d.ts +11 -11
  142. package/js/src/pro/krakenfutures.d.ts +15 -15
  143. package/js/src/pro/kucoin.d.ts +13 -13
  144. package/js/src/pro/kucoinfutures.d.ts +10 -10
  145. package/js/src/pro/luno.d.ts +3 -3
  146. package/js/src/pro/mexc.d.ts +11 -11
  147. package/js/src/pro/ndax.d.ts +5 -5
  148. package/js/src/pro/okcoin.d.ts +7 -7
  149. package/js/src/pro/okx.d.ts +16 -16
  150. package/js/src/pro/phemex.d.ts +9 -9
  151. package/js/src/pro/poloniex.d.ts +13 -13
  152. package/js/src/pro/poloniexfutures.d.ts +10 -10
  153. package/js/src/pro/probit.d.ts +7 -7
  154. package/js/src/pro/upbit.d.ts +4 -4
  155. package/js/src/pro/wazirx.d.ts +12 -12
  156. package/js/src/pro/whitebit.d.ts +10 -10
  157. package/js/src/pro/woo.d.ts +11 -11
  158. package/js/src/probit.d.ts +1 -1
  159. package/js/src/timex.d.ts +1 -1
  160. package/js/src/tokocrypto.d.ts +1 -1
  161. package/js/src/tokocrypto.js +0 -1
  162. package/js/src/upbit.d.ts +1 -1
  163. package/js/src/upbit.js +36 -26
  164. package/js/src/wavesexchange.d.ts +1 -1
  165. package/js/src/wazirx.d.ts +1 -1
  166. package/js/src/wazirx.js +0 -2
  167. package/js/src/whitebit.d.ts +1 -1
  168. package/js/src/whitebit.js +0 -2
  169. package/js/src/woo.d.ts +1 -1
  170. package/js/src/woo.js +0 -2
  171. package/js/src/yobit.d.ts +1 -1
  172. package/js/src/zaif.d.ts +1 -1
  173. package/js/src/zonda.d.ts +1 -1
  174. package/jsdoc2md.js +0 -2
  175. package/package.json +1 -1
  176. package/js/src/abstract/bittrex.d.ts +0 -79
  177. package/js/src/abstract/bittrex.js +0 -11
  178. package/js/src/abstract/coinbaseprime.d.ts +0 -69
  179. package/js/src/abstract/coinbaseprime.js +0 -11
  180. package/js/src/abstract/coinbasepro.d.ts +0 -69
  181. package/js/src/abstract/coinbasepro.js +0 -11
package/js/ccxt.d.ts CHANGED
@@ -2,9 +2,9 @@ import { Exchange } from './src/base/Exchange.js';
2
2
  import { Precise } from './src/base/Precise.js';
3
3
  import * as functions from './src/base/functions.js';
4
4
  import * as errors from './src/base/errors.js';
5
- import { Market, Trade, Fee, Ticker, OrderBook, Order, Transaction, Tickers, Currency, Balance, DepositAddress, WithdrawalResponse, DepositAddressResponse, OHLCV, Balances, PartialBalances, Dictionary, MinMax, Position, FundingRateHistory, Liquidation, FundingHistory, MarginMode, Greeks } from './src/base/types.js';
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 } 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, NoChange } from './src/base/errors.js';
7
- declare const version = "4.1.85";
7
+ declare const version = "4.1.86";
8
8
  import ace from './src/ace.js';
9
9
  import alpaca from './src/alpaca.js';
10
10
  import ascendex from './src/ascendex.js';
@@ -33,7 +33,6 @@ import bitpanda from './src/bitpanda.js';
33
33
  import bitrue from './src/bitrue.js';
34
34
  import bitso from './src/bitso.js';
35
35
  import bitstamp from './src/bitstamp.js';
36
- import bittrex from './src/bittrex.js';
37
36
  import bitvavo from './src/bitvavo.js';
38
37
  import bl3p from './src/bl3p.js';
39
38
  import blockchaincom from './src/blockchaincom.js';
@@ -44,8 +43,6 @@ import btcturk from './src/btcturk.js';
44
43
  import bybit from './src/bybit.js';
45
44
  import cex from './src/cex.js';
46
45
  import coinbase from './src/coinbase.js';
47
- import coinbaseprime from './src/coinbaseprime.js';
48
- import coinbasepro from './src/coinbasepro.js';
49
46
  import coincheck from './src/coincheck.js';
50
47
  import coinex from './src/coinex.js';
51
48
  import coinlist from './src/coinlist.js';
@@ -122,14 +119,11 @@ import bitoproPro from './src/pro/bitopro.js';
122
119
  import bitpandaPro from './src/pro/bitpanda.js';
123
120
  import bitruePro from './src/pro/bitrue.js';
124
121
  import bitstampPro from './src/pro/bitstamp.js';
125
- import bittrexPro from './src/pro/bittrex.js';
126
122
  import bitvavoPro from './src/pro/bitvavo.js';
127
123
  import blockchaincomPro from './src/pro/blockchaincom.js';
128
124
  import bybitPro from './src/pro/bybit.js';
129
125
  import cexPro from './src/pro/cex.js';
130
126
  import coinbasePro from './src/pro/coinbase.js';
131
- import coinbaseprimePro from './src/pro/coinbaseprime.js';
132
- import coinbaseproPro from './src/pro/coinbasepro.js';
133
127
  import coinexPro from './src/pro/coinex.js';
134
128
  import cryptocomPro from './src/pro/cryptocom.js';
135
129
  import currencycomPro from './src/pro/currencycom.js';
@@ -191,7 +185,6 @@ declare const exchanges: {
191
185
  bitrue: typeof bitrue;
192
186
  bitso: typeof bitso;
193
187
  bitstamp: typeof bitstamp;
194
- bittrex: typeof bittrex;
195
188
  bitvavo: typeof bitvavo;
196
189
  bl3p: typeof bl3p;
197
190
  blockchaincom: typeof blockchaincom;
@@ -202,8 +195,6 @@ declare const exchanges: {
202
195
  bybit: typeof bybit;
203
196
  cex: typeof cex;
204
197
  coinbase: typeof coinbase;
205
- coinbaseprime: typeof coinbaseprime;
206
- coinbasepro: typeof coinbasepro;
207
198
  coincheck: typeof coincheck;
208
199
  coinex: typeof coinex;
209
200
  coinlist: typeof coinlist;
@@ -282,14 +273,11 @@ declare const pro: {
282
273
  bitpanda: typeof bitpandaPro;
283
274
  bitrue: typeof bitruePro;
284
275
  bitstamp: typeof bitstampPro;
285
- bittrex: typeof bittrexPro;
286
276
  bitvavo: typeof bitvavoPro;
287
277
  blockchaincom: typeof blockchaincomPro;
288
278
  bybit: typeof bybitPro;
289
279
  cex: typeof cexPro;
290
280
  coinbase: typeof coinbasePro;
291
- coinbaseprime: typeof coinbaseprimePro;
292
- coinbasepro: typeof coinbaseproPro;
293
281
  coinex: typeof coinexPro;
294
282
  cryptocom: typeof cryptocomPro;
295
283
  currencycom: typeof currencycomPro;
@@ -347,14 +335,11 @@ declare const ccxt: {
347
335
  bitpanda: typeof bitpandaPro;
348
336
  bitrue: typeof bitruePro;
349
337
  bitstamp: typeof bitstampPro;
350
- bittrex: typeof bittrexPro;
351
338
  bitvavo: typeof bitvavoPro;
352
339
  blockchaincom: typeof blockchaincomPro;
353
340
  bybit: typeof bybitPro;
354
341
  cex: typeof cexPro;
355
342
  coinbase: typeof coinbasePro;
356
- coinbaseprime: typeof coinbaseprimePro;
357
- coinbasepro: typeof coinbaseproPro;
358
343
  coinex: typeof coinexPro;
359
344
  cryptocom: typeof cryptocomPro;
360
345
  currencycom: typeof currencycomPro;
@@ -417,7 +402,6 @@ declare const ccxt: {
417
402
  bitrue: typeof bitrue;
418
403
  bitso: typeof bitso;
419
404
  bitstamp: typeof bitstamp;
420
- bittrex: typeof bittrex;
421
405
  bitvavo: typeof bitvavo;
422
406
  bl3p: typeof bl3p;
423
407
  blockchaincom: typeof blockchaincom;
@@ -428,8 +412,6 @@ declare const ccxt: {
428
412
  bybit: typeof bybit;
429
413
  cex: typeof cex;
430
414
  coinbase: typeof coinbase;
431
- coinbaseprime: typeof coinbaseprime;
432
- coinbasepro: typeof coinbasepro;
433
415
  coincheck: typeof coincheck;
434
416
  coinex: typeof coinex;
435
417
  coinlist: typeof coinlist;
@@ -489,5 +471,5 @@ declare const ccxt: {
489
471
  zaif: typeof zaif;
490
472
  zonda: typeof zonda;
491
473
  } & typeof functions & typeof errors;
492
- export { version, Exchange, exchanges, pro, Precise, functions, errors, 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, NoChange, Market, Trade, Fee, Ticker, OrderBook, Order, Transaction, Tickers, Currency, Balance, DepositAddress, WithdrawalResponse, DepositAddressResponse, OHLCV, Balances, PartialBalances, Dictionary, MinMax, Position, FundingRateHistory, Liquidation, FundingHistory, MarginMode, Greeks, ace, alpaca, ascendex, bequant, bigone, binance, binancecoinm, binanceus, binanceusdm, bingx, bit2c, bitbank, bitbay, bitbns, bitcoincom, bitfinex, bitfinex2, bitflyer, bitforex, bitget, bithumb, bitmart, bitmex, bitopro, bitpanda, bitrue, bitso, bitstamp, bittrex, bitvavo, bl3p, blockchaincom, btcalpha, btcbox, btcmarkets, btcturk, bybit, cex, coinbase, coinbaseprime, coinbasepro, coincheck, coinex, coinlist, coinmate, coinone, coinsph, coinspot, cryptocom, currencycom, delta, deribit, digifinex, exmo, fmfwio, gate, gateio, gemini, hitbtc, hitbtc3, hollaex, htx, huobi, huobijp, idex, independentreserve, indodax, kraken, krakenfutures, kucoin, kucoinfutures, kuna, latoken, lbank, luno, lykke, mercado, mexc, ndax, novadax, oceanex, okcoin, okx, p2b, paymium, phemex, poloniex, poloniexfutures, probit, timex, tokocrypto, upbit, wavesexchange, wazirx, whitebit, woo, yobit, zaif, zonda, };
474
+ export { version, Exchange, exchanges, pro, Precise, functions, errors, 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, NoChange, Market, Trade, Fee, Ticker, OrderBook, Order, Transaction, Tickers, Currency, Balance, DepositAddress, WithdrawalResponse, DepositAddressResponse, OHLCV, Balances, PartialBalances, Dictionary, MinMax, Position, FundingRateHistory, Liquidation, FundingHistory, MarginMode, Greeks, ace, alpaca, ascendex, bequant, bigone, binance, binancecoinm, binanceus, binanceusdm, bingx, bit2c, bitbank, bitbay, bitbns, bitcoincom, bitfinex, bitfinex2, bitflyer, bitforex, bitget, bithumb, bitmart, bitmex, bitopro, bitpanda, bitrue, bitso, bitstamp, bitvavo, bl3p, blockchaincom, btcalpha, btcbox, btcmarkets, btcturk, bybit, cex, coinbase, coincheck, coinex, coinlist, coinmate, coinone, coinsph, coinspot, cryptocom, currencycom, delta, deribit, digifinex, exmo, fmfwio, gate, gateio, gemini, hitbtc, hitbtc3, hollaex, htx, huobi, huobijp, idex, independentreserve, indodax, kraken, krakenfutures, kucoin, kucoinfutures, kuna, latoken, lbank, luno, lykke, mercado, mexc, ndax, novadax, oceanex, okcoin, okx, p2b, paymium, phemex, poloniex, poloniexfutures, probit, timex, tokocrypto, upbit, wavesexchange, wazirx, whitebit, woo, yobit, zaif, zonda, };
493
475
  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, 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, NoChange } from './src/base/errors.js';
39
39
  //-----------------------------------------------------------------------------
40
40
  // this is updated by vss.js when building
41
- const version = '4.1.86';
41
+ const version = '4.1.87';
42
42
  Exchange.ccxtVersion = version;
43
43
  //-----------------------------------------------------------------------------
44
44
  import ace from './src/ace.js';
@@ -69,7 +69,6 @@ import bitpanda from './src/bitpanda.js';
69
69
  import bitrue from './src/bitrue.js';
70
70
  import bitso from './src/bitso.js';
71
71
  import bitstamp from './src/bitstamp.js';
72
- import bittrex from './src/bittrex.js';
73
72
  import bitvavo from './src/bitvavo.js';
74
73
  import bl3p from './src/bl3p.js';
75
74
  import blockchaincom from './src/blockchaincom.js';
@@ -80,8 +79,6 @@ import btcturk from './src/btcturk.js';
80
79
  import bybit from './src/bybit.js';
81
80
  import cex from './src/cex.js';
82
81
  import coinbase from './src/coinbase.js';
83
- import coinbaseprime from './src/coinbaseprime.js';
84
- import coinbasepro from './src/coinbasepro.js';
85
82
  import coincheck from './src/coincheck.js';
86
83
  import coinex from './src/coinex.js';
87
84
  import coinlist from './src/coinlist.js';
@@ -159,14 +156,11 @@ import bitoproPro from './src/pro/bitopro.js';
159
156
  import bitpandaPro from './src/pro/bitpanda.js';
160
157
  import bitruePro from './src/pro/bitrue.js';
161
158
  import bitstampPro from './src/pro/bitstamp.js';
162
- import bittrexPro from './src/pro/bittrex.js';
163
159
  import bitvavoPro from './src/pro/bitvavo.js';
164
160
  import blockchaincomPro from './src/pro/blockchaincom.js';
165
161
  import bybitPro from './src/pro/bybit.js';
166
162
  import cexPro from './src/pro/cex.js';
167
163
  import coinbasePro from './src/pro/coinbase.js';
168
- import coinbaseprimePro from './src/pro/coinbaseprime.js';
169
- import coinbaseproPro from './src/pro/coinbasepro.js';
170
164
  import coinexPro from './src/pro/coinex.js';
171
165
  import cryptocomPro from './src/pro/cryptocom.js';
172
166
  import currencycomPro from './src/pro/currencycom.js';
@@ -228,7 +222,6 @@ const exchanges = {
228
222
  'bitrue': bitrue,
229
223
  'bitso': bitso,
230
224
  'bitstamp': bitstamp,
231
- 'bittrex': bittrex,
232
225
  'bitvavo': bitvavo,
233
226
  'bl3p': bl3p,
234
227
  'blockchaincom': blockchaincom,
@@ -239,8 +232,6 @@ const exchanges = {
239
232
  'bybit': bybit,
240
233
  'cex': cex,
241
234
  'coinbase': coinbase,
242
- 'coinbaseprime': coinbaseprime,
243
- 'coinbasepro': coinbasepro,
244
235
  'coincheck': coincheck,
245
236
  'coinex': coinex,
246
237
  'coinlist': coinlist,
@@ -319,14 +310,11 @@ const pro = {
319
310
  'bitpanda': bitpandaPro,
320
311
  'bitrue': bitruePro,
321
312
  'bitstamp': bitstampPro,
322
- 'bittrex': bittrexPro,
323
313
  'bitvavo': bitvavoPro,
324
314
  'blockchaincom': blockchaincomPro,
325
315
  'bybit': bybitPro,
326
316
  'cex': cexPro,
327
317
  'coinbase': coinbasePro,
328
- 'coinbaseprime': coinbaseprimePro,
329
- 'coinbasepro': coinbaseproPro,
330
318
  'coinex': coinexPro,
331
319
  'cryptocom': cryptocomPro,
332
320
  'currencycom': currencycomPro,
@@ -372,6 +360,6 @@ pro.exchanges = Object.keys(pro);
372
360
  pro['Exchange'] = Exchange; // now the same for rest and ts
373
361
  //-----------------------------------------------------------------------------
374
362
  const ccxt = Object.assign({ version, Exchange, Precise, 'exchanges': Object.keys(exchanges), 'pro': pro }, exchanges, functions, errors);
375
- export { version, Exchange, exchanges, pro, Precise, functions, errors, 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, NoChange, ace, alpaca, ascendex, bequant, bigone, binance, binancecoinm, binanceus, binanceusdm, bingx, bit2c, bitbank, bitbay, bitbns, bitcoincom, bitfinex, bitfinex2, bitflyer, bitforex, bitget, bithumb, bitmart, bitmex, bitopro, bitpanda, bitrue, bitso, bitstamp, bittrex, bitvavo, bl3p, blockchaincom, btcalpha, btcbox, btcmarkets, btcturk, bybit, cex, coinbase, coinbaseprime, coinbasepro, coincheck, coinex, coinlist, coinmate, coinone, coinsph, coinspot, cryptocom, currencycom, delta, deribit, digifinex, exmo, fmfwio, gate, gateio, gemini, hitbtc, hitbtc3, hollaex, htx, huobi, huobijp, idex, independentreserve, indodax, kraken, krakenfutures, kucoin, kucoinfutures, kuna, latoken, lbank, luno, lykke, mercado, mexc, ndax, novadax, oceanex, okcoin, okx, p2b, paymium, phemex, poloniex, poloniexfutures, probit, timex, tokocrypto, upbit, wavesexchange, wazirx, whitebit, woo, yobit, zaif, zonda, };
363
+ export { version, Exchange, exchanges, pro, Precise, functions, errors, 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, NoChange, ace, alpaca, ascendex, bequant, bigone, binance, binancecoinm, binanceus, binanceusdm, bingx, bit2c, bitbank, bitbay, bitbns, bitcoincom, bitfinex, bitfinex2, bitflyer, bitforex, bitget, bithumb, bitmart, bitmex, bitopro, bitpanda, bitrue, bitso, bitstamp, bitvavo, bl3p, blockchaincom, btcalpha, btcbox, btcmarkets, btcturk, bybit, cex, coinbase, coincheck, coinex, coinlist, coinmate, coinone, coinsph, coinspot, cryptocom, currencycom, delta, deribit, digifinex, exmo, fmfwio, gate, gateio, gemini, hitbtc, hitbtc3, hollaex, htx, huobi, huobijp, idex, independentreserve, indodax, kraken, krakenfutures, kucoin, kucoinfutures, kuna, latoken, lbank, luno, lykke, mercado, mexc, ndax, novadax, oceanex, okcoin, okx, p2b, paymium, phemex, poloniex, poloniexfutures, probit, timex, tokocrypto, upbit, wavesexchange, wazirx, whitebit, woo, yobit, zaif, zonda, };
376
364
  export default ccxt;
377
365
  //-----------------------------------------------------------------------------
package/js/src/ace.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import Exchange from './abstract/ace.js';
2
- import { Balances, Int, Market, OHLCV, Order, OrderBook, OrderSide, OrderType, Str, Strings, Ticker, Tickers, Trade } from './base/types.js';
2
+ import type { Balances, Int, Market, OHLCV, Order, OrderBook, OrderSide, OrderType, Str, Strings, Ticker, Tickers, Trade } from './base/types.js';
3
3
  /**
4
4
  * @class ace
5
5
  * @augments Exchange
@@ -1,5 +1,5 @@
1
1
  import Exchange from './abstract/alpaca.js';
2
- import { Int, Market, OHLCV, Order, OrderBook, OrderSide, OrderType, Str, Trade } from './base/types.js';
2
+ import type { Int, Market, OHLCV, Order, OrderBook, OrderSide, OrderType, Str, Trade } from './base/types.js';
3
3
  /**
4
4
  * @class alpaca
5
5
  * @augments Exchange
@@ -1,5 +1,5 @@
1
1
  import Exchange from './abstract/ascendex.js';
2
- import { FundingHistory, Int, OHLCV, Order, OrderSide, OrderType, OrderRequest, Str, Trade, Balances, Transaction, Ticker, OrderBook, Tickers, Strings, Currency, Market } from './base/types.js';
2
+ import type { FundingHistory, Int, OHLCV, Order, OrderSide, OrderType, OrderRequest, Str, Trade, Balances, Transaction, Ticker, OrderBook, Tickers, Strings, Currency, Market } from './base/types.js';
3
3
  /**
4
4
  * @class ascendex
5
5
  * @augments Exchange
@@ -4,8 +4,8 @@ ExchangeError, AuthenticationError, DDoSProtection, RequestTimeout, ExchangeNotA
4
4
  import WsClient from './ws/WsClient.js';
5
5
  import { Future } from './ws/Future.js';
6
6
  import { OrderBook as WsOrderBook, IndexedOrderBook, CountedOrderBook } from './ws/OrderBook.js';
7
- import { Market, Trade, Ticker, OHLCV, OHLCVC, Order, OrderBook, Balance, Balances, Dictionary, DepositAddressResponse, Currency, MinMax, IndexType, Int, OrderType, OrderSide, Position, FundingRateHistory, OpenInterest, Liquidation, OrderRequest, FundingHistory, MarginMode, Tickers, Greeks, Str, Num, MarketInterface, CurrencyInterface, Account } from './types.js';
8
- export { Market, Trade, Fee, Ticker, OHLCV, OHLCVC, Order, OrderBook, Balance, Balances, Dictionary, Transaction, DepositAddressResponse, Currency, MinMax, IndexType, Int, OrderType, OrderSide, Position, FundingRateHistory, Liquidation, FundingHistory, Greeks } from './types.js';
7
+ import type { Market, Trade, Ticker, OHLCV, OHLCVC, Order, OrderBook, Balance, Balances, Dictionary, DepositAddressResponse, Currency, MinMax, IndexType, Int, OrderType, OrderSide, Position, FundingRateHistory, OpenInterest, Liquidation, OrderRequest, FundingHistory, MarginMode, Tickers, Greeks, Str, Num, MarketInterface, CurrencyInterface, Account } from './types.js';
8
+ export type { Market, Trade, Fee, Ticker, OHLCV, OHLCVC, Order, OrderBook, Balance, Balances, Dictionary, Transaction, DepositAddressResponse, Currency, MinMax, IndexType, Int, OrderType, OrderSide, Position, FundingRateHistory, Liquidation, FundingHistory, Greeks } from './types.js';
9
9
  /**
10
10
  * @class Exchange
11
11
  */
@@ -572,7 +572,7 @@ export default class Exchange {
572
572
  watchTrades(symbol: string, since?: Int, limit?: Int, params?: {}): Promise<Trade[]>;
573
573
  watchTradesForSymbols(symbols: string[], since?: Int, limit?: Int, params?: {}): Promise<Trade[]>;
574
574
  watchMyTradesForSymbols(symbols: string[], since?: Int, limit?: Int, params?: {}): Promise<Trade[]>;
575
- watchOrdersForSymbols(symbols: string[], since?: Int, limit?: Int, params?: {}): Promise<Trade[]>;
575
+ watchOrdersForSymbols(symbols: string[], since?: Int, limit?: Int, params?: {}): Promise<Order[]>;
576
576
  watchOHLCVForSymbols(symbolsAndTimeframes: string[][], since?: Int, limit?: Int, params?: {}): Promise<Dictionary<Dictionary<OHLCV[]>>>;
577
577
  watchOrderBookForSymbols(symbols: string[], limit?: Int, params?: {}): Promise<OrderBook>;
578
578
  fetchDepositAddresses(codes?: string[], params?: {}): Promise<any>;
@@ -1,5 +1,5 @@
1
1
  import Exchange from './abstract/bigone.js';
2
- import { Balances, Currency, Int, Market, OHLCV, Order, OrderBook, OrderSide, OrderType, Str, Strings, Ticker, Tickers, Trade, Transaction } from './base/types.js';
2
+ import type { Balances, Currency, Int, Market, OHLCV, Order, OrderBook, OrderSide, OrderType, Str, Strings, Ticker, Tickers, Trade, Transaction } from './base/types.js';
3
3
  /**
4
4
  * @class bigone
5
5
  * @augments Exchange
@@ -1,5 +1,5 @@
1
1
  import Exchange from './abstract/binance.js';
2
- import { Int, OrderSide, Balances, OrderType, Trade, OHLCV, Order, FundingRateHistory, OpenInterest, Liquidation, OrderRequest, Str, Transaction, Ticker, OrderBook, Tickers, Market, Greeks, Strings, Currency, MarketInterface } from './base/types.js';
2
+ import type { Int, OrderSide, Balances, OrderType, Trade, OHLCV, Order, FundingRateHistory, OpenInterest, Liquidation, OrderRequest, Str, Transaction, Ticker, OrderBook, Tickers, Market, Greeks, Strings, Currency, MarketInterface } from './base/types.js';
3
3
  /**
4
4
  * @class binance
5
5
  * @augments Exchange
@@ -50,7 +50,6 @@ export default class binanceus extends binance {
50
50
  'future': undefined,
51
51
  'option': false,
52
52
  'addMargin': false,
53
- 'borrowMargin': false,
54
53
  'closeAllPositions': false,
55
54
  'closePosition': false,
56
55
  'createReduceOnlyOrder': false,
@@ -76,7 +75,6 @@ export default class binanceus extends binance {
76
75
  'fetchPositionsRisk': false,
77
76
  'fetchPremiumIndexOHLCV': false,
78
77
  'reduceMargin': false,
79
- 'repayMargin': false,
80
78
  'setLeverage': false,
81
79
  'setMargin': false,
82
80
  'setMarginMode': false,
package/js/src/bingx.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import Exchange from './abstract/bingx.js';
2
- import { Int, OrderSide, OHLCV, FundingRateHistory, Order, OrderType, OrderRequest, Str, Trade, Balances, Transaction, Ticker, OrderBook, Tickers, Market, Strings, Currency, Position } from './base/types.js';
2
+ import type { Int, OrderSide, OHLCV, FundingRateHistory, Order, OrderType, OrderRequest, Str, Trade, Balances, Transaction, Ticker, OrderBook, Tickers, Market, Strings, Currency, Position } from './base/types.js';
3
3
  export default class bingx extends Exchange {
4
4
  describe(): any;
5
5
  fetchTime(params?: {}): Promise<number>;
package/js/src/bit2c.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import Exchange from './abstract/bit2c.js';
2
- import { Balances, Currency, Int, Market, Order, OrderBook, OrderSide, OrderType, Str, Ticker, Trade } from './base/types.js';
2
+ import type { Balances, Currency, Int, Market, Order, OrderBook, OrderSide, OrderType, Str, Ticker, Trade } from './base/types.js';
3
3
  /**
4
4
  * @class bit2c
5
5
  * @augments Exchange
@@ -1,5 +1,5 @@
1
1
  import Exchange from './abstract/bitbank.js';
2
- import { Balances, Currency, Int, Market, OHLCV, Order, OrderBook, OrderSide, OrderType, Str, Ticker, Trade, Transaction } from './base/types.js';
2
+ import type { Balances, Currency, Int, Market, OHLCV, Order, OrderBook, OrderSide, OrderType, Str, Ticker, Trade, Transaction } from './base/types.js';
3
3
  /**
4
4
  * @class bitbank
5
5
  * @augments Exchange
@@ -1,5 +1,5 @@
1
1
  import Exchange from './abstract/bitbns.js';
2
- import { Balances, Currency, Int, Market, Order, OrderBook, OrderSide, OrderType, Str, Strings, Ticker, Tickers, Trade, Transaction } from './base/types.js';
2
+ import type { Balances, Currency, Int, Market, Order, OrderBook, OrderSide, OrderType, Str, Strings, Ticker, Tickers, Trade, Transaction } from './base/types.js';
3
3
  /**
4
4
  * @class bitbns
5
5
  * @augments Exchange
@@ -1,5 +1,5 @@
1
1
  import Exchange from './abstract/bitfinex.js';
2
- import { Balances, Currency, Int, Market, OHLCV, Order, OrderBook, OrderSide, OrderType, Str, Strings, Ticker, Tickers, Trade, Transaction } from './base/types.js';
2
+ import type { Balances, Currency, Int, Market, OHLCV, Order, OrderBook, OrderSide, OrderType, Str, Strings, Ticker, Tickers, Trade, Transaction } from './base/types.js';
3
3
  /**
4
4
  * @class bitfinex
5
5
  * @augments Exchange
@@ -1,5 +1,5 @@
1
1
  import Exchange from './abstract/bitfinex2.js';
2
- import { Int, OrderSide, OrderType, Trade, OHLCV, Order, FundingRateHistory, OrderBook, Str, Transaction, Ticker, Balances, Tickers, Strings, Currency, Market } from './base/types.js';
2
+ import type { Int, OrderSide, OrderType, Trade, OHLCV, Order, FundingRateHistory, OrderBook, Str, Transaction, Ticker, Balances, Tickers, Strings, Currency, Market } from './base/types.js';
3
3
  /**
4
4
  * @class bitfinex2
5
5
  * @augments Exchange
@@ -1,5 +1,5 @@
1
1
  import Exchange from './abstract/bitflyer.js';
2
- import { Balances, Currency, Int, Market, Order, OrderBook, OrderSide, OrderType, Str, Strings, Ticker, Trade, Transaction } from './base/types.js';
2
+ import type { Balances, Currency, Int, Market, Order, OrderBook, OrderSide, OrderType, Str, Strings, Ticker, Trade, Transaction } from './base/types.js';
3
3
  /**
4
4
  * @class bitflyer
5
5
  * @augments Exchange
@@ -1,5 +1,5 @@
1
1
  import Exchange from './abstract/bitforex.js';
2
- import { Balances, Int, Market, OHLCV, Order, OrderBook, OrderSide, OrderType, Str, Ticker, Trade } from './base/types.js';
2
+ import type { Balances, Int, Market, OHLCV, Order, OrderBook, OrderSide, OrderType, Str, Ticker, Trade } from './base/types.js';
3
3
  /**
4
4
  * @class bitforex
5
5
  * @augments Exchange
@@ -30,7 +30,6 @@ export default class bitforex extends Exchange {
30
30
  'future': false,
31
31
  'option': false,
32
32
  'addMargin': false,
33
- 'borrowMargin': false,
34
33
  'cancelOrder': true,
35
34
  'createOrder': true,
36
35
  'createReduceOnlyOrder': false,
@@ -78,7 +77,6 @@ export default class bitforex extends Exchange {
78
77
  'fetchWithdrawal': false,
79
78
  'fetchWithdrawals': false,
80
79
  'reduceMargin': false,
81
- 'repayMargin': false,
82
80
  'setLeverage': false,
83
81
  'setMargin': false,
84
82
  'setMarginMode': false,
@@ -1,5 +1,5 @@
1
1
  import Exchange from './abstract/bitget.js';
2
- import { Int, OrderSide, OrderType, Trade, OHLCV, Order, FundingRateHistory, OrderRequest, FundingHistory, Balances, Str, Transaction, Ticker, OrderBook, Tickers, Market, Strings, Currency, Position } from './base/types.js';
2
+ import type { Int, OrderSide, OrderType, Trade, OHLCV, Order, FundingRateHistory, OrderRequest, FundingHistory, Balances, Str, Transaction, Ticker, OrderBook, Tickers, Market, Strings, Currency, Position } from './base/types.js';
3
3
  /**
4
4
  * @class bitget
5
5
  * @augments Exchange
@@ -1,5 +1,5 @@
1
1
  import Exchange from './abstract/bithumb.js';
2
- import { Balances, Currency, Int, Market, OHLCV, Order, OrderBook, OrderSide, OrderType, Str, Strings, Ticker, Tickers, Trade, Transaction } from './base/types.js';
2
+ import type { Balances, Currency, Int, Market, OHLCV, Order, OrderBook, OrderSide, OrderType, Str, Strings, Ticker, Tickers, Trade, Transaction } from './base/types.js';
3
3
  /**
4
4
  * @class bithumb
5
5
  * @augments Exchange
@@ -1,5 +1,5 @@
1
1
  import Exchange from './abstract/bitmart.js';
2
- import { Int, OrderSide, Balances, OrderType, OHLCV, Order, Str, Trade, Transaction, Ticker, OrderBook, Tickers, Strings, Currency, Market } from './base/types.js';
2
+ import type { Int, OrderSide, Balances, OrderType, OHLCV, Order, Str, Trade, Transaction, Ticker, OrderBook, Tickers, Strings, Currency, Market } from './base/types.js';
3
3
  /**
4
4
  * @class bitmart
5
5
  * @augments Exchange
@@ -1,5 +1,5 @@
1
1
  import Exchange from './abstract/bitmex.js';
2
- import { Int, OrderSide, OrderType, Trade, OHLCV, Order, Liquidation, OrderBook, Balances, Str, Transaction, Ticker, Tickers, Market, Strings, Currency } from './base/types.js';
2
+ import type { Int, OrderSide, OrderType, Trade, OHLCV, Order, Liquidation, OrderBook, Balances, Str, Transaction, Ticker, Tickers, Market, Strings, Currency } from './base/types.js';
3
3
  /**
4
4
  * @class bitmex
5
5
  * @augments Exchange
@@ -1,5 +1,5 @@
1
1
  import Exchange from './abstract/bitopro.js';
2
- import { Balances, Currency, Int, Market, OHLCV, Order, OrderBook, OrderSide, OrderType, Str, Strings, Ticker, Tickers, Trade, Transaction } from './base/types.js';
2
+ import type { Balances, Currency, Int, Market, OHLCV, Order, OrderBook, OrderSide, OrderType, Str, Strings, Ticker, Tickers, Trade, Transaction } from './base/types.js';
3
3
  /**
4
4
  * @class bitopro
5
5
  * @augments Exchange
@@ -1,5 +1,5 @@
1
1
  import Exchange from './abstract/bitpanda.js';
2
- import { Balances, Currency, Int, Market, OHLCV, Order, OrderBook, OrderSide, OrderType, Str, Strings, Ticker, Tickers, Trade, Transaction } from './base/types.js';
2
+ import type { Balances, Currency, Int, Market, OHLCV, Order, OrderBook, OrderSide, OrderType, Str, Strings, Ticker, Tickers, Trade, Transaction } from './base/types.js';
3
3
  /**
4
4
  * @class bitpanda
5
5
  * @augments Exchange
@@ -1,5 +1,5 @@
1
1
  import Exchange from './abstract/bitrue.js';
2
- import { Balances, Currency, Int, Market, OHLCV, Order, OrderBook, OrderSide, OrderType, Str, Strings, Ticker, Tickers, Trade, Transaction } from './base/types.js';
2
+ import type { Balances, Currency, Int, Market, OHLCV, Order, OrderBook, OrderSide, OrderType, Str, Strings, Ticker, Tickers, Trade, Transaction } from './base/types.js';
3
3
  /**
4
4
  * @class bitrue
5
5
  * @augments Exchange
package/js/src/bitso.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import Exchange from './abstract/bitso.js';
2
- import { Balances, Currency, Int, Market, OHLCV, Order, OrderBook, OrderSide, OrderType, Str, Strings, Ticker, Trade, Transaction } from './base/types.js';
2
+ import type { Balances, Currency, Int, Market, OHLCV, Order, OrderBook, OrderSide, OrderType, Str, Strings, Ticker, Trade, Transaction } from './base/types.js';
3
3
  /**
4
4
  * @class bitso
5
5
  * @augments Exchange
@@ -1,5 +1,5 @@
1
1
  import Exchange from './abstract/bitstamp.js';
2
- import { Balances, Currency, Int, Market, OHLCV, Order, OrderBook, OrderSide, OrderType, Str, Strings, Ticker, Tickers, Trade, Transaction } from './base/types.js';
2
+ import type { Balances, Currency, Int, Market, OHLCV, Order, OrderBook, OrderSide, OrderType, Str, Strings, Ticker, Tickers, Trade, Transaction } from './base/types.js';
3
3
  /**
4
4
  * @class bitstamp
5
5
  * @augments Exchange
@@ -1,5 +1,5 @@
1
1
  import Exchange from './abstract/bitvavo.js';
2
- import { Balances, Currency, Int, Market, OHLCV, Order, OrderBook, OrderSide, OrderType, Str, Strings, Ticker, Tickers, Trade, Transaction } from './base/types.js';
2
+ import type { Balances, Currency, Int, Market, OHLCV, Order, OrderBook, OrderSide, OrderType, Str, Strings, Ticker, Tickers, Trade, Transaction } from './base/types.js';
3
3
  /**
4
4
  * @class bitvavo
5
5
  * @augments Exchange
package/js/src/bl3p.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import Exchange from './abstract/bl3p.js';
2
- import { Balances, Int, Market, OrderBook, OrderSide, OrderType, Str, Ticker, Trade } from './base/types.js';
2
+ import type { Balances, Int, Market, OrderBook, OrderSide, OrderType, Str, Ticker, Trade } from './base/types.js';
3
3
  /**
4
4
  * @class bl3p
5
5
  * @augments Exchange
@@ -1,5 +1,5 @@
1
1
  import Exchange from './abstract/blockchaincom.js';
2
- import { Balances, Currency, Int, Market, Order, OrderBook, OrderSide, OrderType, Str, Strings, Ticker, Tickers, Trade, Transaction } from './base/types.js';
2
+ import type { Balances, Currency, Int, Market, Order, OrderBook, OrderSide, OrderType, Str, Strings, Ticker, Tickers, Trade, Transaction } from './base/types.js';
3
3
  /**
4
4
  * @class blockchaincom
5
5
  * @augments Exchange
@@ -1,5 +1,5 @@
1
1
  import Exchange from './abstract/btcalpha.js';
2
- import { Balances, Currency, Int, Market, OHLCV, Order, OrderBook, OrderSide, OrderType, Str, Strings, Ticker, Tickers, Trade, Transaction } from './base/types.js';
2
+ import type { Balances, Currency, Int, Market, OHLCV, Order, OrderBook, OrderSide, OrderType, Str, Strings, Ticker, Tickers, Trade, Transaction } from './base/types.js';
3
3
  /**
4
4
  * @class btcalpha
5
5
  * @augments Exchange
@@ -1,5 +1,5 @@
1
1
  import Exchange from './abstract/btcbox.js';
2
- import { Balances, Int, Market, Order, OrderBook, OrderSide, OrderType, Str, Ticker, Trade } from './base/types.js';
2
+ import type { Balances, Int, Market, Order, OrderBook, OrderSide, OrderType, Str, Ticker, Trade } from './base/types.js';
3
3
  /**
4
4
  * @class btcbox
5
5
  * @augments Exchange
@@ -1,5 +1,5 @@
1
1
  import Exchange from './abstract/btcmarkets.js';
2
- import { Balances, Currency, Int, Market, OHLCV, Order, OrderBook, OrderSide, OrderType, Str, Ticker, Trade, Transaction } from './base/types.js';
2
+ import type { Balances, Currency, Int, Market, OHLCV, Order, OrderBook, OrderSide, OrderType, Str, Ticker, Trade, Transaction } from './base/types.js';
3
3
  /**
4
4
  * @class btcmarkets
5
5
  * @augments Exchange
@@ -1,5 +1,5 @@
1
1
  import Exchange from './abstract/btcturk.js';
2
- import { Balances, Int, Market, OHLCV, Order, OrderBook, OrderSide, OrderType, Str, Strings, Ticker, Tickers, Trade } from './base/types.js';
2
+ import type { Balances, Int, Market, OHLCV, Order, OrderBook, OrderSide, OrderType, Str, Strings, Ticker, Tickers, Trade } from './base/types.js';
3
3
  /**
4
4
  * @class btcturk
5
5
  * @augments Exchange
package/js/src/bybit.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import Exchange from './abstract/bybit.js';
2
- import { Int, OrderSide, OrderType, Trade, Order, OHLCV, FundingRateHistory, OpenInterest, OrderRequest, Balances, Str, Transaction, Ticker, OrderBook, Tickers, Greeks, Strings, Market, Currency, MarketInterface } from './base/types.js';
2
+ import type { Int, OrderSide, OrderType, Trade, Order, OHLCV, FundingRateHistory, OpenInterest, OrderRequest, Balances, Str, Transaction, Ticker, OrderBook, Tickers, Greeks, Strings, Market, Currency, MarketInterface } from './base/types.js';
3
3
  /**
4
4
  * @class bybit
5
5
  * @augments Exchange
package/js/src/cex.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import Exchange from './abstract/cex.js';
2
- import { Balances, Int, Market, OHLCV, Order, OrderBook, OrderSide, OrderType, Str, Strings, Ticker, Tickers, Trade } from './base/types.js';
2
+ import type { Balances, Int, Market, OHLCV, Order, OrderBook, OrderSide, OrderType, Str, Strings, Ticker, Tickers, Trade } from './base/types.js';
3
3
  /**
4
4
  * @class cex
5
5
  * @augments Exchange
@@ -1,5 +1,5 @@
1
1
  import Exchange from './abstract/coinbase.js';
2
- import { Int, OrderSide, OrderType, Order, Trade, OHLCV, Ticker, OrderBook, Str, Transaction, Balances, Tickers, Strings, Market, Currency } from './base/types.js';
2
+ import type { Int, OrderSide, OrderType, Order, Trade, OHLCV, Ticker, OrderBook, Str, Transaction, Balances, Tickers, Strings, Market, Currency } from './base/types.js';
3
3
  /**
4
4
  * @class coinbase
5
5
  * @augments Exchange
@@ -1,5 +1,5 @@
1
1
  import Exchange from './abstract/coinbasepro.js';
2
- import { Int, OrderSide, OrderType, Trade, OHLCV, Order, Balances, Str, Transaction, Ticker, OrderBook, Tickers, Strings, Market, Currency } from './base/types.js';
2
+ import type { Int, OrderSide, OrderType, Trade, OHLCV, Order, Balances, Str, Transaction, Ticker, OrderBook, Tickers, Strings, Market, Currency } from './base/types.js';
3
3
  /**
4
4
  * @class coinbasepro
5
5
  * @augments Exchange
@@ -1,5 +1,5 @@
1
1
  import Exchange from './abstract/coincheck.js';
2
- import { Balances, Currency, Int, Market, Order, OrderBook, OrderSide, OrderType, Str, Ticker, Trade, Transaction } from './base/types.js';
2
+ import type { Balances, Currency, Int, Market, Order, OrderBook, OrderSide, OrderType, Str, Ticker, Trade, Transaction } from './base/types.js';
3
3
  /**
4
4
  * @class coincheck
5
5
  * @augments Exchange
@@ -1,5 +1,5 @@
1
1
  import Exchange from './abstract/coinex.js';
2
- import { Balances, Currency, FundingHistory, FundingRateHistory, Int, Market, OHLCV, Order, OrderSide, OrderType, Str, Strings, Ticker, Tickers, Trade, Transaction, OrderRequest } from './base/types.js';
2
+ import type { Balances, Currency, FundingHistory, FundingRateHistory, Int, Market, OHLCV, Order, OrderSide, OrderType, Str, Strings, Ticker, Tickers, Trade, Transaction, OrderRequest } from './base/types.js';
3
3
  /**
4
4
  * @class coinex
5
5
  * @augments Exchange
@@ -1,5 +1,5 @@
1
1
  import Exchange from './abstract/coinlist.js';
2
- import { Balances, Currency, Int, Market, OHLCV, Order, OrderBook, OrderSide, OrderType, Str, Strings, Ticker, Tickers, Trade, Transaction } from './base/types.js';
2
+ import type { Balances, Currency, Int, Market, OHLCV, Order, OrderBook, OrderSide, OrderType, Str, Strings, Ticker, Tickers, Trade, Transaction } from './base/types.js';
3
3
  /**
4
4
  * @class coinlist
5
5
  * @augments Exchange
@@ -31,7 +31,6 @@ export default class coinlist extends Exchange {
31
31
  'future': false,
32
32
  'option': false,
33
33
  'addMargin': false,
34
- 'borrowMargin': false,
35
34
  'cancelAllOrders': true,
36
35
  'cancelOrder': true,
37
36
  'cancelOrders': true,
@@ -110,7 +109,6 @@ export default class coinlist extends Exchange {
110
109
  'fetchWithdrawals': false,
111
110
  'fetchWithdrawalWhitelist': false,
112
111
  'reduceMargin': false,
113
- 'repayMargin': false,
114
112
  'setLeverage': false,
115
113
  'setMargin': false,
116
114
  'setMarginMode': false,
@@ -1,5 +1,5 @@
1
1
  import Exchange from './abstract/coinmate.js';
2
- import { Balances, Currency, Int, Market, Order, OrderBook, OrderSide, OrderType, Str, Ticker, Trade, Transaction } from './base/types.js';
2
+ import type { Balances, Currency, Int, Market, Order, OrderBook, OrderSide, OrderType, Str, Ticker, Trade, Transaction } from './base/types.js';
3
3
  /**
4
4
  * @class coinmate
5
5
  * @augments Exchange
@@ -1,5 +1,5 @@
1
1
  import Exchange from './abstract/coinone.js';
2
- import { Balances, Int, Market, Order, OrderBook, OrderSide, OrderType, Str, Strings, Ticker, Tickers, Trade } from './base/types.js';
2
+ import type { Balances, Int, Market, Order, OrderBook, OrderSide, OrderType, Str, Strings, Ticker, Tickers, Trade } from './base/types.js';
3
3
  /**
4
4
  * @class coinone
5
5
  * @augments Exchange
@@ -1,5 +1,5 @@
1
1
  import Exchange from './abstract/coinsph.js';
2
- import { Balances, Currency, Int, Market, OHLCV, Order, OrderBook, OrderSide, OrderType, Str, Strings, Ticker, Tickers, Trade, Transaction } from './base/types.js';
2
+ import type { Balances, Currency, Int, Market, OHLCV, Order, OrderBook, OrderSide, OrderType, Str, Strings, Ticker, Tickers, Trade, Transaction } from './base/types.js';
3
3
  /**
4
4
  * @class coinsph
5
5
  * @augments Exchange