ccxt 4.0.88 → 4.0.89
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/CHANGELOG.md +139 -0
- package/README.md +3 -3
- package/dist/ccxt.browser.js +3 -3
- package/dist/ccxt.browser.min.js +2 -2
- package/dist/cjs/ccxt.js +1 -1
- package/dist/cjs/src/bingx.js +1 -1
- package/dist/cjs/src/pro/bybit.js +1 -1
- package/js/ccxt.d.ts +1 -1
- package/js/ccxt.js +1 -1
- package/js/src/bingx.js +1 -1
- package/js/src/pro/bybit.js +1 -1
- package/package.json +1 -1
package/dist/cjs/ccxt.js
CHANGED
|
@@ -180,7 +180,7 @@ var woo$1 = require('./src/pro/woo.js');
|
|
|
180
180
|
|
|
181
181
|
//-----------------------------------------------------------------------------
|
|
182
182
|
// this is updated by vss.js when building
|
|
183
|
-
const version = '4.0.
|
|
183
|
+
const version = '4.0.89';
|
|
184
184
|
Exchange["default"].ccxtVersion = version;
|
|
185
185
|
const exchanges = {
|
|
186
186
|
'ace': ace,
|
package/dist/cjs/src/bingx.js
CHANGED
|
@@ -693,7 +693,7 @@ class bingx extends bingx$1 {
|
|
|
693
693
|
'symbol': market['id'],
|
|
694
694
|
};
|
|
695
695
|
if (limit !== undefined) {
|
|
696
|
-
request['limit'] = limit;
|
|
696
|
+
request['limit'] = Math.min(limit, 100); // avoid API exception "limit should less than 100"
|
|
697
697
|
}
|
|
698
698
|
let response = undefined;
|
|
699
699
|
let marketType = undefined;
|
|
@@ -704,7 +704,7 @@ class bybit extends bybit$1 {
|
|
|
704
704
|
if (this.newUpdates) {
|
|
705
705
|
limit = trades.getLimit(symbol, limit);
|
|
706
706
|
}
|
|
707
|
-
return this.
|
|
707
|
+
return this.filterBySymbolSinceLimit(trades, symbol, since, limit, true);
|
|
708
708
|
}
|
|
709
709
|
handleMyTrades(client, message) {
|
|
710
710
|
//
|
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 { Market, Trade, Fee, Ticker, OrderBook, Order, Transaction, Tickers, Currency, Balance, DepositAddress, WithdrawalResponse, DepositAddressResponse, OHLCV, Balances, PartialBalances, Dictionary, MinMax } from './src/base/types.js';
|
|
6
6
|
import { BaseError, ExchangeError, PermissionDenied, AccountNotEnabled, AccountSuspended, ArgumentsRequired, BadRequest, BadSymbol, MarginModeAlreadySet, BadResponse, NullResponse, InsufficientFunds, InvalidAddress, InvalidOrder, OrderNotFound, OrderNotCached, CancelPending, OrderImmediatelyFillable, OrderNotFillable, DuplicateOrderId, NotSupported, NetworkError, DDoSProtection, RateLimitExceeded, ExchangeNotAvailable, OnMaintenance, InvalidNonce, RequestTimeout, AuthenticationError, AddressPending } from './src/base/errors.js';
|
|
7
|
-
declare const version = "4.0.
|
|
7
|
+
declare const version = "4.0.88";
|
|
8
8
|
import ace from './src/ace.js';
|
|
9
9
|
import alpaca from './src/alpaca.js';
|
|
10
10
|
import ascendex from './src/ascendex.js';
|
package/js/ccxt.js
CHANGED
|
@@ -38,7 +38,7 @@ import * as errors from './src/base/errors.js';
|
|
|
38
38
|
import { BaseError, ExchangeError, PermissionDenied, AccountNotEnabled, AccountSuspended, ArgumentsRequired, BadRequest, BadSymbol, MarginModeAlreadySet, BadResponse, NullResponse, InsufficientFunds, InvalidAddress, InvalidOrder, OrderNotFound, OrderNotCached, CancelPending, OrderImmediatelyFillable, OrderNotFillable, DuplicateOrderId, NotSupported, NetworkError, DDoSProtection, RateLimitExceeded, ExchangeNotAvailable, OnMaintenance, InvalidNonce, RequestTimeout, AuthenticationError, AddressPending } from './src/base/errors.js';
|
|
39
39
|
//-----------------------------------------------------------------------------
|
|
40
40
|
// this is updated by vss.js when building
|
|
41
|
-
const version = '4.0.
|
|
41
|
+
const version = '4.0.89';
|
|
42
42
|
Exchange.ccxtVersion = version;
|
|
43
43
|
//-----------------------------------------------------------------------------
|
|
44
44
|
import ace from './src/ace.js';
|
package/js/src/bingx.js
CHANGED
|
@@ -696,7 +696,7 @@ export default class bingx extends Exchange {
|
|
|
696
696
|
'symbol': market['id'],
|
|
697
697
|
};
|
|
698
698
|
if (limit !== undefined) {
|
|
699
|
-
request['limit'] = limit;
|
|
699
|
+
request['limit'] = Math.min(limit, 100); // avoid API exception "limit should less than 100"
|
|
700
700
|
}
|
|
701
701
|
let response = undefined;
|
|
702
702
|
let marketType = undefined;
|
package/js/src/pro/bybit.js
CHANGED
|
@@ -707,7 +707,7 @@ export default class bybit extends bybitRest {
|
|
|
707
707
|
if (this.newUpdates) {
|
|
708
708
|
limit = trades.getLimit(symbol, limit);
|
|
709
709
|
}
|
|
710
|
-
return this.
|
|
710
|
+
return this.filterBySymbolSinceLimit(trades, symbol, since, limit, true);
|
|
711
711
|
}
|
|
712
712
|
handleMyTrades(client, message) {
|
|
713
713
|
//
|
package/package.json
CHANGED