ccxt 4.4.78__py2.py3-none-any.whl → 4.4.82__py2.py3-none-any.whl
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.
- ccxt/__init__.py +1 -1
- ccxt/abstract/bitmart.py +1 -0
- ccxt/apex.py +21 -31
- ccxt/ascendex.py +23 -6
- ccxt/async_support/__init__.py +1 -1
- ccxt/async_support/apex.py +21 -31
- ccxt/async_support/ascendex.py +23 -6
- ccxt/async_support/base/exchange.py +5 -1
- ccxt/async_support/bigone.py +17 -14
- ccxt/async_support/binance.py +6 -0
- ccxt/async_support/bingx.py +16 -35
- ccxt/async_support/bitfinex.py +120 -82
- ccxt/async_support/bitget.py +58 -66
- ccxt/async_support/bitmart.py +7 -2
- ccxt/async_support/bitmex.py +8 -1
- ccxt/async_support/bitopro.py +5 -1
- ccxt/async_support/bitrue.py +2 -1
- ccxt/async_support/bitso.py +1 -1
- ccxt/async_support/bitteam.py +2 -0
- ccxt/async_support/bitvavo.py +25 -10
- ccxt/async_support/btcalpha.py +1 -1
- ccxt/async_support/btcmarkets.py +1 -1
- ccxt/async_support/btcturk.py +1 -1
- ccxt/async_support/bybit.py +29 -15
- ccxt/async_support/coinbase.py +3 -15
- ccxt/async_support/coinex.py +1 -0
- ccxt/async_support/coinlist.py +1 -0
- ccxt/async_support/coinone.py +1 -0
- ccxt/async_support/delta.py +3 -0
- ccxt/async_support/deribit.py +1 -0
- ccxt/async_support/hollaex.py +1 -0
- ccxt/async_support/htx.py +9 -5
- ccxt/async_support/huobijp.py +1 -0
- ccxt/async_support/hyperliquid.py +14 -0
- ccxt/async_support/kraken.py +2 -0
- ccxt/async_support/okx.py +2 -3
- ccxt/async_support/oxfun.py +21 -1
- ccxt/async_support/poloniex.py +1 -0
- ccxt/async_support/timex.py +2 -2
- ccxt/async_support/upbit.py +43 -21
- ccxt/async_support/whitebit.py +65 -12
- ccxt/base/exchange.py +20 -2
- ccxt/bigone.py +17 -14
- ccxt/binance.py +6 -0
- ccxt/bingx.py +16 -35
- ccxt/bitfinex.py +120 -82
- ccxt/bitget.py +58 -66
- ccxt/bitmart.py +7 -2
- ccxt/bitmex.py +8 -1
- ccxt/bitopro.py +5 -1
- ccxt/bitrue.py +2 -1
- ccxt/bitso.py +1 -1
- ccxt/bitteam.py +2 -0
- ccxt/bitvavo.py +25 -10
- ccxt/btcalpha.py +1 -1
- ccxt/btcmarkets.py +1 -1
- ccxt/btcturk.py +1 -1
- ccxt/bybit.py +29 -15
- ccxt/coinbase.py +3 -15
- ccxt/coinex.py +1 -0
- ccxt/coinlist.py +1 -0
- ccxt/coinone.py +1 -0
- ccxt/delta.py +3 -0
- ccxt/deribit.py +1 -0
- ccxt/hollaex.py +1 -0
- ccxt/htx.py +9 -5
- ccxt/huobijp.py +1 -0
- ccxt/hyperliquid.py +14 -0
- ccxt/kraken.py +2 -0
- ccxt/okx.py +2 -3
- ccxt/oxfun.py +21 -1
- ccxt/poloniex.py +1 -0
- ccxt/pro/__init__.py +1 -1
- ccxt/pro/binance.py +3 -3
- ccxt/pro/coinbase.py +41 -53
- ccxt/pro/hyperliquid.py +10 -2
- ccxt/pro/upbit.py +42 -0
- ccxt/test/tests_async.py +0 -1
- ccxt/test/tests_sync.py +0 -1
- ccxt/timex.py +2 -2
- ccxt/upbit.py +43 -21
- ccxt/whitebit.py +65 -12
- {ccxt-4.4.78.dist-info → ccxt-4.4.82.dist-info}/METADATA +9 -13
- {ccxt-4.4.78.dist-info → ccxt-4.4.82.dist-info}/RECORD +87 -87
- {ccxt-4.4.78.dist-info → ccxt-4.4.82.dist-info}/LICENSE.txt +0 -0
- {ccxt-4.4.78.dist-info → ccxt-4.4.82.dist-info}/WHEEL +0 -0
- {ccxt-4.4.78.dist-info → ccxt-4.4.82.dist-info}/top_level.txt +0 -0
ccxt/whitebit.py
CHANGED
@@ -554,18 +554,69 @@ class whitebit(Exchange, ImplicitAPI):
|
|
554
554
|
"""
|
555
555
|
response = self.v4PublicGetAssets(params)
|
556
556
|
#
|
557
|
-
#
|
558
|
-
#
|
559
|
-
#
|
560
|
-
#
|
561
|
-
#
|
562
|
-
#
|
563
|
-
#
|
564
|
-
#
|
565
|
-
#
|
566
|
-
#
|
567
|
-
#
|
568
|
-
#
|
557
|
+
# {
|
558
|
+
# BTC: {
|
559
|
+
# name: "Bitcoin",
|
560
|
+
# unified_cryptoasset_id: "1",
|
561
|
+
# can_withdraw: True,
|
562
|
+
# can_deposit: True,
|
563
|
+
# min_withdraw: "0.0003",
|
564
|
+
# max_withdraw: "0",
|
565
|
+
# maker_fee: "0.1",
|
566
|
+
# taker_fee: "0.1",
|
567
|
+
# min_deposit: "0.0001",
|
568
|
+
# max_deposit: "0",
|
569
|
+
# networks: {
|
570
|
+
# deposits: ["BTC",],
|
571
|
+
# withdraws: ["BTC",],
|
572
|
+
# default: "BTC",
|
573
|
+
# },
|
574
|
+
# confirmations: {
|
575
|
+
# BTC: "2",
|
576
|
+
# },
|
577
|
+
# limits: {
|
578
|
+
# deposit: {
|
579
|
+
# BTC: {min: "0.0001",},
|
580
|
+
# },
|
581
|
+
# withdraw: {
|
582
|
+
# BTC: {min: "0.0003",},
|
583
|
+
# },
|
584
|
+
# },
|
585
|
+
# currency_precision: "8",
|
586
|
+
# is_memo: False,
|
587
|
+
# },
|
588
|
+
# USD: {
|
589
|
+
# name: "United States Dollar",
|
590
|
+
# unified_cryptoasset_id: "6955",
|
591
|
+
# can_withdraw: True,
|
592
|
+
# can_deposit: True,
|
593
|
+
# min_withdraw: "10",
|
594
|
+
# max_withdraw: "10000",
|
595
|
+
# maker_fee: "0.1",
|
596
|
+
# taker_fee: "0.1",
|
597
|
+
# min_deposit: "10",
|
598
|
+
# max_deposit: "10000",
|
599
|
+
# networks: {
|
600
|
+
# deposits: ["USD",],
|
601
|
+
# withdraws: ["USD",],
|
602
|
+
# default: "USD",
|
603
|
+
# },
|
604
|
+
# providers: {
|
605
|
+
# deposits: ["ADVCASH",],
|
606
|
+
# withdraws: ["ADVCASH",],
|
607
|
+
# },
|
608
|
+
# limits: {
|
609
|
+
# deposit: {
|
610
|
+
# USD: { max: "10000", min: "10",},
|
611
|
+
# },
|
612
|
+
# withdraw: {
|
613
|
+
# USD: {max: "10000", min: "10",},
|
614
|
+
# },
|
615
|
+
# },
|
616
|
+
# currency_precision: "2",
|
617
|
+
# is_memo: False,
|
618
|
+
# }
|
619
|
+
# }
|
569
620
|
#
|
570
621
|
ids = list(response.keys())
|
571
622
|
result: dict = {}
|
@@ -578,6 +629,7 @@ class whitebit(Exchange, ImplicitAPI):
|
|
578
629
|
canWithdraw = self.safe_bool(currency, 'can_withdraw', True)
|
579
630
|
active = canDeposit and canWithdraw
|
580
631
|
code = self.safe_currency_code(id)
|
632
|
+
hasProvider = ('providers' in currency)
|
581
633
|
result[code] = {
|
582
634
|
'id': id,
|
583
635
|
'code': code,
|
@@ -588,6 +640,7 @@ class whitebit(Exchange, ImplicitAPI):
|
|
588
640
|
'withdraw': canWithdraw,
|
589
641
|
'fee': None,
|
590
642
|
'networks': None, # todo
|
643
|
+
'type': 'fiat' if hasProvider else 'crypto',
|
591
644
|
'precision': None,
|
592
645
|
'limits': {
|
593
646
|
'amount': {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: ccxt
|
3
|
-
Version: 4.4.
|
3
|
+
Version: 4.4.82
|
4
4
|
Summary: A JavaScript / TypeScript / Python / C# / PHP cryptocurrency trading library with support for 100+ exchanges
|
5
5
|
Home-page: https://ccxt.com
|
6
6
|
Author: Igor Kroitor
|
@@ -68,8 +68,6 @@ Current feature list:
|
|
68
68
|
- works in Node 10.4+, Python 3, PHP 8.1+, netstandard2.0/2.1, Go 1.20+ and web browsers
|
69
69
|
|
70
70
|
|
71
|
-
## Sponsored Promotion
|
72
|
-
|
73
71
|
## See Also
|
74
72
|
|
75
73
|
- <sub>[](https://tab-trader.com/?utm_source=ccxt)</sub> **[TabTrader](https://tab-trader.com/?utm_source=ccxt)** – trading on all exchanges in one app. Available on **[Android](https://play.google.com/store/apps/details?id=com.tabtrader.android&referrer=utm_source%3Dccxt)** and **[iOS](https://itunes.apple.com/app/apple-store/id1095716562?mt=8)**!
|
@@ -104,13 +102,12 @@ Current feature list:
|
|
104
102
|
| [](https://dex.woo.org/en/trade?ref=CCXT) | woofipro | [WOOFI PRO](https://dex.woo.org/en/trade?ref=CCXT) | [](https://orderly.network/docs/build-on-evm/building-on-evm) |  | [](https://github.com/ccxt/ccxt/wiki/Certification) | [](https://ccxt.pro) | [](https://dex.woo.org/en/trade?ref=CCXT) |
|
105
103
|
|
106
104
|
## Supported Cryptocurrency Exchanges
|
107
|
-
|
108
|
-
The CCXT library currently supports the following 106 cryptocurrency exchange markets and trading APIs:
|
105
|
+
<!--- init list -->The CCXT library currently supports the following 104 cryptocurrency exchange markets and trading APIs:
|
109
106
|
|
110
107
|
|logo |id |name |ver |type |certified |pro |
|
111
108
|
|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------|----------------------------------------------------------------------------------------------|:------------------------------------------------------------------------------------------------------------------------------------------------:|--------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------|
|
112
|
-
| [](https://ace.io/) | ace | [ACE](https://ace.io/) | [](https://github.com/ace-exchange/ace-offical-api-docs) |  | | |
|
113
109
|
| [](https://alpaca.markets) | alpaca | [Alpaca](https://alpaca.markets) | [](https://alpaca.markets/docs/) |  | | [](https://ccxt.pro) |
|
110
|
+
| [](https://omni.apex.exchange/trade) | apex | [Apex](https://omni.apex.exchange/trade) | [](https://api-docs.pro.apex.exchange) |  | | [](https://ccxt.pro) |
|
114
111
|
| [](https://ascendex.com/en-us/register?inviteCode=EL6BXBQM) | ascendex | [AscendEX](https://ascendex.com/en-us/register?inviteCode=EL6BXBQM) | [](https://ascendex.github.io/ascendex-pro-api/#ascendex-pro-api-documentation) |  | | [](https://ccxt.pro) |
|
115
112
|
| [](https://bequant.io/referral/dd104e3bee7634ec) | bequant | [Bequant](https://bequant.io/referral/dd104e3bee7634ec) | [](https://api.bequant.io/) |  | | [](https://ccxt.pro) |
|
116
113
|
| [](https://b1.run/users/new?code=D3LLBVFT) | bigone | [BigONE](https://b1.run/users/new?code=D3LLBVFT) | [](https://open.big.one/docs/api.html) |  | | |
|
@@ -123,7 +120,6 @@ The CCXT library currently supports the following 106 cryptocurrency exchange ma
|
|
123
120
|
| [](https://bitbank.cc/) | bitbank | [bitbank](https://bitbank.cc/) | [](https://docs.bitbank.cc/) |  | | |
|
124
121
|
| [](https://ref.bitbns.com/1090961) | bitbns | [Bitbns](https://ref.bitbns.com/1090961) | [](https://bitbns.com/trade/#/api-trading/) |  | | |
|
125
122
|
| [](https://www.bitfinex.com) | bitfinex | [Bitfinex](https://www.bitfinex.com) | [](https://docs.bitfinex.com/v2/docs/) |  | | [](https://ccxt.pro) |
|
126
|
-
| [](https://www.bitfinex.com/?refcode=P61eYxFL) | bitfinex1 | [Bitfinex](https://www.bitfinex.com/?refcode=P61eYxFL) | [](https://docs.bitfinex.com/v1/docs) |  | | [](https://ccxt.pro) |
|
127
123
|
| [](https://bitflyer.com) | bitflyer | [bitFlyer](https://bitflyer.com) | [](https://lightning.bitflyer.com/docs?lang=en) |  | | |
|
128
124
|
| [](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) |
|
129
125
|
| [](https://www.bithumb.com) | bithumb | [Bithumb](https://www.bithumb.com) | [](https://apidocs.bithumb.com) |  | | [](https://ccxt.pro) |
|
@@ -157,7 +153,7 @@ The CCXT library currently supports the following 106 cryptocurrency exchange ma
|
|
157
153
|
| [](https://coins.ph/) | coinsph | [Coins.ph](https://coins.ph/) | [](https://coins-docs.github.io/rest-api) |  | | |
|
158
154
|
| [](https://www.coinspot.com.au/register?code=PJURCU) | coinspot | [CoinSpot](https://www.coinspot.com.au/register?code=PJURCU) | [](https://www.coinspot.com.au/api) |  | | |
|
159
155
|
| [](https://crypto.com/exch/kdacthrnxt) | cryptocom | [Crypto.com](https://crypto.com/exch/kdacthrnxt) | [](https://exchange-docs.crypto.com/exchange/v1/rest-ws/index.html) |  | [](https://github.com/ccxt/ccxt/wiki/Certification) | [](https://ccxt.pro) |
|
160
|
-
| [](https://app.cryptomus.com/signup/?ref=JRP4yj) | cryptomus | [Cryptomus](https://app.cryptomus.com/signup/?ref=JRP4yj) | [](https://app.cryptomus.com/signup/?ref=JRP4yj) | cryptomus | [Cryptomus](https://app.cryptomus.com/signup/?ref=JRP4yj) | [](https://doc.cryptomus.com/personal) |  | | |
|
161
157
|
| [](https://app.defx.com/join/6I2CZ7) | defx | [Defx X](https://app.defx.com/join/6I2CZ7) | [](https://docs.defx.com/docs) |  | | |
|
162
158
|
| [](https://www.delta.exchange/app/signup/?code=IULYNB) | delta | [Delta Exchange](https://www.delta.exchange/app/signup/?code=IULYNB) | [](https://docs.delta.exchange) |  | | |
|
163
159
|
| [](https://www.deribit.com/reg-1189.4038) | deribit | [Deribit](https://www.deribit.com/reg-1189.4038) | [](https://docs.deribit.com/v2) |  | | [](https://ccxt.pro) |
|
@@ -200,11 +196,10 @@ The CCXT library currently supports the following 106 cryptocurrency exchange ma
|
|
200
196
|
| [](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) |  | | |
|
201
197
|
| [](https://phemex.com/register?referralCode=EDNVJ) | phemex | [Phemex](https://phemex.com/register?referralCode=EDNVJ) | [](https://phemex-docs.github.io/#overview) |  | | [](https://ccxt.pro) |
|
202
198
|
| [](https://poloniex.com/signup?c=UBFZJRPJ) | poloniex | [Poloniex](https://poloniex.com/signup?c=UBFZJRPJ) | [](https://api-docs.poloniex.com/spot/) |  | | [](https://ccxt.pro) |
|
203
|
-
| [](https://poloniex.com/signup?c=UBFZJRPJ) | poloniexfutures | [Poloniex Futures](https://poloniex.com/signup?c=UBFZJRPJ) | [](https://api-docs.poloniex.com/futures/) |  | | [](https://ccxt.pro) |
|
204
199
|
| [](https://www.probit.com/r/34608773) | probit | [ProBit](https://www.probit.com/r/34608773) | [](https://docs-en.probit.com) |  | | [](https://ccxt.pro) |
|
205
200
|
| [](https://timex.io/?refcode=1x27vNkTbP1uwkCck) | timex | [TimeX](https://timex.io/?refcode=1x27vNkTbP1uwkCck) | [](https://plasma-relay-backend.timex.io/swagger-ui/index.html) |  | | |
|
206
201
|
| [](https://tokocrypto.com) | tokocrypto | [Tokocrypto](https://tokocrypto.com) | [](https://www.tokocrypto.com/apidocs/) |  | | |
|
207
|
-
| [](https://tradeogre.com) | tradeogre | [tradeogre](https://tradeogre.com) | [](https://tradeogre.com/help/api) |  | |
|
202
|
+
| [](https://tradeogre.com) | tradeogre | [tradeogre](https://tradeogre.com) | [](https://tradeogre.com/help/api) |  | | [](https://ccxt.pro) |
|
208
203
|
| [](https://upbit.com) | upbit | [Upbit](https://upbit.com) | [](https://docs.upbit.com/docs/%EC%9A%94%EC%B2%AD-%EC%88%98-%EC%A0%9C%ED%95%9C) |  | | [](https://ccxt.pro) |
|
209
204
|
| [](https://app.vertexprotocol.com?referrer=0xCfC9BaB96a2eA3d3c3F031c005e82E1D9F295aC1) | vertex | [Vertex](https://app.vertexprotocol.com?referrer=0xCfC9BaB96a2eA3d3c3F031c005e82E1D9F295aC1) | [](https://docs.vertexprotocol.com/) |  | | [](https://ccxt.pro) |
|
210
205
|
| [](https://wx.network) | wavesexchange | [Waves.Exchange](https://wx.network) | [](https://docs.wx.network) |  | | |
|
@@ -215,6 +210,7 @@ The CCXT library currently supports the following 106 cryptocurrency exchange ma
|
|
215
210
|
| [](https://www.yobit.net) | yobit | [YoBit](https://www.yobit.net) | [](https://www.yobit.net/en/api/) |  | | |
|
216
211
|
| [](https://zaif.jp) | zaif | [Zaif](https://zaif.jp) | [](https://techbureau-api-document.readthedocs.io/ja/latest/index.html) |  | | |
|
217
212
|
| [](https://auth.zondaglobal.com/ref/jHlbB4mIkdS1) | zonda | [Zonda](https://auth.zondaglobal.com/ref/jHlbB4mIkdS1) | [](https://docs.zondacrypto.exchange/) |  | | |
|
213
|
+
<!--- end list -->
|
218
214
|
|
219
215
|
The list above is updated frequently, new crypto markets, exchanges, bug fixes, and API endpoints are introduced on a regular basis. See the [Manual](https://github.com/ccxt/ccxt/wiki/) for more details. If you can't find a cryptocurrency exchange in the list above and want it to be added, post a link to it by opening an issue here on GitHub or send us an email.
|
220
216
|
|
@@ -275,13 +271,13 @@ console.log(version, Object.keys(exchanges));
|
|
275
271
|
|
276
272
|
All-in-one browser bundle (dependencies included), served from a CDN of your choice:
|
277
273
|
|
278
|
-
* jsDelivr: https://cdn.jsdelivr.net/npm/ccxt@4.4.
|
279
|
-
* unpkg: https://unpkg.com/ccxt@4.4.
|
274
|
+
* jsDelivr: https://cdn.jsdelivr.net/npm/ccxt@4.4.82/dist/ccxt.browser.min.js
|
275
|
+
* unpkg: https://unpkg.com/ccxt@4.4.82/dist/ccxt.browser.min.js
|
280
276
|
|
281
277
|
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.
|
282
278
|
|
283
279
|
```HTML
|
284
|
-
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/ccxt@4.4.
|
280
|
+
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/ccxt@4.4.82/dist/ccxt.browser.min.js"></script>
|
285
281
|
```
|
286
282
|
|
287
283
|
Creates a global `ccxt` object:
|