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.
- package/README.md +5 -8
- package/dist/ccxt.browser.js +17010 -23553
- package/dist/ccxt.browser.min.js +3 -3
- package/dist/cjs/ccxt.js +1 -16
- package/dist/cjs/src/binanceus.js +0 -2
- package/dist/cjs/src/bitforex.js +0 -2
- package/dist/cjs/src/coinlist.js +0 -2
- package/dist/cjs/src/coinsph.js +0 -2
- package/dist/cjs/src/cryptocom.js +0 -2
- package/dist/cjs/src/gate.js +0 -210
- package/dist/cjs/src/kuna.js +0 -2
- package/dist/cjs/src/mexc.js +0 -2
- package/dist/cjs/src/okx.js +0 -1
- package/dist/cjs/src/pro/coinex.js +2 -1
- package/dist/cjs/src/tokocrypto.js +0 -1
- package/dist/cjs/src/upbit.js +36 -26
- package/dist/cjs/src/wazirx.js +0 -2
- package/dist/cjs/src/whitebit.js +0 -2
- package/dist/cjs/src/woo.js +0 -2
- package/js/ccxt.d.ts +3 -21
- package/js/ccxt.js +2 -14
- package/js/src/ace.d.ts +1 -1
- package/js/src/alpaca.d.ts +1 -1
- package/js/src/ascendex.d.ts +1 -1
- package/js/src/base/Exchange.d.ts +3 -3
- package/js/src/bigone.d.ts +1 -1
- package/js/src/binance.d.ts +1 -1
- package/js/src/binanceus.js +0 -2
- package/js/src/bingx.d.ts +1 -1
- package/js/src/bit2c.d.ts +1 -1
- package/js/src/bitbank.d.ts +1 -1
- package/js/src/bitbns.d.ts +1 -1
- package/js/src/bitfinex.d.ts +1 -1
- package/js/src/bitfinex2.d.ts +1 -1
- package/js/src/bitflyer.d.ts +1 -1
- package/js/src/bitforex.d.ts +1 -1
- package/js/src/bitforex.js +0 -2
- package/js/src/bitget.d.ts +1 -1
- package/js/src/bithumb.d.ts +1 -1
- package/js/src/bitmart.d.ts +1 -1
- package/js/src/bitmex.d.ts +1 -1
- package/js/src/bitopro.d.ts +1 -1
- package/js/src/bitpanda.d.ts +1 -1
- package/js/src/bitrue.d.ts +1 -1
- package/js/src/bitso.d.ts +1 -1
- package/js/src/bitstamp.d.ts +1 -1
- package/js/src/bitvavo.d.ts +1 -1
- package/js/src/bl3p.d.ts +1 -1
- package/js/src/blockchaincom.d.ts +1 -1
- package/js/src/btcalpha.d.ts +1 -1
- package/js/src/btcbox.d.ts +1 -1
- package/js/src/btcmarkets.d.ts +1 -1
- package/js/src/btcturk.d.ts +1 -1
- package/js/src/bybit.d.ts +1 -1
- package/js/src/cex.d.ts +1 -1
- package/js/src/coinbase.d.ts +1 -1
- package/js/src/coinbasepro.d.ts +1 -1
- package/js/src/coincheck.d.ts +1 -1
- package/js/src/coinex.d.ts +1 -1
- package/js/src/coinlist.d.ts +1 -1
- package/js/src/coinlist.js +0 -2
- package/js/src/coinmate.d.ts +1 -1
- package/js/src/coinone.d.ts +1 -1
- package/js/src/coinsph.d.ts +1 -1
- package/js/src/coinsph.js +0 -2
- package/js/src/coinspot.d.ts +1 -1
- package/js/src/cryptocom.d.ts +1 -1
- package/js/src/cryptocom.js +0 -2
- package/js/src/currencycom.d.ts +1 -1
- package/js/src/delta.d.ts +1 -1
- package/js/src/deribit.d.ts +1 -1
- package/js/src/digifinex.d.ts +1 -1
- package/js/src/exmo.d.ts +1 -1
- package/js/src/gate.d.ts +1 -28
- package/js/src/gate.js +0 -210
- package/js/src/gemini.d.ts +1 -1
- package/js/src/hitbtc.d.ts +1 -1
- package/js/src/hollaex.d.ts +1 -1
- package/js/src/htx.d.ts +1 -1
- package/js/src/huobijp.d.ts +1 -1
- package/js/src/idex.d.ts +1 -1
- package/js/src/independentreserve.d.ts +1 -1
- package/js/src/indodax.d.ts +1 -1
- package/js/src/kraken.d.ts +1 -1
- package/js/src/krakenfutures.d.ts +1 -1
- package/js/src/kucoin.d.ts +1 -1
- package/js/src/kucoinfutures.d.ts +1 -1
- package/js/src/kuna.d.ts +1 -1
- package/js/src/kuna.js +0 -2
- package/js/src/latoken.d.ts +1 -1
- package/js/src/lbank.d.ts +1 -1
- package/js/src/luno.d.ts +1 -1
- package/js/src/lykke.d.ts +1 -1
- package/js/src/mercado.d.ts +1 -1
- package/js/src/mexc.d.ts +1 -1
- package/js/src/mexc.js +0 -2
- package/js/src/ndax.d.ts +1 -1
- package/js/src/novadax.d.ts +1 -1
- package/js/src/oceanex.d.ts +1 -1
- package/js/src/okcoin.d.ts +1 -1
- package/js/src/okx.d.ts +1 -1
- package/js/src/okx.js +0 -1
- package/js/src/p2b.d.ts +1 -1
- package/js/src/paymium.d.ts +1 -1
- package/js/src/phemex.d.ts +1 -1
- package/js/src/poloniex.d.ts +1 -1
- package/js/src/poloniexfutures.d.ts +1 -1
- package/js/src/pro/alpaca.d.ts +8 -8
- package/js/src/pro/ascendex.d.ts +7 -7
- package/js/src/pro/binance.d.ts +24 -24
- package/js/src/pro/bingx.d.ts +7 -7
- package/js/src/pro/bitfinex.d.ts +6 -6
- package/js/src/pro/bitfinex2.d.ts +11 -11
- package/js/src/pro/bitget.d.ts +17 -17
- package/js/src/pro/bitmart.d.ts +13 -13
- package/js/src/pro/bitmex.d.ts +10 -10
- package/js/src/pro/bitopro.d.ts +5 -5
- package/js/src/pro/bitpanda.d.ts +10 -10
- package/js/src/pro/bitrue.d.ts +5 -5
- package/js/src/pro/bitstamp.d.ts +6 -6
- package/js/src/pro/bitvavo.d.ts +7 -7
- package/js/src/pro/blockchaincom.d.ts +10 -10
- package/js/src/pro/bybit.d.ts +14 -14
- package/js/src/pro/cex.d.ts +20 -20
- package/js/src/pro/coinbase.d.ts +7 -6
- package/js/src/pro/coinbasepro.d.ts +12 -12
- package/js/src/pro/coinex.d.ts +12 -12
- package/js/src/pro/coinex.js +2 -1
- package/js/src/pro/cryptocom.d.ts +13 -13
- package/js/src/pro/currencycom.d.ts +6 -6
- package/js/src/pro/deribit.d.ts +8 -8
- package/js/src/pro/exmo.d.ts +6 -6
- package/js/src/pro/gate.d.ts +11 -11
- package/js/src/pro/gemini.d.ts +7 -7
- package/js/src/pro/hitbtc.d.ts +13 -13
- package/js/src/pro/hollaex.d.ts +6 -6
- package/js/src/pro/htx.d.ts +12 -12
- package/js/src/pro/huobijp.d.ts +5 -5
- package/js/src/pro/idex.d.ts +7 -7
- package/js/src/pro/independentreserve.d.ts +4 -4
- package/js/src/pro/kraken.d.ts +11 -11
- package/js/src/pro/krakenfutures.d.ts +15 -15
- package/js/src/pro/kucoin.d.ts +13 -13
- package/js/src/pro/kucoinfutures.d.ts +10 -10
- package/js/src/pro/luno.d.ts +3 -3
- package/js/src/pro/mexc.d.ts +11 -11
- package/js/src/pro/ndax.d.ts +5 -5
- package/js/src/pro/okcoin.d.ts +7 -7
- package/js/src/pro/okx.d.ts +16 -16
- package/js/src/pro/phemex.d.ts +9 -9
- package/js/src/pro/poloniex.d.ts +13 -13
- package/js/src/pro/poloniexfutures.d.ts +10 -10
- package/js/src/pro/probit.d.ts +7 -7
- package/js/src/pro/upbit.d.ts +4 -4
- package/js/src/pro/wazirx.d.ts +12 -12
- package/js/src/pro/whitebit.d.ts +10 -10
- package/js/src/pro/woo.d.ts +11 -11
- package/js/src/probit.d.ts +1 -1
- package/js/src/timex.d.ts +1 -1
- package/js/src/tokocrypto.d.ts +1 -1
- package/js/src/tokocrypto.js +0 -1
- package/js/src/upbit.d.ts +1 -1
- package/js/src/upbit.js +36 -26
- package/js/src/wavesexchange.d.ts +1 -1
- package/js/src/wazirx.d.ts +1 -1
- package/js/src/wazirx.js +0 -2
- package/js/src/whitebit.d.ts +1 -1
- package/js/src/whitebit.js +0 -2
- package/js/src/woo.d.ts +1 -1
- package/js/src/woo.js +0 -2
- package/js/src/yobit.d.ts +1 -1
- package/js/src/zaif.d.ts +1 -1
- package/js/src/zonda.d.ts +1 -1
- package/jsdoc2md.js +0 -2
- package/package.json +1 -1
- package/js/src/abstract/bittrex.d.ts +0 -79
- package/js/src/abstract/bittrex.js +0 -11
- package/js/src/abstract/coinbaseprime.d.ts +0 -69
- package/js/src/abstract/coinbaseprime.js +0 -11
- package/js/src/abstract/coinbasepro.d.ts +0 -69
- 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.
|
|
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,
|
|
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.
|
|
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,
|
|
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
|
package/js/src/alpaca.d.ts
CHANGED
|
@@ -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
|
package/js/src/ascendex.d.ts
CHANGED
|
@@ -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<
|
|
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>;
|
package/js/src/bigone.d.ts
CHANGED
|
@@ -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
|
package/js/src/binance.d.ts
CHANGED
|
@@ -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
|
package/js/src/binanceus.js
CHANGED
|
@@ -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
|
package/js/src/bitbank.d.ts
CHANGED
|
@@ -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
|
package/js/src/bitbns.d.ts
CHANGED
|
@@ -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
|
package/js/src/bitfinex.d.ts
CHANGED
|
@@ -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
|
package/js/src/bitfinex2.d.ts
CHANGED
|
@@ -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
|
package/js/src/bitflyer.d.ts
CHANGED
|
@@ -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
|
package/js/src/bitforex.d.ts
CHANGED
|
@@ -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
|
package/js/src/bitforex.js
CHANGED
|
@@ -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,
|
package/js/src/bitget.d.ts
CHANGED
|
@@ -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
|
package/js/src/bithumb.d.ts
CHANGED
|
@@ -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
|
package/js/src/bitmart.d.ts
CHANGED
|
@@ -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
|
package/js/src/bitmex.d.ts
CHANGED
|
@@ -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
|
package/js/src/bitopro.d.ts
CHANGED
|
@@ -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
|
package/js/src/bitpanda.d.ts
CHANGED
|
@@ -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
|
package/js/src/bitrue.d.ts
CHANGED
|
@@ -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
|
package/js/src/bitstamp.d.ts
CHANGED
|
@@ -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
|
package/js/src/bitvavo.d.ts
CHANGED
|
@@ -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
|
package/js/src/btcalpha.d.ts
CHANGED
|
@@ -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
|
package/js/src/btcbox.d.ts
CHANGED
|
@@ -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
|
package/js/src/btcmarkets.d.ts
CHANGED
|
@@ -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
|
package/js/src/btcturk.d.ts
CHANGED
|
@@ -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
|
package/js/src/coinbase.d.ts
CHANGED
|
@@ -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
|
package/js/src/coinbasepro.d.ts
CHANGED
|
@@ -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
|
package/js/src/coincheck.d.ts
CHANGED
|
@@ -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
|
package/js/src/coinex.d.ts
CHANGED
|
@@ -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
|
package/js/src/coinlist.d.ts
CHANGED
|
@@ -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
|
package/js/src/coinlist.js
CHANGED
|
@@ -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,
|
package/js/src/coinmate.d.ts
CHANGED
|
@@ -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
|
package/js/src/coinone.d.ts
CHANGED
|
@@ -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
|
package/js/src/coinsph.d.ts
CHANGED
|
@@ -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
|