ccxt 4.5.15 → 4.5.17
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 +18 -3
- package/dist/ccxt.browser.min.js +3 -3
- package/dist/cjs/ccxt.js +1 -1
- package/dist/cjs/src/arkham.js +20 -0
- package/dist/cjs/src/base/Exchange.js +46 -0
- package/dist/cjs/src/blofin.js +7 -6
- package/dist/cjs/src/bybit.js +16 -6
- package/dist/cjs/src/delta.js +98 -3
- package/dist/cjs/src/hyperliquid.js +41 -2
- package/dist/cjs/src/kraken.js +99 -4
- package/dist/cjs/src/kucoin.js +1 -0
- package/dist/cjs/src/mexc.js +1 -0
- package/dist/cjs/src/pro/upbit.js +25 -1
- package/dist/cjs/src/woo.js +41 -20
- package/js/ccxt.d.ts +1 -1
- package/js/ccxt.js +1 -1
- package/js/src/abstract/bybit.d.ts +1 -0
- package/js/src/abstract/delta.d.ts +5 -1
- package/js/src/abstract/woo.d.ts +0 -3
- package/js/src/arkham.js +20 -0
- package/js/src/base/Exchange.d.ts +31 -0
- package/js/src/base/Exchange.js +47 -1
- package/js/src/blofin.js +7 -6
- package/js/src/bybit.d.ts +1 -1
- package/js/src/bybit.js +16 -6
- package/js/src/delta.d.ts +13 -0
- package/js/src/delta.js +98 -3
- package/js/src/derive.js +1 -1
- package/js/src/hyperliquid.d.ts +2 -0
- package/js/src/hyperliquid.js +41 -2
- package/js/src/kraken.d.ts +11 -1
- package/js/src/kraken.js +99 -4
- package/js/src/kucoin.js +1 -0
- package/js/src/mexc.js +1 -0
- package/js/src/pro/gate.js +1 -1
- package/js/src/pro/gemini.js +1 -1
- package/js/src/pro/onetrading.js +1 -1
- package/js/src/pro/upbit.js +25 -1
- package/js/src/woo.d.ts +1 -1
- package/js/src/woo.js +41 -20
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -220,13 +220,13 @@ console.log(version, Object.keys(exchanges));
|
|
|
220
220
|
|
|
221
221
|
All-in-one browser bundle (dependencies included), served from a CDN of your choice:
|
|
222
222
|
|
|
223
|
-
* jsDelivr: https://cdn.jsdelivr.net/npm/ccxt@4.5.
|
|
224
|
-
* unpkg: https://unpkg.com/ccxt@4.5.
|
|
223
|
+
* jsDelivr: https://cdn.jsdelivr.net/npm/ccxt@4.5.17/dist/ccxt.browser.min.js
|
|
224
|
+
* unpkg: https://unpkg.com/ccxt@4.5.17/dist/ccxt.browser.min.js
|
|
225
225
|
|
|
226
226
|
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.
|
|
227
227
|
|
|
228
228
|
```HTML
|
|
229
|
-
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/ccxt@4.5.
|
|
229
|
+
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/ccxt@4.5.17/dist/ccxt.browser.min.js"></script>
|
|
230
230
|
```
|
|
231
231
|
|
|
232
232
|
Creates a global `ccxt` object:
|
|
@@ -260,6 +260,21 @@ CCXT also supports `orjson` for parsing JSON since it is much faster than the bu
|
|
|
260
260
|
|
|
261
261
|
However, `orjson` is not enabled by default because it is not supported by every python interpreter. If you want to opt-in, you just need to install it (`pip install orjson`) on your local environment. CCXT will detect the installion and pick it up automatically.
|
|
262
262
|
|
|
263
|
+
#### ECDSA Support
|
|
264
|
+
|
|
265
|
+
Some exchanges, such as Hyperliquid, Binance, and Paradex use **ECDSA** for request signing.
|
|
266
|
+
By default, CCXT includes a pure Python ECDSA implementation that ensures compatibility across all environments. However, this implementation may not meet the performance requirements of latency-sensitive applications.
|
|
267
|
+
|
|
268
|
+
To address this, CCXT also supports the Coincurve library, which dramatically reduces signing time from approximately 45 ms to under 0.05 ms.
|
|
269
|
+
|
|
270
|
+
For optimal performance, we recommend installing Coincurve via:
|
|
271
|
+
|
|
272
|
+
```
|
|
273
|
+
pip install coincurve
|
|
274
|
+
```
|
|
275
|
+
|
|
276
|
+
Once installed, CCXT will automatically detect and use it.
|
|
277
|
+
|
|
263
278
|
### PHP
|
|
264
279
|
|
|
265
280
|
[ccxt in PHP with **Packagist/Composer**](https://packagist.org/packages/ccxt/ccxt) (PHP 8.1+)
|