ccxt 4.4.85 → 4.4.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 +18 -7
- package/dist/ccxt.browser.min.js +3 -3
- package/dist/cjs/ccxt.js +16 -9
- package/dist/cjs/src/abstract/bittrade.js +9 -0
- package/dist/cjs/src/abstract/modetrade.js +9 -0
- package/dist/cjs/src/ascendex.js +189 -155
- package/dist/cjs/src/base/Exchange.js +10 -8
- package/dist/cjs/src/bequant.js +1 -1
- package/dist/cjs/src/binance.js +1 -1
- package/dist/cjs/src/bitget.js +5 -4
- package/dist/cjs/src/bitmart.js +1 -1
- package/dist/cjs/src/bitteam.js +31 -0
- package/dist/cjs/src/bittrade.js +2049 -0
- package/dist/cjs/src/coinbase.js +2 -6
- package/dist/cjs/src/coinmetro.js +5 -1
- package/dist/cjs/src/deribit.js +4 -5
- package/dist/cjs/src/derive.js +4 -5
- package/dist/cjs/src/ellipx.js +2 -3
- package/dist/cjs/src/gate.js +92 -76
- package/dist/cjs/src/hollaex.js +107 -49
- package/dist/cjs/src/htx.js +30 -52
- package/dist/cjs/src/hyperliquid.js +36 -20
- package/dist/cjs/src/kraken.js +5 -8
- package/dist/cjs/src/mexc.js +2 -2
- package/dist/cjs/src/modetrade.js +2839 -0
- package/dist/cjs/src/ndax.js +25 -24
- package/dist/cjs/src/okcoin.js +12 -31
- package/dist/cjs/src/okx.js +104 -2
- package/dist/cjs/src/okxus.js +53 -0
- package/dist/cjs/src/onetrading.js +9 -6
- package/dist/cjs/src/oxfun.js +42 -114
- package/dist/cjs/src/paradex.js +10 -1
- package/dist/cjs/src/phemex.js +4 -6
- package/dist/cjs/src/poloniex.js +181 -170
- 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/dist/cjs/src/pro/modetrade.js +1334 -0
- package/dist/cjs/src/pro/okxus.js +38 -0
- package/dist/cjs/src/probit.js +18 -51
- package/dist/cjs/src/timex.js +5 -10
- package/dist/cjs/src/vertex.js +3 -4
- package/dist/cjs/src/whitebit.js +41 -11
- package/dist/cjs/src/woo.js +101 -77
- package/dist/cjs/src/woofipro.js +24 -21
- package/dist/cjs/src/xt.js +36 -44
- package/js/ccxt.d.ts +20 -11
- package/js/ccxt.js +14 -8
- package/js/src/abstract/modetrade.d.ts +122 -0
- package/js/src/abstract/myokx.d.ts +2 -0
- package/js/src/abstract/okx.d.ts +2 -0
- package/js/src/abstract/okxus.d.ts +352 -0
- package/js/src/abstract/okxus.js +11 -0
- package/js/src/ascendex.d.ts +2 -0
- package/js/src/ascendex.js +189 -155
- package/js/src/base/Exchange.js +10 -8
- package/js/src/bequant.js +1 -1
- package/js/src/binance.js +1 -1
- package/js/src/bitget.js +5 -4
- package/js/src/bitmart.js +1 -1
- package/js/src/bitteam.js +31 -0
- 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/coinmetro.js +5 -1
- package/js/src/deribit.js +4 -5
- package/js/src/derive.js +4 -3
- package/js/src/ellipx.d.ts +1 -1
- package/js/src/ellipx.js +3 -5
- package/js/src/gate.js +92 -76
- package/js/src/hollaex.js +107 -49
- package/js/src/htx.js +30 -52
- package/js/src/hyperliquid.js +36 -20
- package/js/src/kraken.js +5 -8
- package/js/src/mexc.js +2 -2
- package/js/src/modetrade.d.ts +475 -0
- package/js/src/modetrade.js +2840 -0
- package/js/src/ndax.js +25 -24
- package/js/src/okcoin.js +12 -31
- package/js/src/okx.d.ts +24 -1
- package/js/src/okx.js +104 -2
- package/js/src/okxus.d.ts +4 -0
- package/js/src/okxus.js +54 -0
- package/js/src/onetrading.js +9 -6
- package/js/src/oxfun.js +42 -114
- package/js/src/paradex.js +10 -1
- package/js/src/phemex.js +4 -6
- package/js/src/poloniex.d.ts +2 -0
- package/js/src/poloniex.js +181 -170
- 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/js/src/pro/modetrade.d.ts +155 -0
- package/js/src/pro/modetrade.js +1335 -0
- package/js/src/pro/okxus.d.ts +4 -0
- package/js/src/pro/okxus.js +39 -0
- package/js/src/probit.js +18 -51
- package/js/src/timex.js +5 -10
- package/js/src/vertex.js +3 -4
- package/js/src/whitebit.js +42 -11
- package/js/src/woo.d.ts +2 -0
- package/js/src/woo.js +101 -77
- package/js/src/woofipro.d.ts +2 -1
- package/js/src/woofipro.js +24 -21
- package/js/src/xt.js +36 -44
- package/package.json +1 -1
- package/js/src/abstract/kuna.d.ts +0 -185
- 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/src/abstract/{kuna.js → modetrade.js} +0 -0
package/dist/cjs/src/woofipro.js
CHANGED
|
@@ -629,13 +629,14 @@ class woofipro extends woofipro$1 {
|
|
|
629
629
|
* @method
|
|
630
630
|
* @name woofipro#fetchCurrencies
|
|
631
631
|
* @description fetches all available currencies on an exchange
|
|
632
|
-
* @see https://orderly.network/docs/build-on-
|
|
632
|
+
* @see https://orderly.network/docs/build-on-omnichain/evm-api/restful-api/public/get-supported-collateral-info#get-supported-collateral-info
|
|
633
|
+
* @see https://orderly.network/docs/build-on-omnichain/evm-api/restful-api/public/get-supported-chains-per-builder#get-supported-chains-per-builder
|
|
633
634
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
634
635
|
* @returns {object} an associative dictionary of currencies
|
|
635
636
|
*/
|
|
636
637
|
async fetchCurrencies(params = {}) {
|
|
637
638
|
const result = {};
|
|
638
|
-
const
|
|
639
|
+
const tokenPromise = this.v1PublicGetPublicToken(params);
|
|
639
640
|
//
|
|
640
641
|
// {
|
|
641
642
|
// "success": true,
|
|
@@ -658,26 +659,28 @@ class woofipro extends woofipro$1 {
|
|
|
658
659
|
// }
|
|
659
660
|
// }
|
|
660
661
|
//
|
|
661
|
-
const
|
|
662
|
-
const
|
|
662
|
+
const chainPromise = this.v1PublicGetPublicChainInfo(params);
|
|
663
|
+
const [tokenResponse, chainResponse] = await Promise.all([tokenPromise, chainPromise]);
|
|
664
|
+
const tokenData = this.safeDict(tokenResponse, 'data', {});
|
|
665
|
+
const tokenRows = this.safeList(tokenData, 'rows', []);
|
|
666
|
+
const chainData = this.safeDict(chainResponse, 'data', {});
|
|
667
|
+
const chainRows = this.safeList(chainData, 'rows', []);
|
|
668
|
+
const indexedChains = this.indexBy(chainRows, 'chain_id');
|
|
663
669
|
for (let i = 0; i < tokenRows.length; i++) {
|
|
664
670
|
const token = tokenRows[i];
|
|
665
671
|
const currencyId = this.safeString(token, 'token');
|
|
666
672
|
const networks = this.safeList(token, 'chain_details');
|
|
667
673
|
const code = this.safeCurrencyCode(currencyId);
|
|
668
|
-
let minPrecision = undefined;
|
|
669
674
|
const resultingNetworks = {};
|
|
670
675
|
for (let j = 0; j < networks.length; j++) {
|
|
671
|
-
const
|
|
672
|
-
|
|
673
|
-
const
|
|
674
|
-
const
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
}
|
|
678
|
-
resultingNetworks[networkId] = {
|
|
676
|
+
const networkEntry = networks[j];
|
|
677
|
+
const networkId = this.safeString(networkEntry, 'chain_id');
|
|
678
|
+
const networkRow = this.safeDict(indexedChains, networkId);
|
|
679
|
+
const networkName = this.safeString(networkRow, 'name');
|
|
680
|
+
const networkCode = this.networkIdToCode(networkName, code);
|
|
681
|
+
resultingNetworks[networkCode] = {
|
|
679
682
|
'id': networkId,
|
|
680
|
-
'network':
|
|
683
|
+
'network': networkCode,
|
|
681
684
|
'limits': {
|
|
682
685
|
'withdraw': {
|
|
683
686
|
'min': undefined,
|
|
@@ -691,16 +694,16 @@ class woofipro extends woofipro$1 {
|
|
|
691
694
|
'active': undefined,
|
|
692
695
|
'deposit': undefined,
|
|
693
696
|
'withdraw': undefined,
|
|
694
|
-
'fee': this.safeNumber(
|
|
695
|
-
'precision': this.parseNumber(
|
|
696
|
-
'info':
|
|
697
|
+
'fee': this.safeNumber(networkEntry, 'withdrawal_fee'),
|
|
698
|
+
'precision': this.parseNumber(this.parsePrecision(this.safeString(networkEntry, 'decimals'))),
|
|
699
|
+
'info': [networkEntry, networkRow],
|
|
697
700
|
};
|
|
698
701
|
}
|
|
699
|
-
result[code] = {
|
|
702
|
+
result[code] = this.safeCurrencyStructure({
|
|
700
703
|
'id': currencyId,
|
|
701
|
-
'name':
|
|
704
|
+
'name': undefined,
|
|
702
705
|
'code': code,
|
|
703
|
-
'precision':
|
|
706
|
+
'precision': undefined,
|
|
704
707
|
'active': undefined,
|
|
705
708
|
'fee': undefined,
|
|
706
709
|
'networks': resultingNetworks,
|
|
@@ -717,7 +720,7 @@ class woofipro extends woofipro$1 {
|
|
|
717
720
|
},
|
|
718
721
|
},
|
|
719
722
|
'info': token,
|
|
720
|
-
};
|
|
723
|
+
});
|
|
721
724
|
}
|
|
722
725
|
return result;
|
|
723
726
|
}
|
package/dist/cjs/src/xt.js
CHANGED
|
@@ -897,50 +897,30 @@ class xt extends xt$1 {
|
|
|
897
897
|
const entry = currenciesData[i];
|
|
898
898
|
const currencyId = this.safeString(entry, 'currency');
|
|
899
899
|
const code = this.safeCurrencyCode(currencyId);
|
|
900
|
-
const minPrecision = this.parseNumber(this.parsePrecision(this.safeString(entry, 'maxPrecision')));
|
|
901
900
|
const networkEntry = this.safeValue(chainsDataIndexed, currencyId, {});
|
|
902
901
|
const rawNetworks = this.safeValue(networkEntry, 'supportChains', []);
|
|
903
902
|
const networks = {};
|
|
904
|
-
let minWithdrawString = undefined;
|
|
905
|
-
let minWithdrawFeeString = undefined;
|
|
906
|
-
let active = false;
|
|
907
|
-
let deposit = false;
|
|
908
|
-
let withdraw = false;
|
|
909
903
|
for (let j = 0; j < rawNetworks.length; j++) {
|
|
910
904
|
const rawNetwork = rawNetworks[j];
|
|
911
905
|
const networkId = this.safeString(rawNetwork, 'chain');
|
|
912
|
-
const
|
|
913
|
-
|
|
914
|
-
deposit = (depositEnabled) ? depositEnabled : deposit;
|
|
915
|
-
const withdrawEnabled = this.safeValue(rawNetwork, 'withdrawEnabled');
|
|
916
|
-
withdraw = (withdrawEnabled) ? withdrawEnabled : withdraw;
|
|
917
|
-
const networkActive = depositEnabled && withdrawEnabled;
|
|
918
|
-
active = (networkActive) ? networkActive : active;
|
|
919
|
-
const withdrawFeeString = this.safeString(rawNetwork, 'withdrawFeeAmount');
|
|
920
|
-
if (withdrawFeeString !== undefined) {
|
|
921
|
-
minWithdrawFeeString = (minWithdrawFeeString === undefined) ? withdrawFeeString : Precise["default"].stringMin(withdrawFeeString, minWithdrawFeeString);
|
|
922
|
-
}
|
|
923
|
-
const minNetworkWithdrawString = this.safeString(rawNetwork, 'withdrawMinAmount');
|
|
924
|
-
if (minNetworkWithdrawString !== undefined) {
|
|
925
|
-
minWithdrawString = (minWithdrawString === undefined) ? minNetworkWithdrawString : Precise["default"].stringMin(minNetworkWithdrawString, minWithdrawString);
|
|
926
|
-
}
|
|
927
|
-
networks[network] = {
|
|
906
|
+
const networkCode = this.networkIdToCode(networkId, code);
|
|
907
|
+
networks[networkCode] = {
|
|
928
908
|
'info': rawNetwork,
|
|
929
909
|
'id': networkId,
|
|
930
|
-
'network':
|
|
910
|
+
'network': networkCode,
|
|
931
911
|
'name': undefined,
|
|
932
|
-
'active':
|
|
933
|
-
'fee': this.
|
|
934
|
-
'precision':
|
|
935
|
-
'deposit': depositEnabled,
|
|
936
|
-
'withdraw': withdrawEnabled,
|
|
912
|
+
'active': undefined,
|
|
913
|
+
'fee': this.safeNumber(rawNetwork, 'withdrawFeeAmount'),
|
|
914
|
+
'precision': undefined,
|
|
915
|
+
'deposit': this.safeBool(rawNetwork, 'depositEnabled'),
|
|
916
|
+
'withdraw': this.safeBool(rawNetwork, 'withdrawEnabled'),
|
|
937
917
|
'limits': {
|
|
938
918
|
'amount': {
|
|
939
919
|
'min': undefined,
|
|
940
920
|
'max': undefined,
|
|
941
921
|
},
|
|
942
922
|
'withdraw': {
|
|
943
|
-
'min': this.
|
|
923
|
+
'min': this.safeNumber(rawNetwork, 'withdrawMinAmount'),
|
|
944
924
|
'max': undefined,
|
|
945
925
|
},
|
|
946
926
|
'deposit': {
|
|
@@ -958,16 +938,16 @@ class xt extends xt$1 {
|
|
|
958
938
|
else {
|
|
959
939
|
type = 'other';
|
|
960
940
|
}
|
|
961
|
-
result[code] = {
|
|
941
|
+
result[code] = this.safeCurrencyStructure({
|
|
962
942
|
'info': entry,
|
|
963
943
|
'id': currencyId,
|
|
964
944
|
'code': code,
|
|
965
945
|
'name': this.safeString(entry, 'fullName'),
|
|
966
|
-
'active':
|
|
967
|
-
'fee':
|
|
968
|
-
'precision':
|
|
969
|
-
'deposit':
|
|
970
|
-
'withdraw':
|
|
946
|
+
'active': undefined,
|
|
947
|
+
'fee': undefined,
|
|
948
|
+
'precision': this.parseNumber(this.parsePrecision(this.safeString(entry, 'maxPrecision'))),
|
|
949
|
+
'deposit': this.safeString(entry, 'depositStatus') === '1',
|
|
950
|
+
'withdraw': this.safeString(entry, 'withdrawStatus') === '1',
|
|
971
951
|
'networks': networks,
|
|
972
952
|
'type': type,
|
|
973
953
|
'limits': {
|
|
@@ -976,7 +956,7 @@ class xt extends xt$1 {
|
|
|
976
956
|
'max': undefined,
|
|
977
957
|
},
|
|
978
958
|
'withdraw': {
|
|
979
|
-
'min':
|
|
959
|
+
'min': undefined,
|
|
980
960
|
'max': undefined,
|
|
981
961
|
},
|
|
982
962
|
'deposit': {
|
|
@@ -984,7 +964,7 @@ class xt extends xt$1 {
|
|
|
984
964
|
'max': undefined,
|
|
985
965
|
},
|
|
986
966
|
},
|
|
987
|
-
};
|
|
967
|
+
});
|
|
988
968
|
}
|
|
989
969
|
return result;
|
|
990
970
|
}
|
|
@@ -2965,24 +2945,30 @@ class xt extends xt$1 {
|
|
|
2965
2945
|
}
|
|
2966
2946
|
async fetchOrdersByStatus(status, symbol = undefined, since = undefined, limit = undefined, params = {}) {
|
|
2967
2947
|
await this.loadMarkets();
|
|
2968
|
-
|
|
2948
|
+
let request = {};
|
|
2969
2949
|
let market = undefined;
|
|
2970
2950
|
if (symbol !== undefined) {
|
|
2971
2951
|
market = this.market(symbol);
|
|
2972
2952
|
request['symbol'] = market['id'];
|
|
2973
2953
|
}
|
|
2954
|
+
if (limit !== undefined) {
|
|
2955
|
+
request['size'] = limit;
|
|
2956
|
+
}
|
|
2957
|
+
if (since !== undefined) {
|
|
2958
|
+
request['startTime'] = since;
|
|
2959
|
+
}
|
|
2974
2960
|
let type = undefined;
|
|
2975
2961
|
let subType = undefined;
|
|
2976
2962
|
let response = undefined;
|
|
2977
2963
|
[type, params] = this.handleMarketTypeAndParams('fetchOrdersByStatus', market, params);
|
|
2978
2964
|
[subType, params] = this.handleSubTypeAndParams('fetchOrdersByStatus', market, params);
|
|
2979
|
-
const trigger = this.
|
|
2965
|
+
const trigger = this.safeBool2(params, 'stop', 'trigger');
|
|
2980
2966
|
const stopLossTakeProfit = this.safeValue(params, 'stopLossTakeProfit');
|
|
2981
2967
|
if (status === 'open') {
|
|
2982
2968
|
if (trigger || stopLossTakeProfit) {
|
|
2983
2969
|
request['state'] = 'NOT_TRIGGERED';
|
|
2984
2970
|
}
|
|
2985
|
-
else if (
|
|
2971
|
+
else if (type === 'swap') {
|
|
2986
2972
|
request['state'] = 'NEW';
|
|
2987
2973
|
}
|
|
2988
2974
|
}
|
|
@@ -3014,7 +3000,7 @@ class xt extends xt$1 {
|
|
|
3014
3000
|
}
|
|
3015
3001
|
}
|
|
3016
3002
|
if (trigger) {
|
|
3017
|
-
params = this.omit(params, 'stop');
|
|
3003
|
+
params = this.omit(params, ['stop', 'trigger']);
|
|
3018
3004
|
if (subType === 'inverse') {
|
|
3019
3005
|
response = await this.privateInverseGetFutureTradeV1EntrustPlanList(this.extend(request, params));
|
|
3020
3006
|
}
|
|
@@ -3049,6 +3035,7 @@ class xt extends xt$1 {
|
|
|
3049
3035
|
request['startTime'] = since;
|
|
3050
3036
|
}
|
|
3051
3037
|
if (limit !== undefined) {
|
|
3038
|
+
request = this.omit(request, 'size');
|
|
3052
3039
|
request['limit'] = limit;
|
|
3053
3040
|
}
|
|
3054
3041
|
response = await this.privateSpotGetHistoryOrder(this.extend(request, params));
|
|
@@ -3235,9 +3222,14 @@ class xt extends xt$1 {
|
|
|
3235
3222
|
// }
|
|
3236
3223
|
// }
|
|
3237
3224
|
//
|
|
3238
|
-
|
|
3239
|
-
const
|
|
3240
|
-
|
|
3225
|
+
let orders = [];
|
|
3226
|
+
const resultDict = this.safeDict(response, 'result');
|
|
3227
|
+
if (resultDict !== undefined) {
|
|
3228
|
+
orders = this.safeList(resultDict, 'items', []);
|
|
3229
|
+
}
|
|
3230
|
+
else {
|
|
3231
|
+
orders = this.safeList(response, 'result');
|
|
3232
|
+
}
|
|
3241
3233
|
return this.parseOrders(orders, market, since, limit);
|
|
3242
3234
|
}
|
|
3243
3235
|
/**
|
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.86";
|
|
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,18 +77,19 @@ 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';
|
|
84
83
|
import mercado from './src/mercado.js';
|
|
85
84
|
import mexc from './src/mexc.js';
|
|
85
|
+
import modetrade from './src/modetrade.js';
|
|
86
86
|
import myokx from './src/myokx.js';
|
|
87
87
|
import ndax from './src/ndax.js';
|
|
88
88
|
import novadax from './src/novadax.js';
|
|
89
89
|
import oceanex from './src/oceanex.js';
|
|
90
90
|
import okcoin from './src/okcoin.js';
|
|
91
91
|
import okx from './src/okx.js';
|
|
92
|
+
import okxus from './src/okxus.js';
|
|
92
93
|
import onetrading from './src/onetrading.js';
|
|
93
94
|
import oxfun from './src/oxfun.js';
|
|
94
95
|
import p2b from './src/p2b.js';
|
|
@@ -127,6 +128,7 @@ import bitmexPro from './src/pro/bitmex.js';
|
|
|
127
128
|
import bitoproPro from './src/pro/bitopro.js';
|
|
128
129
|
import bitruePro from './src/pro/bitrue.js';
|
|
129
130
|
import bitstampPro from './src/pro/bitstamp.js';
|
|
131
|
+
import bittradePro from './src/pro/bittrade.js';
|
|
130
132
|
import bitvavoPro from './src/pro/bitvavo.js';
|
|
131
133
|
import blockchaincomPro from './src/pro/blockchaincom.js';
|
|
132
134
|
import blofinPro from './src/pro/blofin.js';
|
|
@@ -153,7 +155,6 @@ import hitbtcPro from './src/pro/hitbtc.js';
|
|
|
153
155
|
import hollaexPro from './src/pro/hollaex.js';
|
|
154
156
|
import htxPro from './src/pro/htx.js';
|
|
155
157
|
import huobiPro from './src/pro/huobi.js';
|
|
156
|
-
import huobijpPro from './src/pro/huobijp.js';
|
|
157
158
|
import hyperliquidPro from './src/pro/hyperliquid.js';
|
|
158
159
|
import independentreservePro from './src/pro/independentreserve.js';
|
|
159
160
|
import krakenPro from './src/pro/kraken.js';
|
|
@@ -163,10 +164,12 @@ import kucoinfuturesPro from './src/pro/kucoinfutures.js';
|
|
|
163
164
|
import lbankPro from './src/pro/lbank.js';
|
|
164
165
|
import lunoPro from './src/pro/luno.js';
|
|
165
166
|
import mexcPro from './src/pro/mexc.js';
|
|
167
|
+
import modetradePro from './src/pro/modetrade.js';
|
|
166
168
|
import myokxPro from './src/pro/myokx.js';
|
|
167
169
|
import ndaxPro from './src/pro/ndax.js';
|
|
168
170
|
import okcoinPro from './src/pro/okcoin.js';
|
|
169
171
|
import okxPro from './src/pro/okx.js';
|
|
172
|
+
import okxusPro from './src/pro/okxus.js';
|
|
170
173
|
import onetradingPro from './src/pro/onetrading.js';
|
|
171
174
|
import oxfunPro from './src/pro/oxfun.js';
|
|
172
175
|
import p2bPro from './src/pro/p2b.js';
|
|
@@ -206,6 +209,7 @@ declare const exchanges: {
|
|
|
206
209
|
bitso: typeof bitso;
|
|
207
210
|
bitstamp: typeof bitstamp;
|
|
208
211
|
bitteam: typeof bitteam;
|
|
212
|
+
bittrade: typeof bittrade;
|
|
209
213
|
bitvavo: typeof bitvavo;
|
|
210
214
|
blockchaincom: typeof blockchaincom;
|
|
211
215
|
blofin: typeof blofin;
|
|
@@ -246,7 +250,6 @@ declare const exchanges: {
|
|
|
246
250
|
hollaex: typeof hollaex;
|
|
247
251
|
htx: typeof htx;
|
|
248
252
|
huobi: typeof huobi;
|
|
249
|
-
huobijp: typeof huobijp;
|
|
250
253
|
hyperliquid: typeof hyperliquid;
|
|
251
254
|
independentreserve: typeof independentreserve;
|
|
252
255
|
indodax: typeof indodax;
|
|
@@ -254,18 +257,19 @@ declare const exchanges: {
|
|
|
254
257
|
krakenfutures: typeof krakenfutures;
|
|
255
258
|
kucoin: typeof kucoin;
|
|
256
259
|
kucoinfutures: typeof kucoinfutures;
|
|
257
|
-
kuna: typeof kuna;
|
|
258
260
|
latoken: typeof latoken;
|
|
259
261
|
lbank: typeof lbank;
|
|
260
262
|
luno: typeof luno;
|
|
261
263
|
mercado: typeof mercado;
|
|
262
264
|
mexc: typeof mexc;
|
|
265
|
+
modetrade: typeof modetrade;
|
|
263
266
|
myokx: typeof myokx;
|
|
264
267
|
ndax: typeof ndax;
|
|
265
268
|
novadax: typeof novadax;
|
|
266
269
|
oceanex: typeof oceanex;
|
|
267
270
|
okcoin: typeof okcoin;
|
|
268
271
|
okx: typeof okx;
|
|
272
|
+
okxus: typeof okxus;
|
|
269
273
|
onetrading: typeof onetrading;
|
|
270
274
|
oxfun: typeof oxfun;
|
|
271
275
|
p2b: typeof p2b;
|
|
@@ -306,6 +310,7 @@ declare const pro: {
|
|
|
306
310
|
bitopro: typeof bitoproPro;
|
|
307
311
|
bitrue: typeof bitruePro;
|
|
308
312
|
bitstamp: typeof bitstampPro;
|
|
313
|
+
bittrade: typeof bittradePro;
|
|
309
314
|
bitvavo: typeof bitvavoPro;
|
|
310
315
|
blockchaincom: typeof blockchaincomPro;
|
|
311
316
|
blofin: typeof blofinPro;
|
|
@@ -332,7 +337,6 @@ declare const pro: {
|
|
|
332
337
|
hollaex: typeof hollaexPro;
|
|
333
338
|
htx: typeof htxPro;
|
|
334
339
|
huobi: typeof huobiPro;
|
|
335
|
-
huobijp: typeof huobijpPro;
|
|
336
340
|
hyperliquid: typeof hyperliquidPro;
|
|
337
341
|
independentreserve: typeof independentreservePro;
|
|
338
342
|
kraken: typeof krakenPro;
|
|
@@ -342,10 +346,12 @@ declare const pro: {
|
|
|
342
346
|
lbank: typeof lbankPro;
|
|
343
347
|
luno: typeof lunoPro;
|
|
344
348
|
mexc: typeof mexcPro;
|
|
349
|
+
modetrade: typeof modetradePro;
|
|
345
350
|
myokx: typeof myokxPro;
|
|
346
351
|
ndax: typeof ndaxPro;
|
|
347
352
|
okcoin: typeof okcoinPro;
|
|
348
353
|
okx: typeof okxPro;
|
|
354
|
+
okxus: typeof okxusPro;
|
|
349
355
|
onetrading: typeof onetradingPro;
|
|
350
356
|
oxfun: typeof oxfunPro;
|
|
351
357
|
p2b: typeof p2bPro;
|
|
@@ -384,6 +390,7 @@ declare const ccxt: {
|
|
|
384
390
|
bitopro: typeof bitoproPro;
|
|
385
391
|
bitrue: typeof bitruePro;
|
|
386
392
|
bitstamp: typeof bitstampPro;
|
|
393
|
+
bittrade: typeof bittradePro;
|
|
387
394
|
bitvavo: typeof bitvavoPro;
|
|
388
395
|
blockchaincom: typeof blockchaincomPro;
|
|
389
396
|
blofin: typeof blofinPro;
|
|
@@ -410,7 +417,6 @@ declare const ccxt: {
|
|
|
410
417
|
hollaex: typeof hollaexPro;
|
|
411
418
|
htx: typeof htxPro;
|
|
412
419
|
huobi: typeof huobiPro;
|
|
413
|
-
huobijp: typeof huobijpPro;
|
|
414
420
|
hyperliquid: typeof hyperliquidPro;
|
|
415
421
|
independentreserve: typeof independentreservePro;
|
|
416
422
|
kraken: typeof krakenPro;
|
|
@@ -420,10 +426,12 @@ declare const ccxt: {
|
|
|
420
426
|
lbank: typeof lbankPro;
|
|
421
427
|
luno: typeof lunoPro;
|
|
422
428
|
mexc: typeof mexcPro;
|
|
429
|
+
modetrade: typeof modetradePro;
|
|
423
430
|
myokx: typeof myokxPro;
|
|
424
431
|
ndax: typeof ndaxPro;
|
|
425
432
|
okcoin: typeof okcoinPro;
|
|
426
433
|
okx: typeof okxPro;
|
|
434
|
+
okxus: typeof okxusPro;
|
|
427
435
|
onetrading: typeof onetradingPro;
|
|
428
436
|
oxfun: typeof oxfunPro;
|
|
429
437
|
p2b: typeof p2bPro;
|
|
@@ -464,6 +472,7 @@ declare const ccxt: {
|
|
|
464
472
|
bitso: typeof bitso;
|
|
465
473
|
bitstamp: typeof bitstamp;
|
|
466
474
|
bitteam: typeof bitteam;
|
|
475
|
+
bittrade: typeof bittrade;
|
|
467
476
|
bitvavo: typeof bitvavo;
|
|
468
477
|
blockchaincom: typeof blockchaincom;
|
|
469
478
|
blofin: typeof blofin;
|
|
@@ -504,7 +513,6 @@ declare const ccxt: {
|
|
|
504
513
|
hollaex: typeof hollaex;
|
|
505
514
|
htx: typeof htx;
|
|
506
515
|
huobi: typeof huobi;
|
|
507
|
-
huobijp: typeof huobijp;
|
|
508
516
|
hyperliquid: typeof hyperliquid;
|
|
509
517
|
independentreserve: typeof independentreserve;
|
|
510
518
|
indodax: typeof indodax;
|
|
@@ -512,18 +520,19 @@ declare const ccxt: {
|
|
|
512
520
|
krakenfutures: typeof krakenfutures;
|
|
513
521
|
kucoin: typeof kucoin;
|
|
514
522
|
kucoinfutures: typeof kucoinfutures;
|
|
515
|
-
kuna: typeof kuna;
|
|
516
523
|
latoken: typeof latoken;
|
|
517
524
|
lbank: typeof lbank;
|
|
518
525
|
luno: typeof luno;
|
|
519
526
|
mercado: typeof mercado;
|
|
520
527
|
mexc: typeof mexc;
|
|
528
|
+
modetrade: typeof modetrade;
|
|
521
529
|
myokx: typeof myokx;
|
|
522
530
|
ndax: typeof ndax;
|
|
523
531
|
novadax: typeof novadax;
|
|
524
532
|
oceanex: typeof oceanex;
|
|
525
533
|
okcoin: typeof okcoin;
|
|
526
534
|
okx: typeof okx;
|
|
535
|
+
okxus: typeof okxus;
|
|
527
536
|
onetrading: typeof onetrading;
|
|
528
537
|
oxfun: typeof oxfun;
|
|
529
538
|
p2b: typeof p2b;
|
|
@@ -546,5 +555,5 @@ declare const ccxt: {
|
|
|
546
555
|
zaif: typeof zaif;
|
|
547
556
|
zonda: typeof zonda;
|
|
548
557
|
} & 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,
|
|
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, 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, modetrade, myokx, ndax, novadax, oceanex, okcoin, okx, okxus, onetrading, oxfun, p2b, paradex, paymium, phemex, poloniex, probit, timex, tokocrypto, tradeogre, upbit, vertex, wavesexchange, whitebit, woo, woofipro, xt, yobit, zaif, zonda, };
|
|
550
559
|
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.86';
|
|
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,18 +113,19 @@ 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';
|
|
120
119
|
import mercado from './src/mercado.js';
|
|
121
120
|
import mexc from './src/mexc.js';
|
|
121
|
+
import modetrade from './src/modetrade.js';
|
|
122
122
|
import myokx from './src/myokx.js';
|
|
123
123
|
import ndax from './src/ndax.js';
|
|
124
124
|
import novadax from './src/novadax.js';
|
|
125
125
|
import oceanex from './src/oceanex.js';
|
|
126
126
|
import okcoin from './src/okcoin.js';
|
|
127
127
|
import okx from './src/okx.js';
|
|
128
|
+
import okxus from './src/okxus.js';
|
|
128
129
|
import onetrading from './src/onetrading.js';
|
|
129
130
|
import oxfun from './src/oxfun.js';
|
|
130
131
|
import p2b from './src/p2b.js';
|
|
@@ -164,6 +165,7 @@ import bitmexPro from './src/pro/bitmex.js';
|
|
|
164
165
|
import bitoproPro from './src/pro/bitopro.js';
|
|
165
166
|
import bitruePro from './src/pro/bitrue.js';
|
|
166
167
|
import bitstampPro from './src/pro/bitstamp.js';
|
|
168
|
+
import bittradePro from './src/pro/bittrade.js';
|
|
167
169
|
import bitvavoPro from './src/pro/bitvavo.js';
|
|
168
170
|
import blockchaincomPro from './src/pro/blockchaincom.js';
|
|
169
171
|
import blofinPro from './src/pro/blofin.js';
|
|
@@ -190,7 +192,6 @@ import hitbtcPro from './src/pro/hitbtc.js';
|
|
|
190
192
|
import hollaexPro from './src/pro/hollaex.js';
|
|
191
193
|
import htxPro from './src/pro/htx.js';
|
|
192
194
|
import huobiPro from './src/pro/huobi.js';
|
|
193
|
-
import huobijpPro from './src/pro/huobijp.js';
|
|
194
195
|
import hyperliquidPro from './src/pro/hyperliquid.js';
|
|
195
196
|
import independentreservePro from './src/pro/independentreserve.js';
|
|
196
197
|
import krakenPro from './src/pro/kraken.js';
|
|
@@ -200,10 +201,12 @@ import kucoinfuturesPro from './src/pro/kucoinfutures.js';
|
|
|
200
201
|
import lbankPro from './src/pro/lbank.js';
|
|
201
202
|
import lunoPro from './src/pro/luno.js';
|
|
202
203
|
import mexcPro from './src/pro/mexc.js';
|
|
204
|
+
import modetradePro from './src/pro/modetrade.js';
|
|
203
205
|
import myokxPro from './src/pro/myokx.js';
|
|
204
206
|
import ndaxPro from './src/pro/ndax.js';
|
|
205
207
|
import okcoinPro from './src/pro/okcoin.js';
|
|
206
208
|
import okxPro from './src/pro/okx.js';
|
|
209
|
+
import okxusPro from './src/pro/okxus.js';
|
|
207
210
|
import onetradingPro from './src/pro/onetrading.js';
|
|
208
211
|
import oxfunPro from './src/pro/oxfun.js';
|
|
209
212
|
import p2bPro from './src/pro/p2b.js';
|
|
@@ -243,6 +246,7 @@ const exchanges = {
|
|
|
243
246
|
'bitso': bitso,
|
|
244
247
|
'bitstamp': bitstamp,
|
|
245
248
|
'bitteam': bitteam,
|
|
249
|
+
'bittrade': bittrade,
|
|
246
250
|
'bitvavo': bitvavo,
|
|
247
251
|
'blockchaincom': blockchaincom,
|
|
248
252
|
'blofin': blofin,
|
|
@@ -283,7 +287,6 @@ const exchanges = {
|
|
|
283
287
|
'hollaex': hollaex,
|
|
284
288
|
'htx': htx,
|
|
285
289
|
'huobi': huobi,
|
|
286
|
-
'huobijp': huobijp,
|
|
287
290
|
'hyperliquid': hyperliquid,
|
|
288
291
|
'independentreserve': independentreserve,
|
|
289
292
|
'indodax': indodax,
|
|
@@ -291,18 +294,19 @@ const exchanges = {
|
|
|
291
294
|
'krakenfutures': krakenfutures,
|
|
292
295
|
'kucoin': kucoin,
|
|
293
296
|
'kucoinfutures': kucoinfutures,
|
|
294
|
-
'kuna': kuna,
|
|
295
297
|
'latoken': latoken,
|
|
296
298
|
'lbank': lbank,
|
|
297
299
|
'luno': luno,
|
|
298
300
|
'mercado': mercado,
|
|
299
301
|
'mexc': mexc,
|
|
302
|
+
'modetrade': modetrade,
|
|
300
303
|
'myokx': myokx,
|
|
301
304
|
'ndax': ndax,
|
|
302
305
|
'novadax': novadax,
|
|
303
306
|
'oceanex': oceanex,
|
|
304
307
|
'okcoin': okcoin,
|
|
305
308
|
'okx': okx,
|
|
309
|
+
'okxus': okxus,
|
|
306
310
|
'onetrading': onetrading,
|
|
307
311
|
'oxfun': oxfun,
|
|
308
312
|
'p2b': p2b,
|
|
@@ -343,6 +347,7 @@ const pro = {
|
|
|
343
347
|
'bitopro': bitoproPro,
|
|
344
348
|
'bitrue': bitruePro,
|
|
345
349
|
'bitstamp': bitstampPro,
|
|
350
|
+
'bittrade': bittradePro,
|
|
346
351
|
'bitvavo': bitvavoPro,
|
|
347
352
|
'blockchaincom': blockchaincomPro,
|
|
348
353
|
'blofin': blofinPro,
|
|
@@ -369,7 +374,6 @@ const pro = {
|
|
|
369
374
|
'hollaex': hollaexPro,
|
|
370
375
|
'htx': htxPro,
|
|
371
376
|
'huobi': huobiPro,
|
|
372
|
-
'huobijp': huobijpPro,
|
|
373
377
|
'hyperliquid': hyperliquidPro,
|
|
374
378
|
'independentreserve': independentreservePro,
|
|
375
379
|
'kraken': krakenPro,
|
|
@@ -379,10 +383,12 @@ const pro = {
|
|
|
379
383
|
'lbank': lbankPro,
|
|
380
384
|
'luno': lunoPro,
|
|
381
385
|
'mexc': mexcPro,
|
|
386
|
+
'modetrade': modetradePro,
|
|
382
387
|
'myokx': myokxPro,
|
|
383
388
|
'ndax': ndaxPro,
|
|
384
389
|
'okcoin': okcoinPro,
|
|
385
390
|
'okx': okxPro,
|
|
391
|
+
'okxus': okxusPro,
|
|
386
392
|
'onetrading': onetradingPro,
|
|
387
393
|
'oxfun': oxfunPro,
|
|
388
394
|
'p2b': p2bPro,
|
|
@@ -410,6 +416,6 @@ pro.exchanges = Object.keys(pro);
|
|
|
410
416
|
pro['Exchange'] = Exchange; // now the same for rest and ts
|
|
411
417
|
//-----------------------------------------------------------------------------
|
|
412
418
|
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,
|
|
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, 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, modetrade, myokx, ndax, novadax, oceanex, okcoin, okx, okxus, onetrading, oxfun, p2b, paradex, paymium, phemex, poloniex, probit, timex, tokocrypto, tradeogre, upbit, vertex, wavesexchange, whitebit, woo, woofipro, xt, yobit, zaif, zonda, };
|
|
414
420
|
export default ccxt;
|
|
415
421
|
//-----------------------------------------------------------------------------
|