ccxt 4.3.60 → 4.3.62
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 +3 -3
- package/dist/cjs/ccxt.js +1 -1
- package/dist/cjs/src/binance.js +44 -34
- package/dist/cjs/src/bingx.js +41 -33
- package/dist/cjs/src/bybit.js +11 -1
- package/dist/cjs/src/hyperliquid.js +10 -2
- package/dist/cjs/src/mexc.js +2 -1
- package/dist/cjs/src/pro/alpaca.js +3 -3
- package/dist/cjs/src/pro/binance.js +2 -4
- package/dist/cjs/src/pro/bingx.js +2 -2
- package/dist/cjs/src/pro/bitfinex2.js +2 -2
- package/dist/cjs/src/pro/bitget.js +1 -1
- package/dist/cjs/src/pro/bitmex.js +1 -1
- package/dist/cjs/src/pro/bitopro.js +1 -1
- package/dist/cjs/src/pro/bybit.js +5 -5
- package/dist/cjs/src/pro/coinbaseexchange.js +2 -2
- package/dist/cjs/src/pro/coincheck.js +1 -1
- package/dist/cjs/src/pro/coinone.js +1 -1
- package/dist/cjs/src/pro/cryptocom.js +1 -1
- package/dist/cjs/src/pro/deribit.js +1 -1
- package/dist/cjs/src/pro/gate.js +2 -2
- package/dist/cjs/src/pro/hollaex.js +1 -1
- package/dist/cjs/src/pro/htx.js +1 -1
- package/dist/cjs/src/pro/hyperliquid.js +3 -3
- package/dist/cjs/src/pro/kraken.js +1 -1
- package/dist/cjs/src/pro/kucoin.js +3 -4
- package/dist/cjs/src/pro/mexc.js +1 -1
- package/dist/cjs/src/pro/okx.js +1 -1
- package/dist/cjs/src/pro/oxfun.js +1 -1
- package/dist/cjs/src/pro/phemex.js +1 -1
- package/dist/cjs/src/pro/upbit.js +1 -1
- package/dist/cjs/src/pro/vertex.js +2 -2
- package/dist/cjs/src/pro/whitebit.js +1 -1
- package/dist/cjs/src/pro/woo.js +1 -1
- package/dist/cjs/src/tradeogre.js +1 -1
- package/dist/cjs/src/vertex.js +10 -1
- package/dist/cjs/src/xt.js +1 -1
- package/js/ccxt.d.ts +1 -1
- package/js/ccxt.js +1 -1
- package/js/src/base/ws/Client.d.ts +1 -1
- package/js/src/binance.js +44 -34
- package/js/src/bingx.js +41 -33
- package/js/src/bybit.js +11 -1
- package/js/src/hyperliquid.js +10 -2
- package/js/src/mexc.js +2 -1
- package/js/src/pro/alpaca.js +3 -3
- package/js/src/pro/binance.js +2 -4
- package/js/src/pro/bingx.js +2 -2
- package/js/src/pro/bitfinex2.js +2 -2
- package/js/src/pro/bitget.js +1 -1
- package/js/src/pro/bitmex.js +1 -1
- package/js/src/pro/bitopro.js +1 -1
- package/js/src/pro/bybit.js +5 -5
- package/js/src/pro/coinbaseexchange.js +2 -2
- package/js/src/pro/coincheck.js +1 -1
- package/js/src/pro/coinone.js +1 -1
- package/js/src/pro/cryptocom.js +1 -1
- package/js/src/pro/deribit.js +1 -1
- package/js/src/pro/gate.js +2 -2
- package/js/src/pro/hollaex.js +1 -1
- package/js/src/pro/htx.js +1 -1
- package/js/src/pro/hyperliquid.js +3 -3
- package/js/src/pro/kraken.js +1 -1
- package/js/src/pro/kucoin.js +3 -4
- package/js/src/pro/mexc.js +1 -1
- package/js/src/pro/okx.js +1 -1
- package/js/src/pro/oxfun.js +1 -1
- package/js/src/pro/phemex.js +1 -1
- package/js/src/pro/upbit.js +1 -1
- package/js/src/pro/vertex.js +2 -2
- package/js/src/pro/whitebit.js +1 -1
- package/js/src/pro/woo.js +1 -1
- package/js/src/tradeogre.js +1 -1
- package/js/src/vertex.js +10 -1
- package/js/src/xt.js +1 -1
- package/package.json +1 -1
package/js/src/pro/bybit.js
CHANGED
|
@@ -763,7 +763,7 @@ export default class bybit extends bybitRest {
|
|
|
763
763
|
* @param {int} [since] the earliest time in ms to fetch trades for
|
|
764
764
|
* @param {int} [limit] the maximum number of trade structures to retrieve
|
|
765
765
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
766
|
-
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure
|
|
766
|
+
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
|
|
767
767
|
*/
|
|
768
768
|
return await this.watchTradesForSymbols([symbol], since, limit, params);
|
|
769
769
|
}
|
|
@@ -940,7 +940,7 @@ export default class bybit extends bybitRest {
|
|
|
940
940
|
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
941
941
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
942
942
|
* @param {boolean} [params.unifiedMargin] use unified margin account
|
|
943
|
-
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure
|
|
943
|
+
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
944
944
|
*/
|
|
945
945
|
const method = 'watchMyTrades';
|
|
946
946
|
let messageHash = 'myTrades';
|
|
@@ -1257,7 +1257,7 @@ export default class bybit extends bybitRest {
|
|
|
1257
1257
|
const rawLiquidation = this.safeDict(message, 'data', {});
|
|
1258
1258
|
const marketId = this.safeString(rawLiquidation, 'symbol');
|
|
1259
1259
|
const market = this.safeMarket(marketId, undefined, '', 'contract');
|
|
1260
|
-
const symbol =
|
|
1260
|
+
const symbol = market['symbol'];
|
|
1261
1261
|
const liquidation = this.parseWsLiquidation(rawLiquidation, market);
|
|
1262
1262
|
let liquidations = this.safeValue(this.liquidations, symbol);
|
|
1263
1263
|
if (liquidations === undefined) {
|
|
@@ -1284,7 +1284,7 @@ export default class bybit extends bybitRest {
|
|
|
1284
1284
|
const timestamp = this.safeInteger(liquidation, 'updatedTime');
|
|
1285
1285
|
return this.safeLiquidation({
|
|
1286
1286
|
'info': liquidation,
|
|
1287
|
-
'symbol':
|
|
1287
|
+
'symbol': market['symbol'],
|
|
1288
1288
|
'contracts': this.safeNumber(liquidation, 'size'),
|
|
1289
1289
|
'contractSize': this.safeNumber(market, 'contractSize'),
|
|
1290
1290
|
'price': this.safeNumber(liquidation, 'price'),
|
|
@@ -1304,7 +1304,7 @@ export default class bybit extends bybitRest {
|
|
|
1304
1304
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
1305
1305
|
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
1306
1306
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1307
|
-
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure
|
|
1307
|
+
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
1308
1308
|
*/
|
|
1309
1309
|
await this.loadMarkets();
|
|
1310
1310
|
const method = 'watchOrders';
|
|
@@ -201,7 +201,7 @@ export default class coinbaseexchange extends coinbaseexchangeRest {
|
|
|
201
201
|
* @param {int} [since] the earliest time in ms to fetch trades for
|
|
202
202
|
* @param {int} [limit] the maximum number of trade structures to retrieve
|
|
203
203
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
204
|
-
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure
|
|
204
|
+
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
|
|
205
205
|
*/
|
|
206
206
|
if (symbol === undefined) {
|
|
207
207
|
throw new ArgumentsRequired(this.id + ' watchMyTrades() requires a symbol argument');
|
|
@@ -226,7 +226,7 @@ export default class coinbaseexchange extends coinbaseexchangeRest {
|
|
|
226
226
|
* @param {int} [since] the earliest time in ms to fetch trades for
|
|
227
227
|
* @param {int} [limit] the maximum number of trade structures to retrieve
|
|
228
228
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
229
|
-
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure
|
|
229
|
+
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
|
|
230
230
|
*/
|
|
231
231
|
symbols = this.marketSymbols(symbols, undefined, false);
|
|
232
232
|
await this.loadMarkets();
|
package/js/src/pro/coincheck.js
CHANGED
|
@@ -114,7 +114,7 @@ export default class coincheck extends coincheckRest {
|
|
|
114
114
|
* @param {int} [since] the earliest time in ms to fetch trades for
|
|
115
115
|
* @param {int} [limit] the maximum number of trade structures to retrieve
|
|
116
116
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
117
|
-
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure
|
|
117
|
+
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
|
|
118
118
|
*/
|
|
119
119
|
await this.loadMarkets();
|
|
120
120
|
const market = this.market(symbol);
|
package/js/src/pro/coinone.js
CHANGED
|
@@ -257,7 +257,7 @@ export default class coinone extends coinoneRest {
|
|
|
257
257
|
* @param {int} [since] the earliest time in ms to fetch trades for
|
|
258
258
|
* @param {int} [limit] the maximum number of trade structures to retrieve
|
|
259
259
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
260
|
-
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure
|
|
260
|
+
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
|
|
261
261
|
*/
|
|
262
262
|
await this.loadMarkets();
|
|
263
263
|
const market = this.market(symbol);
|
package/js/src/pro/cryptocom.js
CHANGED
|
@@ -330,7 +330,7 @@ export default class cryptocom extends cryptocomRest {
|
|
|
330
330
|
* @param {int} [since] the earliest time in ms to fetch trades for
|
|
331
331
|
* @param {int} [limit] the maximum number of trade structures to retrieve
|
|
332
332
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
333
|
-
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure
|
|
333
|
+
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
|
|
334
334
|
*/
|
|
335
335
|
await this.loadMarkets();
|
|
336
336
|
let market = undefined;
|
package/js/src/pro/deribit.js
CHANGED
|
@@ -566,7 +566,7 @@ export default class deribit extends deribitRest {
|
|
|
566
566
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
567
567
|
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
568
568
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
569
|
-
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure
|
|
569
|
+
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
570
570
|
*/
|
|
571
571
|
await this.loadMarkets();
|
|
572
572
|
await this.authenticate(params);
|
package/js/src/pro/gate.js
CHANGED
|
@@ -845,7 +845,7 @@ export default class gate extends gateRest {
|
|
|
845
845
|
* @param {int} [since] the earliest time in ms to fetch trades for
|
|
846
846
|
* @param {int} [limit] the maximum number of trade structures to retrieve
|
|
847
847
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
848
|
-
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure
|
|
848
|
+
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
|
|
849
849
|
*/
|
|
850
850
|
await this.loadMarkets();
|
|
851
851
|
let subType = undefined;
|
|
@@ -1193,7 +1193,7 @@ export default class gate extends gateRest {
|
|
|
1193
1193
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1194
1194
|
* @param {string} [params.type] spot, margin, swap, future, or option. Required if listening to all symbols.
|
|
1195
1195
|
* @param {boolean} [params.isInverse] if future, listen to inverse or linear contracts
|
|
1196
|
-
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure
|
|
1196
|
+
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
1197
1197
|
*/
|
|
1198
1198
|
await this.loadMarkets();
|
|
1199
1199
|
let market = undefined;
|
package/js/src/pro/hollaex.js
CHANGED
|
@@ -176,7 +176,7 @@ export default class hollaex extends hollaexRest {
|
|
|
176
176
|
* @param {int} [since] the earliest time in ms to fetch trades for
|
|
177
177
|
* @param {int} [limit] the maximum number of trade structures to retrieve
|
|
178
178
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
179
|
-
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure
|
|
179
|
+
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
|
|
180
180
|
*/
|
|
181
181
|
await this.loadMarkets();
|
|
182
182
|
let messageHash = 'usertrade';
|
package/js/src/pro/htx.js
CHANGED
|
@@ -671,7 +671,7 @@ export default class htx extends htxRest {
|
|
|
671
671
|
* @param {int} [since] the earliest time in ms to fetch trades for
|
|
672
672
|
* @param {int} [limit] the maximum number of trade structures to retrieve
|
|
673
673
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
674
|
-
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure
|
|
674
|
+
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
|
|
675
675
|
*/
|
|
676
676
|
this.checkRequiredCredentials();
|
|
677
677
|
await this.loadMarkets();
|
|
@@ -131,7 +131,7 @@ export default class hyperliquid extends hyperliquidRest {
|
|
|
131
131
|
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
132
132
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
133
133
|
* @param {string} [params.user] user address, will default to this.walletAddress if not provided
|
|
134
|
-
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure
|
|
134
|
+
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
135
135
|
*/
|
|
136
136
|
let userAddress = undefined;
|
|
137
137
|
[userAddress, params] = this.handlePublicAddress('watchMyTrades', params);
|
|
@@ -222,7 +222,7 @@ export default class hyperliquid extends hyperliquidRest {
|
|
|
222
222
|
* @param {int} [since] the earliest time in ms to fetch trades for
|
|
223
223
|
* @param {int} [limit] the maximum number of trade structures to retrieve
|
|
224
224
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
225
|
-
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure
|
|
225
|
+
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
|
|
226
226
|
*/
|
|
227
227
|
await this.loadMarkets();
|
|
228
228
|
const market = this.market(symbol);
|
|
@@ -422,7 +422,7 @@ export default class hyperliquid extends hyperliquidRest {
|
|
|
422
422
|
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
423
423
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
424
424
|
* @param {string} [params.user] user address, will default to this.walletAddress if not provided
|
|
425
|
-
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure
|
|
425
|
+
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
426
426
|
*/
|
|
427
427
|
await this.loadMarkets();
|
|
428
428
|
let userAddress = undefined;
|
package/js/src/pro/kraken.js
CHANGED
|
@@ -884,7 +884,7 @@ export default class kraken extends krakenRest {
|
|
|
884
884
|
* @param {int} [since] the earliest time in ms to fetch trades for
|
|
885
885
|
* @param {int} [limit] the maximum number of trade structures to retrieve
|
|
886
886
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
887
|
-
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure
|
|
887
|
+
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
|
|
888
888
|
*/
|
|
889
889
|
return await this.watchPrivate('ownTrades', symbol, since, limit, params);
|
|
890
890
|
}
|
package/js/src/pro/kucoin.js
CHANGED
|
@@ -990,13 +990,12 @@ export default class kucoin extends kucoinRest {
|
|
|
990
990
|
* @param {int} [limit] the maximum number of trade structures to retrieve
|
|
991
991
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
992
992
|
* @param {string} [params.method] '/spotMarket/tradeOrders' or '/spot/tradeFills' default is '/spotMarket/tradeOrders'
|
|
993
|
-
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure
|
|
993
|
+
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
|
|
994
994
|
*/
|
|
995
995
|
await this.loadMarkets();
|
|
996
996
|
const url = await this.negotiate(true);
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
const topic = (defaultMethod !== undefined) ? defaultMethod : this.safeString(options, 'method');
|
|
997
|
+
let topic = undefined;
|
|
998
|
+
[topic, params] = this.handleOptionAndParams(params, 'watchMyTrades', 'method', '/spotMarket/tradeOrders');
|
|
1000
999
|
const request = {
|
|
1001
1000
|
'privateChannel': true,
|
|
1002
1001
|
};
|
package/js/src/pro/mexc.js
CHANGED
|
@@ -617,7 +617,7 @@ export default class mexc extends mexcRest {
|
|
|
617
617
|
* @param {int} [since] the earliest time in ms to fetch trades for
|
|
618
618
|
* @param {int} [limit] the maximum number of trade structures to retrieve
|
|
619
619
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
620
|
-
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure
|
|
620
|
+
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
|
|
621
621
|
*/
|
|
622
622
|
await this.loadMarkets();
|
|
623
623
|
let messageHash = 'myTrades';
|
package/js/src/pro/okx.js
CHANGED
|
@@ -1226,7 +1226,7 @@ export default class okx extends okxRest {
|
|
|
1226
1226
|
* @param {bool} [params.stop] true if fetching trigger or conditional trades
|
|
1227
1227
|
* @param {string} [params.type] 'spot', 'swap', 'future', 'option', 'ANY', 'SPOT', 'MARGIN', 'SWAP', 'FUTURES' or 'OPTION'
|
|
1228
1228
|
* @param {string} [params.marginMode] 'cross' or 'isolated', for automatically setting the type to spot margin
|
|
1229
|
-
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure
|
|
1229
|
+
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
|
|
1230
1230
|
*/
|
|
1231
1231
|
// By default, receive order updates from any instrument type
|
|
1232
1232
|
let type = undefined;
|
package/js/src/pro/oxfun.js
CHANGED
|
@@ -80,7 +80,7 @@ export default class oxfun extends oxfunRest {
|
|
|
80
80
|
* @param {int} [limit] the maximum number of trade structures to retrieve
|
|
81
81
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
82
82
|
* @param {int|string} [params.tag] If given it will be echoed in the reply and the max size of tag is 32
|
|
83
|
-
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure
|
|
83
|
+
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
|
|
84
84
|
*/
|
|
85
85
|
return await this.watchTradesForSymbols([symbol], since, limit, params);
|
|
86
86
|
}
|
package/js/src/pro/phemex.js
CHANGED
|
@@ -733,7 +733,7 @@ export default class phemex extends phemexRest {
|
|
|
733
733
|
* @param {int} [since] the earliest time in ms to fetch trades for
|
|
734
734
|
* @param {int} [limit] the maximum number of trade structures to retrieve
|
|
735
735
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
736
|
-
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure
|
|
736
|
+
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
|
|
737
737
|
*/
|
|
738
738
|
await this.loadMarkets();
|
|
739
739
|
let market = undefined;
|
package/js/src/pro/upbit.js
CHANGED
|
@@ -309,7 +309,7 @@ export default class upbit extends upbitRest {
|
|
|
309
309
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
310
310
|
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
311
311
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
312
|
-
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure
|
|
312
|
+
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
|
|
313
313
|
*/
|
|
314
314
|
await this.loadMarkets();
|
|
315
315
|
const channel = 'myOrder';
|
package/js/src/pro/vertex.js
CHANGED
|
@@ -87,7 +87,7 @@ export default class vertex extends vertexRest {
|
|
|
87
87
|
* @param {int} [since] the earliest time in ms to fetch trades for
|
|
88
88
|
* @param {int} [limit] the maximum number of trade structures to retrieve
|
|
89
89
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
90
|
-
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure
|
|
90
|
+
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
|
|
91
91
|
*/
|
|
92
92
|
await this.loadMarkets();
|
|
93
93
|
const market = this.market(symbol);
|
|
@@ -148,7 +148,7 @@ export default class vertex extends vertexRest {
|
|
|
148
148
|
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
149
149
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
150
150
|
* @param {string} [params.user] user address, will default to this.walletAddress if not provided
|
|
151
|
-
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure
|
|
151
|
+
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
152
152
|
*/
|
|
153
153
|
if (symbol === undefined) {
|
|
154
154
|
throw new ArgumentsRequired(this.id + ' watchMyTrades requires a symbol.');
|
package/js/src/pro/whitebit.js
CHANGED
|
@@ -478,7 +478,7 @@ export default class whitebit extends whitebitRest {
|
|
|
478
478
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
479
479
|
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
480
480
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
481
|
-
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure
|
|
481
|
+
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
482
482
|
*/
|
|
483
483
|
if (symbol === undefined) {
|
|
484
484
|
throw new ArgumentsRequired(this.id + ' watchOrders() requires a symbol argument');
|
package/js/src/pro/woo.js
CHANGED
|
@@ -379,7 +379,7 @@ export default class woo extends wooRest {
|
|
|
379
379
|
* @param {int} [since] the earliest time in ms to fetch trades for
|
|
380
380
|
* @param {int} [limit] the maximum number of trade structures to retrieve
|
|
381
381
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
382
|
-
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure
|
|
382
|
+
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
|
|
383
383
|
*/
|
|
384
384
|
await this.loadMarkets();
|
|
385
385
|
const market = this.market(symbol);
|
package/js/src/tradeogre.js
CHANGED
|
@@ -218,7 +218,7 @@ export default class tradeogre extends Exchange {
|
|
|
218
218
|
'inverse': undefined,
|
|
219
219
|
'contractSize': undefined,
|
|
220
220
|
'taker': this.fees['trading']['taker'],
|
|
221
|
-
'maker': this.fees['trading']['
|
|
221
|
+
'maker': this.fees['trading']['maker'],
|
|
222
222
|
'expiry': undefined,
|
|
223
223
|
'expiryDatetime': undefined,
|
|
224
224
|
'strike': undefined,
|
package/js/src/vertex.js
CHANGED
|
@@ -399,7 +399,16 @@ export default class vertex extends Exchange {
|
|
|
399
399
|
'withdraw': this.safeBool(data, 'can_withdraw'),
|
|
400
400
|
'networks': undefined,
|
|
401
401
|
'fee': undefined,
|
|
402
|
-
'limits':
|
|
402
|
+
'limits': {
|
|
403
|
+
'amount': {
|
|
404
|
+
'min': undefined,
|
|
405
|
+
'max': undefined,
|
|
406
|
+
},
|
|
407
|
+
'withdraw': {
|
|
408
|
+
'min': undefined,
|
|
409
|
+
'max': undefined,
|
|
410
|
+
},
|
|
411
|
+
},
|
|
403
412
|
};
|
|
404
413
|
}
|
|
405
414
|
return result;
|
package/js/src/xt.js
CHANGED
|
@@ -4784,7 +4784,7 @@ export default class xt extends Exchange {
|
|
|
4784
4784
|
if (isUndefinedBody) {
|
|
4785
4785
|
if (urlencoded) {
|
|
4786
4786
|
url += '?' + urlencoded;
|
|
4787
|
-
payloadString += '#' + method + '#' + payload + '#' +
|
|
4787
|
+
payloadString += '#' + method + '#' + payload + '#' + this.rawencode(this.keysort(query));
|
|
4788
4788
|
}
|
|
4789
4789
|
else {
|
|
4790
4790
|
payloadString += '#' + method + '#' + payload;
|
package/package.json
CHANGED