ccxt 4.1.53 → 4.1.54
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 +8 -7
- package/dist/ccxt.browser.js +2164 -620
- package/dist/ccxt.browser.min.js +10 -10
- package/dist/cjs/ccxt.js +4 -1
- package/dist/cjs/src/abstract/p2b.js +9 -0
- package/dist/cjs/src/base/Exchange.js +10 -6
- package/dist/cjs/src/bitget.js +670 -405
- package/dist/cjs/src/p2b.js +1246 -0
- package/js/ccxt.d.ts +5 -2
- package/js/ccxt.js +4 -2
- package/js/src/abstract/bitget.d.ts +495 -254
- package/js/src/abstract/p2b.d.ts +25 -0
- package/js/src/abstract/p2b.js +11 -0
- package/js/src/ace.d.ts +3 -3
- package/js/src/alpaca.d.ts +1 -1
- package/js/src/ascendex.d.ts +6 -6
- package/js/src/base/Exchange.d.ts +5 -5
- package/js/src/base/Exchange.js +10 -6
- package/js/src/base/types.d.ts +11 -8
- package/js/src/bigone.d.ts +3 -3
- package/js/src/binance.d.ts +11 -11
- package/js/src/bingx.d.ts +6 -6
- package/js/src/bitbank.d.ts +1 -1
- package/js/src/bitbns.d.ts +2 -2
- package/js/src/bitfinex.d.ts +4 -4
- package/js/src/bitfinex2.d.ts +4 -4
- package/js/src/bitflyer.d.ts +2 -2
- package/js/src/bitget.d.ts +5 -5
- package/js/src/bitget.js +670 -405
- package/js/src/bithumb.d.ts +2 -2
- package/js/src/bitmart.d.ts +3 -3
- package/js/src/bitmex.d.ts +6 -6
- package/js/src/bitopro.d.ts +4 -4
- package/js/src/bitpanda.d.ts +3 -3
- package/js/src/bitrue.d.ts +5 -5
- package/js/src/bitso.d.ts +3 -3
- package/js/src/bitstamp.d.ts +3 -3
- package/js/src/bittrex.d.ts +5 -5
- package/js/src/bitvavo.d.ts +3 -3
- package/js/src/blockchaincom.d.ts +2 -2
- package/js/src/btcalpha.d.ts +3 -3
- package/js/src/btcmarkets.d.ts +1 -1
- package/js/src/btcturk.d.ts +3 -3
- package/js/src/bybit.d.ts +6 -6
- package/js/src/cex.d.ts +2 -2
- package/js/src/coinbase.d.ts +5 -5
- package/js/src/coinbasepro.d.ts +2 -2
- package/js/src/coinex.d.ts +7 -7
- package/js/src/coinlist.d.ts +3 -3
- package/js/src/coinone.d.ts +2 -2
- package/js/src/coinsph.d.ts +2 -2
- package/js/src/coinspot.d.ts +2 -2
- package/js/src/cryptocom.d.ts +4 -4
- package/js/src/currencycom.d.ts +3 -3
- package/js/src/delta.d.ts +5 -5
- package/js/src/deribit.d.ts +4 -4
- package/js/src/digifinex.d.ts +6 -6
- package/js/src/exmo.d.ts +4 -4
- package/js/src/gate.d.ts +6 -6
- package/js/src/gemini.d.ts +2 -2
- package/js/src/hitbtc.d.ts +6 -6
- package/js/src/hollaex.d.ts +5 -5
- package/js/src/htx.d.ts +8 -8
- package/js/src/huobijp.d.ts +3 -3
- package/js/src/idex.d.ts +2 -2
- package/js/src/indodax.d.ts +2 -2
- package/js/src/kraken.d.ts +3 -3
- package/js/src/krakenfutures.d.ts +6 -6
- package/js/src/kucoin.d.ts +3 -3
- package/js/src/kucoinfutures.d.ts +2 -2
- package/js/src/kuna.d.ts +2 -2
- package/js/src/latoken.d.ts +2 -2
- package/js/src/lbank.d.ts +3 -3
- package/js/src/luno.d.ts +2 -2
- package/js/src/lykke.d.ts +2 -2
- package/js/src/mexc.d.ts +6 -6
- package/js/src/ndax.d.ts +1 -1
- package/js/src/novadax.d.ts +3 -3
- package/js/src/oceanex.d.ts +4 -4
- package/js/src/okcoin.d.ts +3 -3
- package/js/src/okx.d.ts +6 -6
- package/js/src/p2b.d.ts +34 -0
- package/js/src/p2b.js +1246 -0
- package/js/src/phemex.d.ts +4 -4
- package/js/src/poloniex.d.ts +5 -5
- package/js/src/poloniexfutures.d.ts +4 -4
- package/js/src/pro/binance.d.ts +4 -4
- package/js/src/pro/bitget.d.ts +3 -3
- package/js/src/pro/bitpanda.d.ts +3 -3
- package/js/src/pro/bybit.d.ts +4 -4
- package/js/src/pro/cex.d.ts +2 -2
- package/js/src/pro/coinbasepro.d.ts +4 -4
- package/js/src/pro/coinex.d.ts +2 -2
- package/js/src/pro/cryptocom.d.ts +3 -3
- package/js/src/pro/gate.d.ts +4 -4
- package/js/src/pro/hitbtc.d.ts +2 -2
- package/js/src/pro/htx.d.ts +2 -2
- package/js/src/pro/kraken.d.ts +1 -1
- package/js/src/pro/krakenfutures.d.ts +3 -3
- package/js/src/pro/kucoin.d.ts +2 -2
- package/js/src/pro/okx.d.ts +4 -4
- package/js/src/pro/poloniex.d.ts +2 -2
- package/js/src/pro/wazirx.d.ts +2 -2
- package/js/src/pro/woo.d.ts +2 -2
- package/js/src/probit.d.ts +4 -4
- package/js/src/tidex.d.ts +3 -3
- package/js/src/timex.d.ts +3 -3
- package/js/src/tokocrypto.d.ts +3 -3
- package/js/src/upbit.d.ts +4 -4
- package/js/src/wavesexchange.d.ts +4 -4
- package/js/src/wazirx.d.ts +3 -3
- package/js/src/whitebit.d.ts +5 -5
- package/js/src/woo.d.ts +4 -4
- package/js/src/yobit.d.ts +3 -3
- package/js/src/zaif.d.ts +1 -1
- package/js/src/zonda.d.ts +3 -3
- package/package.json +1 -1
- package/skip-tests.json +7 -0
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# CCXT – CryptoCurrency eXchange Trading Library
|
|
2
2
|
|
|
3
|
-
[](https://travis-ci.com/ccxt/ccxt) [](https://npmjs.com/package/ccxt) [](https://pypi.python.org/pypi/ccxt) [](https://www.npmjs.com/package/ccxt) [](https://discord.gg/ccxt) [](https://travis-ci.com/ccxt/ccxt) [](https://npmjs.com/package/ccxt) [](https://pypi.python.org/pypi/ccxt) [](https://www.npmjs.com/package/ccxt) [](https://discord.gg/ccxt) [](https://github.com/ccxt/ccxt/wiki/Exchange-Markets) [](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
|
|
|
@@ -40,7 +40,7 @@ Current feature list:
|
|
|
40
40
|
| [](https://accounts.binance.com/en/register?ref=D7YA7CLY) | binancecoinm | [Binance COIN-M](https://accounts.binance.com/en/register?ref=D7YA7CLY) | [](https://binance-docs.github.io/apidocs/delivery/en/) | [](https://github.com/ccxt/ccxt/wiki/Certification) | [](https://ccxt.pro) | [](https://accounts.binance.com/en/register?ref=D7YA7CLY) |
|
|
41
41
|
| [](https://accounts.binance.com/en/register?ref=D7YA7CLY) | binanceusdm | [Binance USDⓈ-M](https://accounts.binance.com/en/register?ref=D7YA7CLY) | [](https://binance-docs.github.io/apidocs/futures/en/) | [](https://github.com/ccxt/ccxt/wiki/Certification) | [](https://ccxt.pro) | [](https://accounts.binance.com/en/register?ref=D7YA7CLY) |
|
|
42
42
|
| [](https://bingx.com/invite/OHETOM) | bingx | [BingX](https://bingx.com/invite/OHETOM) | [](https://bingx-api.github.io/docs/) | [](https://github.com/ccxt/ccxt/wiki/Certification) | [](https://ccxt.pro) | |
|
|
43
|
-
| [](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://
|
|
43
|
+
| [](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://ccxt.pro) | |
|
|
44
44
|
| [](http://www.bitmart.com/?r=rQCFLh) | bitmart | [BitMart](http://www.bitmart.com/?r=rQCFLh) | [](https://developer-pro.bitmart.com/) | [](https://github.com/ccxt/ccxt/wiki/Certification) | [](https://ccxt.pro) | [](http://www.bitmart.com/?r=rQCFLh) |
|
|
45
45
|
| [](https://www.bitmex.com/register/upZpOX) | bitmex | [BitMEX](https://www.bitmex.com/register/upZpOX) | [](https://www.bitmex.com/app/apiOverview) | [](https://github.com/ccxt/ccxt/wiki/Certification) | [](https://ccxt.pro) | |
|
|
46
46
|
| [](https://www.bybit.com/register?affiliate_id=35953) | bybit | [Bybit](https://www.bybit.com/register?affiliate_id=35953) | [](https://bybit-exchange.github.io/docs/inverse/) | [](https://github.com/ccxt/ccxt/wiki/Certification) | [](https://ccxt.pro) | |
|
|
@@ -55,7 +55,7 @@ Current feature list:
|
|
|
55
55
|
|
|
56
56
|
## Supported Cryptocurrency Exchange Markets
|
|
57
57
|
|
|
58
|
-
The CCXT library currently supports the following
|
|
58
|
+
The CCXT library currently supports the following 95 cryptocurrency exchange markets and trading APIs:
|
|
59
59
|
|
|
60
60
|
| logo | id | name | ver | certified | pro |
|
|
61
61
|
|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------|-------------------------------------------------------------------------------------------------------|:------------------------------------------------------------------------------------------------------------------------------------------------:|-----------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------|
|
|
@@ -76,7 +76,7 @@ The CCXT library currently supports the following 94 cryptocurrency exchange mar
|
|
|
76
76
|
| [](https://www.bitfinex.com) | bitfinex2 | [Bitfinex](https://www.bitfinex.com) | [](https://docs.bitfinex.com/v2/docs/) | | [](https://ccxt.pro) |
|
|
77
77
|
| [](https://bitflyer.com) | bitflyer | [bitFlyer](https://bitflyer.com) | [](https://lightning.bitflyer.com/docs?lang=en) | | |
|
|
78
78
|
| [](https://www.bitforex.com/en/invitationRegister?inviterId=1867438) | bitforex | [Bitforex](https://www.bitforex.com/en/invitationRegister?inviterId=1867438) | [](https://github.com/githubdev2020/API_Doc_en/wiki) | | |
|
|
79
|
-
| [](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://
|
|
79
|
+
| [](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://ccxt.pro) |
|
|
80
80
|
| [](https://www.bithumb.com) | bithumb | [Bithumb](https://www.bithumb.com) | [](https://apidocs.bithumb.com) | | |
|
|
81
81
|
| [](http://www.bitmart.com/?r=rQCFLh) | bitmart | [BitMart](http://www.bitmart.com/?r=rQCFLh) | [](https://developer-pro.bitmart.com/) | [](https://github.com/ccxt/ccxt/wiki/Certification) | [](https://ccxt.pro) |
|
|
82
82
|
| [](https://www.bitmex.com/register/upZpOX) | bitmex | [BitMEX](https://www.bitmex.com/register/upZpOX) | [](https://www.bitmex.com/app/apiOverview) | [](https://github.com/ccxt/ccxt/wiki/Certification) | [](https://ccxt.pro) |
|
|
@@ -137,6 +137,7 @@ The CCXT library currently supports the following 94 cryptocurrency exchange mar
|
|
|
137
137
|
| [](https://oceanex.pro/signup?referral=VE24QX) | oceanex | [OceanEx](https://oceanex.pro/signup?referral=VE24QX) | [](https://api.oceanex.pro/doc/v1) | | |
|
|
138
138
|
| [](https://www.okcoin.com/account/register?flag=activity&channelId=600001513) | okcoin | [OKCoin](https://www.okcoin.com/account/register?flag=activity&channelId=600001513) | [](https://www.okcoin.com/docs/en/) | | [](https://ccxt.pro) |
|
|
139
139
|
| [](https://www.okx.com/activities/ccxt-trade-and-earn?channelid=CCXT2023) | okx | [OKX](https://www.okx.com/activities/ccxt-trade-and-earn?channelid=CCXT2023) | [](https://www.okx.com/docs-v5/en/) | [](https://github.com/ccxt/ccxt/wiki/Certification) | [](https://ccxt.pro) |
|
|
140
|
+
| [](https://p2pb2b.com?referral=ee784c53) | p2b | [p2b](https://p2pb2b.com?referral=ee784c53) | [](https://github.com/P2B-team/p2b-api-docs/blob/master/api-doc.md) | | |
|
|
140
141
|
| [](https://www.paymium.com/page/sign-up?referral=eDAzPoRQFMvaAB8sf-qj) | paymium | [Paymium](https://www.paymium.com/page/sign-up?referral=eDAzPoRQFMvaAB8sf-qj) | [](https://github.com/Paymium/api-documentation) | | |
|
|
141
142
|
| [](https://phemex.com/register?referralCode=EDNVJ) | phemex | [Phemex](https://phemex.com/register?referralCode=EDNVJ) | [](https://github.com/phemex/phemex-api-docs) | | [](https://ccxt.pro) |
|
|
142
143
|
| [](https://poloniex.com/signup?c=UBFZJRPJ) | poloniex | [Poloniex](https://poloniex.com/signup?c=UBFZJRPJ) | [](https://docs.poloniex.com) | | [](https://ccxt.pro) |
|
|
@@ -210,13 +211,13 @@ console.log(version, Object.keys(exchanges));
|
|
|
210
211
|
|
|
211
212
|
All-in-one browser bundle (dependencies included), served from a CDN of your choice:
|
|
212
213
|
|
|
213
|
-
* jsDelivr: https://cdn.jsdelivr.net/npm/ccxt@4.1.
|
|
214
|
-
* unpkg: https://unpkg.com/ccxt@4.1.
|
|
214
|
+
* jsDelivr: https://cdn.jsdelivr.net/npm/ccxt@4.1.54/dist/ccxt.browser.js
|
|
215
|
+
* unpkg: https://unpkg.com/ccxt@4.1.54/dist/ccxt.browser.js
|
|
215
216
|
|
|
216
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.
|
|
217
218
|
|
|
218
219
|
```HTML
|
|
219
|
-
<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.54/dist/ccxt.browser.js"></script>
|
|
220
221
|
```
|
|
221
222
|
|
|
222
223
|
Creates a global `ccxt` object:
|