ccxt 4.1.66 → 4.1.67
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 +13 -2
- package/dist/ccxt.browser.min.js +2 -2
- package/dist/cjs/ccxt.js +1 -1
- package/dist/cjs/src/base/Exchange.js +10 -0
- package/dist/cjs/src/bingx.js +1 -0
- package/dist/cjs/src/coinbase.js +1 -1
- package/js/ccxt.d.ts +1 -1
- package/js/ccxt.js +1 -1
- package/js/src/base/Exchange.js +10 -0
- package/js/src/base/types.d.ts +2 -0
- package/js/src/bingx.js +1 -0
- package/js/src/coinbase.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -211,13 +211,13 @@ console.log(version, Object.keys(exchanges));
|
|
|
211
211
|
|
|
212
212
|
All-in-one browser bundle (dependencies included), served from a CDN of your choice:
|
|
213
213
|
|
|
214
|
-
* jsDelivr: https://cdn.jsdelivr.net/npm/ccxt@4.1.
|
|
215
|
-
* unpkg: https://unpkg.com/ccxt@4.1.
|
|
214
|
+
* jsDelivr: https://cdn.jsdelivr.net/npm/ccxt@4.1.67/dist/ccxt.browser.js
|
|
215
|
+
* unpkg: https://unpkg.com/ccxt@4.1.67/dist/ccxt.browser.js
|
|
216
216
|
|
|
217
217
|
CDNs are not updated in real-time and may have delays. Defaulting to the most recent version without specifying the version number is not recommended. Please, keep in mind that we are not responsible for the correct operation of those CDN servers.
|
|
218
218
|
|
|
219
219
|
```HTML
|
|
220
|
-
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/ccxt@4.1.
|
|
220
|
+
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/ccxt@4.1.67/dist/ccxt.browser.js"></script>
|
|
221
221
|
```
|
|
222
222
|
|
|
223
223
|
Creates a global `ccxt` object:
|
package/dist/ccxt.browser.js
CHANGED
|
@@ -8736,6 +8736,7 @@ class Exchange {
|
|
|
8736
8736
|
'contract': undefined,
|
|
8737
8737
|
'linear': undefined,
|
|
8738
8738
|
'inverse': undefined,
|
|
8739
|
+
'subType': undefined,
|
|
8739
8740
|
'taker': undefined,
|
|
8740
8741
|
'maker': undefined,
|
|
8741
8742
|
'contractSize': undefined,
|
|
@@ -8813,6 +8814,15 @@ class Exchange {
|
|
|
8813
8814
|
'precision': this.precision,
|
|
8814
8815
|
'limits': this.limits,
|
|
8815
8816
|
}, this.fees['trading'], value);
|
|
8817
|
+
if (market['linear']) {
|
|
8818
|
+
market['subType'] = 'linear';
|
|
8819
|
+
}
|
|
8820
|
+
else if (market['inverse']) {
|
|
8821
|
+
market['subType'] = 'inverse';
|
|
8822
|
+
}
|
|
8823
|
+
else {
|
|
8824
|
+
market['subType'] = undefined;
|
|
8825
|
+
}
|
|
8816
8826
|
values.push(market);
|
|
8817
8827
|
}
|
|
8818
8828
|
this.markets = this.indexBy(values, 'symbol');
|
|
@@ -26881,6 +26891,7 @@ class bingx extends _abstract_bingx_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"
|
|
|
26881
26891
|
'user': 'https://open-api.{hostname}/openApi',
|
|
26882
26892
|
'subAccount': 'https://open-api.{hostname}/openApi',
|
|
26883
26893
|
'account': 'https://open-api.{hostname}/openApi',
|
|
26894
|
+
'copyTrading': 'https://open-api.{hostname}/openApi',
|
|
26884
26895
|
},
|
|
26885
26896
|
'www': 'https://bingx.com/',
|
|
26886
26897
|
'doc': 'https://bingx-api.github.io/docs/',
|
|
@@ -86668,7 +86679,7 @@ class coinbase extends _abstract_coinbase_js__WEBPACK_IMPORTED_MODULE_0__/* ["de
|
|
|
86668
86679
|
*/
|
|
86669
86680
|
await this.loadMarkets();
|
|
86670
86681
|
const request = {
|
|
86671
|
-
'limit':
|
|
86682
|
+
'limit': 250,
|
|
86672
86683
|
};
|
|
86673
86684
|
let response = undefined;
|
|
86674
86685
|
const isV3 = this.safeValue(params, 'v3', false);
|
|
@@ -287742,7 +287753,7 @@ SOFTWARE.
|
|
|
287742
287753
|
|
|
287743
287754
|
//-----------------------------------------------------------------------------
|
|
287744
287755
|
// this is updated by vss.js when building
|
|
287745
|
-
const version = '4.1.
|
|
287756
|
+
const version = '4.1.67';
|
|
287746
287757
|
_src_base_Exchange_js__WEBPACK_IMPORTED_MODULE_0__/* .Exchange */ .e.ccxtVersion = version;
|
|
287747
287758
|
//-----------------------------------------------------------------------------
|
|
287748
287759
|
|