ccxt 3.1.59__py2.py3-none-any.whl → 4.0.3__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 +6 -6
- ccxt/alpaca.py +4 -4
- ccxt/ascendex.py +14 -14
- ccxt/async_support/__init__.py +1 -1
- ccxt/async_support/ace.py +6 -6
- ccxt/async_support/alpaca.py +4 -4
- ccxt/async_support/ascendex.py +14 -14
- ccxt/async_support/base/exchange.py +13 -13
- ccxt/async_support/bigone.py +11 -11
- ccxt/async_support/binance.py +34 -34
- ccxt/async_support/bit2c.py +3 -3
- ccxt/async_support/bitbank.py +5 -5
- ccxt/async_support/bitbns.py +7 -7
- ccxt/async_support/bitfinex.py +13 -13
- ccxt/async_support/bitfinex2.py +11 -11
- ccxt/async_support/bitflyer.py +10 -10
- ccxt/async_support/bitforex.py +6 -6
- ccxt/async_support/bitget.py +18 -18
- ccxt/async_support/bithumb.py +5 -5
- ccxt/async_support/bitmart.py +13 -13
- ccxt/async_support/bitmex.py +15 -15
- ccxt/async_support/bitopro.py +12 -12
- ccxt/async_support/bitpanda.py +12 -12
- ccxt/async_support/bitrue.py +11 -11
- ccxt/async_support/bitso.py +13 -13
- ccxt/async_support/bitstamp.py +12 -12
- ccxt/async_support/bitstamp1.py +2 -2
- ccxt/async_support/bittrex.py +15 -15
- ccxt/async_support/bitvavo.py +11 -11
- ccxt/async_support/bkex.py +12 -12
- ccxt/async_support/bl3p.py +1 -1
- ccxt/async_support/blockchaincom.py +7 -7
- ccxt/async_support/btcalpha.py +10 -10
- ccxt/async_support/btcbox.py +3 -3
- ccxt/async_support/btcmarkets.py +10 -10
- ccxt/async_support/btctradeua.py +2 -2
- ccxt/async_support/btcturk.py +7 -7
- ccxt/async_support/bybit.py +19 -19
- ccxt/async_support/cex.py +7 -7
- ccxt/async_support/coinbase.py +11 -11
- ccxt/async_support/coinbasepro.py +12 -12
- ccxt/async_support/coincheck.py +5 -5
- ccxt/async_support/coinex.py +19 -19
- ccxt/async_support/coinfalcon.py +7 -7
- ccxt/async_support/coinmate.py +5 -5
- ccxt/async_support/coinone.py +6 -6
- ccxt/async_support/coinsph.py +11 -11
- ccxt/async_support/coinspot.py +2 -2
- ccxt/async_support/cryptocom.py +19 -18
- ccxt/async_support/currencycom.py +10 -10
- ccxt/async_support/delta.py +10 -10
- ccxt/async_support/deribit.py +14 -14
- ccxt/async_support/digifinex.py +17 -17
- ccxt/async_support/exmo.py +12 -12
- ccxt/async_support/gate.py +19 -19
- ccxt/async_support/gemini.py +6 -6
- ccxt/async_support/hitbtc.py +8 -8
- ccxt/async_support/hitbtc3.py +18 -18
- ccxt/async_support/hollaex.py +13 -13
- ccxt/async_support/huobi.py +21 -21
- ccxt/async_support/huobijp.py +13 -13
- ccxt/async_support/idex.py +10 -10
- ccxt/async_support/independentreserve.py +5 -5
- ccxt/async_support/indodax.py +5 -5
- ccxt/async_support/kraken.py +14 -14
- ccxt/async_support/krakenfutures.py +3 -3
- ccxt/async_support/kucoin.py +13 -13
- ccxt/async_support/kucoinfutures.py +10 -10
- ccxt/async_support/kuna.py +6 -6
- ccxt/async_support/latoken.py +8 -8
- ccxt/async_support/lbank.py +6 -6
- ccxt/async_support/lbank2.py +12 -12
- ccxt/async_support/luno.py +7 -7
- ccxt/async_support/lykke.py +7 -7
- ccxt/async_support/mercado.py +6 -6
- ccxt/async_support/mexc.py +26 -61
- ccxt/async_support/ndax.py +10 -10
- ccxt/async_support/novadax.py +11 -11
- ccxt/async_support/oceanex.py +10 -10
- ccxt/async_support/okcoin.py +12 -12
- ccxt/async_support/okx.py +23 -23
- ccxt/async_support/paymium.py +2 -2
- ccxt/async_support/phemex.py +16 -16
- ccxt/async_support/poloniex.py +12 -12
- ccxt/async_support/poloniexfutures.py +10 -10
- ccxt/async_support/probit.py +14 -14
- ccxt/async_support/tidex.py +6 -6
- ccxt/async_support/timex.py +10 -10
- ccxt/async_support/tokocrypto.py +12 -12
- ccxt/async_support/upbit.py +10 -10
- ccxt/async_support/wavesexchange.py +9 -9
- ccxt/async_support/wazirx.py +7 -7
- ccxt/async_support/whitebit.py +12 -12
- ccxt/async_support/woo.py +9 -9
- ccxt/async_support/yobit.py +6 -6
- ccxt/async_support/zaif.py +4 -4
- ccxt/async_support/zonda.py +7 -7
- ccxt/base/exchange.py +13 -13
- ccxt/bigone.py +11 -11
- ccxt/binance.py +34 -34
- ccxt/bit2c.py +3 -3
- ccxt/bitbank.py +5 -5
- ccxt/bitbns.py +7 -7
- ccxt/bitfinex.py +13 -13
- ccxt/bitfinex2.py +11 -11
- ccxt/bitflyer.py +10 -10
- ccxt/bitforex.py +6 -6
- ccxt/bitget.py +18 -18
- ccxt/bithumb.py +5 -5
- ccxt/bitmart.py +13 -13
- ccxt/bitmex.py +15 -15
- ccxt/bitopro.py +12 -12
- ccxt/bitpanda.py +12 -12
- ccxt/bitrue.py +11 -11
- ccxt/bitso.py +13 -13
- ccxt/bitstamp.py +12 -12
- ccxt/bitstamp1.py +2 -2
- ccxt/bittrex.py +15 -15
- ccxt/bitvavo.py +11 -11
- ccxt/bkex.py +12 -12
- ccxt/bl3p.py +1 -1
- ccxt/blockchaincom.py +7 -7
- ccxt/btcalpha.py +10 -10
- ccxt/btcbox.py +3 -3
- ccxt/btcmarkets.py +10 -10
- ccxt/btctradeua.py +2 -2
- ccxt/btcturk.py +7 -7
- ccxt/bybit.py +19 -19
- ccxt/cex.py +7 -7
- ccxt/coinbase.py +11 -11
- ccxt/coinbasepro.py +12 -12
- ccxt/coincheck.py +5 -5
- ccxt/coinex.py +19 -19
- ccxt/coinfalcon.py +7 -7
- ccxt/coinmate.py +5 -5
- ccxt/coinone.py +6 -6
- ccxt/coinsph.py +11 -11
- ccxt/coinspot.py +2 -2
- ccxt/cryptocom.py +19 -18
- ccxt/currencycom.py +10 -10
- ccxt/delta.py +10 -10
- ccxt/deribit.py +14 -14
- ccxt/digifinex.py +17 -17
- ccxt/exmo.py +12 -12
- ccxt/gate.py +19 -19
- ccxt/gemini.py +6 -6
- ccxt/hitbtc.py +8 -8
- ccxt/hitbtc3.py +18 -18
- ccxt/hollaex.py +13 -13
- ccxt/huobi.py +21 -21
- ccxt/huobijp.py +13 -13
- ccxt/idex.py +10 -10
- ccxt/independentreserve.py +5 -5
- ccxt/indodax.py +5 -5
- ccxt/kraken.py +14 -14
- ccxt/krakenfutures.py +3 -3
- ccxt/kucoin.py +13 -13
- ccxt/kucoinfutures.py +10 -10
- ccxt/kuna.py +6 -6
- ccxt/latoken.py +8 -8
- ccxt/lbank.py +6 -6
- ccxt/lbank2.py +12 -12
- ccxt/luno.py +7 -7
- ccxt/lykke.py +7 -7
- ccxt/mercado.py +6 -6
- ccxt/mexc.py +26 -61
- ccxt/ndax.py +10 -10
- ccxt/novadax.py +11 -11
- ccxt/oceanex.py +10 -10
- ccxt/okcoin.py +12 -12
- ccxt/okx.py +23 -23
- ccxt/paymium.py +2 -2
- ccxt/phemex.py +16 -16
- ccxt/poloniex.py +12 -12
- ccxt/poloniexfutures.py +10 -10
- ccxt/pro/__init__.py +1 -1
- ccxt/pro/alpaca.py +4 -4
- ccxt/pro/ascendex.py +3 -3
- ccxt/pro/binance.py +5 -5
- ccxt/pro/bitfinex.py +2 -2
- ccxt/pro/bitfinex2.py +4 -4
- ccxt/pro/bitget.py +4 -4
- ccxt/pro/bitmart.py +3 -3
- ccxt/pro/bitmex.py +4 -4
- ccxt/pro/bitopro.py +1 -1
- ccxt/pro/bitpanda.py +3 -3
- ccxt/pro/bitrue.py +1 -1
- ccxt/pro/bitstamp.py +2 -2
- ccxt/pro/bittrex.py +4 -4
- ccxt/pro/bitvavo.py +4 -4
- ccxt/pro/blockchaincom.py +3 -3
- ccxt/pro/bybit.py +4 -4
- ccxt/pro/cex.py +5 -5
- ccxt/pro/coinbasepro.py +3 -3
- ccxt/pro/coinex.py +3 -3
- ccxt/pro/cryptocom.py +4 -4
- ccxt/pro/currencycom.py +2 -2
- ccxt/pro/deribit.py +4 -4
- ccxt/pro/exmo.py +2 -2
- ccxt/pro/gate.py +5 -5
- ccxt/pro/gemini.py +3 -3
- ccxt/pro/hitbtc.py +2 -2
- ccxt/pro/hollaex.py +3 -3
- ccxt/pro/huobi.py +4 -4
- ccxt/pro/huobijp.py +2 -2
- ccxt/pro/idex.py +3 -3
- ccxt/pro/independentreserve.py +1 -1
- ccxt/pro/kraken.py +4 -4
- ccxt/pro/krakenfutures.py +6 -6
- ccxt/pro/kucoin.py +4 -4
- ccxt/pro/kucoinfutures.py +2 -2
- ccxt/pro/luno.py +1 -1
- ccxt/pro/mexc.py +4 -4
- ccxt/pro/ndax.py +2 -2
- ccxt/pro/okcoin.py +3 -3
- ccxt/pro/okx.py +3 -3
- ccxt/pro/phemex.py +4 -4
- ccxt/pro/poloniexfutures.py +3 -3
- ccxt/pro/probit.py +2 -2
- ccxt/pro/upbit.py +1 -1
- ccxt/pro/wazirx.py +4 -4
- ccxt/pro/whitebit.py +4 -4
- ccxt/probit.py +14 -14
- ccxt/tidex.py +6 -6
- ccxt/timex.py +10 -10
- ccxt/tokocrypto.py +12 -12
- ccxt/upbit.py +10 -10
- ccxt/wavesexchange.py +9 -9
- ccxt/wazirx.py +7 -7
- ccxt/whitebit.py +12 -12
- ccxt/woo.py +9 -9
- ccxt/yobit.py +6 -6
- ccxt/zaif.py +4 -4
- ccxt/zonda.py +7 -7
- {ccxt-3.1.59.dist-info → ccxt-4.0.3.dist-info}/METADATA +4 -4
- ccxt-4.0.3.dist-info/RECORD +452 -0
- ccxt/async_support/btcex.py +0 -2519
- ccxt/async_support/buda.py +0 -1063
- ccxt/async_support/itbit.py +0 -771
- ccxt/async_support/ripio.py +0 -1102
- ccxt/async_support/stex.py +0 -2508
- ccxt/async_support/xt.py +0 -4420
- ccxt/async_support/zb.py +0 -4127
- ccxt/btcex.py +0 -2519
- ccxt/buda.py +0 -1063
- ccxt/itbit.py +0 -771
- ccxt/ripio.py +0 -1102
- ccxt/stex.py +0 -2508
- ccxt/xt.py +0 -4419
- ccxt/zb.py +0 -4126
- ccxt-3.1.59.dist-info/RECORD +0 -466
- {ccxt-3.1.59.dist-info → ccxt-4.0.3.dist-info}/WHEEL +0 -0
- {ccxt-3.1.59.dist-info → ccxt-4.0.3.dist-info}/top_level.txt +0 -0
ccxt/async_support/whitebit.py
CHANGED
|
@@ -281,7 +281,7 @@ class whitebit(Exchange, ImplicitAPI):
|
|
|
281
281
|
retrieves data on all markets for whitebit
|
|
282
282
|
see https://whitebit-exchange.github.io/api-docs/docs/Public/http-v4#market-info
|
|
283
283
|
:param dict params: extra parameters specific to the exchange api endpoint
|
|
284
|
-
:returns [
|
|
284
|
+
:returns dict[]: an array of objects representing market data
|
|
285
285
|
"""
|
|
286
286
|
markets = await self.v4PublicGetMarkets()
|
|
287
287
|
#
|
|
@@ -450,7 +450,7 @@ class whitebit(Exchange, ImplicitAPI):
|
|
|
450
450
|
async def fetch_transaction_fees(self, codes=None, params={}):
|
|
451
451
|
"""
|
|
452
452
|
*DEPRECATED* please use fetchDepositWithdrawFees instead
|
|
453
|
-
:param [
|
|
453
|
+
:param str[]|None codes: not used by fetchTransactionFees()
|
|
454
454
|
:param dict params: extra parameters specific to the whitebit api endpoint
|
|
455
455
|
:returns dict: a list of `fee structures <https://docs.ccxt.com/#/?id=fee-structure>`
|
|
456
456
|
"""
|
|
@@ -501,7 +501,7 @@ class whitebit(Exchange, ImplicitAPI):
|
|
|
501
501
|
async def fetch_deposit_withdraw_fees(self, codes: Optional[List[str]] = None, params={}):
|
|
502
502
|
"""
|
|
503
503
|
fetch deposit and withdraw fees
|
|
504
|
-
:param [
|
|
504
|
+
:param str[]|None codes: not used by fetchDepositWithdrawFees()
|
|
505
505
|
:param dict params: extra parameters specific to the whitebit api endpoint
|
|
506
506
|
:returns dict: a list of `fee structures <https://docs.ccxt.com/#/?id=fee-structure>`
|
|
507
507
|
"""
|
|
@@ -771,7 +771,7 @@ class whitebit(Exchange, ImplicitAPI):
|
|
|
771
771
|
async def fetch_tickers(self, symbols: Optional[List[str]] = None, params={}):
|
|
772
772
|
"""
|
|
773
773
|
fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
|
|
774
|
-
:param [
|
|
774
|
+
:param str[]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
|
775
775
|
:param dict params: extra parameters specific to the whitebit api endpoint
|
|
776
776
|
:returns dict: a dictionary of `ticker structures <https://docs.ccxt.com/#/?id=ticker-structure>`
|
|
777
777
|
"""
|
|
@@ -844,7 +844,7 @@ class whitebit(Exchange, ImplicitAPI):
|
|
|
844
844
|
:param int|None since: timestamp in ms of the earliest trade to fetch
|
|
845
845
|
:param int|None limit: the maximum amount of trades to fetch
|
|
846
846
|
:param dict params: extra parameters specific to the whitebit api endpoint
|
|
847
|
-
:returns [
|
|
847
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
|
|
848
848
|
"""
|
|
849
849
|
await self.load_markets()
|
|
850
850
|
market = self.market(symbol)
|
|
@@ -873,7 +873,7 @@ class whitebit(Exchange, ImplicitAPI):
|
|
|
873
873
|
:param int|None since: timestamp in ms of the earliest trade to fetch
|
|
874
874
|
:param int|None limit: the maximum amount of trades to fetch
|
|
875
875
|
:param dict params: extra parameters specific to the whitebit api endpoint
|
|
876
|
-
:returns [
|
|
876
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
|
|
877
877
|
"""
|
|
878
878
|
await self.load_markets()
|
|
879
879
|
market = None
|
|
@@ -1019,7 +1019,7 @@ class whitebit(Exchange, ImplicitAPI):
|
|
|
1019
1019
|
:param int|None since: timestamp in ms of the earliest candle to fetch
|
|
1020
1020
|
:param int|None limit: the maximum amount of candles to fetch
|
|
1021
1021
|
:param dict params: extra parameters specific to the whitebit api endpoint
|
|
1022
|
-
:returns [[
|
|
1022
|
+
:returns int[][]: A list of candles ordered, open, high, low, close, volume
|
|
1023
1023
|
"""
|
|
1024
1024
|
await self.load_markets()
|
|
1025
1025
|
market = self.market(symbol)
|
|
@@ -1265,7 +1265,7 @@ class whitebit(Exchange, ImplicitAPI):
|
|
|
1265
1265
|
:param int|None since: the earliest time in ms to fetch open orders for
|
|
1266
1266
|
:param int|None limit: the maximum number of open orders structures to retrieve
|
|
1267
1267
|
:param dict params: extra parameters specific to the whitebit api endpoint
|
|
1268
|
-
:returns [
|
|
1268
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
|
1269
1269
|
"""
|
|
1270
1270
|
if symbol is None:
|
|
1271
1271
|
raise ArgumentsRequired(self.id + ' fetchOpenOrders() requires a symbol argument')
|
|
@@ -1306,7 +1306,7 @@ class whitebit(Exchange, ImplicitAPI):
|
|
|
1306
1306
|
:param int|None since: the earliest time in ms to fetch orders for
|
|
1307
1307
|
:param int|None limit: the maximum number of orde structures to retrieve
|
|
1308
1308
|
:param dict params: extra parameters specific to the whitebit api endpoint
|
|
1309
|
-
:returns [
|
|
1309
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
|
1310
1310
|
"""
|
|
1311
1311
|
await self.load_markets()
|
|
1312
1312
|
request = {}
|
|
@@ -1458,7 +1458,7 @@ class whitebit(Exchange, ImplicitAPI):
|
|
|
1458
1458
|
:param int|None since: the earliest time in ms to fetch trades for
|
|
1459
1459
|
:param int|None limit: the maximum number of trades to retrieve
|
|
1460
1460
|
:param dict params: extra parameters specific to the whitebit api endpoint
|
|
1461
|
-
:returns [
|
|
1461
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/#/?id=trade-structure>`
|
|
1462
1462
|
"""
|
|
1463
1463
|
await self.load_markets()
|
|
1464
1464
|
request = {
|
|
@@ -1812,7 +1812,7 @@ class whitebit(Exchange, ImplicitAPI):
|
|
|
1812
1812
|
:param int|None since: the earliest time in ms to fetch deposits for
|
|
1813
1813
|
:param int|None limit: the maximum number of deposits structures to retrieve
|
|
1814
1814
|
:param dict params: extra parameters specific to the whitebit api endpoint
|
|
1815
|
-
:returns [
|
|
1815
|
+
:returns dict[]: a list of `transaction structures <https://docs.ccxt.com/#/?id=transaction-structure>`
|
|
1816
1816
|
"""
|
|
1817
1817
|
await self.load_markets()
|
|
1818
1818
|
currency = None
|
|
@@ -1876,7 +1876,7 @@ class whitebit(Exchange, ImplicitAPI):
|
|
|
1876
1876
|
:param int|None since: the earliest time in ms to fetch borrrow interest for
|
|
1877
1877
|
:param int|None limit: the maximum number of structures to retrieve
|
|
1878
1878
|
:param dict params: extra parameters specific to the whitebit api endpoint
|
|
1879
|
-
:returns [
|
|
1879
|
+
:returns dict[]: a list of `borrow interest structures <https://docs.ccxt.com/#/?id=borrow-interest-structure>`
|
|
1880
1880
|
"""
|
|
1881
1881
|
await self.load_markets()
|
|
1882
1882
|
request = {}
|
ccxt/async_support/woo.py
CHANGED
|
@@ -301,7 +301,7 @@ class woo(Exchange, ImplicitAPI):
|
|
|
301
301
|
"""
|
|
302
302
|
retrieves data on all markets for woo
|
|
303
303
|
:param dict params: extra parameters specific to the exchange api endpoint
|
|
304
|
-
:returns [
|
|
304
|
+
:returns dict[]: an array of objects representing market data
|
|
305
305
|
"""
|
|
306
306
|
response = await self.v1PublicGetInfo(params)
|
|
307
307
|
#
|
|
@@ -410,7 +410,7 @@ class woo(Exchange, ImplicitAPI):
|
|
|
410
410
|
:param int|None since: timestamp in ms of the earliest trade to fetch
|
|
411
411
|
:param int|None limit: the maximum amount of trades to fetch
|
|
412
412
|
:param dict params: extra parameters specific to the woo api endpoint
|
|
413
|
-
:returns [
|
|
413
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
|
|
414
414
|
"""
|
|
415
415
|
if symbol is None:
|
|
416
416
|
raise ArgumentsRequired(self.id + ' fetchTrades() requires a symbol argument')
|
|
@@ -1083,7 +1083,7 @@ class woo(Exchange, ImplicitAPI):
|
|
|
1083
1083
|
:param boolean|None params['stop']: whether the order is a stop/algo order
|
|
1084
1084
|
:param boolean|None params['isTriggered']: whether the order has been triggered(False by default)
|
|
1085
1085
|
:param str|None params['side']: 'buy' or 'sell'
|
|
1086
|
-
:returns [
|
|
1086
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
|
1087
1087
|
"""
|
|
1088
1088
|
await self.load_markets()
|
|
1089
1089
|
request = {}
|
|
@@ -1317,7 +1317,7 @@ class woo(Exchange, ImplicitAPI):
|
|
|
1317
1317
|
:param int|None since: timestamp in ms of the earliest candle to fetch
|
|
1318
1318
|
:param int|None limit: the maximum amount of candles to fetch
|
|
1319
1319
|
:param dict params: extra parameters specific to the woo api endpoint
|
|
1320
|
-
:returns [[
|
|
1320
|
+
:returns int[][]: A list of candles ordered, open, high, low, close, volume
|
|
1321
1321
|
"""
|
|
1322
1322
|
await self.load_markets()
|
|
1323
1323
|
market = self.market(symbol)
|
|
@@ -1380,7 +1380,7 @@ class woo(Exchange, ImplicitAPI):
|
|
|
1380
1380
|
:param int|None since: the earliest time in ms to fetch trades for
|
|
1381
1381
|
:param int|None limit: the maximum number of trades to retrieve
|
|
1382
1382
|
:param dict params: extra parameters specific to the woo api endpoint
|
|
1383
|
-
:returns [
|
|
1383
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/#/?id=trade-structure>`
|
|
1384
1384
|
"""
|
|
1385
1385
|
await self.load_markets()
|
|
1386
1386
|
market = None
|
|
@@ -1418,7 +1418,7 @@ class woo(Exchange, ImplicitAPI):
|
|
|
1418
1418
|
:param int|None since: the earliest time in ms to fetch trades for
|
|
1419
1419
|
:param int|None limit: the maximum number of trades structures to retrieve
|
|
1420
1420
|
:param dict params: extra parameters specific to the woo api endpoint
|
|
1421
|
-
:returns [
|
|
1421
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/#/?id=trade-structure>`
|
|
1422
1422
|
"""
|
|
1423
1423
|
await self.load_markets()
|
|
1424
1424
|
request = {}
|
|
@@ -1699,7 +1699,7 @@ class woo(Exchange, ImplicitAPI):
|
|
|
1699
1699
|
:param int|None since: the earliest time in ms to fetch deposits for
|
|
1700
1700
|
:param int|None limit: the maximum number of deposits structures to retrieve
|
|
1701
1701
|
:param dict params: extra parameters specific to the woo api endpoint
|
|
1702
|
-
:returns [
|
|
1702
|
+
:returns dict[]: a list of `transaction structures <https://docs.ccxt.com/#/?id=transaction-structure>`
|
|
1703
1703
|
"""
|
|
1704
1704
|
request = {
|
|
1705
1705
|
'token_side': 'DEPOSIT',
|
|
@@ -1713,7 +1713,7 @@ class woo(Exchange, ImplicitAPI):
|
|
|
1713
1713
|
:param int|None since: the earliest time in ms to fetch withdrawals for
|
|
1714
1714
|
:param int|None limit: the maximum number of withdrawals structures to retrieve
|
|
1715
1715
|
:param dict params: extra parameters specific to the woo api endpoint
|
|
1716
|
-
:returns [
|
|
1716
|
+
:returns dict[]: a list of `transaction structures <https://docs.ccxt.com/#/?id=transaction-structure>`
|
|
1717
1717
|
"""
|
|
1718
1718
|
request = {
|
|
1719
1719
|
'token_side': 'WITHDRAW',
|
|
@@ -1830,7 +1830,7 @@ class woo(Exchange, ImplicitAPI):
|
|
|
1830
1830
|
:param int|None since: the earliest time in ms to fetch transfers for
|
|
1831
1831
|
:param int|None limit: the maximum number of transfers structures to retrieve
|
|
1832
1832
|
:param dict params: extra parameters specific to the woo api endpoint
|
|
1833
|
-
:returns [
|
|
1833
|
+
:returns dict[]: a list of `transfer structures <https://docs.ccxt.com/#/?id=transfer-structure>`
|
|
1834
1834
|
"""
|
|
1835
1835
|
request = {
|
|
1836
1836
|
'type': 'COLLATERAL',
|
ccxt/async_support/yobit.py
CHANGED
|
@@ -350,7 +350,7 @@ class yobit(Exchange, ImplicitAPI):
|
|
|
350
350
|
see https://yobit.net/en/api
|
|
351
351
|
retrieves data on all markets for yobit
|
|
352
352
|
:param dict params: extra parameters specific to the exchange api endpoint
|
|
353
|
-
:returns [
|
|
353
|
+
:returns dict[]: an array of objects representing market data
|
|
354
354
|
"""
|
|
355
355
|
response = await self.publicGetInfo(params)
|
|
356
356
|
#
|
|
@@ -465,7 +465,7 @@ class yobit(Exchange, ImplicitAPI):
|
|
|
465
465
|
"""
|
|
466
466
|
see https://yobit.net/en/api
|
|
467
467
|
fetches information on open orders with bid(buy) and ask(sell) prices, volumes and other data for multiple markets
|
|
468
|
-
:param [
|
|
468
|
+
:param str[]|None symbols: list of unified market symbols, all symbols fetched if None, default is None
|
|
469
469
|
:param int|None limit: max number of entries per orderbook to return, default is None
|
|
470
470
|
:param dict params: extra parameters specific to the yobit api endpoint
|
|
471
471
|
:returns dict: a dictionary of `order book structures <https://docs.ccxt.com/#/?id=order-book-structure>` indexed by market symbol
|
|
@@ -539,7 +539,7 @@ class yobit(Exchange, ImplicitAPI):
|
|
|
539
539
|
"""
|
|
540
540
|
see https://yobit.net/en/api
|
|
541
541
|
fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
|
|
542
|
-
:param [
|
|
542
|
+
:param str[]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
|
543
543
|
:param dict params: extra parameters specific to the yobit api endpoint
|
|
544
544
|
:returns dict: a dictionary of `ticker structures <https://docs.ccxt.com/#/?id=ticker-structure>`
|
|
545
545
|
"""
|
|
@@ -667,7 +667,7 @@ class yobit(Exchange, ImplicitAPI):
|
|
|
667
667
|
:param int|None since: timestamp in ms of the earliest trade to fetch
|
|
668
668
|
:param int|None limit: the maximum amount of trades to fetch
|
|
669
669
|
:param dict params: extra parameters specific to the yobit api endpoint
|
|
670
|
-
:returns [
|
|
670
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
|
|
671
671
|
"""
|
|
672
672
|
await self.load_markets()
|
|
673
673
|
market = self.market(symbol)
|
|
@@ -981,7 +981,7 @@ class yobit(Exchange, ImplicitAPI):
|
|
|
981
981
|
:param int|None since: the earliest time in ms to fetch open orders for
|
|
982
982
|
:param int|None limit: the maximum number of open orders structures to retrieve
|
|
983
983
|
:param dict params: extra parameters specific to the yobit api endpoint
|
|
984
|
-
:returns [
|
|
984
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
|
985
985
|
"""
|
|
986
986
|
if symbol is None:
|
|
987
987
|
raise ArgumentsRequired(self.id + ' fetchOpenOrders() requires a symbol argument')
|
|
@@ -1026,7 +1026,7 @@ class yobit(Exchange, ImplicitAPI):
|
|
|
1026
1026
|
:param int|None since: the earliest time in ms to fetch trades for
|
|
1027
1027
|
:param int|None limit: the maximum number of trades structures to retrieve
|
|
1028
1028
|
:param dict params: extra parameters specific to the yobit api endpoint
|
|
1029
|
-
:returns [
|
|
1029
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/#/?id=trade-structure>`
|
|
1030
1030
|
"""
|
|
1031
1031
|
if symbol is None:
|
|
1032
1032
|
raise ArgumentsRequired(self.id + ' fetchMyTrades() requires a `symbol` argument')
|
ccxt/async_support/zaif.py
CHANGED
|
@@ -157,7 +157,7 @@ class zaif(Exchange, ImplicitAPI):
|
|
|
157
157
|
see https://zaif-api-document.readthedocs.io/ja/latest/PublicAPI.html#id12
|
|
158
158
|
retrieves data on all markets for zaif
|
|
159
159
|
:param dict params: extra parameters specific to the exchange api endpoint
|
|
160
|
-
:returns [
|
|
160
|
+
:returns dict[]: an array of objects representing market data
|
|
161
161
|
"""
|
|
162
162
|
markets = await self.publicGetCurrencyPairsAll(params)
|
|
163
163
|
#
|
|
@@ -407,7 +407,7 @@ class zaif(Exchange, ImplicitAPI):
|
|
|
407
407
|
:param int|None since: timestamp in ms of the earliest trade to fetch
|
|
408
408
|
:param int|None limit: the maximum amount of trades to fetch
|
|
409
409
|
:param dict params: extra parameters specific to the zaif api endpoint
|
|
410
|
-
:returns [
|
|
410
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
|
|
411
411
|
"""
|
|
412
412
|
await self.load_markets()
|
|
413
413
|
market = self.market(symbol)
|
|
@@ -528,7 +528,7 @@ class zaif(Exchange, ImplicitAPI):
|
|
|
528
528
|
:param int|None since: the earliest time in ms to fetch open orders for
|
|
529
529
|
:param int|None limit: the maximum number of open orders structures to retrieve
|
|
530
530
|
:param dict params: extra parameters specific to the zaif api endpoint
|
|
531
|
-
:returns [
|
|
531
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
|
532
532
|
"""
|
|
533
533
|
await self.load_markets()
|
|
534
534
|
market = None
|
|
@@ -550,7 +550,7 @@ class zaif(Exchange, ImplicitAPI):
|
|
|
550
550
|
:param int|None since: the earliest time in ms to fetch orders for
|
|
551
551
|
:param int|None limit: the maximum number of orde structures to retrieve
|
|
552
552
|
:param dict params: extra parameters specific to the zaif api endpoint
|
|
553
|
-
:returns [
|
|
553
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
|
554
554
|
"""
|
|
555
555
|
await self.load_markets()
|
|
556
556
|
market = None
|
ccxt/async_support/zonda.py
CHANGED
|
@@ -309,7 +309,7 @@ class zonda(Exchange, ImplicitAPI):
|
|
|
309
309
|
see https://docs.zonda.exchange/reference/ticker-1
|
|
310
310
|
retrieves data on all markets for zonda
|
|
311
311
|
:param dict params: extra parameters specific to the exchange api endpoint
|
|
312
|
-
:returns [
|
|
312
|
+
:returns dict[]: an array of objects representing market data
|
|
313
313
|
"""
|
|
314
314
|
response = await self.v1_01PublicGetTradingTicker(params)
|
|
315
315
|
fiatCurrencies = self.safe_value(self.options, 'fiatCurrencies', [])
|
|
@@ -410,7 +410,7 @@ class zonda(Exchange, ImplicitAPI):
|
|
|
410
410
|
:param int|None since: the earliest time in ms to fetch open orders for
|
|
411
411
|
:param int|None limit: the maximum number of open orders structures to retrieve
|
|
412
412
|
:param dict params: extra parameters specific to the zonda api endpoint
|
|
413
|
-
:returns [
|
|
413
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
|
414
414
|
"""
|
|
415
415
|
await self.load_markets()
|
|
416
416
|
request = {}
|
|
@@ -476,7 +476,7 @@ class zonda(Exchange, ImplicitAPI):
|
|
|
476
476
|
:param int|None since: the earliest time in ms to fetch trades for
|
|
477
477
|
:param int|None limit: the maximum number of trades structures to retrieve
|
|
478
478
|
:param dict params: extra parameters specific to the zonda api endpoint
|
|
479
|
-
:returns [
|
|
479
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/#/?id=trade-structure>`
|
|
480
480
|
"""
|
|
481
481
|
await self.load_markets()
|
|
482
482
|
request = {}
|
|
@@ -720,7 +720,7 @@ class zonda(Exchange, ImplicitAPI):
|
|
|
720
720
|
* @ignore
|
|
721
721
|
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
|
|
722
722
|
see https://docs.zonda.exchange/reference/market-statistics
|
|
723
|
-
:param [
|
|
723
|
+
:param str[]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
|
724
724
|
:param dict params: extra parameters specific to the zonda api endpoint
|
|
725
725
|
:param str params['method']: v1_01PublicGetTradingTicker(default) or v1_01PublicGetTradingStats
|
|
726
726
|
:returns dict: a dictionary of `ticker structures <https://docs.ccxt.com/#/?id=ticker-structure>`
|
|
@@ -1162,7 +1162,7 @@ class zonda(Exchange, ImplicitAPI):
|
|
|
1162
1162
|
:param int|None since: timestamp in ms of the earliest candle to fetch
|
|
1163
1163
|
:param int|None limit: the maximum amount of candles to fetch
|
|
1164
1164
|
:param dict params: extra parameters specific to the zonda api endpoint
|
|
1165
|
-
:returns [[
|
|
1165
|
+
:returns int[][]: A list of candles ordered, open, high, low, close, volume
|
|
1166
1166
|
"""
|
|
1167
1167
|
await self.load_markets()
|
|
1168
1168
|
market = self.market(symbol)
|
|
@@ -1279,7 +1279,7 @@ class zonda(Exchange, ImplicitAPI):
|
|
|
1279
1279
|
:param int|None since: timestamp in ms of the earliest trade to fetch
|
|
1280
1280
|
:param int|None limit: the maximum amount of trades to fetch
|
|
1281
1281
|
:param dict params: extra parameters specific to the zonda api endpoint
|
|
1282
|
-
:returns [
|
|
1282
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
|
|
1283
1283
|
"""
|
|
1284
1284
|
await self.load_markets()
|
|
1285
1285
|
market = self.market(symbol)
|
|
@@ -1508,7 +1508,7 @@ class zonda(Exchange, ImplicitAPI):
|
|
|
1508
1508
|
"""
|
|
1509
1509
|
see https://docs.zonda.exchange/reference/deposit-addresses-for-crypto
|
|
1510
1510
|
fetch deposit addresses for multiple currencies and chain types
|
|
1511
|
-
:param [
|
|
1511
|
+
:param str[]|None codes: zonda does not support filtering filtering by multiple codes and will ignore self parameter.
|
|
1512
1512
|
:param dict params: extra parameters specific to the zonda api endpoint
|
|
1513
1513
|
:returns dict: a list of `address structures <https://docs.ccxt.com/#/?id=address-structure>`
|
|
1514
1514
|
"""
|
ccxt/base/exchange.py
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
# -----------------------------------------------------------------------------
|
|
6
6
|
|
|
7
|
-
__version__ = '
|
|
7
|
+
__version__ = '4.0.3'
|
|
8
8
|
|
|
9
9
|
# -----------------------------------------------------------------------------
|
|
10
10
|
|
|
@@ -2726,7 +2726,7 @@ class Exchange(object):
|
|
|
2726
2726
|
tries to convert the provided networkCode(which is expected to be an unified network code) to a network id. In order to achieve self, derived class needs to have 'options->networks' defined.
|
|
2727
2727
|
:param str networkCode: unified network code
|
|
2728
2728
|
:param str|None currencyCode: unified currency code, but self argument is not required by default, unless there is an exchange(like huobi) that needs an override of the method to be able to pass currencyCode argument additionally
|
|
2729
|
-
:returns
|
|
2729
|
+
:returns str|None: exchange-specific network id
|
|
2730
2730
|
"""
|
|
2731
2731
|
networkIdsByCodes = self.safe_value(self.options, 'networks', {})
|
|
2732
2732
|
networkId = self.safe_string(networkIdsByCodes, networkCode)
|
|
@@ -2760,7 +2760,7 @@ class Exchange(object):
|
|
|
2760
2760
|
tries to convert the provided exchange-specific networkId to an unified network Code. In order to achieve self, derived class needs to have 'options->networksById' defined.
|
|
2761
2761
|
:param str networkId: unified network code
|
|
2762
2762
|
:param str|None currencyCode: unified currency code, but self argument is not required by default, unless there is an exchange(like huobi) that needs an override of the method to be able to pass currencyCode argument additionally
|
|
2763
|
-
:returns
|
|
2763
|
+
:returns str|None: unified network code
|
|
2764
2764
|
"""
|
|
2765
2765
|
networkCodesByIds = self.safe_value(self.options, 'networksById', {})
|
|
2766
2766
|
networkCode = self.safe_string(networkCodesByIds, networkId, networkId)
|
|
@@ -3332,7 +3332,7 @@ class Exchange(object):
|
|
|
3332
3332
|
"""
|
|
3333
3333
|
* @ignore
|
|
3334
3334
|
:param dict params: extra parameters specific to the exchange api endpoint
|
|
3335
|
-
:returns
|
|
3335
|
+
:returns Array: the marginMode in lowercase by params["marginMode"], params["defaultMarginMode"] self.options["marginMode"] or self.options["defaultMarginMode"]
|
|
3336
3336
|
"""
|
|
3337
3337
|
return self.handleOptionAndParams(params, methodName, 'marginMode', defaultValue)
|
|
3338
3338
|
|
|
@@ -3810,7 +3810,7 @@ class Exchange(object):
|
|
|
3810
3810
|
:param str type: Order type
|
|
3811
3811
|
:param boolean exchangeSpecificBoolean: exchange specific postOnly
|
|
3812
3812
|
:param dict params: exchange specific params
|
|
3813
|
-
:returns
|
|
3813
|
+
:returns Array:
|
|
3814
3814
|
"""
|
|
3815
3815
|
timeInForce = self.safe_string_upper(params, 'timeInForce')
|
|
3816
3816
|
postOnly = self.safe_value(params, 'postOnly', False)
|
|
@@ -3878,7 +3878,7 @@ class Exchange(object):
|
|
|
3878
3878
|
:param int|None since: timestamp in ms of the earliest candle to fetch
|
|
3879
3879
|
:param int|None limit: the maximum amount of candles to fetch
|
|
3880
3880
|
:param dict params: extra parameters specific to the exchange api endpoint
|
|
3881
|
-
:returns [[
|
|
3881
|
+
:returns float[][]: A list of candles ordered, open, high, low, close, None
|
|
3882
3882
|
"""
|
|
3883
3883
|
if self.has['fetchMarkOHLCV']:
|
|
3884
3884
|
request = {
|
|
@@ -3896,7 +3896,7 @@ class Exchange(object):
|
|
|
3896
3896
|
:param int|None since: timestamp in ms of the earliest candle to fetch
|
|
3897
3897
|
:param int|None limit: the maximum amount of candles to fetch
|
|
3898
3898
|
:param dict params: extra parameters specific to the exchange api endpoint
|
|
3899
|
-
|
|
3899
|
+
* @returns {} A list of candles ordered, open, high, low, close, None
|
|
3900
3900
|
"""
|
|
3901
3901
|
if self.has['fetchIndexOHLCV']:
|
|
3902
3902
|
request = {
|
|
@@ -3914,7 +3914,7 @@ class Exchange(object):
|
|
|
3914
3914
|
:param int|None since: timestamp in ms of the earliest candle to fetch
|
|
3915
3915
|
:param int|None limit: the maximum amount of candles to fetch
|
|
3916
3916
|
:param dict params: extra parameters specific to the exchange api endpoint
|
|
3917
|
-
:returns [[
|
|
3917
|
+
:returns float[][]: A list of candles ordered, open, high, low, close, None
|
|
3918
3918
|
"""
|
|
3919
3919
|
if self.has['fetchPremiumIndexOHLCV']:
|
|
3920
3920
|
request = {
|
|
@@ -3961,7 +3961,7 @@ class Exchange(object):
|
|
|
3961
3961
|
:param str argument: the argument to check
|
|
3962
3962
|
:param str argumentName: the name of the argument to check
|
|
3963
3963
|
:param str methodName: the name of the method that the argument is being checked for
|
|
3964
|
-
:param [
|
|
3964
|
+
:param str[] options: a list of options that the argument can be
|
|
3965
3965
|
:returns None:
|
|
3966
3966
|
"""
|
|
3967
3967
|
optionsLength = len(options)
|
|
@@ -3995,8 +3995,8 @@ class Exchange(object):
|
|
|
3995
3995
|
def parse_deposit_withdraw_fees(self, response, codes: Optional[List[str]] = None, currencyIdKey=None):
|
|
3996
3996
|
"""
|
|
3997
3997
|
* @ignore
|
|
3998
|
-
:param [
|
|
3999
|
-
:param [
|
|
3998
|
+
:param object[]|dict response: unparsed response from the exchange
|
|
3999
|
+
:param str[]|None codes: the unified currency codes to fetch transactions fees for, returns all currencies when None
|
|
4000
4000
|
:param str|None currencyIdKey: *should only be None when response is a dictionary* the object key that corresponds to the currency id
|
|
4001
4001
|
:returns dict: objects with withdraw and deposit fees, indexed by currency codes
|
|
4002
4002
|
"""
|
|
@@ -4062,11 +4062,11 @@ class Exchange(object):
|
|
|
4062
4062
|
"""
|
|
4063
4063
|
* @ignore
|
|
4064
4064
|
parses funding fee info from exchange response
|
|
4065
|
-
:param [
|
|
4065
|
+
:param dict[] incomes: each item describes once instance of currency being received or paid
|
|
4066
4066
|
:param dict|None market: ccxt market
|
|
4067
4067
|
:param int|None since: when defined, the response items are filtered to only include items after self timestamp
|
|
4068
4068
|
:param int|None limit: limits the number of items in the response
|
|
4069
|
-
:returns [
|
|
4069
|
+
:returns dict[]: an array of `funding history structures <https://docs.ccxt.com/#/?id=funding-history-structure>`
|
|
4070
4070
|
"""
|
|
4071
4071
|
result = []
|
|
4072
4072
|
for i in range(0, len(incomes)):
|
ccxt/bigone.py
CHANGED
|
@@ -188,7 +188,7 @@ class bigone(Exchange, ImplicitAPI):
|
|
|
188
188
|
"""
|
|
189
189
|
retrieves data on all markets for bigone
|
|
190
190
|
:param dict params: extra parameters specific to the exchange api endpoint
|
|
191
|
-
:returns [
|
|
191
|
+
:returns dict[]: an array of objects representing market data
|
|
192
192
|
"""
|
|
193
193
|
response = self.publicGetAssetPairs(params)
|
|
194
194
|
#
|
|
@@ -371,7 +371,7 @@ class bigone(Exchange, ImplicitAPI):
|
|
|
371
371
|
def fetch_tickers(self, symbols: Optional[List[str]] = None, params={}):
|
|
372
372
|
"""
|
|
373
373
|
fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
|
|
374
|
-
:param [
|
|
374
|
+
:param str[]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
|
375
375
|
:param dict params: extra parameters specific to the bigone api endpoint
|
|
376
376
|
:returns dict: a dictionary of `ticker structures <https://docs.ccxt.com/#/?id=ticker-structure>`
|
|
377
377
|
"""
|
|
@@ -603,7 +603,7 @@ class bigone(Exchange, ImplicitAPI):
|
|
|
603
603
|
:param int|None since: timestamp in ms of the earliest trade to fetch
|
|
604
604
|
:param int|None limit: the maximum amount of trades to fetch
|
|
605
605
|
:param dict params: extra parameters specific to the bigone api endpoint
|
|
606
|
-
:returns [
|
|
606
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
|
|
607
607
|
"""
|
|
608
608
|
self.load_markets()
|
|
609
609
|
market = self.market(symbol)
|
|
@@ -663,7 +663,7 @@ class bigone(Exchange, ImplicitAPI):
|
|
|
663
663
|
:param int|None since: timestamp in ms of the earliest candle to fetch
|
|
664
664
|
:param int|None limit: the maximum amount of candles to fetch
|
|
665
665
|
:param dict params: extra parameters specific to the bigone api endpoint
|
|
666
|
-
:returns [[
|
|
666
|
+
:returns int[][]: A list of candles ordered, open, high, low, close, volume
|
|
667
667
|
"""
|
|
668
668
|
self.load_markets()
|
|
669
669
|
market = self.market(symbol)
|
|
@@ -891,7 +891,7 @@ class bigone(Exchange, ImplicitAPI):
|
|
|
891
891
|
cancel all open orders
|
|
892
892
|
:param str|None symbol: unified market symbol, only orders in the market of self symbol are cancelled when symbol is not None
|
|
893
893
|
:param dict params: extra parameters specific to the bigone api endpoint
|
|
894
|
-
:returns [
|
|
894
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
|
895
895
|
"""
|
|
896
896
|
self.load_markets()
|
|
897
897
|
market = self.market(symbol)
|
|
@@ -933,7 +933,7 @@ class bigone(Exchange, ImplicitAPI):
|
|
|
933
933
|
:param int|None since: the earliest time in ms to fetch orders for
|
|
934
934
|
:param int|None limit: the maximum number of orde structures to retrieve
|
|
935
935
|
:param dict params: extra parameters specific to the bigone api endpoint
|
|
936
|
-
:returns [
|
|
936
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
|
937
937
|
"""
|
|
938
938
|
if symbol is None:
|
|
939
939
|
raise ArgumentsRequired(self.id + ' fetchOrders() requires a symbol argument')
|
|
@@ -979,7 +979,7 @@ class bigone(Exchange, ImplicitAPI):
|
|
|
979
979
|
:param int|None since: the earliest time in ms to fetch trades for
|
|
980
980
|
:param int|None limit: the maximum number of trades structures to retrieve
|
|
981
981
|
:param dict params: extra parameters specific to the bigone api endpoint
|
|
982
|
-
:returns [
|
|
982
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/#/?id=trade-structure>`
|
|
983
983
|
"""
|
|
984
984
|
self.load_markets()
|
|
985
985
|
if symbol is None:
|
|
@@ -1044,7 +1044,7 @@ class bigone(Exchange, ImplicitAPI):
|
|
|
1044
1044
|
:param int|None since: the earliest time in ms to fetch open orders for
|
|
1045
1045
|
:param int|None limit: the maximum number of open orders structures to retrieve
|
|
1046
1046
|
:param dict params: extra parameters specific to the bigone api endpoint
|
|
1047
|
-
:returns [
|
|
1047
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
|
1048
1048
|
"""
|
|
1049
1049
|
request = {
|
|
1050
1050
|
'state': 'PENDING',
|
|
@@ -1058,7 +1058,7 @@ class bigone(Exchange, ImplicitAPI):
|
|
|
1058
1058
|
:param int|None since: the earliest time in ms to fetch orders for
|
|
1059
1059
|
:param int|None limit: the maximum number of orde structures to retrieve
|
|
1060
1060
|
:param dict params: extra parameters specific to the bigone api endpoint
|
|
1061
|
-
:returns [
|
|
1061
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
|
1062
1062
|
"""
|
|
1063
1063
|
request = {
|
|
1064
1064
|
'state': 'FILLED',
|
|
@@ -1245,7 +1245,7 @@ class bigone(Exchange, ImplicitAPI):
|
|
|
1245
1245
|
:param int|None since: the earliest time in ms to fetch deposits for
|
|
1246
1246
|
:param int|None limit: the maximum number of deposits structures to retrieve
|
|
1247
1247
|
:param dict params: extra parameters specific to the bigone api endpoint
|
|
1248
|
-
:returns [
|
|
1248
|
+
:returns dict[]: a list of `transaction structures <https://docs.ccxt.com/#/?id=transaction-structure>`
|
|
1249
1249
|
"""
|
|
1250
1250
|
self.load_markets()
|
|
1251
1251
|
request = {
|
|
@@ -1292,7 +1292,7 @@ class bigone(Exchange, ImplicitAPI):
|
|
|
1292
1292
|
:param int|None since: the earliest time in ms to fetch withdrawals for
|
|
1293
1293
|
:param int|None limit: the maximum number of withdrawals structures to retrieve
|
|
1294
1294
|
:param dict params: extra parameters specific to the bigone api endpoint
|
|
1295
|
-
:returns [
|
|
1295
|
+
:returns dict[]: a list of `transaction structures <https://docs.ccxt.com/#/?id=transaction-structure>`
|
|
1296
1296
|
"""
|
|
1297
1297
|
self.load_markets()
|
|
1298
1298
|
request = {
|