ccxt 4.4.85 → 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 -7
- package/dist/ccxt.browser.min.js +2 -2
- package/dist/cjs/ccxt.js +6 -9
- package/dist/cjs/src/abstract/bittrade.js +9 -0
- package/dist/cjs/src/ascendex.js +189 -155
- package/dist/cjs/src/bequant.js +1 -1
- package/dist/cjs/src/bitget.js +5 -4
- package/dist/cjs/src/bitmart.js +1 -1
- package/dist/cjs/src/bittrade.js +2049 -0
- package/dist/cjs/src/coinbase.js +2 -6
- package/dist/cjs/src/deribit.js +4 -5
- package/dist/cjs/src/hollaex.js +107 -49
- package/dist/cjs/src/htx.js +20 -44
- package/dist/cjs/src/hyperliquid.js +4 -4
- 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 +5 -1
- package/dist/cjs/src/pro/binance.js +1 -0
- package/dist/cjs/src/pro/bittrade.js +605 -0
- package/dist/cjs/src/pro/luno.js +6 -5
- package/dist/cjs/src/pro/mexc.js +3 -0
- package/js/ccxt.d.ts +8 -11
- package/js/ccxt.js +6 -8
- package/js/src/abstract/myokx.d.ts +2 -0
- package/js/src/abstract/okx.d.ts +2 -0
- package/js/src/ascendex.d.ts +2 -0
- package/js/src/ascendex.js +189 -155
- package/js/src/bequant.js +1 -1
- package/js/src/bitget.js +5 -4
- package/js/src/bitmart.js +1 -1
- package/js/src/{huobijp.d.ts → bittrade.d.ts} +29 -29
- package/js/src/{huobijp.js → bittrade.js} +35 -35
- package/js/src/coinbase.js +2 -6
- package/js/src/deribit.js +4 -5
- package/js/src/hollaex.js +107 -49
- package/js/src/htx.js +20 -44
- package/js/src/hyperliquid.js +4 -4
- 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.js +5 -1
- package/js/src/pro/binance.js +1 -0
- 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/luno.js +6 -5
- package/js/src/pro/mexc.js +3 -0
- package/package.json +1 -1
- package/js/src/abstract/kuna.d.ts +0 -185
- package/js/src/abstract/kuna.js +0 -11
- package/js/src/kuna.d.ts +0 -335
- package/js/src/kuna.js +0 -2006
- /package/js/src/abstract/{huobijp.d.ts → bittrade.d.ts} +0 -0
- /package/js/src/abstract/{huobijp.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,6 +29,7 @@ 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
34
|
import blockchaincom from './src/blockchaincom.js';
|
|
34
35
|
import blofin from './src/blofin.js';
|
|
@@ -69,7 +70,6 @@ import hitbtc from './src/hitbtc.js';
|
|
|
69
70
|
import hollaex from './src/hollaex.js';
|
|
70
71
|
import htx from './src/htx.js';
|
|
71
72
|
import huobi from './src/huobi.js';
|
|
72
|
-
import huobijp from './src/huobijp.js';
|
|
73
73
|
import hyperliquid from './src/hyperliquid.js';
|
|
74
74
|
import independentreserve from './src/independentreserve.js';
|
|
75
75
|
import indodax from './src/indodax.js';
|
|
@@ -77,7 +77,6 @@ import kraken from './src/kraken.js';
|
|
|
77
77
|
import krakenfutures from './src/krakenfutures.js';
|
|
78
78
|
import kucoin from './src/kucoin.js';
|
|
79
79
|
import kucoinfutures from './src/kucoinfutures.js';
|
|
80
|
-
import kuna from './src/kuna.js';
|
|
81
80
|
import latoken from './src/latoken.js';
|
|
82
81
|
import lbank from './src/lbank.js';
|
|
83
82
|
import luno from './src/luno.js';
|
|
@@ -127,6 +126,7 @@ import bitmexPro from './src/pro/bitmex.js';
|
|
|
127
126
|
import bitoproPro from './src/pro/bitopro.js';
|
|
128
127
|
import bitruePro from './src/pro/bitrue.js';
|
|
129
128
|
import bitstampPro from './src/pro/bitstamp.js';
|
|
129
|
+
import bittradePro from './src/pro/bittrade.js';
|
|
130
130
|
import bitvavoPro from './src/pro/bitvavo.js';
|
|
131
131
|
import blockchaincomPro from './src/pro/blockchaincom.js';
|
|
132
132
|
import blofinPro from './src/pro/blofin.js';
|
|
@@ -153,7 +153,6 @@ import hitbtcPro from './src/pro/hitbtc.js';
|
|
|
153
153
|
import hollaexPro from './src/pro/hollaex.js';
|
|
154
154
|
import htxPro from './src/pro/htx.js';
|
|
155
155
|
import huobiPro from './src/pro/huobi.js';
|
|
156
|
-
import huobijpPro from './src/pro/huobijp.js';
|
|
157
156
|
import hyperliquidPro from './src/pro/hyperliquid.js';
|
|
158
157
|
import independentreservePro from './src/pro/independentreserve.js';
|
|
159
158
|
import krakenPro from './src/pro/kraken.js';
|
|
@@ -206,6 +205,7 @@ declare const exchanges: {
|
|
|
206
205
|
bitso: typeof bitso;
|
|
207
206
|
bitstamp: typeof bitstamp;
|
|
208
207
|
bitteam: typeof bitteam;
|
|
208
|
+
bittrade: typeof bittrade;
|
|
209
209
|
bitvavo: typeof bitvavo;
|
|
210
210
|
blockchaincom: typeof blockchaincom;
|
|
211
211
|
blofin: typeof blofin;
|
|
@@ -246,7 +246,6 @@ declare const exchanges: {
|
|
|
246
246
|
hollaex: typeof hollaex;
|
|
247
247
|
htx: typeof htx;
|
|
248
248
|
huobi: typeof huobi;
|
|
249
|
-
huobijp: typeof huobijp;
|
|
250
249
|
hyperliquid: typeof hyperliquid;
|
|
251
250
|
independentreserve: typeof independentreserve;
|
|
252
251
|
indodax: typeof indodax;
|
|
@@ -254,7 +253,6 @@ declare const exchanges: {
|
|
|
254
253
|
krakenfutures: typeof krakenfutures;
|
|
255
254
|
kucoin: typeof kucoin;
|
|
256
255
|
kucoinfutures: typeof kucoinfutures;
|
|
257
|
-
kuna: typeof kuna;
|
|
258
256
|
latoken: typeof latoken;
|
|
259
257
|
lbank: typeof lbank;
|
|
260
258
|
luno: typeof luno;
|
|
@@ -306,6 +304,7 @@ declare const pro: {
|
|
|
306
304
|
bitopro: typeof bitoproPro;
|
|
307
305
|
bitrue: typeof bitruePro;
|
|
308
306
|
bitstamp: typeof bitstampPro;
|
|
307
|
+
bittrade: typeof bittradePro;
|
|
309
308
|
bitvavo: typeof bitvavoPro;
|
|
310
309
|
blockchaincom: typeof blockchaincomPro;
|
|
311
310
|
blofin: typeof blofinPro;
|
|
@@ -332,7 +331,6 @@ declare const pro: {
|
|
|
332
331
|
hollaex: typeof hollaexPro;
|
|
333
332
|
htx: typeof htxPro;
|
|
334
333
|
huobi: typeof huobiPro;
|
|
335
|
-
huobijp: typeof huobijpPro;
|
|
336
334
|
hyperliquid: typeof hyperliquidPro;
|
|
337
335
|
independentreserve: typeof independentreservePro;
|
|
338
336
|
kraken: typeof krakenPro;
|
|
@@ -384,6 +382,7 @@ declare const ccxt: {
|
|
|
384
382
|
bitopro: typeof bitoproPro;
|
|
385
383
|
bitrue: typeof bitruePro;
|
|
386
384
|
bitstamp: typeof bitstampPro;
|
|
385
|
+
bittrade: typeof bittradePro;
|
|
387
386
|
bitvavo: typeof bitvavoPro;
|
|
388
387
|
blockchaincom: typeof blockchaincomPro;
|
|
389
388
|
blofin: typeof blofinPro;
|
|
@@ -410,7 +409,6 @@ declare const ccxt: {
|
|
|
410
409
|
hollaex: typeof hollaexPro;
|
|
411
410
|
htx: typeof htxPro;
|
|
412
411
|
huobi: typeof huobiPro;
|
|
413
|
-
huobijp: typeof huobijpPro;
|
|
414
412
|
hyperliquid: typeof hyperliquidPro;
|
|
415
413
|
independentreserve: typeof independentreservePro;
|
|
416
414
|
kraken: typeof krakenPro;
|
|
@@ -464,6 +462,7 @@ declare const ccxt: {
|
|
|
464
462
|
bitso: typeof bitso;
|
|
465
463
|
bitstamp: typeof bitstamp;
|
|
466
464
|
bitteam: typeof bitteam;
|
|
465
|
+
bittrade: typeof bittrade;
|
|
467
466
|
bitvavo: typeof bitvavo;
|
|
468
467
|
blockchaincom: typeof blockchaincom;
|
|
469
468
|
blofin: typeof blofin;
|
|
@@ -504,7 +503,6 @@ declare const ccxt: {
|
|
|
504
503
|
hollaex: typeof hollaex;
|
|
505
504
|
htx: typeof htx;
|
|
506
505
|
huobi: typeof huobi;
|
|
507
|
-
huobijp: typeof huobijp;
|
|
508
506
|
hyperliquid: typeof hyperliquid;
|
|
509
507
|
independentreserve: typeof independentreserve;
|
|
510
508
|
indodax: typeof indodax;
|
|
@@ -512,7 +510,6 @@ declare const ccxt: {
|
|
|
512
510
|
krakenfutures: typeof krakenfutures;
|
|
513
511
|
kucoin: typeof kucoin;
|
|
514
512
|
kucoinfutures: typeof kucoinfutures;
|
|
515
|
-
kuna: typeof kuna;
|
|
516
513
|
latoken: typeof latoken;
|
|
517
514
|
lbank: typeof lbank;
|
|
518
515
|
luno: typeof luno;
|
|
@@ -546,5 +543,5 @@ declare const ccxt: {
|
|
|
546
543
|
zaif: typeof zaif;
|
|
547
544
|
zonda: typeof zonda;
|
|
548
545
|
} & typeof functions & typeof errors;
|
|
549
|
-
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, 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,
|
|
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, };
|
|
550
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,6 +65,7 @@ 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
70
|
import blockchaincom from './src/blockchaincom.js';
|
|
70
71
|
import blofin from './src/blofin.js';
|
|
@@ -105,7 +106,6 @@ import hitbtc from './src/hitbtc.js';
|
|
|
105
106
|
import hollaex from './src/hollaex.js';
|
|
106
107
|
import htx from './src/htx.js';
|
|
107
108
|
import huobi from './src/huobi.js';
|
|
108
|
-
import huobijp from './src/huobijp.js';
|
|
109
109
|
import hyperliquid from './src/hyperliquid.js';
|
|
110
110
|
import independentreserve from './src/independentreserve.js';
|
|
111
111
|
import indodax from './src/indodax.js';
|
|
@@ -113,7 +113,6 @@ import kraken from './src/kraken.js';
|
|
|
113
113
|
import krakenfutures from './src/krakenfutures.js';
|
|
114
114
|
import kucoin from './src/kucoin.js';
|
|
115
115
|
import kucoinfutures from './src/kucoinfutures.js';
|
|
116
|
-
import kuna from './src/kuna.js';
|
|
117
116
|
import latoken from './src/latoken.js';
|
|
118
117
|
import lbank from './src/lbank.js';
|
|
119
118
|
import luno from './src/luno.js';
|
|
@@ -164,6 +163,7 @@ import bitmexPro from './src/pro/bitmex.js';
|
|
|
164
163
|
import bitoproPro from './src/pro/bitopro.js';
|
|
165
164
|
import bitruePro from './src/pro/bitrue.js';
|
|
166
165
|
import bitstampPro from './src/pro/bitstamp.js';
|
|
166
|
+
import bittradePro from './src/pro/bittrade.js';
|
|
167
167
|
import bitvavoPro from './src/pro/bitvavo.js';
|
|
168
168
|
import blockchaincomPro from './src/pro/blockchaincom.js';
|
|
169
169
|
import blofinPro from './src/pro/blofin.js';
|
|
@@ -190,7 +190,6 @@ import hitbtcPro from './src/pro/hitbtc.js';
|
|
|
190
190
|
import hollaexPro from './src/pro/hollaex.js';
|
|
191
191
|
import htxPro from './src/pro/htx.js';
|
|
192
192
|
import huobiPro from './src/pro/huobi.js';
|
|
193
|
-
import huobijpPro from './src/pro/huobijp.js';
|
|
194
193
|
import hyperliquidPro from './src/pro/hyperliquid.js';
|
|
195
194
|
import independentreservePro from './src/pro/independentreserve.js';
|
|
196
195
|
import krakenPro from './src/pro/kraken.js';
|
|
@@ -243,6 +242,7 @@ const exchanges = {
|
|
|
243
242
|
'bitso': bitso,
|
|
244
243
|
'bitstamp': bitstamp,
|
|
245
244
|
'bitteam': bitteam,
|
|
245
|
+
'bittrade': bittrade,
|
|
246
246
|
'bitvavo': bitvavo,
|
|
247
247
|
'blockchaincom': blockchaincom,
|
|
248
248
|
'blofin': blofin,
|
|
@@ -283,7 +283,6 @@ const exchanges = {
|
|
|
283
283
|
'hollaex': hollaex,
|
|
284
284
|
'htx': htx,
|
|
285
285
|
'huobi': huobi,
|
|
286
|
-
'huobijp': huobijp,
|
|
287
286
|
'hyperliquid': hyperliquid,
|
|
288
287
|
'independentreserve': independentreserve,
|
|
289
288
|
'indodax': indodax,
|
|
@@ -291,7 +290,6 @@ const exchanges = {
|
|
|
291
290
|
'krakenfutures': krakenfutures,
|
|
292
291
|
'kucoin': kucoin,
|
|
293
292
|
'kucoinfutures': kucoinfutures,
|
|
294
|
-
'kuna': kuna,
|
|
295
293
|
'latoken': latoken,
|
|
296
294
|
'lbank': lbank,
|
|
297
295
|
'luno': luno,
|
|
@@ -343,6 +341,7 @@ const pro = {
|
|
|
343
341
|
'bitopro': bitoproPro,
|
|
344
342
|
'bitrue': bitruePro,
|
|
345
343
|
'bitstamp': bitstampPro,
|
|
344
|
+
'bittrade': bittradePro,
|
|
346
345
|
'bitvavo': bitvavoPro,
|
|
347
346
|
'blockchaincom': blockchaincomPro,
|
|
348
347
|
'blofin': blofinPro,
|
|
@@ -369,7 +368,6 @@ const pro = {
|
|
|
369
368
|
'hollaex': hollaexPro,
|
|
370
369
|
'htx': htxPro,
|
|
371
370
|
'huobi': huobiPro,
|
|
372
|
-
'huobijp': huobijpPro,
|
|
373
371
|
'hyperliquid': hyperliquidPro,
|
|
374
372
|
'independentreserve': independentreservePro,
|
|
375
373
|
'kraken': krakenPro,
|
|
@@ -410,6 +408,6 @@ pro.exchanges = Object.keys(pro);
|
|
|
410
408
|
pro['Exchange'] = Exchange; // now the same for rest and ts
|
|
411
409
|
//-----------------------------------------------------------------------------
|
|
412
410
|
const ccxt = Object.assign({ version, Exchange, Precise, 'exchanges': Object.keys(exchanges), 'pro': pro }, exchanges, functions, errors);
|
|
413
|
-
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, 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,
|
|
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, };
|
|
414
412
|
export default ccxt;
|
|
415
413
|
//-----------------------------------------------------------------------------
|
|
@@ -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/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
|