ccxt 4.4.30__py2.py3-none-any.whl → 4.4.31__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/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 -19
- 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 +298 -155
- ccxt/async_support/gemini.py +57 -20
- ccxt/async_support/hashkey.py +151 -66
- ccxt/async_support/hitbtc.py +156 -73
- 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 +53 -16
- ccxt/async_support/kraken.py +107 -35
- ccxt/async_support/krakenfutures.py +88 -34
- ccxt/async_support/kucoin.py +211 -109
- ccxt/async_support/kucoinfutures.py +119 -42
- 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 +91 -41
- 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 +29 -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 +118 -49
- 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 +34 -34
- 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 -19
- 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 +298 -155
- ccxt/gemini.py +57 -20
- ccxt/hashkey.py +151 -66
- ccxt/hitbtc.py +156 -73
- 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 +53 -16
- ccxt/kraken.py +107 -35
- ccxt/krakenfutures.py +88 -34
- ccxt/kucoin.py +211 -109
- ccxt/kucoinfutures.py +119 -42
- 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 +91 -41
- 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 +200 -119
- ccxt/pro/bingx.py +44 -24
- ccxt/pro/bitfinex.py +13 -5
- ccxt/pro/bitget.py +75 -36
- 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 +51 -17
- 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 +70 -26
- ccxt/pro/deribit.py +36 -12
- ccxt/pro/exmo.py +10 -4
- ccxt/pro/gate.py +64 -30
- ccxt/pro/gemini.py +21 -7
- ccxt/pro/hashkey.py +26 -8
- 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 +35 -17
- 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 +29 -8
- ccxt/wazirx.py +51 -17
- ccxt/whitebit.py +105 -41
- ccxt/woo.py +162 -65
- ccxt/woofipro.py +118 -49
- 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.31.dist-info}/METADATA +5 -5
- {ccxt-4.4.30.dist-info → ccxt-4.4.31.dist-info}/RECORD +267 -267
- {ccxt-4.4.30.dist-info → ccxt-4.4.31.dist-info}/LICENSE.txt +0 -0
- {ccxt-4.4.30.dist-info → ccxt-4.4.31.dist-info}/WHEEL +0 -0
- {ccxt-4.4.30.dist-info → ccxt-4.4.31.dist-info}/top_level.txt +0 -0
ccxt/async_support/yobit.py
CHANGED
@@ -345,7 +345,9 @@ class yobit(Exchange, ImplicitAPI):
|
|
345
345
|
|
346
346
|
async def fetch_balance(self, params={}) -> Balances:
|
347
347
|
"""
|
348
|
-
|
348
|
+
|
349
|
+
https://yobit.net/en/api
|
350
|
+
|
349
351
|
query for balance and get the amount of funds available for trading or funds locked in orders
|
350
352
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
351
353
|
:returns dict: a `balance structure <https://docs.ccxt.com/#/?id=balance-structure>`
|
@@ -381,7 +383,9 @@ class yobit(Exchange, ImplicitAPI):
|
|
381
383
|
|
382
384
|
async def fetch_markets(self, params={}) -> List[Market]:
|
383
385
|
"""
|
384
|
-
|
386
|
+
|
387
|
+
https://yobit.net/en/api
|
388
|
+
|
385
389
|
retrieves data on all markets for yobit
|
386
390
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
387
391
|
:returns dict[]: an array of objects representing market data
|
@@ -475,7 +479,9 @@ class yobit(Exchange, ImplicitAPI):
|
|
475
479
|
|
476
480
|
async def fetch_order_book(self, symbol: str, limit: Int = None, params={}) -> OrderBook:
|
477
481
|
"""
|
478
|
-
|
482
|
+
|
483
|
+
https://yobit.net/en/api
|
484
|
+
|
479
485
|
fetches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
|
480
486
|
:param str symbol: unified symbol of the market to fetch the order book for
|
481
487
|
:param int [limit]: the maximum amount of order book entries to return
|
@@ -498,7 +504,9 @@ class yobit(Exchange, ImplicitAPI):
|
|
498
504
|
|
499
505
|
async def fetch_order_books(self, symbols: Strings = None, limit: Int = None, params={}):
|
500
506
|
"""
|
501
|
-
|
507
|
+
|
508
|
+
https://yobit.net/en/api
|
509
|
+
|
502
510
|
fetches information on open orders with bid(buy) and ask(sell) prices, volumes and other data for multiple markets
|
503
511
|
:param str[]|None symbols: list of unified market symbols, all symbols fetched if None, default is None
|
504
512
|
:param int [limit]: max number of entries per orderbook to return, default is None
|
@@ -587,7 +595,9 @@ class yobit(Exchange, ImplicitAPI):
|
|
587
595
|
|
588
596
|
async def fetch_tickers(self, symbols: Strings = None, params={}) -> Tickers:
|
589
597
|
"""
|
590
|
-
|
598
|
+
|
599
|
+
https://yobit.net/en/api
|
600
|
+
|
591
601
|
fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
|
592
602
|
:param str[]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
593
603
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
@@ -633,7 +643,9 @@ class yobit(Exchange, ImplicitAPI):
|
|
633
643
|
|
634
644
|
async def fetch_ticker(self, symbol: str, params={}) -> Ticker:
|
635
645
|
"""
|
636
|
-
|
646
|
+
|
647
|
+
https://yobit.net/en/api
|
648
|
+
|
637
649
|
fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
638
650
|
:param str symbol: unified symbol of the market to fetch the ticker for
|
639
651
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
@@ -718,7 +730,9 @@ class yobit(Exchange, ImplicitAPI):
|
|
718
730
|
|
719
731
|
async def fetch_trades(self, symbol: str, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
|
720
732
|
"""
|
721
|
-
|
733
|
+
|
734
|
+
https://yobit.net/en/api
|
735
|
+
|
722
736
|
get the list of most recent trades for a particular symbol
|
723
737
|
:param str symbol: unified symbol of the market to fetch trades for
|
724
738
|
:param int [since]: timestamp in ms of the earliest trade to fetch
|
@@ -756,7 +770,9 @@ class yobit(Exchange, ImplicitAPI):
|
|
756
770
|
|
757
771
|
async def fetch_trading_fees(self, params={}) -> TradingFees:
|
758
772
|
"""
|
759
|
-
|
773
|
+
|
774
|
+
https://yobit.net/en/api
|
775
|
+
|
760
776
|
fetch the trading fees for multiple markets
|
761
777
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
762
778
|
:returns dict: a dictionary of `fee structures <https://docs.ccxt.com/#/?id=fee-structure>` indexed by market symbols
|
@@ -805,7 +821,9 @@ class yobit(Exchange, ImplicitAPI):
|
|
805
821
|
|
806
822
|
async def create_order(self, symbol: str, type: OrderType, side: OrderSide, amount: float, price: Num = None, params={}):
|
807
823
|
"""
|
808
|
-
|
824
|
+
|
825
|
+
https://yobit.net/en/api
|
826
|
+
|
809
827
|
create a trade order
|
810
828
|
:param str symbol: unified symbol of the market to create an order in
|
811
829
|
:param str type: must be 'limit'
|
@@ -852,7 +870,9 @@ class yobit(Exchange, ImplicitAPI):
|
|
852
870
|
|
853
871
|
async def cancel_order(self, id: str, symbol: Str = None, params={}):
|
854
872
|
"""
|
855
|
-
|
873
|
+
|
874
|
+
https://yobit.net/en/api
|
875
|
+
|
856
876
|
cancels an open order
|
857
877
|
:param str id: order id
|
858
878
|
:param str symbol: not used by yobit cancelOrder()
|
@@ -999,8 +1019,11 @@ class yobit(Exchange, ImplicitAPI):
|
|
999
1019
|
|
1000
1020
|
async def fetch_order(self, id: str, symbol: Str = None, params={}):
|
1001
1021
|
"""
|
1002
|
-
|
1022
|
+
|
1023
|
+
https://yobit.net/en/api
|
1024
|
+
|
1003
1025
|
fetches information on an order made by the user
|
1026
|
+
:param str id: order id
|
1004
1027
|
:param str symbol: not used by yobit fetchOrder
|
1005
1028
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
1006
1029
|
:returns dict: An `order structure <https://docs.ccxt.com/#/?id=order-structure>`
|
@@ -1032,7 +1055,9 @@ class yobit(Exchange, ImplicitAPI):
|
|
1032
1055
|
|
1033
1056
|
async def fetch_open_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
|
1034
1057
|
"""
|
1035
|
-
|
1058
|
+
|
1059
|
+
https://yobit.net/en/api
|
1060
|
+
|
1036
1061
|
fetch all unfilled currently open orders
|
1037
1062
|
:param str symbol: unified market symbol
|
1038
1063
|
:param int [since]: the earliest time in ms to fetch open orders for
|
@@ -1077,7 +1102,9 @@ class yobit(Exchange, ImplicitAPI):
|
|
1077
1102
|
|
1078
1103
|
async def fetch_my_trades(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}):
|
1079
1104
|
"""
|
1080
|
-
|
1105
|
+
|
1106
|
+
https://yobit.net/en/api
|
1107
|
+
|
1081
1108
|
fetch all trades made by the user
|
1082
1109
|
:param str symbol: unified market symbol
|
1083
1110
|
:param int [since]: the earliest time in ms to fetch trades for
|
@@ -1134,7 +1161,9 @@ class yobit(Exchange, ImplicitAPI):
|
|
1134
1161
|
|
1135
1162
|
async def create_deposit_address(self, code: str, params={}):
|
1136
1163
|
"""
|
1137
|
-
|
1164
|
+
|
1165
|
+
https://yobit.net/en/api
|
1166
|
+
|
1138
1167
|
create a currency deposit address
|
1139
1168
|
:param str code: unified currency code of the currency for the deposit address
|
1140
1169
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
@@ -1156,7 +1185,9 @@ class yobit(Exchange, ImplicitAPI):
|
|
1156
1185
|
async def fetch_deposit_address(self, code: str, params={}) -> DepositAddress:
|
1157
1186
|
"""
|
1158
1187
|
fetch the deposit address for a currency associated with self account
|
1159
|
-
|
1188
|
+
|
1189
|
+
https://yobit.net/en/api
|
1190
|
+
|
1160
1191
|
:param str code: unified currency code
|
1161
1192
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
1162
1193
|
:returns dict: an `address structure <https://docs.ccxt.com/#/?id=address-structure>`
|
@@ -1188,7 +1219,9 @@ class yobit(Exchange, ImplicitAPI):
|
|
1188
1219
|
|
1189
1220
|
async def withdraw(self, code: str, amount: float, address: str, tag=None, params={}) -> Transaction:
|
1190
1221
|
"""
|
1191
|
-
|
1222
|
+
|
1223
|
+
https://yobit.net/en/api
|
1224
|
+
|
1192
1225
|
make a withdrawal
|
1193
1226
|
:param str code: unified currency code
|
1194
1227
|
:param float amount: the amount to withdraw
|
ccxt/async_support/zaif.py
CHANGED
@@ -145,7 +145,9 @@ class zaif(Exchange, ImplicitAPI):
|
|
145
145
|
|
146
146
|
async 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
|
async 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
|
async 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
|
async 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
|
async 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
|
async 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
|
async 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
|
async 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
|
async 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
|
async 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/async_support/zonda.py
CHANGED
@@ -344,7 +344,9 @@ class zonda(Exchange, ImplicitAPI):
|
|
344
344
|
|
345
345
|
async 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
|
async 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
|
async 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
|
async 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
|
async 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
|
async 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
|
async 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
|
async 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
|
async 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
|
async 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
|
async 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
|
async 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
|
async 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
|
async 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
|
async 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
|