ccxt 4.4.35 → 4.4.36

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.
Files changed (43) hide show
  1. package/README.md +6 -5
  2. package/dist/ccxt.browser.min.js +2 -2
  3. package/dist/cjs/ccxt.js +6 -1
  4. package/dist/cjs/src/abstract/defx.js +9 -0
  5. package/dist/cjs/src/bitfinex2.js +20 -12
  6. package/dist/cjs/src/bitmex.js +103 -1
  7. package/dist/cjs/src/bitopro.js +22 -4
  8. package/dist/cjs/src/bitso.js +2 -1
  9. package/dist/cjs/src/bybit.js +20 -0
  10. package/dist/cjs/src/defx.js +2048 -0
  11. package/dist/cjs/src/deribit.js +34 -14
  12. package/dist/cjs/src/gate.js +15 -1
  13. package/dist/cjs/src/hashkey.js +1 -1
  14. package/dist/cjs/src/htx.js +14 -2
  15. package/dist/cjs/src/kraken.js +39 -48
  16. package/dist/cjs/src/pro/defx.js +864 -0
  17. package/js/ccxt.d.ts +8 -2
  18. package/js/ccxt.js +6 -2
  19. package/js/src/abstract/bitopro.d.ts +1 -0
  20. package/js/src/abstract/bybit.d.ts +15 -0
  21. package/js/src/abstract/defx.d.ts +72 -0
  22. package/js/src/abstract/defx.js +11 -0
  23. package/js/src/abstract/deribit.d.ts +1 -0
  24. package/js/src/abstract/gate.d.ts +14 -0
  25. package/js/src/abstract/gateio.d.ts +14 -0
  26. package/js/src/bitfinex2.js +21 -13
  27. package/js/src/bitmex.js +103 -1
  28. package/js/src/bitopro.d.ts +11 -0
  29. package/js/src/bitopro.js +22 -4
  30. package/js/src/bitso.js +2 -1
  31. package/js/src/bybit.js +20 -0
  32. package/js/src/defx.d.ts +349 -0
  33. package/js/src/defx.js +2049 -0
  34. package/js/src/deribit.d.ts +2 -0
  35. package/js/src/deribit.js +34 -14
  36. package/js/src/gate.js +15 -1
  37. package/js/src/hashkey.js +1 -1
  38. package/js/src/htx.d.ts +3 -0
  39. package/js/src/htx.js +14 -2
  40. package/js/src/kraken.js +39 -48
  41. package/js/src/pro/defx.d.ts +236 -0
  42. package/js/src/pro/defx.js +865 -0
  43. package/package.json +1 -1
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # CCXT – CryptoCurrency eXchange Trading Library
2
2
 
3
- [![Build Status](https://img.shields.io/travis/com/ccxt/ccxt)](https://travis-ci.com/ccxt/ccxt) [![npm](https://img.shields.io/npm/v/ccxt.svg)](https://npmjs.com/package/ccxt) [![PyPI](https://img.shields.io/pypi/v/ccxt.svg)](https://pypi.python.org/pypi/ccxt) [![NPM Downloads](https://img.shields.io/npm/dy/ccxt.svg)](https://www.npmjs.com/package/ccxt) [![Discord](https://img.shields.io/discord/690203284119617602?logo=discord&logoColor=white)](https://discord.gg/ccxt) [![Supported Exchanges](https://img.shields.io/badge/exchanges-110-blue.svg)](https://github.com/ccxt/ccxt/wiki/Exchange-Markets) [![Twitter Follow](https://img.shields.io/twitter/follow/ccxt_official.svg?style=social&label=CCXT)](https://twitter.com/ccxt_official)
3
+ [![Build Status](https://img.shields.io/travis/com/ccxt/ccxt)](https://travis-ci.com/ccxt/ccxt) [![npm](https://img.shields.io/npm/v/ccxt.svg)](https://npmjs.com/package/ccxt) [![PyPI](https://img.shields.io/pypi/v/ccxt.svg)](https://pypi.python.org/pypi/ccxt) [![NPM Downloads](https://img.shields.io/npm/dy/ccxt.svg)](https://www.npmjs.com/package/ccxt) [![Discord](https://img.shields.io/discord/690203284119617602?logo=discord&logoColor=white)](https://discord.gg/ccxt) [![Supported Exchanges](https://img.shields.io/badge/exchanges-111-blue.svg)](https://github.com/ccxt/ccxt/wiki/Exchange-Markets) [![Twitter Follow](https://img.shields.io/twitter/follow/ccxt_official.svg?style=social&label=CCXT)](https://twitter.com/ccxt_official)
4
4
 
5
5
  A JavaScript / Python / PHP / C# library for cryptocurrency trading and e-commerce with support for many bitcoin/ether/altcoin exchange markets and merchant APIs.
6
6
 
@@ -58,7 +58,7 @@ Current feature list:
58
58
 
59
59
  ## Supported Cryptocurrency Exchanges
60
60
 
61
- The CCXT library currently supports the following 105 cryptocurrency exchange markets and trading APIs:
61
+ The CCXT library currently supports the following 106 cryptocurrency exchange markets and trading APIs:
62
62
 
63
63
  | logo | id | name | ver | type | certified | pro |
64
64
  |-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------|----------------------------------------------------------------------------------------------|:------------------------------------------------------------------------------------------------------------------------------------------------:|------|-----------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------|
@@ -111,6 +111,7 @@ The CCXT library currently supports the following 105 cryptocurrency exchange ma
111
111
  | [![coinspot](https://user-images.githubusercontent.com/1294454/28208429-3cacdf9a-6896-11e7-854e-4c79a772a30f.jpg)](https://www.coinspot.com.au/register?code=PJURCU) | coinspot | [CoinSpot](https://www.coinspot.com.au/register?code=PJURCU) | [![API Version *](https://img.shields.io/badge/*-lightgray)](https://www.coinspot.com.au/api) | cex | | |
112
112
  | [![cryptocom](https://user-images.githubusercontent.com/1294454/147792121-38ed5e36-c229-48d6-b49a-48d05fc19ed4.jpeg)](https://crypto.com/exch/kdacthrnxt) | cryptocom | [Crypto.com](https://crypto.com/exch/kdacthrnxt) | [![API Version 2](https://img.shields.io/badge/2-lightgray)](https://exchange-docs.crypto.com/exchange/v1/rest-ws/index.html) | cex | [![CCXT Certified](https://img.shields.io/badge/CCXT-Certified-green.svg)](https://github.com/ccxt/ccxt/wiki/Certification) | [![CCXT Pro](https://img.shields.io/badge/CCXT-Pro-black)](https://ccxt.pro) |
113
113
  | [![currencycom](https://user-images.githubusercontent.com/1294454/83718672-36745c00-a63e-11ea-81a9-677b1f789a4d.jpg)](https://currency.com/trading/signup?c=362jaimv&pid=referral) | currencycom | [Currency.com](https://currency.com/trading/signup?c=362jaimv&pid=referral) | [![API Version 2](https://img.shields.io/badge/2-lightgray)](https://currency.com/api) | cex | | [![CCXT Pro](https://img.shields.io/badge/CCXT-Pro-black)](https://ccxt.pro) |
114
+ | [![defx](https://github.com/user-attachments/assets/4e92bace-d7a9-45ea-92be-122168dc87e4)](https://app.defx.com/join/6I2CZ7) | defx | [Defx X](https://app.defx.com/join/6I2CZ7) | [![API Version 1](https://img.shields.io/badge/1-lightgray)](https://docs.defx.com/docs) | dex | | |
114
115
  | [![delta](https://user-images.githubusercontent.com/1294454/99450025-3be60a00-2931-11eb-9302-f4fd8d8589aa.jpg)](https://www.delta.exchange/app/signup/?code=IULYNB) | delta | [Delta Exchange](https://www.delta.exchange/app/signup/?code=IULYNB) | [![API Version 2](https://img.shields.io/badge/2-lightgray)](https://docs.delta.exchange) | cex | | |
115
116
  | [![deribit](https://user-images.githubusercontent.com/1294454/41933112-9e2dd65a-798b-11e8-8440-5bab2959fcb8.jpg)](https://www.deribit.com/reg-1189.4038) | deribit | [Deribit](https://www.deribit.com/reg-1189.4038) | [![API Version 2](https://img.shields.io/badge/2-lightgray)](https://docs.deribit.com/v2) | cex | | [![CCXT Pro](https://img.shields.io/badge/CCXT-Pro-black)](https://ccxt.pro) |
116
117
  | [![digifinex](https://user-images.githubusercontent.com/51840849/87443315-01283a00-c5fe-11ea-8628-c2a0feaf07ac.jpg)](https://www.digifinex.com/en-ww/from/DhOzBg?channelCode=ljaUPp) | digifinex | [DigiFinex](https://www.digifinex.com/en-ww/from/DhOzBg?channelCode=ljaUPp) | [![API Version 3](https://img.shields.io/badge/3-lightgray)](https://docs.digifinex.com) | cex | | |
@@ -224,13 +225,13 @@ console.log(version, Object.keys(exchanges));
224
225
 
225
226
  All-in-one browser bundle (dependencies included), served from a CDN of your choice:
226
227
 
227
- * jsDelivr: https://cdn.jsdelivr.net/npm/ccxt@4.4.35/dist/ccxt.browser.min.js
228
- * unpkg: https://unpkg.com/ccxt@4.4.35/dist/ccxt.browser.min.js
228
+ * jsDelivr: https://cdn.jsdelivr.net/npm/ccxt@4.4.36/dist/ccxt.browser.min.js
229
+ * unpkg: https://unpkg.com/ccxt@4.4.36/dist/ccxt.browser.min.js
229
230
 
230
231
  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.
231
232
 
232
233
  ```HTML
233
- <script type="text/javascript" src="https://cdn.jsdelivr.net/npm/ccxt@4.4.35/dist/ccxt.browser.min.js"></script>
234
+ <script type="text/javascript" src="https://cdn.jsdelivr.net/npm/ccxt@4.4.36/dist/ccxt.browser.min.js"></script>
234
235
  ```
235
236
 
236
237
  Creates a global `ccxt` object: