ccxt 4.4.82 → 4.4.86
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 +6 -9
- package/dist/ccxt.browser.min.js +7 -7
- package/dist/cjs/ccxt.js +6 -17
- package/dist/cjs/src/abstract/bittrade.js +9 -0
- package/dist/cjs/src/apex.js +2 -1
- package/dist/cjs/src/ascendex.js +189 -155
- package/dist/cjs/src/base/Exchange.js +15 -2
- package/dist/cjs/src/bequant.js +1 -1
- package/dist/cjs/src/bitget.js +6 -7
- package/dist/cjs/src/bitmart.js +1 -1
- package/dist/cjs/src/bitrue.js +14 -35
- package/dist/cjs/src/bitso.js +33 -0
- package/dist/cjs/src/bitstamp.js +33 -0
- package/dist/cjs/src/bittrade.js +2049 -0
- package/dist/cjs/src/blofin.js +154 -13
- package/dist/cjs/src/btcbox.js +25 -5
- package/dist/cjs/src/bybit.js +16 -40
- package/dist/cjs/src/cex.js +2 -4
- package/dist/cjs/src/coinbase.js +58 -46
- package/dist/cjs/src/coinbaseexchange.js +142 -32
- package/dist/cjs/src/coincatch.js +14 -67
- package/dist/cjs/src/coinex.js +29 -32
- package/dist/cjs/src/coinlist.js +16 -15
- package/dist/cjs/src/coinmetro.js +22 -11
- package/dist/cjs/src/coinone.js +8 -10
- package/dist/cjs/src/coinsph.js +126 -1
- package/dist/cjs/src/cryptocom.js +111 -1
- package/dist/cjs/src/cryptomus.js +43 -89
- package/dist/cjs/src/delta.js +76 -36
- package/dist/cjs/src/deribit.js +4 -5
- package/dist/cjs/src/derive.js +46 -10
- package/dist/cjs/src/ellipx.js +175 -79
- package/dist/cjs/src/gate.js +1 -1
- package/dist/cjs/src/gemini.js +3 -5
- package/dist/cjs/src/hitbtc.js +56 -69
- package/dist/cjs/src/hollaex.js +107 -49
- package/dist/cjs/src/htx.js +20 -44
- package/dist/cjs/src/hyperliquid.js +6 -6
- package/dist/cjs/src/kraken.js +29 -24
- package/dist/cjs/src/kucoinfutures.js +6 -0
- package/dist/cjs/src/lbank.js +1 -1
- package/dist/cjs/src/mexc.js +2 -2
- package/dist/cjs/src/ndax.js +25 -24
- package/dist/cjs/src/okcoin.js +12 -31
- package/dist/cjs/src/okx.js +9 -0
- package/dist/cjs/src/onetrading.js +9 -6
- package/dist/cjs/src/oxfun.js +42 -114
- package/dist/cjs/src/paradex.js +124 -4
- package/dist/cjs/src/pro/binance.js +32 -33
- package/dist/cjs/src/pro/bithumb.js +5 -3
- package/dist/cjs/src/pro/bittrade.js +605 -0
- package/dist/cjs/src/pro/kraken.js +289 -79
- package/dist/cjs/src/pro/luno.js +6 -5
- package/dist/cjs/src/pro/mexc.js +304 -7
- package/dist/cjs/src/pro/poloniex.js +6 -2
- package/examples/js/cli.js +127 -13
- package/js/ccxt.d.ts +8 -20
- package/js/ccxt.js +6 -14
- package/js/src/abstract/blofin.d.ts +8 -0
- package/js/src/abstract/btcbox.d.ts +1 -0
- package/js/src/abstract/myokx.d.ts +2 -0
- package/js/src/abstract/okx.d.ts +2 -0
- package/js/src/apex.js +2 -1
- package/js/src/ascendex.d.ts +2 -0
- package/js/src/ascendex.js +189 -155
- package/js/src/base/Exchange.d.ts +15 -1
- package/js/src/base/Exchange.js +15 -2
- package/js/src/base/types.d.ts +3 -0
- package/js/src/bequant.js +1 -1
- package/js/src/bitget.js +6 -7
- package/js/src/bitmart.js +1 -1
- package/js/src/bitrue.js +14 -35
- package/js/src/bitso.js +33 -0
- package/js/src/bitstamp.js +33 -0
- package/js/src/{huobijp.d.ts → bittrade.d.ts} +29 -29
- package/js/src/{huobijp.js → bittrade.js} +35 -35
- package/js/src/blofin.d.ts +42 -2
- package/js/src/blofin.js +154 -13
- package/js/src/btcbox.js +25 -5
- package/js/src/bybit.js +16 -40
- package/js/src/cex.js +2 -4
- package/js/src/coinbase.js +58 -46
- package/js/src/coinbaseexchange.js +142 -32
- package/js/src/coincatch.js +14 -67
- package/js/src/coinex.js +28 -29
- package/js/src/coinlist.js +16 -15
- package/js/src/coinmetro.js +22 -11
- package/js/src/coinone.js +8 -10
- package/js/src/coinsph.d.ts +10 -1
- package/js/src/coinsph.js +126 -1
- package/js/src/cryptocom.d.ts +10 -1
- package/js/src/cryptocom.js +111 -1
- package/js/src/cryptomus.js +43 -89
- package/js/src/delta.js +76 -36
- package/js/src/deribit.js +4 -5
- package/js/src/derive.js +46 -10
- package/js/src/ellipx.d.ts +2 -3
- package/js/src/ellipx.js +175 -80
- package/js/src/gate.js +1 -1
- package/js/src/gemini.js +3 -5
- package/js/src/hitbtc.js +56 -69
- package/js/src/hollaex.js +107 -49
- package/js/src/htx.js +20 -44
- package/js/src/hyperliquid.js +6 -6
- package/js/src/kraken.js +29 -24
- package/js/src/kucoinfutures.d.ts +1 -0
- package/js/src/kucoinfutures.js +6 -0
- package/js/src/lbank.js +1 -1
- package/js/src/mexc.js +2 -2
- package/js/src/ndax.js +25 -24
- package/js/src/okcoin.js +12 -31
- package/js/src/okx.js +9 -0
- package/js/src/onetrading.js +9 -6
- package/js/src/oxfun.js +42 -114
- package/js/src/paradex.d.ts +12 -1
- package/js/src/paradex.js +124 -4
- package/js/src/pro/binance.d.ts +26 -26
- package/js/src/pro/binance.js +32 -33
- package/js/src/pro/bithumb.js +5 -3
- package/js/src/pro/{huobijp.d.ts → bittrade.d.ts} +6 -6
- package/js/src/pro/{huobijp.js → bittrade.js} +7 -7
- package/js/src/pro/kraken.d.ts +7 -6
- package/js/src/pro/kraken.js +290 -80
- package/js/src/pro/luno.js +6 -5
- package/js/src/pro/mexc.d.ts +58 -0
- package/js/src/pro/mexc.js +304 -7
- package/js/src/pro/poloniex.d.ts +1 -1
- package/js/src/pro/poloniex.js +6 -2
- package/package.json +1 -1
- package/js/src/abstract/bl3p.d.ts +0 -22
- package/js/src/abstract/huobijp.js +0 -11
- package/js/src/abstract/idex.d.ts +0 -29
- package/js/src/abstract/idex.js +0 -11
- package/js/src/abstract/kuna.d.ts +0 -185
- package/js/src/abstract/kuna.js +0 -11
- package/js/src/bl3p.d.ts +0 -116
- package/js/src/bl3p.js +0 -552
- package/js/src/idex.d.ts +0 -312
- package/js/src/idex.js +0 -1961
- package/js/src/kuna.d.ts +0 -335
- package/js/src/kuna.js +0 -2006
- package/js/src/pro/idex.d.ts +0 -81
- package/js/src/pro/idex.js +0 -720
- /package/js/src/abstract/{huobijp.d.ts → bittrade.d.ts} +0 -0
- /package/js/src/abstract/{bl3p.js → bittrade.js} +0 -0
package/js/ccxt.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import * as functions from './src/base/functions.js';
|
|
|
4
4
|
import * as errors from './src/base/errors.js';
|
|
5
5
|
import type { Int, int, Str, Strings, Num, Bool, IndexType, OrderSide, OrderType, MarketType, SubType, Dict, NullableDict, List, NullableList, Fee, OHLCV, OHLCVC, implicitReturnType, Market, Currency, Dictionary, MinMax, FeeInterface, TradingFeeInterface, MarketInterface, Trade, Order, OrderBook, Ticker, Transaction, Tickers, CurrencyInterface, Balance, BalanceAccount, Account, PartialBalances, Balances, DepositAddress, WithdrawalResponse, FundingRate, FundingRates, Position, BorrowInterest, LeverageTier, LedgerEntry, DepositWithdrawFeeNetwork, DepositWithdrawFee, TransferEntry, CrossBorrowRate, IsolatedBorrowRate, FundingRateHistory, OpenInterest, Liquidation, OrderRequest, CancellationRequest, FundingHistory, MarketMarginModes, MarginMode, Greeks, Conversion, Option, LastPrice, Leverage, MarginModification, Leverages, LastPrices, Currencies, TradingFees, MarginModes, OptionChain, IsolatedBorrowRates, CrossBorrowRates, LeverageTiers, LongShortRatio, OrderBooks, OpenInterests, ConstructorArgs } from './src/base/types.js';
|
|
6
6
|
import { BaseError, ExchangeError, AuthenticationError, PermissionDenied, AccountNotEnabled, AccountSuspended, ArgumentsRequired, BadRequest, BadSymbol, OperationRejected, NoChange, MarginModeAlreadySet, MarketClosed, ManualInteractionNeeded, InsufficientFunds, InvalidAddress, AddressPending, InvalidOrder, OrderNotFound, OrderNotCached, OrderImmediatelyFillable, OrderNotFillable, DuplicateOrderId, ContractUnavailable, NotSupported, InvalidProxySettings, ExchangeClosedByUser, OperationFailed, NetworkError, DDoSProtection, RateLimitExceeded, ExchangeNotAvailable, OnMaintenance, InvalidNonce, ChecksumError, RequestTimeout, BadResponse, NullResponse, CancelPending, UnsubscribeError } from './src/base/errors.js';
|
|
7
|
-
declare const version = "4.4.
|
|
7
|
+
declare const version = "4.4.85";
|
|
8
8
|
import alpaca from './src/alpaca.js';
|
|
9
9
|
import apex from './src/apex.js';
|
|
10
10
|
import ascendex from './src/ascendex.js';
|
|
@@ -29,8 +29,8 @@ import bitrue from './src/bitrue.js';
|
|
|
29
29
|
import bitso from './src/bitso.js';
|
|
30
30
|
import bitstamp from './src/bitstamp.js';
|
|
31
31
|
import bitteam from './src/bitteam.js';
|
|
32
|
+
import bittrade from './src/bittrade.js';
|
|
32
33
|
import bitvavo from './src/bitvavo.js';
|
|
33
|
-
import bl3p from './src/bl3p.js';
|
|
34
34
|
import blockchaincom from './src/blockchaincom.js';
|
|
35
35
|
import blofin from './src/blofin.js';
|
|
36
36
|
import btcalpha from './src/btcalpha.js';
|
|
@@ -70,16 +70,13 @@ import hitbtc from './src/hitbtc.js';
|
|
|
70
70
|
import hollaex from './src/hollaex.js';
|
|
71
71
|
import htx from './src/htx.js';
|
|
72
72
|
import huobi from './src/huobi.js';
|
|
73
|
-
import huobijp from './src/huobijp.js';
|
|
74
73
|
import hyperliquid from './src/hyperliquid.js';
|
|
75
|
-
import idex from './src/idex.js';
|
|
76
74
|
import independentreserve from './src/independentreserve.js';
|
|
77
75
|
import indodax from './src/indodax.js';
|
|
78
76
|
import kraken from './src/kraken.js';
|
|
79
77
|
import krakenfutures from './src/krakenfutures.js';
|
|
80
78
|
import kucoin from './src/kucoin.js';
|
|
81
79
|
import kucoinfutures from './src/kucoinfutures.js';
|
|
82
|
-
import kuna from './src/kuna.js';
|
|
83
80
|
import latoken from './src/latoken.js';
|
|
84
81
|
import lbank from './src/lbank.js';
|
|
85
82
|
import luno from './src/luno.js';
|
|
@@ -129,6 +126,7 @@ import bitmexPro from './src/pro/bitmex.js';
|
|
|
129
126
|
import bitoproPro from './src/pro/bitopro.js';
|
|
130
127
|
import bitruePro from './src/pro/bitrue.js';
|
|
131
128
|
import bitstampPro from './src/pro/bitstamp.js';
|
|
129
|
+
import bittradePro from './src/pro/bittrade.js';
|
|
132
130
|
import bitvavoPro from './src/pro/bitvavo.js';
|
|
133
131
|
import blockchaincomPro from './src/pro/blockchaincom.js';
|
|
134
132
|
import blofinPro from './src/pro/blofin.js';
|
|
@@ -155,9 +153,7 @@ import hitbtcPro from './src/pro/hitbtc.js';
|
|
|
155
153
|
import hollaexPro from './src/pro/hollaex.js';
|
|
156
154
|
import htxPro from './src/pro/htx.js';
|
|
157
155
|
import huobiPro from './src/pro/huobi.js';
|
|
158
|
-
import huobijpPro from './src/pro/huobijp.js';
|
|
159
156
|
import hyperliquidPro from './src/pro/hyperliquid.js';
|
|
160
|
-
import idexPro from './src/pro/idex.js';
|
|
161
157
|
import independentreservePro from './src/pro/independentreserve.js';
|
|
162
158
|
import krakenPro from './src/pro/kraken.js';
|
|
163
159
|
import krakenfuturesPro from './src/pro/krakenfutures.js';
|
|
@@ -209,8 +205,8 @@ declare const exchanges: {
|
|
|
209
205
|
bitso: typeof bitso;
|
|
210
206
|
bitstamp: typeof bitstamp;
|
|
211
207
|
bitteam: typeof bitteam;
|
|
208
|
+
bittrade: typeof bittrade;
|
|
212
209
|
bitvavo: typeof bitvavo;
|
|
213
|
-
bl3p: typeof bl3p;
|
|
214
210
|
blockchaincom: typeof blockchaincom;
|
|
215
211
|
blofin: typeof blofin;
|
|
216
212
|
btcalpha: typeof btcalpha;
|
|
@@ -250,16 +246,13 @@ declare const exchanges: {
|
|
|
250
246
|
hollaex: typeof hollaex;
|
|
251
247
|
htx: typeof htx;
|
|
252
248
|
huobi: typeof huobi;
|
|
253
|
-
huobijp: typeof huobijp;
|
|
254
249
|
hyperliquid: typeof hyperliquid;
|
|
255
|
-
idex: typeof idex;
|
|
256
250
|
independentreserve: typeof independentreserve;
|
|
257
251
|
indodax: typeof indodax;
|
|
258
252
|
kraken: typeof kraken;
|
|
259
253
|
krakenfutures: typeof krakenfutures;
|
|
260
254
|
kucoin: typeof kucoin;
|
|
261
255
|
kucoinfutures: typeof kucoinfutures;
|
|
262
|
-
kuna: typeof kuna;
|
|
263
256
|
latoken: typeof latoken;
|
|
264
257
|
lbank: typeof lbank;
|
|
265
258
|
luno: typeof luno;
|
|
@@ -311,6 +304,7 @@ declare const pro: {
|
|
|
311
304
|
bitopro: typeof bitoproPro;
|
|
312
305
|
bitrue: typeof bitruePro;
|
|
313
306
|
bitstamp: typeof bitstampPro;
|
|
307
|
+
bittrade: typeof bittradePro;
|
|
314
308
|
bitvavo: typeof bitvavoPro;
|
|
315
309
|
blockchaincom: typeof blockchaincomPro;
|
|
316
310
|
blofin: typeof blofinPro;
|
|
@@ -337,9 +331,7 @@ declare const pro: {
|
|
|
337
331
|
hollaex: typeof hollaexPro;
|
|
338
332
|
htx: typeof htxPro;
|
|
339
333
|
huobi: typeof huobiPro;
|
|
340
|
-
huobijp: typeof huobijpPro;
|
|
341
334
|
hyperliquid: typeof hyperliquidPro;
|
|
342
|
-
idex: typeof idexPro;
|
|
343
335
|
independentreserve: typeof independentreservePro;
|
|
344
336
|
kraken: typeof krakenPro;
|
|
345
337
|
krakenfutures: typeof krakenfuturesPro;
|
|
@@ -390,6 +382,7 @@ declare const ccxt: {
|
|
|
390
382
|
bitopro: typeof bitoproPro;
|
|
391
383
|
bitrue: typeof bitruePro;
|
|
392
384
|
bitstamp: typeof bitstampPro;
|
|
385
|
+
bittrade: typeof bittradePro;
|
|
393
386
|
bitvavo: typeof bitvavoPro;
|
|
394
387
|
blockchaincom: typeof blockchaincomPro;
|
|
395
388
|
blofin: typeof blofinPro;
|
|
@@ -416,9 +409,7 @@ declare const ccxt: {
|
|
|
416
409
|
hollaex: typeof hollaexPro;
|
|
417
410
|
htx: typeof htxPro;
|
|
418
411
|
huobi: typeof huobiPro;
|
|
419
|
-
huobijp: typeof huobijpPro;
|
|
420
412
|
hyperliquid: typeof hyperliquidPro;
|
|
421
|
-
idex: typeof idexPro;
|
|
422
413
|
independentreserve: typeof independentreservePro;
|
|
423
414
|
kraken: typeof krakenPro;
|
|
424
415
|
krakenfutures: typeof krakenfuturesPro;
|
|
@@ -471,8 +462,8 @@ declare const ccxt: {
|
|
|
471
462
|
bitso: typeof bitso;
|
|
472
463
|
bitstamp: typeof bitstamp;
|
|
473
464
|
bitteam: typeof bitteam;
|
|
465
|
+
bittrade: typeof bittrade;
|
|
474
466
|
bitvavo: typeof bitvavo;
|
|
475
|
-
bl3p: typeof bl3p;
|
|
476
467
|
blockchaincom: typeof blockchaincom;
|
|
477
468
|
blofin: typeof blofin;
|
|
478
469
|
btcalpha: typeof btcalpha;
|
|
@@ -512,16 +503,13 @@ declare const ccxt: {
|
|
|
512
503
|
hollaex: typeof hollaex;
|
|
513
504
|
htx: typeof htx;
|
|
514
505
|
huobi: typeof huobi;
|
|
515
|
-
huobijp: typeof huobijp;
|
|
516
506
|
hyperliquid: typeof hyperliquid;
|
|
517
|
-
idex: typeof idex;
|
|
518
507
|
independentreserve: typeof independentreserve;
|
|
519
508
|
indodax: typeof indodax;
|
|
520
509
|
kraken: typeof kraken;
|
|
521
510
|
krakenfutures: typeof krakenfutures;
|
|
522
511
|
kucoin: typeof kucoin;
|
|
523
512
|
kucoinfutures: typeof kucoinfutures;
|
|
524
|
-
kuna: typeof kuna;
|
|
525
513
|
latoken: typeof latoken;
|
|
526
514
|
lbank: typeof lbank;
|
|
527
515
|
luno: typeof luno;
|
|
@@ -555,5 +543,5 @@ declare const ccxt: {
|
|
|
555
543
|
zaif: typeof zaif;
|
|
556
544
|
zonda: typeof zonda;
|
|
557
545
|
} & typeof functions & typeof errors;
|
|
558
|
-
export { version, Exchange, exchanges, pro, Precise, functions, errors, BaseError, ExchangeError, AuthenticationError, PermissionDenied, AccountNotEnabled, AccountSuspended, ArgumentsRequired, BadRequest, BadSymbol, OperationRejected, NoChange, MarginModeAlreadySet, MarketClosed, ManualInteractionNeeded, InsufficientFunds, InvalidAddress, AddressPending, InvalidOrder, OrderNotFound, OrderNotCached, OrderImmediatelyFillable, OrderNotFillable, DuplicateOrderId, ContractUnavailable, NotSupported, InvalidProxySettings, ExchangeClosedByUser, OperationFailed, NetworkError, DDoSProtection, RateLimitExceeded, ExchangeNotAvailable, OnMaintenance, InvalidNonce, ChecksumError, RequestTimeout, BadResponse, NullResponse, CancelPending, UnsubscribeError, Int, int, Str, Strings, Num, Bool, IndexType, OrderSide, OrderType, MarketType, SubType, Dict, NullableDict, List, NullableList, Fee, OHLCV, OHLCVC, implicitReturnType, Market, Currency, ConstructorArgs, Dictionary, MinMax, FeeInterface, TradingFeeInterface, MarketMarginModes, MarketInterface, Trade, Order, OrderBook, OrderBooks, Ticker, Transaction, Tickers, CurrencyInterface, Balance, BalanceAccount, Account, PartialBalances, Balances, DepositAddress, WithdrawalResponse, FundingRate, FundingRates, Position, BorrowInterest, LeverageTier, LedgerEntry, DepositWithdrawFeeNetwork, DepositWithdrawFee, TransferEntry, CrossBorrowRate, IsolatedBorrowRate, FundingRateHistory, OpenInterest, OpenInterests, Liquidation, OrderRequest, CancellationRequest, FundingHistory, MarginMode, Greeks, Conversion, Option, LastPrice, Leverage, LongShortRatio, MarginModification, Leverages, LastPrices, Currencies, TradingFees, MarginModes, OptionChain, IsolatedBorrowRates, CrossBorrowRates, LeverageTiers, alpaca, apex, ascendex, bequant, bigone, binance, binancecoinm, binanceus, binanceusdm, bingx, bit2c, bitbank, bitbns, bitfinex, bitflyer, bitget, bithumb, bitmart, bitmex, bitopro, bitrue, bitso, bitstamp, bitteam,
|
|
546
|
+
export { version, Exchange, exchanges, pro, Precise, functions, errors, BaseError, ExchangeError, AuthenticationError, PermissionDenied, AccountNotEnabled, AccountSuspended, ArgumentsRequired, BadRequest, BadSymbol, OperationRejected, NoChange, MarginModeAlreadySet, MarketClosed, ManualInteractionNeeded, InsufficientFunds, InvalidAddress, AddressPending, InvalidOrder, OrderNotFound, OrderNotCached, OrderImmediatelyFillable, OrderNotFillable, DuplicateOrderId, ContractUnavailable, NotSupported, InvalidProxySettings, ExchangeClosedByUser, OperationFailed, NetworkError, DDoSProtection, RateLimitExceeded, ExchangeNotAvailable, OnMaintenance, InvalidNonce, ChecksumError, RequestTimeout, BadResponse, NullResponse, CancelPending, UnsubscribeError, Int, int, Str, Strings, Num, Bool, IndexType, OrderSide, OrderType, MarketType, SubType, Dict, NullableDict, List, NullableList, Fee, OHLCV, OHLCVC, implicitReturnType, Market, Currency, ConstructorArgs, Dictionary, MinMax, FeeInterface, TradingFeeInterface, MarketMarginModes, MarketInterface, Trade, Order, OrderBook, OrderBooks, Ticker, Transaction, Tickers, CurrencyInterface, Balance, BalanceAccount, Account, PartialBalances, Balances, DepositAddress, WithdrawalResponse, FundingRate, FundingRates, Position, BorrowInterest, LeverageTier, LedgerEntry, DepositWithdrawFeeNetwork, DepositWithdrawFee, TransferEntry, CrossBorrowRate, IsolatedBorrowRate, FundingRateHistory, OpenInterest, OpenInterests, Liquidation, OrderRequest, CancellationRequest, FundingHistory, MarginMode, Greeks, Conversion, Option, LastPrice, Leverage, LongShortRatio, MarginModification, Leverages, LastPrices, Currencies, TradingFees, MarginModes, OptionChain, IsolatedBorrowRates, CrossBorrowRates, LeverageTiers, alpaca, apex, ascendex, bequant, bigone, binance, binancecoinm, binanceus, binanceusdm, bingx, bit2c, bitbank, bitbns, bitfinex, bitflyer, bitget, bithumb, bitmart, bitmex, bitopro, bitrue, bitso, bitstamp, bitteam, bittrade, bitvavo, blockchaincom, blofin, btcalpha, btcbox, btcmarkets, btcturk, bybit, cex, coinbase, coinbaseadvanced, coinbaseexchange, coinbaseinternational, coincatch, coincheck, coinex, coinlist, coinmate, coinmetro, coinone, coinsph, coinspot, cryptocom, cryptomus, defx, delta, deribit, derive, digifinex, ellipx, exmo, fmfwio, gate, gateio, gemini, hashkey, hitbtc, hollaex, htx, huobi, hyperliquid, independentreserve, indodax, kraken, krakenfutures, kucoin, kucoinfutures, latoken, lbank, luno, mercado, mexc, myokx, ndax, novadax, oceanex, okcoin, okx, onetrading, oxfun, p2b, paradex, paymium, phemex, poloniex, probit, timex, tokocrypto, tradeogre, upbit, vertex, wavesexchange, whitebit, woo, woofipro, xt, yobit, zaif, zonda, };
|
|
559
547
|
export default ccxt;
|
package/js/ccxt.js
CHANGED
|
@@ -38,7 +38,7 @@ import * as errors from './src/base/errors.js';
|
|
|
38
38
|
import { BaseError, ExchangeError, AuthenticationError, PermissionDenied, AccountNotEnabled, AccountSuspended, ArgumentsRequired, BadRequest, BadSymbol, OperationRejected, NoChange, MarginModeAlreadySet, MarketClosed, ManualInteractionNeeded, InsufficientFunds, InvalidAddress, AddressPending, InvalidOrder, OrderNotFound, OrderNotCached, OrderImmediatelyFillable, OrderNotFillable, DuplicateOrderId, ContractUnavailable, NotSupported, InvalidProxySettings, ExchangeClosedByUser, OperationFailed, NetworkError, DDoSProtection, RateLimitExceeded, ExchangeNotAvailable, OnMaintenance, InvalidNonce, ChecksumError, RequestTimeout, BadResponse, NullResponse, CancelPending, UnsubscribeError } from './src/base/errors.js';
|
|
39
39
|
//-----------------------------------------------------------------------------
|
|
40
40
|
// this is updated by vss.js when building
|
|
41
|
-
const version = '4.4.
|
|
41
|
+
const version = '4.4.85';
|
|
42
42
|
Exchange.ccxtVersion = version;
|
|
43
43
|
//-----------------------------------------------------------------------------
|
|
44
44
|
import alpaca from './src/alpaca.js';
|
|
@@ -65,8 +65,8 @@ import bitrue from './src/bitrue.js';
|
|
|
65
65
|
import bitso from './src/bitso.js';
|
|
66
66
|
import bitstamp from './src/bitstamp.js';
|
|
67
67
|
import bitteam from './src/bitteam.js';
|
|
68
|
+
import bittrade from './src/bittrade.js';
|
|
68
69
|
import bitvavo from './src/bitvavo.js';
|
|
69
|
-
import bl3p from './src/bl3p.js';
|
|
70
70
|
import blockchaincom from './src/blockchaincom.js';
|
|
71
71
|
import blofin from './src/blofin.js';
|
|
72
72
|
import btcalpha from './src/btcalpha.js';
|
|
@@ -106,16 +106,13 @@ import hitbtc from './src/hitbtc.js';
|
|
|
106
106
|
import hollaex from './src/hollaex.js';
|
|
107
107
|
import htx from './src/htx.js';
|
|
108
108
|
import huobi from './src/huobi.js';
|
|
109
|
-
import huobijp from './src/huobijp.js';
|
|
110
109
|
import hyperliquid from './src/hyperliquid.js';
|
|
111
|
-
import idex from './src/idex.js';
|
|
112
110
|
import independentreserve from './src/independentreserve.js';
|
|
113
111
|
import indodax from './src/indodax.js';
|
|
114
112
|
import kraken from './src/kraken.js';
|
|
115
113
|
import krakenfutures from './src/krakenfutures.js';
|
|
116
114
|
import kucoin from './src/kucoin.js';
|
|
117
115
|
import kucoinfutures from './src/kucoinfutures.js';
|
|
118
|
-
import kuna from './src/kuna.js';
|
|
119
116
|
import latoken from './src/latoken.js';
|
|
120
117
|
import lbank from './src/lbank.js';
|
|
121
118
|
import luno from './src/luno.js';
|
|
@@ -166,6 +163,7 @@ import bitmexPro from './src/pro/bitmex.js';
|
|
|
166
163
|
import bitoproPro from './src/pro/bitopro.js';
|
|
167
164
|
import bitruePro from './src/pro/bitrue.js';
|
|
168
165
|
import bitstampPro from './src/pro/bitstamp.js';
|
|
166
|
+
import bittradePro from './src/pro/bittrade.js';
|
|
169
167
|
import bitvavoPro from './src/pro/bitvavo.js';
|
|
170
168
|
import blockchaincomPro from './src/pro/blockchaincom.js';
|
|
171
169
|
import blofinPro from './src/pro/blofin.js';
|
|
@@ -192,9 +190,7 @@ import hitbtcPro from './src/pro/hitbtc.js';
|
|
|
192
190
|
import hollaexPro from './src/pro/hollaex.js';
|
|
193
191
|
import htxPro from './src/pro/htx.js';
|
|
194
192
|
import huobiPro from './src/pro/huobi.js';
|
|
195
|
-
import huobijpPro from './src/pro/huobijp.js';
|
|
196
193
|
import hyperliquidPro from './src/pro/hyperliquid.js';
|
|
197
|
-
import idexPro from './src/pro/idex.js';
|
|
198
194
|
import independentreservePro from './src/pro/independentreserve.js';
|
|
199
195
|
import krakenPro from './src/pro/kraken.js';
|
|
200
196
|
import krakenfuturesPro from './src/pro/krakenfutures.js';
|
|
@@ -246,8 +242,8 @@ const exchanges = {
|
|
|
246
242
|
'bitso': bitso,
|
|
247
243
|
'bitstamp': bitstamp,
|
|
248
244
|
'bitteam': bitteam,
|
|
245
|
+
'bittrade': bittrade,
|
|
249
246
|
'bitvavo': bitvavo,
|
|
250
|
-
'bl3p': bl3p,
|
|
251
247
|
'blockchaincom': blockchaincom,
|
|
252
248
|
'blofin': blofin,
|
|
253
249
|
'btcalpha': btcalpha,
|
|
@@ -287,16 +283,13 @@ const exchanges = {
|
|
|
287
283
|
'hollaex': hollaex,
|
|
288
284
|
'htx': htx,
|
|
289
285
|
'huobi': huobi,
|
|
290
|
-
'huobijp': huobijp,
|
|
291
286
|
'hyperliquid': hyperliquid,
|
|
292
|
-
'idex': idex,
|
|
293
287
|
'independentreserve': independentreserve,
|
|
294
288
|
'indodax': indodax,
|
|
295
289
|
'kraken': kraken,
|
|
296
290
|
'krakenfutures': krakenfutures,
|
|
297
291
|
'kucoin': kucoin,
|
|
298
292
|
'kucoinfutures': kucoinfutures,
|
|
299
|
-
'kuna': kuna,
|
|
300
293
|
'latoken': latoken,
|
|
301
294
|
'lbank': lbank,
|
|
302
295
|
'luno': luno,
|
|
@@ -348,6 +341,7 @@ const pro = {
|
|
|
348
341
|
'bitopro': bitoproPro,
|
|
349
342
|
'bitrue': bitruePro,
|
|
350
343
|
'bitstamp': bitstampPro,
|
|
344
|
+
'bittrade': bittradePro,
|
|
351
345
|
'bitvavo': bitvavoPro,
|
|
352
346
|
'blockchaincom': blockchaincomPro,
|
|
353
347
|
'blofin': blofinPro,
|
|
@@ -374,9 +368,7 @@ const pro = {
|
|
|
374
368
|
'hollaex': hollaexPro,
|
|
375
369
|
'htx': htxPro,
|
|
376
370
|
'huobi': huobiPro,
|
|
377
|
-
'huobijp': huobijpPro,
|
|
378
371
|
'hyperliquid': hyperliquidPro,
|
|
379
|
-
'idex': idexPro,
|
|
380
372
|
'independentreserve': independentreservePro,
|
|
381
373
|
'kraken': krakenPro,
|
|
382
374
|
'krakenfutures': krakenfuturesPro,
|
|
@@ -416,6 +408,6 @@ pro.exchanges = Object.keys(pro);
|
|
|
416
408
|
pro['Exchange'] = Exchange; // now the same for rest and ts
|
|
417
409
|
//-----------------------------------------------------------------------------
|
|
418
410
|
const ccxt = Object.assign({ version, Exchange, Precise, 'exchanges': Object.keys(exchanges), 'pro': pro }, exchanges, functions, errors);
|
|
419
|
-
export { version, Exchange, exchanges, pro, Precise, functions, errors, BaseError, ExchangeError, AuthenticationError, PermissionDenied, AccountNotEnabled, AccountSuspended, ArgumentsRequired, BadRequest, BadSymbol, OperationRejected, NoChange, MarginModeAlreadySet, MarketClosed, ManualInteractionNeeded, InsufficientFunds, InvalidAddress, AddressPending, InvalidOrder, OrderNotFound, OrderNotCached, OrderImmediatelyFillable, OrderNotFillable, DuplicateOrderId, ContractUnavailable, NotSupported, InvalidProxySettings, ExchangeClosedByUser, OperationFailed, NetworkError, DDoSProtection, RateLimitExceeded, ExchangeNotAvailable, OnMaintenance, InvalidNonce, ChecksumError, RequestTimeout, BadResponse, NullResponse, CancelPending, UnsubscribeError, alpaca, apex, ascendex, bequant, bigone, binance, binancecoinm, binanceus, binanceusdm, bingx, bit2c, bitbank, bitbns, bitfinex, bitflyer, bitget, bithumb, bitmart, bitmex, bitopro, bitrue, bitso, bitstamp, bitteam,
|
|
411
|
+
export { version, Exchange, exchanges, pro, Precise, functions, errors, BaseError, ExchangeError, AuthenticationError, PermissionDenied, AccountNotEnabled, AccountSuspended, ArgumentsRequired, BadRequest, BadSymbol, OperationRejected, NoChange, MarginModeAlreadySet, MarketClosed, ManualInteractionNeeded, InsufficientFunds, InvalidAddress, AddressPending, InvalidOrder, OrderNotFound, OrderNotCached, OrderImmediatelyFillable, OrderNotFillable, DuplicateOrderId, ContractUnavailable, NotSupported, InvalidProxySettings, ExchangeClosedByUser, OperationFailed, NetworkError, DDoSProtection, RateLimitExceeded, ExchangeNotAvailable, OnMaintenance, InvalidNonce, ChecksumError, RequestTimeout, BadResponse, NullResponse, CancelPending, UnsubscribeError, alpaca, apex, ascendex, bequant, bigone, binance, binancecoinm, binanceus, binanceusdm, bingx, bit2c, bitbank, bitbns, bitfinex, bitflyer, bitget, bithumb, bitmart, bitmex, bitopro, bitrue, bitso, bitstamp, bitteam, bittrade, bitvavo, blockchaincom, blofin, btcalpha, btcbox, btcmarkets, btcturk, bybit, cex, coinbase, coinbaseadvanced, coinbaseexchange, coinbaseinternational, coincatch, coincheck, coinex, coinlist, coinmate, coinmetro, coinone, coinsph, coinspot, cryptocom, cryptomus, defx, delta, deribit, derive, digifinex, ellipx, exmo, fmfwio, gate, gateio, gemini, hashkey, hitbtc, hollaex, htx, huobi, hyperliquid, independentreserve, indodax, kraken, krakenfutures, kucoin, kucoinfutures, latoken, lbank, luno, mercado, mexc, myokx, ndax, novadax, oceanex, okcoin, okx, onetrading, oxfun, p2b, paradex, paymium, phemex, poloniex, probit, timex, tokocrypto, tradeogre, upbit, vertex, wavesexchange, whitebit, woo, woofipro, xt, yobit, zaif, zonda, };
|
|
420
412
|
export default ccxt;
|
|
421
413
|
//-----------------------------------------------------------------------------
|
|
@@ -19,10 +19,14 @@ interface Exchange {
|
|
|
19
19
|
privateGetAccountPositions(params?: {}): Promise<implicitReturnType>;
|
|
20
20
|
privateGetAccountLeverageInfo(params?: {}): Promise<implicitReturnType>;
|
|
21
21
|
privateGetAccountMarginMode(params?: {}): Promise<implicitReturnType>;
|
|
22
|
+
privateGetAccountPositionMode(params?: {}): Promise<implicitReturnType>;
|
|
22
23
|
privateGetAccountBatchLeverageInfo(params?: {}): Promise<implicitReturnType>;
|
|
23
24
|
privateGetTradeOrdersTpslPending(params?: {}): Promise<implicitReturnType>;
|
|
25
|
+
privateGetTradeOrdersAlgoPending(params?: {}): Promise<implicitReturnType>;
|
|
24
26
|
privateGetTradeOrdersHistory(params?: {}): Promise<implicitReturnType>;
|
|
25
27
|
privateGetTradeOrdersTpslHistory(params?: {}): Promise<implicitReturnType>;
|
|
28
|
+
privateGetTradeOrdersAlgoHistory(params?: {}): Promise<implicitReturnType>;
|
|
29
|
+
privateGetTradeOrderPriceRange(params?: {}): Promise<implicitReturnType>;
|
|
26
30
|
privateGetUserQueryApikey(params?: {}): Promise<implicitReturnType>;
|
|
27
31
|
privateGetAffiliateBasic(params?: {}): Promise<implicitReturnType>;
|
|
28
32
|
privateGetCopytradingInstruments(params?: {}): Promise<implicitReturnType>;
|
|
@@ -37,8 +41,12 @@ interface Exchange {
|
|
|
37
41
|
privateGetCopytradingTradePositionHistoryByOrder(params?: {}): Promise<implicitReturnType>;
|
|
38
42
|
privateGetCopytradingTradeOrdersHistory(params?: {}): Promise<implicitReturnType>;
|
|
39
43
|
privateGetCopytradingTradePendingTpslByOrder(params?: {}): Promise<implicitReturnType>;
|
|
44
|
+
privatePostAccountSetMarginMode(params?: {}): Promise<implicitReturnType>;
|
|
45
|
+
privatePostAccountSetPositionMode(params?: {}): Promise<implicitReturnType>;
|
|
40
46
|
privatePostTradeOrder(params?: {}): Promise<implicitReturnType>;
|
|
47
|
+
privatePostTradeOrderAlgo(params?: {}): Promise<implicitReturnType>;
|
|
41
48
|
privatePostTradeCancelOrder(params?: {}): Promise<implicitReturnType>;
|
|
49
|
+
privatePostTradeCancelAlgo(params?: {}): Promise<implicitReturnType>;
|
|
42
50
|
privatePostAccountSetLeverage(params?: {}): Promise<implicitReturnType>;
|
|
43
51
|
privatePostTradeBatchOrders(params?: {}): Promise<implicitReturnType>;
|
|
44
52
|
privatePostTradeOrderTpsl(params?: {}): Promise<implicitReturnType>;
|
|
@@ -11,6 +11,7 @@ interface Exchange {
|
|
|
11
11
|
privatePostTradeList(params?: {}): Promise<implicitReturnType>;
|
|
12
12
|
privatePostTradeView(params?: {}): Promise<implicitReturnType>;
|
|
13
13
|
privatePostWallet(params?: {}): Promise<implicitReturnType>;
|
|
14
|
+
webApiGetAjaxCoinCoinInfo(params?: {}): Promise<implicitReturnType>;
|
|
14
15
|
}
|
|
15
16
|
declare abstract class Exchange extends _Exchange {
|
|
16
17
|
}
|
|
@@ -160,6 +160,7 @@ interface okx {
|
|
|
160
160
|
privateGetAccountSpotManualBorrowRepay(params?: {}): Promise<implicitReturnType>;
|
|
161
161
|
privateGetAccountSetAutoRepay(params?: {}): Promise<implicitReturnType>;
|
|
162
162
|
privateGetAccountSpotBorrowRepayHistory(params?: {}): Promise<implicitReturnType>;
|
|
163
|
+
privateGetAccountMovePositionsHistory(params?: {}): Promise<implicitReturnType>;
|
|
163
164
|
privateGetUsersSubaccountList(params?: {}): Promise<implicitReturnType>;
|
|
164
165
|
privateGetAccountSubaccountBalances(params?: {}): Promise<implicitReturnType>;
|
|
165
166
|
privateGetAssetSubaccountBalances(params?: {}): Promise<implicitReturnType>;
|
|
@@ -283,6 +284,7 @@ interface okx {
|
|
|
283
284
|
privatePostAccountFixedLoanManualReborrow(params?: {}): Promise<implicitReturnType>;
|
|
284
285
|
privatePostAccountFixedLoanRepayBorrowingOrder(params?: {}): Promise<implicitReturnType>;
|
|
285
286
|
privatePostAccountBillsHistoryArchive(params?: {}): Promise<implicitReturnType>;
|
|
287
|
+
privatePostAccountMovePositions(params?: {}): Promise<implicitReturnType>;
|
|
286
288
|
privatePostUsersSubaccountModifyApikey(params?: {}): Promise<implicitReturnType>;
|
|
287
289
|
privatePostAssetSubaccountTransfer(params?: {}): Promise<implicitReturnType>;
|
|
288
290
|
privatePostUsersSubaccountSetTransferOut(params?: {}): Promise<implicitReturnType>;
|
package/js/src/abstract/okx.d.ts
CHANGED
|
@@ -160,6 +160,7 @@ interface Exchange {
|
|
|
160
160
|
privateGetAccountSpotManualBorrowRepay(params?: {}): Promise<implicitReturnType>;
|
|
161
161
|
privateGetAccountSetAutoRepay(params?: {}): Promise<implicitReturnType>;
|
|
162
162
|
privateGetAccountSpotBorrowRepayHistory(params?: {}): Promise<implicitReturnType>;
|
|
163
|
+
privateGetAccountMovePositionsHistory(params?: {}): Promise<implicitReturnType>;
|
|
163
164
|
privateGetUsersSubaccountList(params?: {}): Promise<implicitReturnType>;
|
|
164
165
|
privateGetAccountSubaccountBalances(params?: {}): Promise<implicitReturnType>;
|
|
165
166
|
privateGetAssetSubaccountBalances(params?: {}): Promise<implicitReturnType>;
|
|
@@ -283,6 +284,7 @@ interface Exchange {
|
|
|
283
284
|
privatePostAccountFixedLoanManualReborrow(params?: {}): Promise<implicitReturnType>;
|
|
284
285
|
privatePostAccountFixedLoanRepayBorrowingOrder(params?: {}): Promise<implicitReturnType>;
|
|
285
286
|
privatePostAccountBillsHistoryArchive(params?: {}): Promise<implicitReturnType>;
|
|
287
|
+
privatePostAccountMovePositions(params?: {}): Promise<implicitReturnType>;
|
|
286
288
|
privatePostUsersSubaccountModifyApikey(params?: {}): Promise<implicitReturnType>;
|
|
287
289
|
privatePostAssetSubaccountTransfer(params?: {}): Promise<implicitReturnType>;
|
|
288
290
|
privatePostUsersSubaccountSetTransferOut(params?: {}): Promise<implicitReturnType>;
|
package/js/src/apex.js
CHANGED
|
@@ -1085,9 +1085,10 @@ export default class apex extends Exchange {
|
|
|
1085
1085
|
for (let i = 0; i < resultList.length; i++) {
|
|
1086
1086
|
const entry = resultList[i];
|
|
1087
1087
|
const timestamp = this.safeInteger(entry, 'fundingTimestamp');
|
|
1088
|
+
const marketId = this.safeString(entry, 'symbol');
|
|
1088
1089
|
rates.push({
|
|
1089
1090
|
'info': entry,
|
|
1090
|
-
'symbol': this.
|
|
1091
|
+
'symbol': this.safeSymbol(marketId, market),
|
|
1091
1092
|
'fundingRate': this.safeNumber(entry, 'rate'),
|
|
1092
1093
|
'timestamp': timestamp,
|
|
1093
1094
|
'datetime': this.iso8601(timestamp),
|
package/js/src/ascendex.d.ts
CHANGED
|
@@ -23,6 +23,8 @@ export default class ascendex extends Exchange {
|
|
|
23
23
|
* @returns {object[]} an array of objects representing market data
|
|
24
24
|
*/
|
|
25
25
|
fetchMarkets(params?: {}): Promise<Market[]>;
|
|
26
|
+
fetchSpotMarkets(params?: {}): Promise<Market[]>;
|
|
27
|
+
fetchContractMarkets(params?: {}): Promise<Market[]>;
|
|
26
28
|
/**
|
|
27
29
|
* @method
|
|
28
30
|
* @name ascendex#fetchTime
|