ccxt 4.0.96 → 4.0.97
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.js +1082 -3120
- package/dist/ccxt.browser.min.js +9 -9
- package/dist/cjs/ccxt.js +1 -1
- package/dist/cjs/src/bitfinex2.js +1 -1
- package/dist/cjs/src/bitmex.js +1 -1
- package/dist/cjs/src/bitvavo.js +1 -1
- package/dist/cjs/src/bybit.js +1012 -3050
- package/dist/cjs/src/deribit.js +1 -1
- package/dist/cjs/src/kucoin.js +1 -1
- package/js/ccxt.d.ts +1 -1
- package/js/ccxt.js +1 -1
- package/js/src/bitfinex2.js +1 -1
- package/js/src/bitmex.js +1 -1
- package/js/src/bitvavo.js +1 -1
- package/js/src/bybit.d.ts +9 -40
- package/js/src/bybit.js +1012 -3050
- package/js/src/deribit.js +1 -1
- package/js/src/kucoin.js +1 -1
- package/package.json +1 -1
package/js/src/deribit.js
CHANGED
|
@@ -1320,7 +1320,7 @@ export default class deribit extends Exchange {
|
|
|
1320
1320
|
request['start_timestamp'] = since;
|
|
1321
1321
|
}
|
|
1322
1322
|
if (limit !== undefined) {
|
|
1323
|
-
request['count'] = limit; // default 10
|
|
1323
|
+
request['count'] = Math.min(limit, 1000); // default 10
|
|
1324
1324
|
}
|
|
1325
1325
|
const response = await this[method](this.extend(request, params));
|
|
1326
1326
|
//
|
package/js/src/kucoin.js
CHANGED
|
@@ -4144,7 +4144,7 @@ export default class kucoin extends Exchange {
|
|
|
4144
4144
|
this.throwExactlyMatchedException(this.exceptions['exact'], message, feedback);
|
|
4145
4145
|
this.throwExactlyMatchedException(this.exceptions['exact'], errorCode, feedback);
|
|
4146
4146
|
this.throwBroadlyMatchedException(this.exceptions['broad'], body, feedback);
|
|
4147
|
-
if (errorCode !== '200000') {
|
|
4147
|
+
if (errorCode !== '200000' && errorCode !== '200') {
|
|
4148
4148
|
throw new ExchangeError(feedback);
|
|
4149
4149
|
}
|
|
4150
4150
|
return undefined;
|
package/package.json
CHANGED