ccxt 4.4.75 → 4.4.78
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 +3 -3
- package/dist/ccxt.browser.min.js +7 -7
- package/dist/cjs/ccxt.js +8 -4
- package/dist/cjs/src/abstract/apex.js +9 -0
- package/dist/cjs/src/apex.js +1949 -0
- package/dist/cjs/src/base/Exchange.js +49 -3
- package/dist/cjs/src/binance.js +44 -220
- package/dist/cjs/src/bitget.js +139 -71
- package/dist/cjs/src/bitmex.js +4 -4
- package/dist/cjs/src/bitrue.js +48 -0
- package/dist/cjs/src/cex.js +1 -1
- package/dist/cjs/src/coinbase.js +32 -3
- package/dist/cjs/src/coincatch.js +68 -0
- package/dist/cjs/src/coinex.js +3 -0
- package/dist/cjs/src/coinlist.js +85 -1
- package/dist/cjs/src/hitbtc.js +3 -0
- package/dist/cjs/src/hyperliquid.js +13 -4
- package/dist/cjs/src/mexc.js +50 -57
- package/dist/cjs/src/okx.js +23 -8
- package/dist/cjs/src/paradex.js +3 -12
- package/dist/cjs/src/phemex.js +2 -1
- package/dist/cjs/src/poloniex.js +1 -1
- package/dist/cjs/src/pro/apex.js +1043 -0
- package/dist/cjs/src/pro/coinbase.js +4 -8
- package/dist/cjs/src/pro/gate.js +27 -2
- package/dist/cjs/src/pro/hollaex.js +2 -2
- package/dist/cjs/src/pro/hyperliquid.js +1 -1
- package/dist/cjs/src/pro/p2b.js +2 -2
- package/dist/cjs/src/pro/tradeogre.js +283 -0
- package/dist/cjs/src/probit.js +1 -0
- package/dist/cjs/src/static_dependencies/zklink/zklink-sdk-web.js +2645 -0
- package/dist/cjs/src/tradeogre.js +2 -1
- package/dist/cjs/src/upbit.js +299 -93
- package/dist/cjs/src/whitebit.js +1 -0
- package/dist/cjs/src/woo.js +3 -1
- package/dist/cjs/src/xt.js +131 -4
- package/js/ccxt.d.ts +11 -5
- package/js/ccxt.js +8 -4
- package/js/src/abstract/apex.d.ts +34 -0
- package/js/src/abstract/myokx.d.ts +4 -0
- package/js/src/abstract/okx.d.ts +4 -0
- package/js/src/abstract/upbit.d.ts +15 -1
- package/js/src/abstract/xt.d.ts +3 -0
- package/js/src/apex.d.ts +333 -0
- package/js/src/apex.js +1951 -0
- package/js/src/ascendex.d.ts +3 -3
- package/js/src/base/Exchange.d.ts +3 -0
- package/js/src/base/Exchange.js +49 -2
- package/js/src/binance.d.ts +9 -7
- package/js/src/binance.js +44 -220
- package/js/src/bitfinex.d.ts +3 -3
- package/js/src/bitflyer.d.ts +2 -2
- package/js/src/bitget.d.ts +2 -0
- package/js/src/bitget.js +139 -71
- package/js/src/bitmart.d.ts +4 -4
- package/js/src/bitmex.d.ts +3 -3
- package/js/src/bitmex.js +4 -4
- package/js/src/bitrue.js +48 -0
- package/js/src/cex.js +1 -1
- package/js/src/coinbase.d.ts +6 -4
- package/js/src/coinbase.js +32 -3
- package/js/src/coinbaseexchange.d.ts +1 -1
- package/js/src/coincatch.d.ts +11 -0
- package/js/src/coincatch.js +68 -0
- package/js/src/coinex.js +3 -0
- package/js/src/coinlist.d.ts +12 -1
- package/js/src/coinlist.js +85 -1
- package/js/src/cryptocom.d.ts +4 -4
- package/js/src/deribit.d.ts +4 -4
- package/js/src/derive.d.ts +3 -3
- package/js/src/digifinex.d.ts +4 -4
- package/js/src/hitbtc.js +3 -0
- package/js/src/htx.d.ts +4 -4
- package/js/src/hyperliquid.d.ts +1 -0
- package/js/src/hyperliquid.js +13 -4
- package/js/src/kraken.d.ts +3 -3
- package/js/src/krakenfutures.d.ts +2 -2
- package/js/src/kucoinfutures.d.ts +5 -5
- package/js/src/mexc.d.ts +1 -0
- package/js/src/mexc.js +50 -57
- package/js/src/okx.js +23 -8
- package/js/src/oxfun.d.ts +3 -3
- package/js/src/paradex.js +3 -12
- package/js/src/phemex.d.ts +3 -3
- package/js/src/phemex.js +2 -1
- package/js/src/poloniex.d.ts +3 -3
- package/js/src/poloniex.js +1 -1
- package/js/src/pro/apex.d.ts +160 -0
- package/js/src/pro/apex.js +1044 -0
- package/js/src/pro/coinbase.js +4 -8
- package/js/src/pro/gate.js +27 -2
- package/js/src/pro/hollaex.js +2 -2
- package/js/src/pro/hyperliquid.js +1 -1
- package/js/src/pro/p2b.js +2 -2
- package/js/src/pro/tradeogre.d.ts +49 -0
- package/js/src/pro/tradeogre.js +284 -0
- package/js/src/probit.js +1 -0
- package/js/src/static_dependencies/zklink/zklink-sdk-web.d.ts +1279 -0
- package/js/src/static_dependencies/zklink/zklink-sdk-web.js +4282 -0
- package/js/src/tradeogre.js +2 -1
- package/js/src/upbit.d.ts +34 -4
- package/js/src/upbit.js +299 -93
- package/js/src/vertex.d.ts +3 -3
- package/js/src/whitebit.js +1 -0
- package/js/src/woo.d.ts +4 -4
- package/js/src/woo.js +3 -1
- package/js/src/woofipro.d.ts +4 -4
- package/js/src/xt.d.ts +23 -4
- package/js/src/xt.js +131 -4
- package/package.json +2 -2
- package/js/src/abstract/ace.d.ts +0 -18
- package/js/src/ace.d.ts +0 -158
- package/js/src/ace.js +0 -1181
- /package/js/src/abstract/{ace.js → apex.js} +0 -0
package/dist/cjs/src/xt.js
CHANGED
|
@@ -44,7 +44,7 @@ class xt extends xt$1 {
|
|
|
44
44
|
'createOrder': true,
|
|
45
45
|
'createPostOnlyOrder': false,
|
|
46
46
|
'createReduceOnlyOrder': true,
|
|
47
|
-
'editOrder':
|
|
47
|
+
'editOrder': true,
|
|
48
48
|
'fetchAccounts': false,
|
|
49
49
|
'fetchBalance': true,
|
|
50
50
|
'fetchBidsAsks': true,
|
|
@@ -231,6 +231,9 @@ class xt extends xt$1 {
|
|
|
231
231
|
'open-order': 1,
|
|
232
232
|
'order/{orderId}': 1,
|
|
233
233
|
},
|
|
234
|
+
'put': {
|
|
235
|
+
'order/{orderId}': 1,
|
|
236
|
+
},
|
|
234
237
|
},
|
|
235
238
|
'linear': {
|
|
236
239
|
'get': {
|
|
@@ -265,6 +268,7 @@ class xt extends xt$1 {
|
|
|
265
268
|
'future/trade/v1/order/cancel-all': 1,
|
|
266
269
|
'future/trade/v1/order/create': 1,
|
|
267
270
|
'future/trade/v1/order/create-batch': 1,
|
|
271
|
+
'future/trade/v1/order/update': 1,
|
|
268
272
|
'future/user/v1/account/open': 1,
|
|
269
273
|
'future/user/v1/position/adjust-leverage': 1,
|
|
270
274
|
'future/user/v1/position/auto-margin': 1,
|
|
@@ -308,6 +312,7 @@ class xt extends xt$1 {
|
|
|
308
312
|
'future/trade/v1/order/cancel-all': 1,
|
|
309
313
|
'future/trade/v1/order/create': 1,
|
|
310
314
|
'future/trade/v1/order/create-batch': 1,
|
|
315
|
+
'future/trade/v1/order/update': 1,
|
|
311
316
|
'future/user/v1/account/open': 1,
|
|
312
317
|
'future/user/v1/position/adjust-leverage': 1,
|
|
313
318
|
'future/user/v1/position/auto-margin': 1,
|
|
@@ -945,6 +950,14 @@ class xt extends xt$1 {
|
|
|
945
950
|
},
|
|
946
951
|
};
|
|
947
952
|
}
|
|
953
|
+
const typeRaw = this.safeString(entry, 'type');
|
|
954
|
+
let type = undefined;
|
|
955
|
+
if (typeRaw === 'FT') {
|
|
956
|
+
type = 'crypto';
|
|
957
|
+
}
|
|
958
|
+
else {
|
|
959
|
+
type = 'other';
|
|
960
|
+
}
|
|
948
961
|
result[code] = {
|
|
949
962
|
'info': entry,
|
|
950
963
|
'id': currencyId,
|
|
@@ -956,6 +969,7 @@ class xt extends xt$1 {
|
|
|
956
969
|
'deposit': deposit,
|
|
957
970
|
'withdraw': withdraw,
|
|
958
971
|
'networks': networks,
|
|
972
|
+
'type': type,
|
|
959
973
|
'limits': {
|
|
960
974
|
'amount': {
|
|
961
975
|
'min': undefined,
|
|
@@ -3509,7 +3523,7 @@ class xt extends xt$1 {
|
|
|
3509
3523
|
// "cancelId": "208322474307982720"
|
|
3510
3524
|
// }
|
|
3511
3525
|
//
|
|
3512
|
-
// swap and future: createOrder, cancelOrder
|
|
3526
|
+
// swap and future: createOrder, cancelOrder, editOrder
|
|
3513
3527
|
//
|
|
3514
3528
|
// {
|
|
3515
3529
|
// "returnCode": 0,
|
|
@@ -3614,6 +3628,14 @@ class xt extends xt$1 {
|
|
|
3614
3628
|
// "createdTime": 1681273420039
|
|
3615
3629
|
// }
|
|
3616
3630
|
//
|
|
3631
|
+
// spot editOrder
|
|
3632
|
+
//
|
|
3633
|
+
// {
|
|
3634
|
+
// "orderId": "484203027161892224",
|
|
3635
|
+
// "modifyId": "484203544105344000",
|
|
3636
|
+
// "clientModifyId": null
|
|
3637
|
+
// }
|
|
3638
|
+
//
|
|
3617
3639
|
const marketId = this.safeString(order, 'symbol');
|
|
3618
3640
|
const marketType = ('result' in order) || ('positionSide' in order) ? 'contract' : 'spot';
|
|
3619
3641
|
market = this.safeMarket(marketId, market, undefined, marketType);
|
|
@@ -3627,7 +3649,7 @@ class xt extends xt$1 {
|
|
|
3627
3649
|
return this.safeOrder({
|
|
3628
3650
|
'info': order,
|
|
3629
3651
|
'id': this.safeStringN(order, ['orderId', 'result', 'cancelId', 'entrustId', 'profitId']),
|
|
3630
|
-
'clientOrderId': this.
|
|
3652
|
+
'clientOrderId': this.safeString2(order, 'clientOrderId', 'clientModifyId'),
|
|
3631
3653
|
'timestamp': timestamp,
|
|
3632
3654
|
'datetime': this.iso8601(timestamp),
|
|
3633
3655
|
'lastTradeTimestamp': lastUpdatedTimestamp,
|
|
@@ -4908,6 +4930,108 @@ class xt extends xt$1 {
|
|
|
4908
4930
|
//
|
|
4909
4931
|
return response; // unify return type
|
|
4910
4932
|
}
|
|
4933
|
+
/**
|
|
4934
|
+
* @method
|
|
4935
|
+
* @name xt#editOrder
|
|
4936
|
+
* @description cancels an order and places a new order
|
|
4937
|
+
* @see https://doc.xt.com/#orderorderUpdate
|
|
4938
|
+
* @see https://doc.xt.com/#futures_orderupdate
|
|
4939
|
+
* @see https://doc.xt.com/#futures_entrustupdateProfit
|
|
4940
|
+
* @param {string} id order id
|
|
4941
|
+
* @param {string} symbol unified symbol of the market to create an order in
|
|
4942
|
+
* @param {string} type 'market' or 'limit'
|
|
4943
|
+
* @param {string} side 'buy' or 'sell'
|
|
4944
|
+
* @param {float} amount how much of the currency you want to trade in units of the base currency
|
|
4945
|
+
* @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
|
|
4946
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
4947
|
+
* @param {float} [params.stopLoss] price to set a stop-loss on an open position
|
|
4948
|
+
* @param {float} [params.takeProfit] price to set a take-profit on an open position
|
|
4949
|
+
* @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
4950
|
+
*/
|
|
4951
|
+
async editOrder(id, symbol, type, side, amount = undefined, price = undefined, params = {}) {
|
|
4952
|
+
if (amount === undefined) {
|
|
4953
|
+
throw new errors.ArgumentsRequired(this.id + ' editOrder() requires an amount argument');
|
|
4954
|
+
}
|
|
4955
|
+
await this.loadMarkets();
|
|
4956
|
+
const market = this.market(symbol);
|
|
4957
|
+
const request = {};
|
|
4958
|
+
const stopLoss = this.safeNumber2(params, 'stopLoss', 'triggerStopPrice');
|
|
4959
|
+
const takeProfit = this.safeNumber2(params, 'takeProfit', 'triggerProfitPrice');
|
|
4960
|
+
params = this.omit(params, ['stopLoss', 'takeProfit']);
|
|
4961
|
+
const isStopLoss = (stopLoss !== undefined);
|
|
4962
|
+
const isTakeProfit = (takeProfit !== undefined);
|
|
4963
|
+
if (isStopLoss || isTakeProfit) {
|
|
4964
|
+
request['profitId'] = id;
|
|
4965
|
+
}
|
|
4966
|
+
else {
|
|
4967
|
+
request['orderId'] = id;
|
|
4968
|
+
request['price'] = this.priceToPrecision(symbol, price);
|
|
4969
|
+
}
|
|
4970
|
+
let response = undefined;
|
|
4971
|
+
if (market['swap']) {
|
|
4972
|
+
if (isStopLoss) {
|
|
4973
|
+
request['triggerStopPrice'] = this.priceToPrecision(symbol, stopLoss);
|
|
4974
|
+
}
|
|
4975
|
+
else if (takeProfit !== undefined) {
|
|
4976
|
+
request['triggerProfitPrice'] = this.priceToPrecision(symbol, takeProfit);
|
|
4977
|
+
}
|
|
4978
|
+
else {
|
|
4979
|
+
request['origQty'] = this.amountToPrecision(symbol, amount);
|
|
4980
|
+
}
|
|
4981
|
+
let subType = undefined;
|
|
4982
|
+
[subType, params] = this.handleSubTypeAndParams('editOrder', market, params);
|
|
4983
|
+
if (subType === 'inverse') {
|
|
4984
|
+
if (isStopLoss || isTakeProfit) {
|
|
4985
|
+
response = await this.privateInversePostFutureTradeV1EntrustUpdateProfitStop(this.extend(request, params));
|
|
4986
|
+
}
|
|
4987
|
+
else {
|
|
4988
|
+
response = await this.privateInversePostFutureTradeV1OrderUpdate(this.extend(request, params));
|
|
4989
|
+
//
|
|
4990
|
+
// {
|
|
4991
|
+
// "returnCode": 0,
|
|
4992
|
+
// "msgInfo": "success",
|
|
4993
|
+
// "error": null,
|
|
4994
|
+
// "result": "483869474947826752"
|
|
4995
|
+
// }
|
|
4996
|
+
//
|
|
4997
|
+
}
|
|
4998
|
+
}
|
|
4999
|
+
else {
|
|
5000
|
+
if (isStopLoss || isTakeProfit) {
|
|
5001
|
+
response = await this.privateLinearPostFutureTradeV1EntrustUpdateProfitStop(this.extend(request, params));
|
|
5002
|
+
}
|
|
5003
|
+
else {
|
|
5004
|
+
response = await this.privateLinearPostFutureTradeV1OrderUpdate(this.extend(request, params));
|
|
5005
|
+
//
|
|
5006
|
+
// {
|
|
5007
|
+
// "returnCode": 0,
|
|
5008
|
+
// "msgInfo": "success",
|
|
5009
|
+
// "error": null,
|
|
5010
|
+
// "result": "483869474947826752"
|
|
5011
|
+
// }
|
|
5012
|
+
//
|
|
5013
|
+
}
|
|
5014
|
+
}
|
|
5015
|
+
}
|
|
5016
|
+
else {
|
|
5017
|
+
request['quantity'] = this.amountToPrecision(symbol, amount);
|
|
5018
|
+
response = await this.privateSpotPutOrderOrderId(this.extend(request, params));
|
|
5019
|
+
//
|
|
5020
|
+
// {
|
|
5021
|
+
// "rc": 0,
|
|
5022
|
+
// "mc": "SUCCESS",
|
|
5023
|
+
// "ma": [],
|
|
5024
|
+
// "result": {
|
|
5025
|
+
// "orderId": "484203027161892224",
|
|
5026
|
+
// "modifyId": "484203544105344000",
|
|
5027
|
+
// "clientModifyId": null
|
|
5028
|
+
// }
|
|
5029
|
+
// }
|
|
5030
|
+
//
|
|
5031
|
+
}
|
|
5032
|
+
const result = (market['swap']) ? response : this.safeDict(response, 'result', {});
|
|
5033
|
+
return this.parseOrder(result, market);
|
|
5034
|
+
}
|
|
4911
5035
|
handleErrors(code, reason, url, method, headers, body, response, requestHeaders, requestBody) {
|
|
4912
5036
|
//
|
|
4913
5037
|
// spot: error
|
|
@@ -5012,7 +5136,10 @@ class xt extends xt$1 {
|
|
|
5012
5136
|
body['media'] = id;
|
|
5013
5137
|
}
|
|
5014
5138
|
}
|
|
5015
|
-
|
|
5139
|
+
let isUndefinedBody = ((method === 'GET') || (path === 'order/{orderId}') || (path === 'ws-token'));
|
|
5140
|
+
if ((method === 'PUT') && (endpoint === 'spot')) {
|
|
5141
|
+
isUndefinedBody = false;
|
|
5142
|
+
}
|
|
5016
5143
|
body = isUndefinedBody ? undefined : this.json(body);
|
|
5017
5144
|
let payloadString = undefined;
|
|
5018
5145
|
if ((endpoint === 'spot') || (endpoint === 'user')) {
|
package/js/ccxt.d.ts
CHANGED
|
@@ -4,9 +4,9 @@ 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.
|
|
8
|
-
import ace from './src/ace.js';
|
|
7
|
+
declare const version = "4.4.77";
|
|
9
8
|
import alpaca from './src/alpaca.js';
|
|
9
|
+
import apex from './src/apex.js';
|
|
10
10
|
import ascendex from './src/ascendex.js';
|
|
11
11
|
import bequant from './src/bequant.js';
|
|
12
12
|
import bigone from './src/bigone.js';
|
|
@@ -113,6 +113,7 @@ import yobit from './src/yobit.js';
|
|
|
113
113
|
import zaif from './src/zaif.js';
|
|
114
114
|
import zonda from './src/zonda.js';
|
|
115
115
|
import alpacaPro from './src/pro/alpaca.js';
|
|
116
|
+
import apexPro from './src/pro/apex.js';
|
|
116
117
|
import ascendexPro from './src/pro/ascendex.js';
|
|
117
118
|
import bequantPro from './src/pro/bequant.js';
|
|
118
119
|
import binancePro from './src/pro/binance.js';
|
|
@@ -176,6 +177,7 @@ import paradexPro from './src/pro/paradex.js';
|
|
|
176
177
|
import phemexPro from './src/pro/phemex.js';
|
|
177
178
|
import poloniexPro from './src/pro/poloniex.js';
|
|
178
179
|
import probitPro from './src/pro/probit.js';
|
|
180
|
+
import tradeogrePro from './src/pro/tradeogre.js';
|
|
179
181
|
import upbitPro from './src/pro/upbit.js';
|
|
180
182
|
import vertexPro from './src/pro/vertex.js';
|
|
181
183
|
import whitebitPro from './src/pro/whitebit.js';
|
|
@@ -183,8 +185,8 @@ import wooPro from './src/pro/woo.js';
|
|
|
183
185
|
import woofiproPro from './src/pro/woofipro.js';
|
|
184
186
|
import xtPro from './src/pro/xt.js';
|
|
185
187
|
declare const exchanges: {
|
|
186
|
-
ace: typeof ace;
|
|
187
188
|
alpaca: typeof alpaca;
|
|
189
|
+
apex: typeof apex;
|
|
188
190
|
ascendex: typeof ascendex;
|
|
189
191
|
bequant: typeof bequant;
|
|
190
192
|
bigone: typeof bigone;
|
|
@@ -293,6 +295,7 @@ declare const exchanges: {
|
|
|
293
295
|
};
|
|
294
296
|
declare const pro: {
|
|
295
297
|
alpaca: typeof alpacaPro;
|
|
298
|
+
apex: typeof apexPro;
|
|
296
299
|
ascendex: typeof ascendexPro;
|
|
297
300
|
bequant: typeof bequantPro;
|
|
298
301
|
binance: typeof binancePro;
|
|
@@ -356,6 +359,7 @@ declare const pro: {
|
|
|
356
359
|
phemex: typeof phemexPro;
|
|
357
360
|
poloniex: typeof poloniexPro;
|
|
358
361
|
probit: typeof probitPro;
|
|
362
|
+
tradeogre: typeof tradeogrePro;
|
|
359
363
|
upbit: typeof upbitPro;
|
|
360
364
|
vertex: typeof vertexPro;
|
|
361
365
|
whitebit: typeof whitebitPro;
|
|
@@ -370,6 +374,7 @@ declare const ccxt: {
|
|
|
370
374
|
exchanges: string[];
|
|
371
375
|
pro: {
|
|
372
376
|
alpaca: typeof alpacaPro;
|
|
377
|
+
apex: typeof apexPro;
|
|
373
378
|
ascendex: typeof ascendexPro;
|
|
374
379
|
bequant: typeof bequantPro;
|
|
375
380
|
binance: typeof binancePro;
|
|
@@ -433,6 +438,7 @@ declare const ccxt: {
|
|
|
433
438
|
phemex: typeof phemexPro;
|
|
434
439
|
poloniex: typeof poloniexPro;
|
|
435
440
|
probit: typeof probitPro;
|
|
441
|
+
tradeogre: typeof tradeogrePro;
|
|
436
442
|
upbit: typeof upbitPro;
|
|
437
443
|
vertex: typeof vertexPro;
|
|
438
444
|
whitebit: typeof whitebitPro;
|
|
@@ -441,8 +447,8 @@ declare const ccxt: {
|
|
|
441
447
|
xt: typeof xtPro;
|
|
442
448
|
};
|
|
443
449
|
} & {
|
|
444
|
-
ace: typeof ace;
|
|
445
450
|
alpaca: typeof alpaca;
|
|
451
|
+
apex: typeof apex;
|
|
446
452
|
ascendex: typeof ascendex;
|
|
447
453
|
bequant: typeof bequant;
|
|
448
454
|
bigone: typeof bigone;
|
|
@@ -549,5 +555,5 @@ declare const ccxt: {
|
|
|
549
555
|
zaif: typeof zaif;
|
|
550
556
|
zonda: typeof zonda;
|
|
551
557
|
} & typeof functions & typeof errors;
|
|
552
|
-
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,
|
|
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, bitvavo, bl3p, 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, huobijp, hyperliquid, idex, independentreserve, indodax, kraken, krakenfutures, kucoin, kucoinfutures, kuna, 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, };
|
|
553
559
|
export default ccxt;
|
package/js/ccxt.js
CHANGED
|
@@ -38,11 +38,11 @@ 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.77';
|
|
42
42
|
Exchange.ccxtVersion = version;
|
|
43
43
|
//-----------------------------------------------------------------------------
|
|
44
|
-
import ace from './src/ace.js';
|
|
45
44
|
import alpaca from './src/alpaca.js';
|
|
45
|
+
import apex from './src/apex.js';
|
|
46
46
|
import ascendex from './src/ascendex.js';
|
|
47
47
|
import bequant from './src/bequant.js';
|
|
48
48
|
import bigone from './src/bigone.js';
|
|
@@ -150,6 +150,7 @@ import zaif from './src/zaif.js';
|
|
|
150
150
|
import zonda from './src/zonda.js';
|
|
151
151
|
// pro exchanges
|
|
152
152
|
import alpacaPro from './src/pro/alpaca.js';
|
|
153
|
+
import apexPro from './src/pro/apex.js';
|
|
153
154
|
import ascendexPro from './src/pro/ascendex.js';
|
|
154
155
|
import bequantPro from './src/pro/bequant.js';
|
|
155
156
|
import binancePro from './src/pro/binance.js';
|
|
@@ -213,6 +214,7 @@ import paradexPro from './src/pro/paradex.js';
|
|
|
213
214
|
import phemexPro from './src/pro/phemex.js';
|
|
214
215
|
import poloniexPro from './src/pro/poloniex.js';
|
|
215
216
|
import probitPro from './src/pro/probit.js';
|
|
217
|
+
import tradeogrePro from './src/pro/tradeogre.js';
|
|
216
218
|
import upbitPro from './src/pro/upbit.js';
|
|
217
219
|
import vertexPro from './src/pro/vertex.js';
|
|
218
220
|
import whitebitPro from './src/pro/whitebit.js';
|
|
@@ -220,8 +222,8 @@ import wooPro from './src/pro/woo.js';
|
|
|
220
222
|
import woofiproPro from './src/pro/woofipro.js';
|
|
221
223
|
import xtPro from './src/pro/xt.js';
|
|
222
224
|
const exchanges = {
|
|
223
|
-
'ace': ace,
|
|
224
225
|
'alpaca': alpaca,
|
|
226
|
+
'apex': apex,
|
|
225
227
|
'ascendex': ascendex,
|
|
226
228
|
'bequant': bequant,
|
|
227
229
|
'bigone': bigone,
|
|
@@ -330,6 +332,7 @@ const exchanges = {
|
|
|
330
332
|
};
|
|
331
333
|
const pro = {
|
|
332
334
|
'alpaca': alpacaPro,
|
|
335
|
+
'apex': apexPro,
|
|
333
336
|
'ascendex': ascendexPro,
|
|
334
337
|
'bequant': bequantPro,
|
|
335
338
|
'binance': binancePro,
|
|
@@ -393,6 +396,7 @@ const pro = {
|
|
|
393
396
|
'phemex': phemexPro,
|
|
394
397
|
'poloniex': poloniexPro,
|
|
395
398
|
'probit': probitPro,
|
|
399
|
+
'tradeogre': tradeogrePro,
|
|
396
400
|
'upbit': upbitPro,
|
|
397
401
|
'vertex': vertexPro,
|
|
398
402
|
'whitebit': whitebitPro,
|
|
@@ -412,6 +416,6 @@ pro.exchanges = Object.keys(pro);
|
|
|
412
416
|
pro['Exchange'] = Exchange; // now the same for rest and ts
|
|
413
417
|
//-----------------------------------------------------------------------------
|
|
414
418
|
const ccxt = Object.assign({ version, Exchange, Precise, 'exchanges': Object.keys(exchanges), 'pro': pro }, exchanges, functions, errors);
|
|
415
|
-
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,
|
|
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, bitvavo, bl3p, 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, huobijp, hyperliquid, idex, independentreserve, indodax, kraken, krakenfutures, kucoin, kucoinfutures, kuna, 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, };
|
|
416
420
|
export default ccxt;
|
|
417
421
|
//-----------------------------------------------------------------------------
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { implicitReturnType } from '../base/types.js';
|
|
2
|
+
import { Exchange as _Exchange } from '../base/Exchange.js';
|
|
3
|
+
interface Exchange {
|
|
4
|
+
publicGetV3Symbols(params?: {}): Promise<implicitReturnType>;
|
|
5
|
+
publicGetV3HistoryFunding(params?: {}): Promise<implicitReturnType>;
|
|
6
|
+
publicGetV3Ticker(params?: {}): Promise<implicitReturnType>;
|
|
7
|
+
publicGetV3Klines(params?: {}): Promise<implicitReturnType>;
|
|
8
|
+
publicGetV3Trades(params?: {}): Promise<implicitReturnType>;
|
|
9
|
+
publicGetV3Depth(params?: {}): Promise<implicitReturnType>;
|
|
10
|
+
publicGetV3Time(params?: {}): Promise<implicitReturnType>;
|
|
11
|
+
publicGetV3DataAllTickerInfo(params?: {}): Promise<implicitReturnType>;
|
|
12
|
+
privateGetV3Account(params?: {}): Promise<implicitReturnType>;
|
|
13
|
+
privateGetV3AccountBalance(params?: {}): Promise<implicitReturnType>;
|
|
14
|
+
privateGetV3Fills(params?: {}): Promise<implicitReturnType>;
|
|
15
|
+
privateGetV3OrderFills(params?: {}): Promise<implicitReturnType>;
|
|
16
|
+
privateGetV3Order(params?: {}): Promise<implicitReturnType>;
|
|
17
|
+
privateGetV3HistoryOrders(params?: {}): Promise<implicitReturnType>;
|
|
18
|
+
privateGetV3OrderByClientOrderId(params?: {}): Promise<implicitReturnType>;
|
|
19
|
+
privateGetV3Funding(params?: {}): Promise<implicitReturnType>;
|
|
20
|
+
privateGetV3HistoricalPnl(params?: {}): Promise<implicitReturnType>;
|
|
21
|
+
privateGetV3OpenOrders(params?: {}): Promise<implicitReturnType>;
|
|
22
|
+
privateGetV3Transfers(params?: {}): Promise<implicitReturnType>;
|
|
23
|
+
privateGetV3Transfer(params?: {}): Promise<implicitReturnType>;
|
|
24
|
+
privatePostV3DeleteOpenOrders(params?: {}): Promise<implicitReturnType>;
|
|
25
|
+
privatePostV3DeleteClientOrderId(params?: {}): Promise<implicitReturnType>;
|
|
26
|
+
privatePostV3DeleteOrder(params?: {}): Promise<implicitReturnType>;
|
|
27
|
+
privatePostV3Order(params?: {}): Promise<implicitReturnType>;
|
|
28
|
+
privatePostV3SetInitialMarginRate(params?: {}): Promise<implicitReturnType>;
|
|
29
|
+
privatePostV3TransferOut(params?: {}): Promise<implicitReturnType>;
|
|
30
|
+
privatePostV3ContractTransferOut(params?: {}): Promise<implicitReturnType>;
|
|
31
|
+
}
|
|
32
|
+
declare abstract class Exchange extends _Exchange {
|
|
33
|
+
}
|
|
34
|
+
export default Exchange;
|
|
@@ -168,6 +168,7 @@ interface okx {
|
|
|
168
168
|
privateGetAssetSubaccountManagedSubaccountBills(params?: {}): Promise<implicitReturnType>;
|
|
169
169
|
privateGetUsersEntrustSubaccountList(params?: {}): Promise<implicitReturnType>;
|
|
170
170
|
privateGetAccountSubaccountInterestLimits(params?: {}): Promise<implicitReturnType>;
|
|
171
|
+
privateGetUsersSubaccountApikey(params?: {}): Promise<implicitReturnType>;
|
|
171
172
|
privateGetTradingBotGridOrdersAlgoPending(params?: {}): Promise<implicitReturnType>;
|
|
172
173
|
privateGetTradingBotGridOrdersAlgoHistory(params?: {}): Promise<implicitReturnType>;
|
|
173
174
|
privateGetTradingBotGridOrdersAlgoDetails(params?: {}): Promise<implicitReturnType>;
|
|
@@ -286,6 +287,9 @@ interface okx {
|
|
|
286
287
|
privatePostAssetSubaccountTransfer(params?: {}): Promise<implicitReturnType>;
|
|
287
288
|
privatePostUsersSubaccountSetTransferOut(params?: {}): Promise<implicitReturnType>;
|
|
288
289
|
privatePostAccountSubaccountSetLoanAllocation(params?: {}): Promise<implicitReturnType>;
|
|
290
|
+
privatePostUsersSubaccountCreateSubaccount(params?: {}): Promise<implicitReturnType>;
|
|
291
|
+
privatePostUsersSubaccountSubaccountApikey(params?: {}): Promise<implicitReturnType>;
|
|
292
|
+
privatePostUsersSubaccountDeleteApikey(params?: {}): Promise<implicitReturnType>;
|
|
289
293
|
privatePostTradingBotGridOrderAlgo(params?: {}): Promise<implicitReturnType>;
|
|
290
294
|
privatePostTradingBotGridAmendOrderAlgo(params?: {}): Promise<implicitReturnType>;
|
|
291
295
|
privatePostTradingBotGridStopOrderAlgo(params?: {}): Promise<implicitReturnType>;
|
package/js/src/abstract/okx.d.ts
CHANGED
|
@@ -168,6 +168,7 @@ interface Exchange {
|
|
|
168
168
|
privateGetAssetSubaccountManagedSubaccountBills(params?: {}): Promise<implicitReturnType>;
|
|
169
169
|
privateGetUsersEntrustSubaccountList(params?: {}): Promise<implicitReturnType>;
|
|
170
170
|
privateGetAccountSubaccountInterestLimits(params?: {}): Promise<implicitReturnType>;
|
|
171
|
+
privateGetUsersSubaccountApikey(params?: {}): Promise<implicitReturnType>;
|
|
171
172
|
privateGetTradingBotGridOrdersAlgoPending(params?: {}): Promise<implicitReturnType>;
|
|
172
173
|
privateGetTradingBotGridOrdersAlgoHistory(params?: {}): Promise<implicitReturnType>;
|
|
173
174
|
privateGetTradingBotGridOrdersAlgoDetails(params?: {}): Promise<implicitReturnType>;
|
|
@@ -286,6 +287,9 @@ interface Exchange {
|
|
|
286
287
|
privatePostAssetSubaccountTransfer(params?: {}): Promise<implicitReturnType>;
|
|
287
288
|
privatePostUsersSubaccountSetTransferOut(params?: {}): Promise<implicitReturnType>;
|
|
288
289
|
privatePostAccountSubaccountSetLoanAllocation(params?: {}): Promise<implicitReturnType>;
|
|
290
|
+
privatePostUsersSubaccountCreateSubaccount(params?: {}): Promise<implicitReturnType>;
|
|
291
|
+
privatePostUsersSubaccountSubaccountApikey(params?: {}): Promise<implicitReturnType>;
|
|
292
|
+
privatePostUsersSubaccountDeleteApikey(params?: {}): Promise<implicitReturnType>;
|
|
289
293
|
privatePostTradingBotGridOrderAlgo(params?: {}): Promise<implicitReturnType>;
|
|
290
294
|
privatePostTradingBotGridAmendOrderAlgo(params?: {}): Promise<implicitReturnType>;
|
|
291
295
|
privatePostTradingBotGridStopOrderAlgo(params?: {}): Promise<implicitReturnType>;
|
|
@@ -4,6 +4,7 @@ interface Exchange {
|
|
|
4
4
|
publicGetMarketAll(params?: {}): Promise<implicitReturnType>;
|
|
5
5
|
publicGetCandlesTimeframe(params?: {}): Promise<implicitReturnType>;
|
|
6
6
|
publicGetCandlesTimeframeUnit(params?: {}): Promise<implicitReturnType>;
|
|
7
|
+
publicGetCandlesSeconds(params?: {}): Promise<implicitReturnType>;
|
|
7
8
|
publicGetCandlesMinutesUnit(params?: {}): Promise<implicitReturnType>;
|
|
8
9
|
publicGetCandlesMinutes1(params?: {}): Promise<implicitReturnType>;
|
|
9
10
|
publicGetCandlesMinutes3(params?: {}): Promise<implicitReturnType>;
|
|
@@ -16,28 +17,41 @@ interface Exchange {
|
|
|
16
17
|
publicGetCandlesDays(params?: {}): Promise<implicitReturnType>;
|
|
17
18
|
publicGetCandlesWeeks(params?: {}): Promise<implicitReturnType>;
|
|
18
19
|
publicGetCandlesMonths(params?: {}): Promise<implicitReturnType>;
|
|
20
|
+
publicGetCandlesYears(params?: {}): Promise<implicitReturnType>;
|
|
19
21
|
publicGetTradesTicks(params?: {}): Promise<implicitReturnType>;
|
|
20
22
|
publicGetTicker(params?: {}): Promise<implicitReturnType>;
|
|
23
|
+
publicGetTickerAll(params?: {}): Promise<implicitReturnType>;
|
|
21
24
|
publicGetOrderbook(params?: {}): Promise<implicitReturnType>;
|
|
25
|
+
publicGetOrderbookSupportedLevels(params?: {}): Promise<implicitReturnType>;
|
|
22
26
|
privateGetAccounts(params?: {}): Promise<implicitReturnType>;
|
|
23
27
|
privateGetOrdersChance(params?: {}): Promise<implicitReturnType>;
|
|
24
28
|
privateGetOrder(params?: {}): Promise<implicitReturnType>;
|
|
25
|
-
privateGetOrders(params?: {}): Promise<implicitReturnType>;
|
|
26
29
|
privateGetOrdersClosed(params?: {}): Promise<implicitReturnType>;
|
|
27
30
|
privateGetOrdersOpen(params?: {}): Promise<implicitReturnType>;
|
|
28
31
|
privateGetOrdersUuids(params?: {}): Promise<implicitReturnType>;
|
|
29
32
|
privateGetWithdraws(params?: {}): Promise<implicitReturnType>;
|
|
30
33
|
privateGetWithdraw(params?: {}): Promise<implicitReturnType>;
|
|
31
34
|
privateGetWithdrawsChance(params?: {}): Promise<implicitReturnType>;
|
|
35
|
+
privateGetWithdrawsCoinAddresses(params?: {}): Promise<implicitReturnType>;
|
|
32
36
|
privateGetDeposits(params?: {}): Promise<implicitReturnType>;
|
|
37
|
+
privateGetDepositsChanceCoin(params?: {}): Promise<implicitReturnType>;
|
|
33
38
|
privateGetDeposit(params?: {}): Promise<implicitReturnType>;
|
|
34
39
|
privateGetDepositsCoinAddresses(params?: {}): Promise<implicitReturnType>;
|
|
35
40
|
privateGetDepositsCoinAddress(params?: {}): Promise<implicitReturnType>;
|
|
41
|
+
privateGetTravelRuleVasps(params?: {}): Promise<implicitReturnType>;
|
|
42
|
+
privateGetStatusWallet(params?: {}): Promise<implicitReturnType>;
|
|
43
|
+
privateGetApiKeys(params?: {}): Promise<implicitReturnType>;
|
|
36
44
|
privatePostOrders(params?: {}): Promise<implicitReturnType>;
|
|
45
|
+
privatePostOrdersCancelAndNew(params?: {}): Promise<implicitReturnType>;
|
|
37
46
|
privatePostWithdrawsCoin(params?: {}): Promise<implicitReturnType>;
|
|
38
47
|
privatePostWithdrawsKrw(params?: {}): Promise<implicitReturnType>;
|
|
48
|
+
privatePostDepositsKrw(params?: {}): Promise<implicitReturnType>;
|
|
39
49
|
privatePostDepositsGenerateCoinAddress(params?: {}): Promise<implicitReturnType>;
|
|
50
|
+
privatePostTravelRuleDepositUuid(params?: {}): Promise<implicitReturnType>;
|
|
51
|
+
privatePostTravelRuleDepositTxid(params?: {}): Promise<implicitReturnType>;
|
|
40
52
|
privateDeleteOrder(params?: {}): Promise<implicitReturnType>;
|
|
53
|
+
privateDeleteOrdersOpen(params?: {}): Promise<implicitReturnType>;
|
|
54
|
+
privateDeleteOrdersUuids(params?: {}): Promise<implicitReturnType>;
|
|
41
55
|
}
|
|
42
56
|
declare abstract class Exchange extends _Exchange {
|
|
43
57
|
}
|
package/js/src/abstract/xt.d.ts
CHANGED
|
@@ -72,6 +72,7 @@ interface Exchange {
|
|
|
72
72
|
privateSpotDeleteBatchOrder(params?: {}): Promise<implicitReturnType>;
|
|
73
73
|
privateSpotDeleteOpenOrder(params?: {}): Promise<implicitReturnType>;
|
|
74
74
|
privateSpotDeleteOrderOrderId(params?: {}): Promise<implicitReturnType>;
|
|
75
|
+
privateSpotPutOrderOrderId(params?: {}): Promise<implicitReturnType>;
|
|
75
76
|
privateLinearGetFutureTradeV1EntrustPlanDetail(params?: {}): Promise<implicitReturnType>;
|
|
76
77
|
privateLinearGetFutureTradeV1EntrustPlanList(params?: {}): Promise<implicitReturnType>;
|
|
77
78
|
privateLinearGetFutureTradeV1EntrustPlanListHistory(params?: {}): Promise<implicitReturnType>;
|
|
@@ -101,6 +102,7 @@ interface Exchange {
|
|
|
101
102
|
privateLinearPostFutureTradeV1OrderCancelAll(params?: {}): Promise<implicitReturnType>;
|
|
102
103
|
privateLinearPostFutureTradeV1OrderCreate(params?: {}): Promise<implicitReturnType>;
|
|
103
104
|
privateLinearPostFutureTradeV1OrderCreateBatch(params?: {}): Promise<implicitReturnType>;
|
|
105
|
+
privateLinearPostFutureTradeV1OrderUpdate(params?: {}): Promise<implicitReturnType>;
|
|
104
106
|
privateLinearPostFutureUserV1AccountOpen(params?: {}): Promise<implicitReturnType>;
|
|
105
107
|
privateLinearPostFutureUserV1PositionAdjustLeverage(params?: {}): Promise<implicitReturnType>;
|
|
106
108
|
privateLinearPostFutureUserV1PositionAutoMargin(params?: {}): Promise<implicitReturnType>;
|
|
@@ -138,6 +140,7 @@ interface Exchange {
|
|
|
138
140
|
privateInversePostFutureTradeV1OrderCancelAll(params?: {}): Promise<implicitReturnType>;
|
|
139
141
|
privateInversePostFutureTradeV1OrderCreate(params?: {}): Promise<implicitReturnType>;
|
|
140
142
|
privateInversePostFutureTradeV1OrderCreateBatch(params?: {}): Promise<implicitReturnType>;
|
|
143
|
+
privateInversePostFutureTradeV1OrderUpdate(params?: {}): Promise<implicitReturnType>;
|
|
141
144
|
privateInversePostFutureUserV1AccountOpen(params?: {}): Promise<implicitReturnType>;
|
|
142
145
|
privateInversePostFutureUserV1PositionAdjustLeverage(params?: {}): Promise<implicitReturnType>;
|
|
143
146
|
privateInversePostFutureUserV1PositionAutoMargin(params?: {}): Promise<implicitReturnType>;
|