ccxt 4.4.30__py2.py3-none-any.whl → 4.4.32__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/ace.py +36 -12
- ccxt/alpaca.py +62 -22
- ccxt/ascendex.py +65 -30
- ccxt/async_support/__init__.py +1 -1
- ccxt/async_support/ace.py +36 -12
- ccxt/async_support/alpaca.py +62 -22
- ccxt/async_support/ascendex.py +65 -30
- ccxt/async_support/base/exchange.py +3 -3
- ccxt/async_support/base/ws/aiohttp_client.py +25 -3
- ccxt/async_support/bigone.py +71 -27
- ccxt/async_support/binance.py +555 -323
- ccxt/async_support/bingx.py +208 -108
- ccxt/async_support/bit2c.py +34 -12
- ccxt/async_support/bitbank.py +42 -14
- ccxt/async_support/bitbns.py +17 -9
- ccxt/async_support/bitfinex.py +68 -24
- ccxt/async_support/bitfinex2.py +116 -44
- ccxt/async_support/bitflyer.py +54 -18
- ccxt/async_support/bitget.py +277 -145
- ccxt/async_support/bithumb.py +39 -14
- ccxt/async_support/bitmart.py +145 -79
- ccxt/async_support/bitmex.py +90 -30
- ccxt/async_support/bitopro.py +66 -22
- ccxt/async_support/bitrue.py +109 -57
- ccxt/async_support/bitso.py +55 -19
- ccxt/async_support/bitstamp.py +84 -36
- ccxt/async_support/bitteam.py +51 -17
- ccxt/async_support/bitvavo.py +57 -22
- ccxt/async_support/bl3p.py +26 -10
- ccxt/async_support/blockchaincom.py +63 -21
- ccxt/async_support/blofin.py +95 -38
- ccxt/async_support/btcalpha.py +48 -16
- ccxt/async_support/btcbox.py +27 -9
- ccxt/async_support/btcmarkets.py +57 -19
- ccxt/async_support/btcturk.py +36 -12
- ccxt/async_support/bybit.py +251 -95
- ccxt/async_support/cex.py +65 -22
- ccxt/async_support/coinbase.py +138 -56
- ccxt/async_support/coinbaseexchange.py +76 -28
- ccxt/async_support/coinbaseinternational.py +75 -27
- ccxt/async_support/coincatch.py +191 -97
- ccxt/async_support/coincheck.py +33 -11
- ccxt/async_support/coinex.py +212 -101
- ccxt/async_support/coinlist.py +87 -30
- ccxt/async_support/coinmate.py +55 -24
- ccxt/async_support/coinmetro.py +52 -18
- ccxt/async_support/coinone.py +27 -10
- ccxt/async_support/coinsph.py +73 -27
- ccxt/async_support/coinspot.py +25 -9
- ccxt/async_support/cryptocom.py +103 -38
- ccxt/async_support/currencycom.py +70 -23
- ccxt/async_support/delta.py +90 -30
- ccxt/async_support/deribit.py +131 -50
- ccxt/async_support/digifinex.py +114 -51
- ccxt/async_support/exmo.py +104 -45
- ccxt/async_support/gate.py +313 -157
- ccxt/async_support/gemini.py +57 -20
- ccxt/async_support/hashkey.py +151 -66
- ccxt/async_support/hitbtc.py +157 -74
- ccxt/async_support/hollaex.py +76 -25
- ccxt/async_support/htx.py +297 -240
- ccxt/async_support/huobijp.py +1 -0
- ccxt/async_support/hyperliquid.py +94 -38
- ccxt/async_support/idex.py +73 -24
- ccxt/async_support/independentreserve.py +12 -5
- ccxt/async_support/indodax.py +54 -17
- ccxt/async_support/kraken.py +108 -36
- ccxt/async_support/krakenfutures.py +88 -34
- ccxt/async_support/kucoin.py +214 -110
- ccxt/async_support/kucoinfutures.py +209 -64
- ccxt/async_support/kuna.py +80 -39
- ccxt/async_support/latoken.py +70 -33
- ccxt/async_support/lbank.py +89 -38
- ccxt/async_support/luno.py +54 -19
- ccxt/async_support/lykke.py +54 -19
- ccxt/async_support/mercado.py +1 -0
- ccxt/async_support/mexc.py +226 -108
- ccxt/async_support/ndax.py +58 -19
- ccxt/async_support/novadax.py +67 -22
- ccxt/async_support/oceanex.py +58 -19
- ccxt/async_support/okcoin.py +81 -38
- ccxt/async_support/okx.py +270 -109
- ccxt/async_support/onetrading.py +3 -1
- ccxt/async_support/oxfun.py +95 -36
- ccxt/async_support/p2b.py +49 -23
- ccxt/async_support/paradex.py +75 -27
- ccxt/async_support/paymium.py +31 -11
- ccxt/async_support/phemex.py +108 -56
- ccxt/async_support/poloniex.py +80 -30
- ccxt/async_support/poloniexfutures.py +72 -30
- ccxt/async_support/probit.py +64 -22
- ccxt/async_support/timex.py +58 -19
- ccxt/async_support/tokocrypto.py +63 -22
- ccxt/async_support/tradeogre.py +7 -2
- ccxt/async_support/upbit.py +72 -25
- ccxt/async_support/vertex.py +74 -28
- ccxt/async_support/wavesexchange.py +32 -8
- ccxt/async_support/wazirx.py +51 -17
- ccxt/async_support/whitebit.py +105 -41
- ccxt/async_support/woo.py +162 -65
- ccxt/async_support/woofipro.py +119 -50
- ccxt/async_support/xt.py +150 -73
- ccxt/async_support/yobit.py +49 -16
- ccxt/async_support/zaif.py +30 -10
- ccxt/async_support/zonda.py +46 -16
- ccxt/base/exchange.py +47 -35
- ccxt/base/types.py +1 -0
- ccxt/bigone.py +71 -27
- ccxt/binance.py +555 -323
- ccxt/bingx.py +208 -108
- ccxt/bit2c.py +34 -12
- ccxt/bitbank.py +42 -14
- ccxt/bitbns.py +17 -9
- ccxt/bitfinex.py +68 -24
- ccxt/bitfinex2.py +116 -44
- ccxt/bitflyer.py +54 -18
- ccxt/bitget.py +277 -145
- ccxt/bithumb.py +39 -14
- ccxt/bitmart.py +145 -79
- ccxt/bitmex.py +90 -30
- ccxt/bitopro.py +66 -22
- ccxt/bitrue.py +109 -57
- ccxt/bitso.py +55 -19
- ccxt/bitstamp.py +84 -36
- ccxt/bitteam.py +51 -17
- ccxt/bitvavo.py +57 -22
- ccxt/bl3p.py +26 -10
- ccxt/blockchaincom.py +63 -21
- ccxt/blofin.py +95 -38
- ccxt/btcalpha.py +48 -16
- ccxt/btcbox.py +27 -9
- ccxt/btcmarkets.py +57 -19
- ccxt/btcturk.py +36 -12
- ccxt/bybit.py +251 -95
- ccxt/cex.py +65 -22
- ccxt/coinbase.py +138 -56
- ccxt/coinbaseexchange.py +76 -28
- ccxt/coinbaseinternational.py +75 -27
- ccxt/coincatch.py +191 -97
- ccxt/coincheck.py +33 -11
- ccxt/coinex.py +212 -101
- ccxt/coinlist.py +87 -30
- ccxt/coinmate.py +55 -24
- ccxt/coinmetro.py +52 -18
- ccxt/coinone.py +27 -10
- ccxt/coinsph.py +73 -27
- ccxt/coinspot.py +25 -9
- ccxt/cryptocom.py +103 -38
- ccxt/currencycom.py +70 -23
- ccxt/delta.py +90 -30
- ccxt/deribit.py +131 -50
- ccxt/digifinex.py +114 -51
- ccxt/exmo.py +104 -45
- ccxt/gate.py +313 -157
- ccxt/gemini.py +57 -20
- ccxt/hashkey.py +151 -66
- ccxt/hitbtc.py +157 -74
- ccxt/hollaex.py +76 -25
- ccxt/htx.py +297 -240
- ccxt/huobijp.py +1 -0
- ccxt/hyperliquid.py +94 -38
- ccxt/idex.py +73 -24
- ccxt/independentreserve.py +12 -5
- ccxt/indodax.py +54 -17
- ccxt/kraken.py +108 -36
- ccxt/krakenfutures.py +88 -34
- ccxt/kucoin.py +214 -110
- ccxt/kucoinfutures.py +209 -64
- ccxt/kuna.py +80 -39
- ccxt/latoken.py +70 -33
- ccxt/lbank.py +89 -38
- ccxt/luno.py +54 -19
- ccxt/lykke.py +54 -19
- ccxt/mercado.py +1 -0
- ccxt/mexc.py +226 -108
- ccxt/ndax.py +58 -19
- ccxt/novadax.py +67 -22
- ccxt/oceanex.py +58 -19
- ccxt/okcoin.py +81 -38
- ccxt/okx.py +270 -109
- ccxt/onetrading.py +3 -1
- ccxt/oxfun.py +95 -36
- ccxt/p2b.py +49 -23
- ccxt/paradex.py +75 -27
- ccxt/paymium.py +31 -11
- ccxt/phemex.py +108 -56
- ccxt/poloniex.py +80 -30
- ccxt/poloniexfutures.py +72 -30
- ccxt/pro/__init__.py +1 -1
- ccxt/pro/alpaca.py +15 -5
- ccxt/pro/ascendex.py +18 -6
- ccxt/pro/binance.py +204 -123
- ccxt/pro/bingx.py +44 -24
- ccxt/pro/bitfinex.py +13 -5
- ccxt/pro/bitget.py +76 -37
- ccxt/pro/bithumb.py +12 -4
- ccxt/pro/bitmart.py +44 -20
- ccxt/pro/bitmex.py +42 -14
- ccxt/pro/bitopro.py +15 -5
- ccxt/pro/bitrue.py +7 -3
- ccxt/pro/bitvavo.py +97 -62
- ccxt/pro/blockchaincom.py +18 -6
- ccxt/pro/blofin.py +36 -12
- ccxt/pro/bybit.py +100 -42
- ccxt/pro/cex.py +48 -16
- ccxt/pro/coinbase.py +32 -12
- ccxt/pro/coinbaseexchange.py +1 -1
- ccxt/pro/coinbaseinternational.py +34 -14
- ccxt/pro/coincatch.py +54 -19
- ccxt/pro/coincheck.py +6 -2
- ccxt/pro/coinex.py +40 -20
- ccxt/pro/coinone.py +9 -3
- ccxt/pro/cryptocom.py +71 -27
- ccxt/pro/deribit.py +36 -12
- ccxt/pro/exmo.py +10 -4
- ccxt/pro/gate.py +65 -31
- ccxt/pro/gemini.py +21 -7
- ccxt/pro/hashkey.py +27 -9
- ccxt/pro/hitbtc.py +61 -37
- ccxt/pro/hollaex.py +15 -5
- ccxt/pro/htx.py +39 -21
- ccxt/pro/hyperliquid.py +41 -14
- ccxt/pro/kraken.py +49 -17
- ccxt/pro/krakenfutures.py +47 -24
- ccxt/pro/kucoin.py +60 -31
- ccxt/pro/kucoinfutures.py +41 -19
- ccxt/pro/lbank.py +27 -9
- ccxt/pro/luno.py +3 -1
- ccxt/pro/mexc.py +36 -19
- ccxt/pro/ndax.py +12 -4
- ccxt/pro/okcoin.py +18 -6
- ccxt/pro/okx.py +76 -28
- ccxt/pro/onetrading.py +21 -7
- ccxt/pro/oxfun.py +54 -20
- ccxt/pro/p2b.py +23 -11
- ccxt/pro/paradex.py +12 -4
- ccxt/pro/phemex.py +31 -19
- ccxt/pro/poloniex.py +50 -22
- ccxt/pro/poloniexfutures.py +17 -7
- ccxt/pro/probit.py +18 -6
- ccxt/pro/upbit.py +25 -9
- ccxt/pro/vertex.py +20 -6
- ccxt/pro/wazirx.py +21 -7
- ccxt/pro/whitebit.py +25 -9
- ccxt/pro/woo.py +32 -12
- ccxt/pro/woofipro.py +35 -13
- ccxt/pro/xt.py +46 -26
- ccxt/probit.py +64 -22
- ccxt/timex.py +58 -19
- ccxt/tokocrypto.py +63 -22
- ccxt/tradeogre.py +7 -2
- ccxt/upbit.py +72 -25
- ccxt/vertex.py +74 -28
- ccxt/wavesexchange.py +32 -8
- ccxt/wazirx.py +51 -17
- ccxt/whitebit.py +105 -41
- ccxt/woo.py +162 -65
- ccxt/woofipro.py +119 -50
- ccxt/xt.py +150 -73
- ccxt/yobit.py +49 -16
- ccxt/zaif.py +30 -10
- ccxt/zonda.py +46 -16
- {ccxt-4.4.30.dist-info → ccxt-4.4.32.dist-info}/METADATA +11 -5
- {ccxt-4.4.30.dist-info → ccxt-4.4.32.dist-info}/RECORD +268 -268
- {ccxt-4.4.30.dist-info → ccxt-4.4.32.dist-info}/LICENSE.txt +0 -0
- {ccxt-4.4.30.dist-info → ccxt-4.4.32.dist-info}/WHEEL +0 -0
- {ccxt-4.4.30.dist-info → ccxt-4.4.32.dist-info}/top_level.txt +0 -0
ccxt/yobit.py
CHANGED
@@ -344,7 +344,9 @@ class yobit(Exchange, ImplicitAPI):
|
|
344
344
|
|
345
345
|
def fetch_balance(self, params={}) -> Balances:
|
346
346
|
"""
|
347
|
-
|
347
|
+
|
348
|
+
https://yobit.net/en/api
|
349
|
+
|
348
350
|
query for balance and get the amount of funds available for trading or funds locked in orders
|
349
351
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
350
352
|
:returns dict: a `balance structure <https://docs.ccxt.com/#/?id=balance-structure>`
|
@@ -380,7 +382,9 @@ class yobit(Exchange, ImplicitAPI):
|
|
380
382
|
|
381
383
|
def fetch_markets(self, params={}) -> List[Market]:
|
382
384
|
"""
|
383
|
-
|
385
|
+
|
386
|
+
https://yobit.net/en/api
|
387
|
+
|
384
388
|
retrieves data on all markets for yobit
|
385
389
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
386
390
|
:returns dict[]: an array of objects representing market data
|
@@ -474,7 +478,9 @@ class yobit(Exchange, ImplicitAPI):
|
|
474
478
|
|
475
479
|
def fetch_order_book(self, symbol: str, limit: Int = None, params={}) -> OrderBook:
|
476
480
|
"""
|
477
|
-
|
481
|
+
|
482
|
+
https://yobit.net/en/api
|
483
|
+
|
478
484
|
fetches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
|
479
485
|
:param str symbol: unified symbol of the market to fetch the order book for
|
480
486
|
:param int [limit]: the maximum amount of order book entries to return
|
@@ -497,7 +503,9 @@ class yobit(Exchange, ImplicitAPI):
|
|
497
503
|
|
498
504
|
def fetch_order_books(self, symbols: Strings = None, limit: Int = None, params={}):
|
499
505
|
"""
|
500
|
-
|
506
|
+
|
507
|
+
https://yobit.net/en/api
|
508
|
+
|
501
509
|
fetches information on open orders with bid(buy) and ask(sell) prices, volumes and other data for multiple markets
|
502
510
|
:param str[]|None symbols: list of unified market symbols, all symbols fetched if None, default is None
|
503
511
|
:param int [limit]: max number of entries per orderbook to return, default is None
|
@@ -586,7 +594,9 @@ class yobit(Exchange, ImplicitAPI):
|
|
586
594
|
|
587
595
|
def fetch_tickers(self, symbols: Strings = None, params={}) -> Tickers:
|
588
596
|
"""
|
589
|
-
|
597
|
+
|
598
|
+
https://yobit.net/en/api
|
599
|
+
|
590
600
|
fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
|
591
601
|
:param str[]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
592
602
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
@@ -632,7 +642,9 @@ class yobit(Exchange, ImplicitAPI):
|
|
632
642
|
|
633
643
|
def fetch_ticker(self, symbol: str, params={}) -> Ticker:
|
634
644
|
"""
|
635
|
-
|
645
|
+
|
646
|
+
https://yobit.net/en/api
|
647
|
+
|
636
648
|
fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
637
649
|
:param str symbol: unified symbol of the market to fetch the ticker for
|
638
650
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
@@ -717,7 +729,9 @@ class yobit(Exchange, ImplicitAPI):
|
|
717
729
|
|
718
730
|
def fetch_trades(self, symbol: str, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
|
719
731
|
"""
|
720
|
-
|
732
|
+
|
733
|
+
https://yobit.net/en/api
|
734
|
+
|
721
735
|
get the list of most recent trades for a particular symbol
|
722
736
|
:param str symbol: unified symbol of the market to fetch trades for
|
723
737
|
:param int [since]: timestamp in ms of the earliest trade to fetch
|
@@ -755,7 +769,9 @@ class yobit(Exchange, ImplicitAPI):
|
|
755
769
|
|
756
770
|
def fetch_trading_fees(self, params={}) -> TradingFees:
|
757
771
|
"""
|
758
|
-
|
772
|
+
|
773
|
+
https://yobit.net/en/api
|
774
|
+
|
759
775
|
fetch the trading fees for multiple markets
|
760
776
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
761
777
|
:returns dict: a dictionary of `fee structures <https://docs.ccxt.com/#/?id=fee-structure>` indexed by market symbols
|
@@ -804,7 +820,9 @@ class yobit(Exchange, ImplicitAPI):
|
|
804
820
|
|
805
821
|
def create_order(self, symbol: str, type: OrderType, side: OrderSide, amount: float, price: Num = None, params={}):
|
806
822
|
"""
|
807
|
-
|
823
|
+
|
824
|
+
https://yobit.net/en/api
|
825
|
+
|
808
826
|
create a trade order
|
809
827
|
:param str symbol: unified symbol of the market to create an order in
|
810
828
|
:param str type: must be 'limit'
|
@@ -851,7 +869,9 @@ class yobit(Exchange, ImplicitAPI):
|
|
851
869
|
|
852
870
|
def cancel_order(self, id: str, symbol: Str = None, params={}):
|
853
871
|
"""
|
854
|
-
|
872
|
+
|
873
|
+
https://yobit.net/en/api
|
874
|
+
|
855
875
|
cancels an open order
|
856
876
|
:param str id: order id
|
857
877
|
:param str symbol: not used by yobit cancelOrder()
|
@@ -998,8 +1018,11 @@ class yobit(Exchange, ImplicitAPI):
|
|
998
1018
|
|
999
1019
|
def fetch_order(self, id: str, symbol: Str = None, params={}):
|
1000
1020
|
"""
|
1001
|
-
|
1021
|
+
|
1022
|
+
https://yobit.net/en/api
|
1023
|
+
|
1002
1024
|
fetches information on an order made by the user
|
1025
|
+
:param str id: order id
|
1003
1026
|
:param str symbol: not used by yobit fetchOrder
|
1004
1027
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
1005
1028
|
:returns dict: An `order structure <https://docs.ccxt.com/#/?id=order-structure>`
|
@@ -1031,7 +1054,9 @@ class yobit(Exchange, ImplicitAPI):
|
|
1031
1054
|
|
1032
1055
|
def fetch_open_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
|
1033
1056
|
"""
|
1034
|
-
|
1057
|
+
|
1058
|
+
https://yobit.net/en/api
|
1059
|
+
|
1035
1060
|
fetch all unfilled currently open orders
|
1036
1061
|
:param str symbol: unified market symbol
|
1037
1062
|
:param int [since]: the earliest time in ms to fetch open orders for
|
@@ -1076,7 +1101,9 @@ class yobit(Exchange, ImplicitAPI):
|
|
1076
1101
|
|
1077
1102
|
def fetch_my_trades(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}):
|
1078
1103
|
"""
|
1079
|
-
|
1104
|
+
|
1105
|
+
https://yobit.net/en/api
|
1106
|
+
|
1080
1107
|
fetch all trades made by the user
|
1081
1108
|
:param str symbol: unified market symbol
|
1082
1109
|
:param int [since]: the earliest time in ms to fetch trades for
|
@@ -1133,7 +1160,9 @@ class yobit(Exchange, ImplicitAPI):
|
|
1133
1160
|
|
1134
1161
|
def create_deposit_address(self, code: str, params={}):
|
1135
1162
|
"""
|
1136
|
-
|
1163
|
+
|
1164
|
+
https://yobit.net/en/api
|
1165
|
+
|
1137
1166
|
create a currency deposit address
|
1138
1167
|
:param str code: unified currency code of the currency for the deposit address
|
1139
1168
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
@@ -1155,7 +1184,9 @@ class yobit(Exchange, ImplicitAPI):
|
|
1155
1184
|
def fetch_deposit_address(self, code: str, params={}) -> DepositAddress:
|
1156
1185
|
"""
|
1157
1186
|
fetch the deposit address for a currency associated with self account
|
1158
|
-
|
1187
|
+
|
1188
|
+
https://yobit.net/en/api
|
1189
|
+
|
1159
1190
|
:param str code: unified currency code
|
1160
1191
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
1161
1192
|
:returns dict: an `address structure <https://docs.ccxt.com/#/?id=address-structure>`
|
@@ -1187,7 +1218,9 @@ class yobit(Exchange, ImplicitAPI):
|
|
1187
1218
|
|
1188
1219
|
def withdraw(self, code: str, amount: float, address: str, tag=None, params={}) -> Transaction:
|
1189
1220
|
"""
|
1190
|
-
|
1221
|
+
|
1222
|
+
https://yobit.net/en/api
|
1223
|
+
|
1191
1224
|
make a withdrawal
|
1192
1225
|
:param str code: unified currency code
|
1193
1226
|
:param float amount: the amount to withdraw
|
ccxt/zaif.py
CHANGED
@@ -145,7 +145,9 @@ class zaif(Exchange, ImplicitAPI):
|
|
145
145
|
|
146
146
|
def fetch_markets(self, params={}) -> List[Market]:
|
147
147
|
"""
|
148
|
-
|
148
|
+
|
149
|
+
https://zaif-api-document.readthedocs.io/ja/latest/PublicAPI.html#id12
|
150
|
+
|
149
151
|
retrieves data on all markets for zaif
|
150
152
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
151
153
|
:returns dict[]: an array of objects representing market data
|
@@ -256,7 +258,9 @@ class zaif(Exchange, ImplicitAPI):
|
|
256
258
|
|
257
259
|
def fetch_balance(self, params={}) -> Balances:
|
258
260
|
"""
|
259
|
-
|
261
|
+
|
262
|
+
https://zaif-api-document.readthedocs.io/ja/latest/TradingAPI.html#id10
|
263
|
+
|
260
264
|
query for balance and get the amount of funds available for trading or funds locked in orders
|
261
265
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
262
266
|
:returns dict: a `balance structure <https://docs.ccxt.com/#/?id=balance-structure>`
|
@@ -267,7 +271,9 @@ class zaif(Exchange, ImplicitAPI):
|
|
267
271
|
|
268
272
|
def fetch_order_book(self, symbol: str, limit: Int = None, params={}) -> OrderBook:
|
269
273
|
"""
|
270
|
-
|
274
|
+
|
275
|
+
https://zaif-api-document.readthedocs.io/ja/latest/PublicAPI.html#id34
|
276
|
+
|
271
277
|
fetches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
|
272
278
|
:param str symbol: unified symbol of the market to fetch the order book for
|
273
279
|
:param int [limit]: the maximum amount of order book entries to return
|
@@ -324,7 +330,9 @@ class zaif(Exchange, ImplicitAPI):
|
|
324
330
|
|
325
331
|
def fetch_ticker(self, symbol: str, params={}) -> Ticker:
|
326
332
|
"""
|
327
|
-
|
333
|
+
|
334
|
+
https://zaif-api-document.readthedocs.io/ja/latest/PublicAPI.html#id22
|
335
|
+
|
328
336
|
fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
329
337
|
:param str symbol: unified symbol of the market to fetch the ticker for
|
330
338
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
@@ -388,7 +396,9 @@ class zaif(Exchange, ImplicitAPI):
|
|
388
396
|
|
389
397
|
def fetch_trades(self, symbol: str, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
|
390
398
|
"""
|
391
|
-
|
399
|
+
|
400
|
+
https://zaif-api-document.readthedocs.io/ja/latest/PublicAPI.html#id28
|
401
|
+
|
392
402
|
get the list of most recent trades for a particular symbol
|
393
403
|
:param str symbol: unified symbol of the market to fetch trades for
|
394
404
|
:param int [since]: timestamp in ms of the earliest trade to fetch
|
@@ -423,7 +433,9 @@ class zaif(Exchange, ImplicitAPI):
|
|
423
433
|
|
424
434
|
def create_order(self, symbol: str, type: OrderType, side: OrderSide, amount: float, price: Num = None, params={}):
|
425
435
|
"""
|
426
|
-
|
436
|
+
|
437
|
+
https://zaif-api-document.readthedocs.io/ja/latest/MarginTradingAPI.html#id23
|
438
|
+
|
427
439
|
create a trade order
|
428
440
|
:param str symbol: unified symbol of the market to create an order in
|
429
441
|
:param str type: must be 'limit'
|
@@ -451,7 +463,9 @@ class zaif(Exchange, ImplicitAPI):
|
|
451
463
|
|
452
464
|
def cancel_order(self, id: str, symbol: Str = None, params={}):
|
453
465
|
"""
|
454
|
-
|
466
|
+
|
467
|
+
https://zaif-api-document.readthedocs.io/ja/latest/TradingAPI.html#id37
|
468
|
+
|
455
469
|
cancels an open order
|
456
470
|
:param str id: order id
|
457
471
|
:param str symbol: not used by zaif cancelOrder()
|
@@ -537,7 +551,9 @@ class zaif(Exchange, ImplicitAPI):
|
|
537
551
|
|
538
552
|
def fetch_open_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
|
539
553
|
"""
|
540
|
-
|
554
|
+
|
555
|
+
https://zaif-api-document.readthedocs.io/ja/latest/MarginTradingAPI.html#id28
|
556
|
+
|
541
557
|
fetch all unfilled currently open orders
|
542
558
|
:param str symbol: unified market symbol
|
543
559
|
:param int [since]: the earliest time in ms to fetch open orders for
|
@@ -559,7 +575,9 @@ class zaif(Exchange, ImplicitAPI):
|
|
559
575
|
|
560
576
|
def fetch_closed_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
|
561
577
|
"""
|
562
|
-
|
578
|
+
|
579
|
+
https://zaif-api-document.readthedocs.io/ja/latest/TradingAPI.html#id24
|
580
|
+
|
563
581
|
fetches information on multiple closed orders made by the user
|
564
582
|
:param str symbol: unified market symbol of the market orders were made in
|
565
583
|
:param int [since]: the earliest time in ms to fetch orders for
|
@@ -587,7 +605,9 @@ class zaif(Exchange, ImplicitAPI):
|
|
587
605
|
|
588
606
|
def withdraw(self, code: str, amount: float, address: str, tag=None, params={}) -> Transaction:
|
589
607
|
"""
|
590
|
-
|
608
|
+
|
609
|
+
https://zaif-api-document.readthedocs.io/ja/latest/TradingAPI.html#id41
|
610
|
+
|
591
611
|
make a withdrawal
|
592
612
|
:param str code: unified currency code
|
593
613
|
:param float amount: the amount to withdraw
|
ccxt/zonda.py
CHANGED
@@ -344,7 +344,9 @@ class zonda(Exchange, ImplicitAPI):
|
|
344
344
|
|
345
345
|
def fetch_markets(self, params={}) -> List[Market]:
|
346
346
|
"""
|
347
|
-
|
347
|
+
|
348
|
+
https://docs.zondacrypto.exchange/reference/ticker-1
|
349
|
+
|
348
350
|
retrieves data on all markets for zonda
|
349
351
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
350
352
|
:returns dict[]: an array of objects representing market data
|
@@ -441,7 +443,9 @@ class zonda(Exchange, ImplicitAPI):
|
|
441
443
|
|
442
444
|
def fetch_open_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
|
443
445
|
"""
|
444
|
-
|
446
|
+
|
447
|
+
https://docs.zondacrypto.exchange/reference/active-orders
|
448
|
+
|
445
449
|
fetch all unfilled currently open orders
|
446
450
|
:param str symbol: not used by zonda fetchOpenOrders
|
447
451
|
:param int [since]: the earliest time in ms to fetch open orders for
|
@@ -514,7 +518,9 @@ class zonda(Exchange, ImplicitAPI):
|
|
514
518
|
|
515
519
|
def fetch_my_trades(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}):
|
516
520
|
"""
|
517
|
-
|
521
|
+
|
522
|
+
https://docs.zondacrypto.exchange/reference/transactions-history
|
523
|
+
|
518
524
|
fetch all trades made by the user
|
519
525
|
:param str symbol: unified market symbol
|
520
526
|
:param int [since]: the earliest time in ms to fetch trades for
|
@@ -573,7 +579,9 @@ class zonda(Exchange, ImplicitAPI):
|
|
573
579
|
|
574
580
|
def fetch_balance(self, params={}) -> Balances:
|
575
581
|
"""
|
576
|
-
|
582
|
+
|
583
|
+
https://docs.zondacrypto.exchange/reference/list-of-wallets
|
584
|
+
|
577
585
|
query for balance and get the amount of funds available for trading or funds locked in orders
|
578
586
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
579
587
|
:returns dict: a `balance structure <https://docs.ccxt.com/#/?id=balance-structure>`
|
@@ -584,7 +592,9 @@ class zonda(Exchange, ImplicitAPI):
|
|
584
592
|
|
585
593
|
def fetch_order_book(self, symbol: str, limit: Int = None, params={}) -> OrderBook:
|
586
594
|
"""
|
587
|
-
|
595
|
+
|
596
|
+
https://docs.zondacrypto.exchange/reference/orderbook-2
|
597
|
+
|
588
598
|
fetches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
|
589
599
|
:param str symbol: unified symbol of the market to fetch the order book for
|
590
600
|
:param int [limit]: the maximum amount of order book entries to return
|
@@ -695,7 +705,9 @@ class zonda(Exchange, ImplicitAPI):
|
|
695
705
|
def fetch_ticker(self, symbol: str, params={}):
|
696
706
|
"""
|
697
707
|
v1_01PublicGetTradingTickerSymbol retrieves timestamp, datetime, bid, ask, close, last, previousClose, v1_01PublicGetTradingStatsSymbol retrieves high, low, volume and opening price of an asset
|
698
|
-
|
708
|
+
|
709
|
+
https://docs.zondacrypto.exchange/reference/market-statistics
|
710
|
+
|
699
711
|
:param str symbol: unified symbol of the market to fetch the ticker for
|
700
712
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
701
713
|
:param str [params.method]: v1_01PublicGetTradingTickerSymbol(default) or v1_01PublicGetTradingStatsSymbol
|
@@ -761,9 +773,11 @@ class zonda(Exchange, ImplicitAPI):
|
|
761
773
|
|
762
774
|
def fetch_tickers(self, symbols: Strings = None, params={}) -> Tickers:
|
763
775
|
"""
|
764
|
-
|
776
|
+
@ignore
|
765
777
|
v1_01PublicGetTradingTicker retrieves timestamp, datetime, bid, ask, close, last, previousClose for each market, v1_01PublicGetTradingStats retrieves high, low, volume and opening price of each market
|
766
|
-
|
778
|
+
|
779
|
+
https://docs.zondacrypto.exchange/reference/market-statistics
|
780
|
+
|
767
781
|
:param str[]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
768
782
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
769
783
|
:param str [params.method]: v1_01PublicGetTradingTicker(default) or v1_01PublicGetTradingStats
|
@@ -832,7 +846,9 @@ class zonda(Exchange, ImplicitAPI):
|
|
832
846
|
def fetch_ledger(self, code: Str = None, since: Int = None, limit: Int = None, params={}) -> List[LedgerEntry]:
|
833
847
|
"""
|
834
848
|
fetch the history of changes, actions done by the user or operations that altered the balance of the user
|
835
|
-
|
849
|
+
|
850
|
+
https://docs.zondacrypto.exchange/reference/operations-history
|
851
|
+
|
836
852
|
:param str [code]: unified currency code, default is None
|
837
853
|
:param int [since]: timestamp in ms of the earliest ledger entry, default is None
|
838
854
|
:param int [limit]: max number of ledger entries to return, default is None
|
@@ -1200,7 +1216,9 @@ class zonda(Exchange, ImplicitAPI):
|
|
1200
1216
|
|
1201
1217
|
def fetch_ohlcv(self, symbol: str, timeframe='1m', since: Int = None, limit: Int = None, params={}) -> List[list]:
|
1202
1218
|
"""
|
1203
|
-
|
1219
|
+
|
1220
|
+
https://docs.zondacrypto.exchange/reference/candles-chart
|
1221
|
+
|
1204
1222
|
fetches historical candlestick data containing the open, high, low, and close price, and the volume of a market
|
1205
1223
|
:param str symbol: unified symbol of the market to fetch OHLCV data for
|
1206
1224
|
:param str timeframe: the length of time each candle represents
|
@@ -1320,7 +1338,9 @@ class zonda(Exchange, ImplicitAPI):
|
|
1320
1338
|
|
1321
1339
|
def fetch_trades(self, symbol: str, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
|
1322
1340
|
"""
|
1323
|
-
|
1341
|
+
|
1342
|
+
https://docs.zondacrypto.exchange/reference/last-transactions
|
1343
|
+
|
1324
1344
|
get the list of most recent trades for a particular symbol
|
1325
1345
|
:param str symbol: unified symbol of the market to fetch trades for
|
1326
1346
|
:param int [since]: timestamp in ms of the earliest trade to fetch
|
@@ -1466,7 +1486,9 @@ class zonda(Exchange, ImplicitAPI):
|
|
1466
1486
|
|
1467
1487
|
def cancel_order(self, id: str, symbol: Str = None, params={}):
|
1468
1488
|
"""
|
1469
|
-
|
1489
|
+
|
1490
|
+
https://docs.zondacrypto.exchange/reference/cancel-order
|
1491
|
+
|
1470
1492
|
cancels an open order
|
1471
1493
|
:param str id: order id
|
1472
1494
|
:param str symbol: unified symbol of the market the order was made in
|
@@ -1524,7 +1546,9 @@ class zonda(Exchange, ImplicitAPI):
|
|
1524
1546
|
|
1525
1547
|
def fetch_deposit_address(self, code: str, params={}) -> DepositAddress:
|
1526
1548
|
"""
|
1527
|
-
|
1549
|
+
|
1550
|
+
https://docs.zondacrypto.exchange/reference/deposit-addresses-for-crypto
|
1551
|
+
|
1528
1552
|
fetch the deposit address for a currency associated with self account
|
1529
1553
|
:param str code: unified currency code
|
1530
1554
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
@@ -1556,7 +1580,9 @@ class zonda(Exchange, ImplicitAPI):
|
|
1556
1580
|
|
1557
1581
|
def fetch_deposit_addresses(self, codes: Strings = None, params={}) -> List[DepositAddress]:
|
1558
1582
|
"""
|
1559
|
-
|
1583
|
+
|
1584
|
+
https://docs.zondacrypto.exchange/reference/deposit-addresses-for-crypto
|
1585
|
+
|
1560
1586
|
fetch deposit addresses for multiple currencies and chain types
|
1561
1587
|
:param str[]|None codes: zonda does not support filtering filtering by multiple codes and will ignore self parameter.
|
1562
1588
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
@@ -1582,7 +1608,9 @@ class zonda(Exchange, ImplicitAPI):
|
|
1582
1608
|
|
1583
1609
|
def transfer(self, code: str, amount: float, fromAccount: str, toAccount: str, params={}) -> TransferEntry:
|
1584
1610
|
"""
|
1585
|
-
|
1611
|
+
|
1612
|
+
https://docs.zondacrypto.exchange/reference/internal-transfer
|
1613
|
+
|
1586
1614
|
transfer currency internally between wallets on the same account
|
1587
1615
|
:param str code: unified currency code
|
1588
1616
|
:param float amount: amount to transfer
|
@@ -1691,7 +1719,9 @@ class zonda(Exchange, ImplicitAPI):
|
|
1691
1719
|
|
1692
1720
|
def withdraw(self, code: str, amount: float, address: str, tag=None, params={}) -> Transaction:
|
1693
1721
|
"""
|
1694
|
-
|
1722
|
+
|
1723
|
+
https://docs.zondacrypto.exchange/reference/crypto-withdrawal-1
|
1724
|
+
|
1695
1725
|
make a withdrawal
|
1696
1726
|
:param str code: unified currency code
|
1697
1727
|
:param float amount: the amount to withdraw
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: ccxt
|
3
|
-
Version: 4.4.
|
3
|
+
Version: 4.4.32
|
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
|
@@ -39,7 +39,7 @@ Requires-Dist: certifi (>=2018.1.18)
|
|
39
39
|
Requires-Dist: requests (>=2.18.4)
|
40
40
|
Requires-Dist: cryptography (>=2.6.1)
|
41
41
|
Requires-Dist: typing-extensions (>=4.4.0)
|
42
|
-
Requires-Dist: aiohttp (
|
42
|
+
Requires-Dist: aiohttp (<=3.10.11) ; python_version>="3.5.2"
|
43
43
|
Requires-Dist: aiodns (>=1.1.1) ; python_version>="3.5.2"
|
44
44
|
Requires-Dist: yarl (>=1.7.2) ; python_version>="3.5.2"
|
45
45
|
Provides-Extra: qa
|
@@ -273,13 +273,13 @@ console.log(version, Object.keys(exchanges));
|
|
273
273
|
|
274
274
|
All-in-one browser bundle (dependencies included), served from a CDN of your choice:
|
275
275
|
|
276
|
-
* jsDelivr: https://cdn.jsdelivr.net/npm/ccxt@4.4.
|
277
|
-
* unpkg: https://unpkg.com/ccxt@4.4.
|
276
|
+
* jsDelivr: https://cdn.jsdelivr.net/npm/ccxt@4.4.32/dist/ccxt.browser.min.js
|
277
|
+
* unpkg: https://unpkg.com/ccxt@4.4.32/dist/ccxt.browser.min.js
|
278
278
|
|
279
279
|
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.
|
280
280
|
|
281
281
|
```HTML
|
282
|
-
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/ccxt@4.4.
|
282
|
+
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/ccxt@4.4.32/dist/ccxt.browser.min.js"></script>
|
283
283
|
```
|
284
284
|
|
285
285
|
Creates a global `ccxt` object:
|
@@ -307,6 +307,12 @@ The library supports concurrent asynchronous mode with asyncio and async/await i
|
|
307
307
|
import ccxt.async_support as ccxt # link against the asynchronous version of ccxt
|
308
308
|
```
|
309
309
|
|
310
|
+
#### orjson support
|
311
|
+
|
312
|
+
CCXT also supports `orjson` for parsing JSON since it is much faster than the builtin library. This is especially important when using websockets because some exchanges return big messages that need to be parsed and dispatched as quickly as possible.
|
313
|
+
|
314
|
+
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.
|
315
|
+
|
310
316
|
### PHP
|
311
317
|
|
312
318
|
[ccxt in PHP with **Packagist/Composer**](https://packagist.org/packages/ccxt/ccxt) (PHP 7.0+)
|