ccxt 4.5.61 → 4.5.62
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 +16 -15
- package/dist/ccxt.browser.min.js +4 -4
- package/dist/cjs/ccxt.js +1 -1
- package/dist/cjs/src/base/Exchange.js +1 -1
- package/dist/cjs/src/bingx.js +3 -3
- package/dist/cjs/src/bitmex.js +1 -1
- package/dist/cjs/src/bitvavo.js +1 -1
- package/dist/cjs/src/btcturk.js +1 -1
- package/dist/cjs/src/extended.js +2 -2
- package/dist/cjs/src/gate.js +1 -1
- package/dist/cjs/src/pro/htx.js +438 -100
- package/js/ccxt.d.ts +1 -1
- package/js/ccxt.js +1 -1
- package/js/src/base/Exchange.js +1 -1
- package/js/src/bingx.js +3 -3
- package/js/src/bitmex.js +1 -1
- package/js/src/bitvavo.js +1 -1
- package/js/src/btcturk.js +1 -1
- package/js/src/extended.js +2 -2
- package/js/src/gate.js +1 -1
- package/js/src/pro/htx.d.ts +7 -6
- package/js/src/pro/htx.js +438 -98
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -12,11 +12,12 @@ It is intended to be used by **coders, developers, technically-skilled traders,
|
|
|
12
12
|
|
|
13
13
|
Current feature list:
|
|
14
14
|
|
|
15
|
-
-
|
|
16
|
-
-
|
|
17
|
-
-
|
|
18
|
-
- an out of the box unified API that is extremely easy to integrate
|
|
19
|
-
-
|
|
15
|
+
- supports many cryptocurrency exchanges — more coming soon
|
|
16
|
+
- implements public and private APIs, both REST and WebSocket
|
|
17
|
+
- optionally normalizes data for cross-exchange analytics and arbitrage
|
|
18
|
+
- has an out of the box unified API that is extremely easy to integrate
|
|
19
|
+
- ideal for AI agents and vibe coding
|
|
20
|
+
- works in Node 18+, Python 3, PHP 8.1+, netstandard2.0/2.1, Go 1.20+, Java 21+ and web browsers
|
|
20
21
|
|
|
21
22
|
## See Also
|
|
22
23
|
|
|
@@ -34,7 +35,7 @@ Current feature list:
|
|
|
34
35
|
| [](https://accounts.binance.com/register?ref=CCXTCOM) | binancecoinm | [Binance COIN-M](https://accounts.binance.com/register?ref=CCXTCOM) | [](https://binance-docs.github.io/apidocs/delivery/en/) |  | [](https://github.com/ccxt/ccxt/wiki/Certification) | [](https://docs.ccxt.com/ccxt.pro.manual) | [](https://accounts.binance.com/register?ref=CCXTCOM) |
|
|
35
36
|
| [](https://www.bybit.com/invite?ref=XDK12WP) | bybit | [Bybit](https://www.bybit.com/invite?ref=XDK12WP) | [](https://bybit-exchange.github.io/docs/inverse/) |  | [](https://github.com/ccxt/ccxt/wiki/Certification) | [](https://docs.ccxt.com/ccxt.pro.manual) | |
|
|
36
37
|
| [](https://www.okx.com/join/CCXTCOM) | okx | [OKX](https://www.okx.com/join/CCXTCOM) | [](https://www.okx.com/docs-v5/en/) |  | [](https://github.com/ccxt/ccxt/wiki/Certification) | [](https://docs.ccxt.com/ccxt.pro.manual) | [](https://www.okx.com/join/CCXTCOM) |
|
|
37
|
-
| [](https://www.gate.com/share/CCXTGATE) | gate | [Gate](https://www.gate.com/share/CCXTGATE) | [](https://www.gate.com/docs/developers/apiv4/en) |  | [](https://github.com/ccxt/ccxt/wiki/Certification) | [](https://docs.ccxt.com/ccxt.pro.manual) | [](https://www.gate.com/share/CCXTGATE) |
|
|
38
39
|
| [](https://www.kucoin.com/ucenter/signup?rcode=E5wkqe) | kucoin | [KuCoin](https://www.kucoin.com/ucenter/signup?rcode=E5wkqe) | [](https://docs.kucoin.com) |  | [](https://github.com/ccxt/ccxt/wiki/Certification) | [](https://docs.ccxt.com/ccxt.pro.manual) | |
|
|
39
40
|
| [](https://futures.kucoin.com/?rcode=E5wkqe) | kucoinfutures | [KuCoin Futures](https://futures.kucoin.com/?rcode=E5wkqe) | [](https://docs.kucoin.com) |  | [](https://github.com/ccxt/ccxt/wiki/Certification) | [](https://docs.ccxt.com/ccxt.pro.manual) | |
|
|
40
41
|
| [](https://www.bitget.com/expressly?languageType=0&channelCode=ccxt&vipCode=tg9j) | bitget | [Bitget](https://www.bitget.com/expressly?languageType=0&channelCode=ccxt&vipCode=tg9j) | [](https://www.bitget.com/api-doc/common/intro) |  | [](https://github.com/ccxt/ccxt/wiki/Certification) | [](https://docs.ccxt.com/ccxt.pro.manual) | |
|
|
@@ -83,12 +84,12 @@ Current feature list:
|
|
|
83
84
|
| [](https://www.bitstamp.net) | bitstamp | [Bitstamp](https://www.bitstamp.net) | [](https://www.bitstamp.net/api) |  | | [](https://docs.ccxt.com/ccxt.pro.manual) |
|
|
84
85
|
| [](https://bit.team/auth/sign-up?ref=bitboy2023) | bitteam | [BIT.TEAM](https://bit.team/auth/sign-up?ref=bitboy2023) | [](https://bit.team/trade/api/documentation) |  | | |
|
|
85
86
|
| [](https://www.bittrade.co.jp/register/?invite_code=znnq3) | bittrade | [BitTrade](https://www.bittrade.co.jp/register/?invite_code=znnq3) | [](https://api-doc.bittrade.co.jp) |  | | [](https://docs.ccxt.com/ccxt.pro.manual) |
|
|
86
|
-
| [](https://bitvavo.com/?a=24F34952F7) | bitvavo | [Bitvavo](https://bitvavo.com/?a=24F34952F7) | [](https://docs.bitvavo.com/) |  | | [](https://docs.ccxt.com/ccxt.pro.manual) |
|
|
87
88
|
| [](https://blockchain.com) | blockchaincom | [Blockchain.com](https://blockchain.com) | [](https://api.blockchain.com/v3) |  | | [](https://docs.ccxt.com/ccxt.pro.manual) |
|
|
88
89
|
| [](https://blofin.com/register?referral_code=f79EsS) | blofin | [BloFin](https://blofin.com/register?referral_code=f79EsS) | [](https://blofin.com/docs) |  | | [](https://docs.ccxt.com/ccxt.pro.manual) |
|
|
89
90
|
| [](https://www.btcbox.co.jp/) | btcbox | [BtcBox](https://www.btcbox.co.jp/) | [](https://blog.btcbox.jp/en/archives/8762) |  | | |
|
|
90
91
|
| [](https://btcmarkets.net) | btcmarkets | [BTC Markets](https://btcmarkets.net) | [](https://api.btcmarkets.net/doc/v3) |  | | |
|
|
91
|
-
| [](https://www.btcturk.com) | btcturk | [BTCTurk](https://www.btcturk.com) | [](https://github.com/BTCTrader/broker-api-docs) |  | | |
|
|
92
93
|
| [](https://bullish.com/) | bullish | [Bullish](https://bullish.com/) | [](https://api.exchange.bullish.com/docs/api/rest/) |  | | [](https://docs.ccxt.com/ccxt.pro.manual) |
|
|
93
94
|
| [](https://www.bybit.com/invite?ref=XDK12WP) | bybit | [Bybit](https://www.bybit.com/invite?ref=XDK12WP) | [](https://bybit-exchange.github.io/docs/inverse/) |  | [](https://github.com/ccxt/ccxt/wiki/Certification) | [](https://docs.ccxt.com/ccxt.pro.manual) |
|
|
94
95
|
| [](https://www.bybit.com/invite?ref=XDK12WP) | bybiteu | [Bybit EU](https://www.bybit.com/invite?ref=XDK12WP) | [](https://bybit-exchange.github.io/docs/inverse/) |  | | [](https://docs.ccxt.com/ccxt.pro.manual) |
|
|
@@ -113,11 +114,11 @@ Current feature list:
|
|
|
113
114
|
| [](https://www.digifinex.com/en-ww/from/DhOzBg?channelCode=ljaUPp) | digifinex | [DigiFinex](https://www.digifinex.com/en-ww/from/DhOzBg?channelCode=ljaUPp) | [](https://docs.digifinex.com) |  | | |
|
|
114
115
|
| [](https://dydx.trade?ref=ccxt) | dydx | [dYdX](https://dydx.trade?ref=ccxt) | [](https://docs.dydx.xyz) |  | | [](https://docs.ccxt.com/ccxt.pro.manual) |
|
|
115
116
|
| [](https://exmo.me/?ref=131685) | exmo | [EXMO](https://exmo.me/?ref=131685) | [](https://exmo.me/en/api_doc?ref=131685) |  | | |
|
|
116
|
-
| [](https://app.extended.exchange) | extended | [Extended](https://app.extended.exchange) | [](https://api.docs.
|
|
117
|
+
| [](https://app.extended.exchange) | extended | [Extended](https://app.extended.exchange) | [](https://api.docs.extended.exchange) |  | | [](https://docs.ccxt.com/ccxt.pro.manual) |
|
|
117
118
|
| [](https://fmfw.io/referral/da948b21d6c92d69) | fmfwio | [FMFW.io](https://fmfw.io/referral/da948b21d6c92d69) | [](https://api.fmfw.io/) |  | | |
|
|
118
119
|
| [](https://app.foxbit.com.br) | foxbit | [Foxbit](https://app.foxbit.com.br) | [](https://docs.foxbit.com.br) |  | | |
|
|
119
|
-
| [](https://www.gate.com/share/CCXTGATE) | gate | [Gate](https://www.gate.com/share/CCXTGATE) | [](https://www.gate.com/docs/developers/apiv4/en) |  | [](https://github.com/ccxt/ccxt/wiki/Certification) | [](https://docs.ccxt.com/ccxt.pro.manual) |
|
|
121
|
+
| [](https://www.gate.com/share/CCXTGATE) | gateeu | [Gate EU](https://www.gate.com/share/CCXTGATE) | [](https://www.gate.com/docs/developers/apiv4/en) |  | | [](https://docs.ccxt.com/ccxt.pro.manual) |
|
|
121
122
|
| [](https://gemini.com/) | gemini | [Gemini](https://gemini.com/) | [](https://docs.gemini.com/rest-api) |  | | [](https://docs.ccxt.com/ccxt.pro.manual) |
|
|
122
123
|
| [](https://grvt.io/?ref=WBLS9D1) | grvt | [GRVT](https://grvt.io/?ref=WBLS9D1) | [](https://api-docs.grvt.io/) |  | | [](https://docs.ccxt.com/ccxt.pro.manual) |
|
|
123
124
|
| [](https://global.hashkey.com/en-US/register/invite?invite_code=82FQUN) | hashkey | [HashKey Global](https://global.hashkey.com/en-US/register/invite?invite_code=82FQUN) | [](https://hashkeyglobal-apidoc.readme.io/) |  | [](https://github.com/ccxt/ccxt/wiki/Certification) | [](https://docs.ccxt.com/ccxt.pro.manual) |
|
|
@@ -175,7 +176,7 @@ The library is under [MIT license](https://github.com/ccxt/ccxt/blob/master/LICE
|
|
|
175
176
|
|logo |id |name |ver |type |certified |pro |
|
|
176
177
|
|-------------------------------------------------------------------------------------------------------------------------------------------|-------------|-------------------------------------------------------|:--------------------------------------------------------------------------------------------------------------------------------:|-------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------|
|
|
177
178
|
| [](https://www.asterdex.com/en/referral/aA1c2B) | aster | [Aster](https://www.asterdex.com/en/referral/aA1c2B) | [](https://github.com/asterdex/api-docs) |  | | [](https://docs.ccxt.com/ccxt.pro.manual) |
|
|
178
|
-
| [](https://app.extended.exchange) | extended | [Extended](https://app.extended.exchange) | [](https://api.docs.
|
|
179
|
+
| [](https://app.extended.exchange) | extended | [Extended](https://app.extended.exchange) | [](https://api.docs.extended.exchange) |  | | [](https://docs.ccxt.com/ccxt.pro.manual) |
|
|
179
180
|
| [](https://grvt.io/?ref=WBLS9D1) | grvt | [GRVT](https://grvt.io/?ref=WBLS9D1) | [](https://api-docs.grvt.io/) |  | | [](https://docs.ccxt.com/ccxt.pro.manual) |
|
|
180
181
|
| [](https://app.hyperliquid.xyz/) | hyperliquid | [Hyperliquid](https://app.hyperliquid.xyz/) | [](https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api) |  | [](https://github.com/ccxt/ccxt/wiki/Certification) | [](https://docs.ccxt.com/ccxt.pro.manual) |
|
|
181
182
|
| [](https://app.lighter.xyz/?referral=715955W9) | lighter | [Lighter](https://app.lighter.xyz/?referral=715955W9) | [](https://apidocs.lighter.xyz/) |  | | [](https://docs.ccxt.com/ccxt.pro.manual) |
|
|
@@ -243,13 +244,13 @@ console.log(version, Object.keys(exchanges));
|
|
|
243
244
|
|
|
244
245
|
All-in-one browser bundle (dependencies included), served from a CDN of your choice:
|
|
245
246
|
|
|
246
|
-
* jsDelivr: https://cdn.jsdelivr.net/npm/ccxt@4.5.
|
|
247
|
-
* unpkg: https://unpkg.com/ccxt@4.5.
|
|
247
|
+
* jsDelivr: https://cdn.jsdelivr.net/npm/ccxt@4.5.62/dist/ccxt.browser.min.js
|
|
248
|
+
* unpkg: https://unpkg.com/ccxt@4.5.62/dist/ccxt.browser.min.js
|
|
248
249
|
|
|
249
250
|
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.
|
|
250
251
|
|
|
251
252
|
```HTML
|
|
252
|
-
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/ccxt@4.5.
|
|
253
|
+
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/ccxt@4.5.62/dist/ccxt.browser.min.js"></script>
|
|
253
254
|
```
|
|
254
255
|
|
|
255
256
|
Creates a global `ccxt` object:
|