ccxt 4.4.86 → 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 +17 -5
- package/dist/ccxt.browser.min.js +3 -3
- package/dist/cjs/ccxt.js +11 -1
- package/dist/cjs/src/abstract/modetrade.js +9 -0
- package/dist/cjs/src/base/Exchange.js +10 -8
- package/dist/cjs/src/binance.js +1 -1
- package/dist/cjs/src/bitteam.js +31 -0
- package/dist/cjs/src/coinmetro.js +5 -1
- 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/htx.js +10 -8
- package/dist/cjs/src/hyperliquid.js +32 -16
- package/dist/cjs/src/kraken.js +5 -8
- package/dist/cjs/src/modetrade.js +2839 -0
- package/dist/cjs/src/okx.js +95 -2
- package/dist/cjs/src/okxus.js +53 -0
- package/dist/cjs/src/paradex.js +6 -1
- package/dist/cjs/src/phemex.js +4 -6
- package/dist/cjs/src/poloniex.js +181 -170
- 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 +14 -2
- package/js/ccxt.js +10 -2
- package/js/src/abstract/modetrade.d.ts +122 -0
- package/js/src/abstract/modetrade.js +11 -0
- package/js/src/abstract/okxus.d.ts +352 -0
- package/js/src/abstract/okxus.js +11 -0
- package/js/src/base/Exchange.js +10 -8
- package/js/src/binance.js +1 -1
- package/js/src/bitteam.js +31 -0
- package/js/src/coinmetro.js +5 -1
- 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/htx.js +10 -8
- package/js/src/hyperliquid.js +32 -16
- package/js/src/kraken.js +5 -8
- package/js/src/modetrade.d.ts +475 -0
- package/js/src/modetrade.js +2840 -0
- package/js/src/okx.d.ts +24 -1
- package/js/src/okx.js +95 -2
- package/js/src/okxus.d.ts +4 -0
- package/js/src/okxus.js +54 -0
- package/js/src/paradex.js +6 -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/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/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';
|
|
@@ -82,12 +82,14 @@ import lbank from './src/lbank.js';
|
|
|
82
82
|
import luno from './src/luno.js';
|
|
83
83
|
import mercado from './src/mercado.js';
|
|
84
84
|
import mexc from './src/mexc.js';
|
|
85
|
+
import modetrade from './src/modetrade.js';
|
|
85
86
|
import myokx from './src/myokx.js';
|
|
86
87
|
import ndax from './src/ndax.js';
|
|
87
88
|
import novadax from './src/novadax.js';
|
|
88
89
|
import oceanex from './src/oceanex.js';
|
|
89
90
|
import okcoin from './src/okcoin.js';
|
|
90
91
|
import okx from './src/okx.js';
|
|
92
|
+
import okxus from './src/okxus.js';
|
|
91
93
|
import onetrading from './src/onetrading.js';
|
|
92
94
|
import oxfun from './src/oxfun.js';
|
|
93
95
|
import p2b from './src/p2b.js';
|
|
@@ -162,10 +164,12 @@ import kucoinfuturesPro from './src/pro/kucoinfutures.js';
|
|
|
162
164
|
import lbankPro from './src/pro/lbank.js';
|
|
163
165
|
import lunoPro from './src/pro/luno.js';
|
|
164
166
|
import mexcPro from './src/pro/mexc.js';
|
|
167
|
+
import modetradePro from './src/pro/modetrade.js';
|
|
165
168
|
import myokxPro from './src/pro/myokx.js';
|
|
166
169
|
import ndaxPro from './src/pro/ndax.js';
|
|
167
170
|
import okcoinPro from './src/pro/okcoin.js';
|
|
168
171
|
import okxPro from './src/pro/okx.js';
|
|
172
|
+
import okxusPro from './src/pro/okxus.js';
|
|
169
173
|
import onetradingPro from './src/pro/onetrading.js';
|
|
170
174
|
import oxfunPro from './src/pro/oxfun.js';
|
|
171
175
|
import p2bPro from './src/pro/p2b.js';
|
|
@@ -258,12 +262,14 @@ declare const exchanges: {
|
|
|
258
262
|
luno: typeof luno;
|
|
259
263
|
mercado: typeof mercado;
|
|
260
264
|
mexc: typeof mexc;
|
|
265
|
+
modetrade: typeof modetrade;
|
|
261
266
|
myokx: typeof myokx;
|
|
262
267
|
ndax: typeof ndax;
|
|
263
268
|
novadax: typeof novadax;
|
|
264
269
|
oceanex: typeof oceanex;
|
|
265
270
|
okcoin: typeof okcoin;
|
|
266
271
|
okx: typeof okx;
|
|
272
|
+
okxus: typeof okxus;
|
|
267
273
|
onetrading: typeof onetrading;
|
|
268
274
|
oxfun: typeof oxfun;
|
|
269
275
|
p2b: typeof p2b;
|
|
@@ -340,10 +346,12 @@ declare const pro: {
|
|
|
340
346
|
lbank: typeof lbankPro;
|
|
341
347
|
luno: typeof lunoPro;
|
|
342
348
|
mexc: typeof mexcPro;
|
|
349
|
+
modetrade: typeof modetradePro;
|
|
343
350
|
myokx: typeof myokxPro;
|
|
344
351
|
ndax: typeof ndaxPro;
|
|
345
352
|
okcoin: typeof okcoinPro;
|
|
346
353
|
okx: typeof okxPro;
|
|
354
|
+
okxus: typeof okxusPro;
|
|
347
355
|
onetrading: typeof onetradingPro;
|
|
348
356
|
oxfun: typeof oxfunPro;
|
|
349
357
|
p2b: typeof p2bPro;
|
|
@@ -418,10 +426,12 @@ declare const ccxt: {
|
|
|
418
426
|
lbank: typeof lbankPro;
|
|
419
427
|
luno: typeof lunoPro;
|
|
420
428
|
mexc: typeof mexcPro;
|
|
429
|
+
modetrade: typeof modetradePro;
|
|
421
430
|
myokx: typeof myokxPro;
|
|
422
431
|
ndax: typeof ndaxPro;
|
|
423
432
|
okcoin: typeof okcoinPro;
|
|
424
433
|
okx: typeof okxPro;
|
|
434
|
+
okxus: typeof okxusPro;
|
|
425
435
|
onetrading: typeof onetradingPro;
|
|
426
436
|
oxfun: typeof oxfunPro;
|
|
427
437
|
p2b: typeof p2bPro;
|
|
@@ -515,12 +525,14 @@ declare const ccxt: {
|
|
|
515
525
|
luno: typeof luno;
|
|
516
526
|
mercado: typeof mercado;
|
|
517
527
|
mexc: typeof mexc;
|
|
528
|
+
modetrade: typeof modetrade;
|
|
518
529
|
myokx: typeof myokx;
|
|
519
530
|
ndax: typeof ndax;
|
|
520
531
|
novadax: typeof novadax;
|
|
521
532
|
oceanex: typeof oceanex;
|
|
522
533
|
okcoin: typeof okcoin;
|
|
523
534
|
okx: typeof okx;
|
|
535
|
+
okxus: typeof okxus;
|
|
524
536
|
onetrading: typeof onetrading;
|
|
525
537
|
oxfun: typeof oxfun;
|
|
526
538
|
p2b: typeof p2b;
|
|
@@ -543,5 +555,5 @@ declare const ccxt: {
|
|
|
543
555
|
zaif: typeof zaif;
|
|
544
556
|
zonda: typeof zonda;
|
|
545
557
|
} & typeof functions & typeof errors;
|
|
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, };
|
|
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, };
|
|
547
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';
|
|
@@ -118,12 +118,14 @@ import lbank from './src/lbank.js';
|
|
|
118
118
|
import luno from './src/luno.js';
|
|
119
119
|
import mercado from './src/mercado.js';
|
|
120
120
|
import mexc from './src/mexc.js';
|
|
121
|
+
import modetrade from './src/modetrade.js';
|
|
121
122
|
import myokx from './src/myokx.js';
|
|
122
123
|
import ndax from './src/ndax.js';
|
|
123
124
|
import novadax from './src/novadax.js';
|
|
124
125
|
import oceanex from './src/oceanex.js';
|
|
125
126
|
import okcoin from './src/okcoin.js';
|
|
126
127
|
import okx from './src/okx.js';
|
|
128
|
+
import okxus from './src/okxus.js';
|
|
127
129
|
import onetrading from './src/onetrading.js';
|
|
128
130
|
import oxfun from './src/oxfun.js';
|
|
129
131
|
import p2b from './src/p2b.js';
|
|
@@ -199,10 +201,12 @@ import kucoinfuturesPro from './src/pro/kucoinfutures.js';
|
|
|
199
201
|
import lbankPro from './src/pro/lbank.js';
|
|
200
202
|
import lunoPro from './src/pro/luno.js';
|
|
201
203
|
import mexcPro from './src/pro/mexc.js';
|
|
204
|
+
import modetradePro from './src/pro/modetrade.js';
|
|
202
205
|
import myokxPro from './src/pro/myokx.js';
|
|
203
206
|
import ndaxPro from './src/pro/ndax.js';
|
|
204
207
|
import okcoinPro from './src/pro/okcoin.js';
|
|
205
208
|
import okxPro from './src/pro/okx.js';
|
|
209
|
+
import okxusPro from './src/pro/okxus.js';
|
|
206
210
|
import onetradingPro from './src/pro/onetrading.js';
|
|
207
211
|
import oxfunPro from './src/pro/oxfun.js';
|
|
208
212
|
import p2bPro from './src/pro/p2b.js';
|
|
@@ -295,12 +299,14 @@ const exchanges = {
|
|
|
295
299
|
'luno': luno,
|
|
296
300
|
'mercado': mercado,
|
|
297
301
|
'mexc': mexc,
|
|
302
|
+
'modetrade': modetrade,
|
|
298
303
|
'myokx': myokx,
|
|
299
304
|
'ndax': ndax,
|
|
300
305
|
'novadax': novadax,
|
|
301
306
|
'oceanex': oceanex,
|
|
302
307
|
'okcoin': okcoin,
|
|
303
308
|
'okx': okx,
|
|
309
|
+
'okxus': okxus,
|
|
304
310
|
'onetrading': onetrading,
|
|
305
311
|
'oxfun': oxfun,
|
|
306
312
|
'p2b': p2b,
|
|
@@ -377,10 +383,12 @@ const pro = {
|
|
|
377
383
|
'lbank': lbankPro,
|
|
378
384
|
'luno': lunoPro,
|
|
379
385
|
'mexc': mexcPro,
|
|
386
|
+
'modetrade': modetradePro,
|
|
380
387
|
'myokx': myokxPro,
|
|
381
388
|
'ndax': ndaxPro,
|
|
382
389
|
'okcoin': okcoinPro,
|
|
383
390
|
'okx': okxPro,
|
|
391
|
+
'okxus': okxusPro,
|
|
384
392
|
'onetrading': onetradingPro,
|
|
385
393
|
'oxfun': oxfunPro,
|
|
386
394
|
'p2b': p2bPro,
|
|
@@ -408,6 +416,6 @@ pro.exchanges = Object.keys(pro);
|
|
|
408
416
|
pro['Exchange'] = Exchange; // now the same for rest and ts
|
|
409
417
|
//-----------------------------------------------------------------------------
|
|
410
418
|
const ccxt = Object.assign({ version, Exchange, Precise, 'exchanges': Object.keys(exchanges), 'pro': pro }, exchanges, functions, errors);
|
|
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, };
|
|
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, };
|
|
412
420
|
export default ccxt;
|
|
413
421
|
//-----------------------------------------------------------------------------
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
import { implicitReturnType } from '../base/types.js';
|
|
2
|
+
import { Exchange as _Exchange } from '../base/Exchange.js';
|
|
3
|
+
interface Exchange {
|
|
4
|
+
v1PublicGetPublicVolumeStats(params?: {}): Promise<implicitReturnType>;
|
|
5
|
+
v1PublicGetPublicBrokerName(params?: {}): Promise<implicitReturnType>;
|
|
6
|
+
v1PublicGetPublicChainInfoBrokerId(params?: {}): Promise<implicitReturnType>;
|
|
7
|
+
v1PublicGetPublicSystemInfo(params?: {}): Promise<implicitReturnType>;
|
|
8
|
+
v1PublicGetPublicVaultBalance(params?: {}): Promise<implicitReturnType>;
|
|
9
|
+
v1PublicGetPublicInsurancefund(params?: {}): Promise<implicitReturnType>;
|
|
10
|
+
v1PublicGetPublicChainInfo(params?: {}): Promise<implicitReturnType>;
|
|
11
|
+
v1PublicGetFaucetUsdc(params?: {}): Promise<implicitReturnType>;
|
|
12
|
+
v1PublicGetPublicAccount(params?: {}): Promise<implicitReturnType>;
|
|
13
|
+
v1PublicGetGetAccount(params?: {}): Promise<implicitReturnType>;
|
|
14
|
+
v1PublicGetRegistrationNonce(params?: {}): Promise<implicitReturnType>;
|
|
15
|
+
v1PublicGetGetOrderlyKey(params?: {}): Promise<implicitReturnType>;
|
|
16
|
+
v1PublicGetPublicLiquidation(params?: {}): Promise<implicitReturnType>;
|
|
17
|
+
v1PublicGetPublicLiquidatedPositions(params?: {}): Promise<implicitReturnType>;
|
|
18
|
+
v1PublicGetPublicConfig(params?: {}): Promise<implicitReturnType>;
|
|
19
|
+
v1PublicGetPublicCampaignRanking(params?: {}): Promise<implicitReturnType>;
|
|
20
|
+
v1PublicGetPublicCampaignStats(params?: {}): Promise<implicitReturnType>;
|
|
21
|
+
v1PublicGetPublicCampaignUser(params?: {}): Promise<implicitReturnType>;
|
|
22
|
+
v1PublicGetPublicCampaignStatsDetails(params?: {}): Promise<implicitReturnType>;
|
|
23
|
+
v1PublicGetPublicCampaigns(params?: {}): Promise<implicitReturnType>;
|
|
24
|
+
v1PublicGetPublicPointsLeaderboard(params?: {}): Promise<implicitReturnType>;
|
|
25
|
+
v1PublicGetClientPoints(params?: {}): Promise<implicitReturnType>;
|
|
26
|
+
v1PublicGetPublicPointsEpoch(params?: {}): Promise<implicitReturnType>;
|
|
27
|
+
v1PublicGetPublicPointsEpochDates(params?: {}): Promise<implicitReturnType>;
|
|
28
|
+
v1PublicGetPublicReferralCheckRefCode(params?: {}): Promise<implicitReturnType>;
|
|
29
|
+
v1PublicGetPublicReferralVerifyRefCode(params?: {}): Promise<implicitReturnType>;
|
|
30
|
+
v1PublicGetReferralAdminInfo(params?: {}): Promise<implicitReturnType>;
|
|
31
|
+
v1PublicGetReferralInfo(params?: {}): Promise<implicitReturnType>;
|
|
32
|
+
v1PublicGetReferralRefereeInfo(params?: {}): Promise<implicitReturnType>;
|
|
33
|
+
v1PublicGetReferralRefereeRebateSummary(params?: {}): Promise<implicitReturnType>;
|
|
34
|
+
v1PublicGetReferralRefereeHistory(params?: {}): Promise<implicitReturnType>;
|
|
35
|
+
v1PublicGetReferralReferralHistory(params?: {}): Promise<implicitReturnType>;
|
|
36
|
+
v1PublicGetReferralRebateSummary(params?: {}): Promise<implicitReturnType>;
|
|
37
|
+
v1PublicGetClientDistributionHistory(params?: {}): Promise<implicitReturnType>;
|
|
38
|
+
v1PublicGetTvConfig(params?: {}): Promise<implicitReturnType>;
|
|
39
|
+
v1PublicGetTvHistory(params?: {}): Promise<implicitReturnType>;
|
|
40
|
+
v1PublicGetTvSymbolInfo(params?: {}): Promise<implicitReturnType>;
|
|
41
|
+
v1PublicGetPublicFundingRateHistory(params?: {}): Promise<implicitReturnType>;
|
|
42
|
+
v1PublicGetPublicFundingRateSymbol(params?: {}): Promise<implicitReturnType>;
|
|
43
|
+
v1PublicGetPublicFundingRates(params?: {}): Promise<implicitReturnType>;
|
|
44
|
+
v1PublicGetPublicInfo(params?: {}): Promise<implicitReturnType>;
|
|
45
|
+
v1PublicGetPublicInfoSymbol(params?: {}): Promise<implicitReturnType>;
|
|
46
|
+
v1PublicGetPublicMarketTrades(params?: {}): Promise<implicitReturnType>;
|
|
47
|
+
v1PublicGetPublicToken(params?: {}): Promise<implicitReturnType>;
|
|
48
|
+
v1PublicGetPublicFutures(params?: {}): Promise<implicitReturnType>;
|
|
49
|
+
v1PublicGetPublicFuturesSymbol(params?: {}): Promise<implicitReturnType>;
|
|
50
|
+
v1PublicPostRegisterAccount(params?: {}): Promise<implicitReturnType>;
|
|
51
|
+
v1PrivateGetClientKeyInfo(params?: {}): Promise<implicitReturnType>;
|
|
52
|
+
v1PrivateGetClientOrderlyKeyIpRestriction(params?: {}): Promise<implicitReturnType>;
|
|
53
|
+
v1PrivateGetOrderOid(params?: {}): Promise<implicitReturnType>;
|
|
54
|
+
v1PrivateGetClientOrderClientOrderId(params?: {}): Promise<implicitReturnType>;
|
|
55
|
+
v1PrivateGetAlgoOrderOid(params?: {}): Promise<implicitReturnType>;
|
|
56
|
+
v1PrivateGetAlgoClientOrderClientOrderId(params?: {}): Promise<implicitReturnType>;
|
|
57
|
+
v1PrivateGetOrders(params?: {}): Promise<implicitReturnType>;
|
|
58
|
+
v1PrivateGetAlgoOrders(params?: {}): Promise<implicitReturnType>;
|
|
59
|
+
v1PrivateGetTradeTid(params?: {}): Promise<implicitReturnType>;
|
|
60
|
+
v1PrivateGetTrades(params?: {}): Promise<implicitReturnType>;
|
|
61
|
+
v1PrivateGetOrderOidTrades(params?: {}): Promise<implicitReturnType>;
|
|
62
|
+
v1PrivateGetClientLiquidatorLiquidations(params?: {}): Promise<implicitReturnType>;
|
|
63
|
+
v1PrivateGetLiquidations(params?: {}): Promise<implicitReturnType>;
|
|
64
|
+
v1PrivateGetAssetHistory(params?: {}): Promise<implicitReturnType>;
|
|
65
|
+
v1PrivateGetClientHolding(params?: {}): Promise<implicitReturnType>;
|
|
66
|
+
v1PrivateGetWithdrawNonce(params?: {}): Promise<implicitReturnType>;
|
|
67
|
+
v1PrivateGetSettleNonce(params?: {}): Promise<implicitReturnType>;
|
|
68
|
+
v1PrivateGetPnlSettlementHistory(params?: {}): Promise<implicitReturnType>;
|
|
69
|
+
v1PrivateGetVolumeUserDaily(params?: {}): Promise<implicitReturnType>;
|
|
70
|
+
v1PrivateGetVolumeUserStats(params?: {}): Promise<implicitReturnType>;
|
|
71
|
+
v1PrivateGetClientStatistics(params?: {}): Promise<implicitReturnType>;
|
|
72
|
+
v1PrivateGetClientInfo(params?: {}): Promise<implicitReturnType>;
|
|
73
|
+
v1PrivateGetClientStatisticsDaily(params?: {}): Promise<implicitReturnType>;
|
|
74
|
+
v1PrivateGetPositions(params?: {}): Promise<implicitReturnType>;
|
|
75
|
+
v1PrivateGetPositionSymbol(params?: {}): Promise<implicitReturnType>;
|
|
76
|
+
v1PrivateGetFundingFeeHistory(params?: {}): Promise<implicitReturnType>;
|
|
77
|
+
v1PrivateGetNotificationInboxNotifications(params?: {}): Promise<implicitReturnType>;
|
|
78
|
+
v1PrivateGetNotificationInboxUnread(params?: {}): Promise<implicitReturnType>;
|
|
79
|
+
v1PrivateGetVolumeBrokerDaily(params?: {}): Promise<implicitReturnType>;
|
|
80
|
+
v1PrivateGetBrokerFeeRateDefault(params?: {}): Promise<implicitReturnType>;
|
|
81
|
+
v1PrivateGetBrokerUserInfo(params?: {}): Promise<implicitReturnType>;
|
|
82
|
+
v1PrivateGetOrderbookSymbol(params?: {}): Promise<implicitReturnType>;
|
|
83
|
+
v1PrivateGetKline(params?: {}): Promise<implicitReturnType>;
|
|
84
|
+
v1PrivatePostOrderlyKey(params?: {}): Promise<implicitReturnType>;
|
|
85
|
+
v1PrivatePostClientSetOrderlyKeyIpRestriction(params?: {}): Promise<implicitReturnType>;
|
|
86
|
+
v1PrivatePostClientResetOrderlyKeyIpRestriction(params?: {}): Promise<implicitReturnType>;
|
|
87
|
+
v1PrivatePostOrder(params?: {}): Promise<implicitReturnType>;
|
|
88
|
+
v1PrivatePostBatchOrder(params?: {}): Promise<implicitReturnType>;
|
|
89
|
+
v1PrivatePostAlgoOrder(params?: {}): Promise<implicitReturnType>;
|
|
90
|
+
v1PrivatePostLiquidation(params?: {}): Promise<implicitReturnType>;
|
|
91
|
+
v1PrivatePostClaimInsuranceFund(params?: {}): Promise<implicitReturnType>;
|
|
92
|
+
v1PrivatePostWithdrawRequest(params?: {}): Promise<implicitReturnType>;
|
|
93
|
+
v1PrivatePostSettlePnl(params?: {}): Promise<implicitReturnType>;
|
|
94
|
+
v1PrivatePostNotificationInboxMarkRead(params?: {}): Promise<implicitReturnType>;
|
|
95
|
+
v1PrivatePostNotificationInboxMarkReadAll(params?: {}): Promise<implicitReturnType>;
|
|
96
|
+
v1PrivatePostClientLeverage(params?: {}): Promise<implicitReturnType>;
|
|
97
|
+
v1PrivatePostClientMaintenanceConfig(params?: {}): Promise<implicitReturnType>;
|
|
98
|
+
v1PrivatePostDelegateSigner(params?: {}): Promise<implicitReturnType>;
|
|
99
|
+
v1PrivatePostDelegateOrderlyKey(params?: {}): Promise<implicitReturnType>;
|
|
100
|
+
v1PrivatePostDelegateSettlePnl(params?: {}): Promise<implicitReturnType>;
|
|
101
|
+
v1PrivatePostDelegateWithdrawRequest(params?: {}): Promise<implicitReturnType>;
|
|
102
|
+
v1PrivatePostBrokerFeeRateSet(params?: {}): Promise<implicitReturnType>;
|
|
103
|
+
v1PrivatePostBrokerFeeRateSetDefault(params?: {}): Promise<implicitReturnType>;
|
|
104
|
+
v1PrivatePostBrokerFeeRateDefault(params?: {}): Promise<implicitReturnType>;
|
|
105
|
+
v1PrivatePostReferralCreate(params?: {}): Promise<implicitReturnType>;
|
|
106
|
+
v1PrivatePostReferralUpdate(params?: {}): Promise<implicitReturnType>;
|
|
107
|
+
v1PrivatePostReferralBind(params?: {}): Promise<implicitReturnType>;
|
|
108
|
+
v1PrivatePostReferralEditSplit(params?: {}): Promise<implicitReturnType>;
|
|
109
|
+
v1PrivatePutOrder(params?: {}): Promise<implicitReturnType>;
|
|
110
|
+
v1PrivatePutAlgoOrder(params?: {}): Promise<implicitReturnType>;
|
|
111
|
+
v1PrivateDeleteOrder(params?: {}): Promise<implicitReturnType>;
|
|
112
|
+
v1PrivateDeleteAlgoOrder(params?: {}): Promise<implicitReturnType>;
|
|
113
|
+
v1PrivateDeleteClientOrder(params?: {}): Promise<implicitReturnType>;
|
|
114
|
+
v1PrivateDeleteAlgoClientOrder(params?: {}): Promise<implicitReturnType>;
|
|
115
|
+
v1PrivateDeleteAlgoOrders(params?: {}): Promise<implicitReturnType>;
|
|
116
|
+
v1PrivateDeleteOrders(params?: {}): Promise<implicitReturnType>;
|
|
117
|
+
v1PrivateDeleteBatchOrder(params?: {}): Promise<implicitReturnType>;
|
|
118
|
+
v1PrivateDeleteClientBatchOrder(params?: {}): Promise<implicitReturnType>;
|
|
119
|
+
}
|
|
120
|
+
declare abstract class Exchange extends _Exchange {
|
|
121
|
+
}
|
|
122
|
+
export default Exchange;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
// ----------------------------------------------------------------------------
|
|
2
|
+
|
|
3
|
+
// PLEASE DO NOT EDIT THIS FILE, IT IS GENERATED AND WILL BE OVERWRITTEN:
|
|
4
|
+
// https://github.com/ccxt/ccxt/blob/master/CONTRIBUTING.md#how-to-contribute-code
|
|
5
|
+
// EDIT THE CORRESPONDENT .ts FILE INSTEAD
|
|
6
|
+
|
|
7
|
+
// -------------------------------------------------------------------------------
|
|
8
|
+
import { Exchange as _Exchange } from '../base/Exchange.js';
|
|
9
|
+
class Exchange extends _Exchange {
|
|
10
|
+
}
|
|
11
|
+
export default Exchange;
|