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/bitopro.py
CHANGED
@@ -280,7 +280,7 @@ class bitopro(Exchange, ImplicitAPI):
|
|
280
280
|
"""
|
281
281
|
retrieves data on all markets for bitopro
|
282
282
|
:param dict params: extra parameters specific to the exchange api endpoint
|
283
|
-
:returns [
|
283
|
+
:returns dict[]: an array of objects representing market data
|
284
284
|
"""
|
285
285
|
response = await self.publicGetProvisioningTradingPairs()
|
286
286
|
markets = self.safe_value(response, 'data', [])
|
@@ -438,7 +438,7 @@ class bitopro(Exchange, ImplicitAPI):
|
|
438
438
|
async def fetch_tickers(self, symbols: Optional[List[str]] = None, params={}):
|
439
439
|
"""
|
440
440
|
fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
|
441
|
-
:param [
|
441
|
+
:param str[]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
442
442
|
:param dict params: extra parameters specific to the bitopro api endpoint
|
443
443
|
:returns dict: a dictionary of `ticker structures <https://docs.ccxt.com/#/?id=ticker-structure>`
|
444
444
|
"""
|
@@ -586,7 +586,7 @@ class bitopro(Exchange, ImplicitAPI):
|
|
586
586
|
:param int|None since: timestamp in ms of the earliest trade to fetch
|
587
587
|
:param int|None limit: the maximum amount of trades to fetch
|
588
588
|
:param dict params: extra parameters specific to the bitopro api endpoint
|
589
|
-
:returns [
|
589
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
|
590
590
|
"""
|
591
591
|
await self.load_markets()
|
592
592
|
market = self.market(symbol)
|
@@ -713,7 +713,7 @@ class bitopro(Exchange, ImplicitAPI):
|
|
713
713
|
:param int|None since: timestamp in ms of the earliest candle to fetch
|
714
714
|
:param int|None limit: the maximum amount of candles to fetch
|
715
715
|
:param dict params: extra parameters specific to the bitopro api endpoint
|
716
|
-
:returns [[
|
716
|
+
:returns int[][]: A list of candles ordered, open, high, low, close, volume
|
717
717
|
"""
|
718
718
|
await self.load_markets()
|
719
719
|
market = self.market(symbol)
|
@@ -1021,7 +1021,7 @@ class bitopro(Exchange, ImplicitAPI):
|
|
1021
1021
|
async def cancel_orders(self, ids, symbol: Optional[str] = None, params={}):
|
1022
1022
|
"""
|
1023
1023
|
cancel multiple orders
|
1024
|
-
:param [
|
1024
|
+
:param str[] ids: order ids
|
1025
1025
|
:param str symbol: unified market symbol
|
1026
1026
|
:param dict params: extra parameters specific to the bitopro api endpoint
|
1027
1027
|
:returns dict: an list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
@@ -1051,7 +1051,7 @@ class bitopro(Exchange, ImplicitAPI):
|
|
1051
1051
|
cancel all open orders
|
1052
1052
|
:param str|None symbol: unified market symbol, only orders in the market of self symbol are cancelled when symbol is not None
|
1053
1053
|
:param dict params: extra parameters specific to the bitopro api endpoint
|
1054
|
-
:returns [
|
1054
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
1055
1055
|
"""
|
1056
1056
|
await self.load_markets()
|
1057
1057
|
request = {
|
@@ -1125,7 +1125,7 @@ class bitopro(Exchange, ImplicitAPI):
|
|
1125
1125
|
:param int|None since: the earliest time in ms to fetch orders for
|
1126
1126
|
:param int|None limit: the maximum number of orde structures to retrieve
|
1127
1127
|
:param dict params: extra parameters specific to the bitopro api endpoint
|
1128
|
-
:returns [
|
1128
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
1129
1129
|
"""
|
1130
1130
|
if symbol is None:
|
1131
1131
|
raise ArgumentsRequired(self.id + ' fetchOrders() requires the symbol argument')
|
@@ -1187,7 +1187,7 @@ class bitopro(Exchange, ImplicitAPI):
|
|
1187
1187
|
:param int|None since: the earliest time in ms to fetch orders for
|
1188
1188
|
:param int|None limit: the maximum number of orde structures to retrieve
|
1189
1189
|
:param dict params: extra parameters specific to the bitopro api endpoint
|
1190
|
-
:returns [
|
1190
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
1191
1191
|
"""
|
1192
1192
|
request = {
|
1193
1193
|
'statusKind': 'DONE',
|
@@ -1201,7 +1201,7 @@ class bitopro(Exchange, ImplicitAPI):
|
|
1201
1201
|
:param int|None since: the earliest time in ms to fetch trades for
|
1202
1202
|
:param int|None limit: the maximum number of trades structures to retrieve
|
1203
1203
|
:param dict params: extra parameters specific to the bitopro api endpoint
|
1204
|
-
:returns [
|
1204
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/#/?id=trade-structure>`
|
1205
1205
|
"""
|
1206
1206
|
if symbol is None:
|
1207
1207
|
raise ArgumentsRequired(self.id + ' fetchMyTrades() requires the symbol argument')
|
@@ -1334,7 +1334,7 @@ class bitopro(Exchange, ImplicitAPI):
|
|
1334
1334
|
:param int|None since: the earliest time in ms to fetch deposits for
|
1335
1335
|
:param int|None limit: the maximum number of deposits structures to retrieve
|
1336
1336
|
:param dict params: extra parameters specific to the bitopro api endpoint
|
1337
|
-
:returns [
|
1337
|
+
:returns dict[]: a list of `transaction structures <https://docs.ccxt.com/#/?id=transaction-structure>`
|
1338
1338
|
"""
|
1339
1339
|
if code is None:
|
1340
1340
|
raise ArgumentsRequired(self.id + ' fetchDeposits() requires the code argument')
|
@@ -1380,7 +1380,7 @@ class bitopro(Exchange, ImplicitAPI):
|
|
1380
1380
|
:param int|None since: the earliest time in ms to fetch withdrawals for
|
1381
1381
|
:param int|None limit: the maximum number of withdrawals structures to retrieve
|
1382
1382
|
:param dict params: extra parameters specific to the bitopro api endpoint
|
1383
|
-
:returns [
|
1383
|
+
:returns dict[]: a list of `transaction structures <https://docs.ccxt.com/#/?id=transaction-structure>`
|
1384
1384
|
"""
|
1385
1385
|
if code is None:
|
1386
1386
|
raise ArgumentsRequired(self.id + ' fetchWithdrawals() requires the code argument')
|
@@ -1528,7 +1528,7 @@ class bitopro(Exchange, ImplicitAPI):
|
|
1528
1528
|
"""
|
1529
1529
|
fetch deposit and withdraw fees
|
1530
1530
|
see https://github.com/bitoex/bitopro-offical-api-docs/blob/master/v3-1/rest-1/open/currencies.md
|
1531
|
-
:param [
|
1531
|
+
:param str[]|None codes: list of unified currency codes
|
1532
1532
|
:param dict params: extra parameters specific to the bitopro api endpoint
|
1533
1533
|
:returns dict: a list of `fee structures <https://docs.ccxt.com/en/latest/manual.html#fee-structure>`
|
1534
1534
|
"""
|
ccxt/async_support/bitpanda.py
CHANGED
@@ -363,7 +363,7 @@ class bitpanda(Exchange, ImplicitAPI):
|
|
363
363
|
"""
|
364
364
|
retrieves data on all markets for bitpanda
|
365
365
|
:param dict params: extra parameters specific to the exchange api endpoint
|
366
|
-
:returns [
|
366
|
+
:returns dict[]: an array of objects representing market data
|
367
367
|
"""
|
368
368
|
response = await self.publicGetInstruments(params)
|
369
369
|
#
|
@@ -642,7 +642,7 @@ class bitpanda(Exchange, ImplicitAPI):
|
|
642
642
|
async def fetch_tickers(self, symbols: Optional[List[str]] = None, params={}):
|
643
643
|
"""
|
644
644
|
fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
|
645
|
-
:param [
|
645
|
+
:param str[]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
646
646
|
:param dict params: extra parameters specific to the bitpanda api endpoint
|
647
647
|
:returns dict: a dictionary of `ticker structures <https://docs.ccxt.com/#/?id=ticker-structure>`
|
648
648
|
"""
|
@@ -806,7 +806,7 @@ class bitpanda(Exchange, ImplicitAPI):
|
|
806
806
|
:param int|None since: timestamp in ms of the earliest candle to fetch
|
807
807
|
:param int|None limit: the maximum amount of candles to fetch
|
808
808
|
:param dict params: extra parameters specific to the bitpanda api endpoint
|
809
|
-
:returns [[
|
809
|
+
:returns int[][]: A list of candles ordered, open, high, low, close, volume
|
810
810
|
"""
|
811
811
|
await self.load_markets()
|
812
812
|
market = self.market(symbol)
|
@@ -926,7 +926,7 @@ class bitpanda(Exchange, ImplicitAPI):
|
|
926
926
|
:param int|None since: timestamp in ms of the earliest trade to fetch
|
927
927
|
:param int|None limit: the maximum amount of trades to fetch
|
928
928
|
:param dict params: extra parameters specific to the bitpanda api endpoint
|
929
|
-
:returns [
|
929
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
|
930
930
|
"""
|
931
931
|
await self.load_markets()
|
932
932
|
market = self.market(symbol)
|
@@ -1065,7 +1065,7 @@ class bitpanda(Exchange, ImplicitAPI):
|
|
1065
1065
|
:param int|None since: the earliest time in ms to fetch deposits for
|
1066
1066
|
:param int|None limit: the maximum number of deposits structures to retrieve
|
1067
1067
|
:param dict params: extra parameters specific to the bitpanda api endpoint
|
1068
|
-
:returns [
|
1068
|
+
:returns dict[]: a list of `transaction structures <https://docs.ccxt.com/#/?id=transaction-structure>`
|
1069
1069
|
"""
|
1070
1070
|
await self.load_markets()
|
1071
1071
|
request = {
|
@@ -1123,7 +1123,7 @@ class bitpanda(Exchange, ImplicitAPI):
|
|
1123
1123
|
:param int|None since: the earliest time in ms to fetch withdrawals for
|
1124
1124
|
:param int|None limit: the maximum number of withdrawals structures to retrieve
|
1125
1125
|
:param dict params: extra parameters specific to the bitpanda api endpoint
|
1126
|
-
:returns [
|
1126
|
+
:returns dict[]: a list of `transaction structures <https://docs.ccxt.com/#/?id=transaction-structure>`
|
1127
1127
|
"""
|
1128
1128
|
await self.load_markets()
|
1129
1129
|
request = {
|
@@ -1525,7 +1525,7 @@ class bitpanda(Exchange, ImplicitAPI):
|
|
1525
1525
|
cancel all open orders
|
1526
1526
|
:param str|None symbol: unified market symbol, only orders in the market of self symbol are cancelled when symbol is not None
|
1527
1527
|
:param dict params: extra parameters specific to the bitpanda api endpoint
|
1528
|
-
:returns [
|
1528
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
1529
1529
|
"""
|
1530
1530
|
await self.load_markets()
|
1531
1531
|
request = {}
|
@@ -1543,7 +1543,7 @@ class bitpanda(Exchange, ImplicitAPI):
|
|
1543
1543
|
async def cancel_orders(self, ids, symbol: Optional[str] = None, params={}):
|
1544
1544
|
"""
|
1545
1545
|
cancel multiple orders
|
1546
|
-
:param [
|
1546
|
+
:param str[] ids: order ids
|
1547
1547
|
:param str|None symbol: unified market symbol, default is None
|
1548
1548
|
:param dict params: extra parameters specific to the bitpanda api endpoint
|
1549
1549
|
:returns dict: an list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
@@ -1622,7 +1622,7 @@ class bitpanda(Exchange, ImplicitAPI):
|
|
1622
1622
|
:param int|None since: the earliest time in ms to fetch open orders for
|
1623
1623
|
:param int|None limit: the maximum number of open orders structures to retrieve
|
1624
1624
|
:param dict params: extra parameters specific to the bitpanda api endpoint
|
1625
|
-
:returns [
|
1625
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
1626
1626
|
"""
|
1627
1627
|
await self.load_markets()
|
1628
1628
|
request = {
|
@@ -1736,7 +1736,7 @@ class bitpanda(Exchange, ImplicitAPI):
|
|
1736
1736
|
:param int|None since: the earliest time in ms to fetch orders for
|
1737
1737
|
:param int|None limit: the maximum number of orde structures to retrieve
|
1738
1738
|
:param dict params: extra parameters specific to the bitpanda api endpoint
|
1739
|
-
:returns [
|
1739
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
1740
1740
|
"""
|
1741
1741
|
request = {
|
1742
1742
|
'with_cancelled_and_rejected': True, # default is False, orders which have been cancelled by the user before being filled or rejected by the system, additionally, all inactive filled orders which would return with "with_just_filled_inactive"
|
@@ -1751,7 +1751,7 @@ class bitpanda(Exchange, ImplicitAPI):
|
|
1751
1751
|
:param int|None since: the earliest time in ms to fetch trades for
|
1752
1752
|
:param int|None limit: the maximum number of trades to retrieve
|
1753
1753
|
:param dict params: extra parameters specific to the bitpanda api endpoint
|
1754
|
-
:returns [
|
1754
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/#/?id=trade-structure>`
|
1755
1755
|
"""
|
1756
1756
|
await self.load_markets()
|
1757
1757
|
request = {
|
@@ -1805,7 +1805,7 @@ class bitpanda(Exchange, ImplicitAPI):
|
|
1805
1805
|
:param int|None since: the earliest time in ms to fetch trades for
|
1806
1806
|
:param int|None limit: the maximum number of trades structures to retrieve
|
1807
1807
|
:param dict params: extra parameters specific to the bitpanda api endpoint
|
1808
|
-
:returns [
|
1808
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/#/?id=trade-structure>`
|
1809
1809
|
"""
|
1810
1810
|
await self.load_markets()
|
1811
1811
|
request = {
|
ccxt/async_support/bitrue.py
CHANGED
@@ -598,7 +598,7 @@ class bitrue(Exchange, ImplicitAPI):
|
|
598
598
|
"""
|
599
599
|
retrieves data on all markets for bitrue
|
600
600
|
:param dict params: extra parameters specific to the exchange api endpoint
|
601
|
-
:returns [
|
601
|
+
:returns dict[]: an array of objects representing market data
|
602
602
|
"""
|
603
603
|
response = await self.v1PublicGetExchangeInfo(params)
|
604
604
|
#
|
@@ -890,7 +890,7 @@ class bitrue(Exchange, ImplicitAPI):
|
|
890
890
|
:param int|None since: timestamp in ms of the earliest candle to fetch
|
891
891
|
:param int|None limit: the maximum amount of candles to fetch
|
892
892
|
:param dict params: extra parameters specific to the bitrue api endpoint
|
893
|
-
:returns [[
|
893
|
+
:returns int[][]: A list of candles ordered, open, high, low, close, volume
|
894
894
|
"""
|
895
895
|
await self.load_markets()
|
896
896
|
market = self.market(symbol)
|
@@ -945,7 +945,7 @@ class bitrue(Exchange, ImplicitAPI):
|
|
945
945
|
async def fetch_bids_asks(self, symbols: Optional[List[str]] = None, params={}):
|
946
946
|
"""
|
947
947
|
fetches the bid and ask price and volume for multiple markets
|
948
|
-
:param [
|
948
|
+
:param str[]|None symbols: unified symbols of the markets to fetch the bids and asks for, all markets are returned if not assigned
|
949
949
|
:param dict params: extra parameters specific to the bitrue api endpoint
|
950
950
|
:returns dict: a dictionary of `ticker structures <https://docs.ccxt.com/#/?id=ticker-structure>`
|
951
951
|
"""
|
@@ -966,7 +966,7 @@ class bitrue(Exchange, ImplicitAPI):
|
|
966
966
|
async def fetch_tickers(self, symbols: Optional[List[str]] = None, params={}):
|
967
967
|
"""
|
968
968
|
fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
|
969
|
-
:param [
|
969
|
+
:param str[]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
970
970
|
:param dict params: extra parameters specific to the bitrue api endpoint
|
971
971
|
:returns dict: a dictionary of `ticker structures <https://docs.ccxt.com/#/?id=ticker-structure>`
|
972
972
|
"""
|
@@ -1099,7 +1099,7 @@ class bitrue(Exchange, ImplicitAPI):
|
|
1099
1099
|
:param int|None since: timestamp in ms of the earliest trade to fetch
|
1100
1100
|
:param int|None limit: the maximum amount of trades to fetch
|
1101
1101
|
:param dict params: extra parameters specific to the bitrue api endpoint
|
1102
|
-
:returns [
|
1102
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
|
1103
1103
|
"""
|
1104
1104
|
await self.load_markets()
|
1105
1105
|
market = self.market(symbol)
|
@@ -1335,7 +1335,7 @@ class bitrue(Exchange, ImplicitAPI):
|
|
1335
1335
|
:param int|None since: the earliest time in ms to fetch orders for
|
1336
1336
|
:param int|None limit: the maximum number of orde structures to retrieve
|
1337
1337
|
:param dict params: extra parameters specific to the bitrue api endpoint
|
1338
|
-
:returns [
|
1338
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
1339
1339
|
"""
|
1340
1340
|
if symbol is None:
|
1341
1341
|
raise ArgumentsRequired(self.id + ' fetchClosedOrders() requires a symbol argument')
|
@@ -1384,7 +1384,7 @@ class bitrue(Exchange, ImplicitAPI):
|
|
1384
1384
|
:param int|None since: the earliest time in ms to fetch open orders for
|
1385
1385
|
:param int|None limit: the maximum number of open orders structures to retrieve
|
1386
1386
|
:param dict params: extra parameters specific to the bitrue api endpoint
|
1387
|
-
:returns [
|
1387
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
1388
1388
|
"""
|
1389
1389
|
if symbol is None:
|
1390
1390
|
raise ArgumentsRequired(self.id + ' fetchOpenOrders() requires a symbol argument')
|
@@ -1460,7 +1460,7 @@ class bitrue(Exchange, ImplicitAPI):
|
|
1460
1460
|
:param int|None since: the earliest time in ms to fetch trades for
|
1461
1461
|
:param int|None limit: the maximum number of trades structures to retrieve
|
1462
1462
|
:param dict params: extra parameters specific to the bitrue api endpoint
|
1463
|
-
:returns [
|
1463
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/#/?id=trade-structure>`
|
1464
1464
|
"""
|
1465
1465
|
method = self.safe_string(self.options, 'fetchMyTradesMethod', 'v2PrivateGetMyTrades')
|
1466
1466
|
if (symbol is None) and (method == 'v2PrivateGetMyTrades'):
|
@@ -1509,7 +1509,7 @@ class bitrue(Exchange, ImplicitAPI):
|
|
1509
1509
|
:param int|None since: the earliest time in ms to fetch deposits for
|
1510
1510
|
:param int|None limit: the maximum number of deposits structures to retrieve
|
1511
1511
|
:param dict params: extra parameters specific to the bitrue api endpoint
|
1512
|
-
:returns [
|
1512
|
+
:returns dict[]: a list of `transaction structures <https://docs.ccxt.com/#/?id=transaction-structure>`
|
1513
1513
|
"""
|
1514
1514
|
if code is None:
|
1515
1515
|
raise ArgumentsRequired(self.id + ' fetchDeposits() requires a code argument')
|
@@ -1575,7 +1575,7 @@ class bitrue(Exchange, ImplicitAPI):
|
|
1575
1575
|
:param int|None since: the earliest time in ms to fetch withdrawals for
|
1576
1576
|
:param int|None limit: the maximum number of withdrawals structures to retrieve
|
1577
1577
|
:param dict params: extra parameters specific to the bitrue api endpoint
|
1578
|
-
:returns [
|
1578
|
+
:returns dict[]: a list of `transaction structures <https://docs.ccxt.com/#/?id=transaction-structure>`
|
1579
1579
|
"""
|
1580
1580
|
if code is None:
|
1581
1581
|
raise ArgumentsRequired(self.id + ' fetchWithdrawals() requires a code argument')
|
@@ -1843,7 +1843,7 @@ class bitrue(Exchange, ImplicitAPI):
|
|
1843
1843
|
"""
|
1844
1844
|
fetch deposit and withdraw fees
|
1845
1845
|
see https://github.com/Bitrue-exchange/Spot-official-api-docs#exchangeInfo_endpoint
|
1846
|
-
:param [
|
1846
|
+
:param str[]|None codes: list of unified currency codes
|
1847
1847
|
:param dict params: extra parameters specific to the bitrue api endpoint
|
1848
1848
|
:returns dict: a list of `fee structures <https://docs.ccxt.com/en/latest/manual.html#fee-structure>`
|
1849
1849
|
"""
|
ccxt/async_support/bitso.py
CHANGED
@@ -341,7 +341,7 @@ class bitso(Exchange, ImplicitAPI):
|
|
341
341
|
"""
|
342
342
|
retrieves data on all markets for bitso
|
343
343
|
:param dict params: extra parameters specific to the exchange api endpoint
|
344
|
-
:returns [
|
344
|
+
:returns dict[]: an array of objects representing market data
|
345
345
|
"""
|
346
346
|
response = await self.publicGetAvailableBooks(params)
|
347
347
|
#
|
@@ -627,7 +627,7 @@ class bitso(Exchange, ImplicitAPI):
|
|
627
627
|
:param int|None since: timestamp in ms of the earliest candle to fetch
|
628
628
|
:param int|None limit: the maximum amount of candles to fetch
|
629
629
|
:param dict params: extra parameters specific to the bitso api endpoint
|
630
|
-
:returns [[
|
630
|
+
:returns int[][]: A list of candles ordered, open, high, low, close, volume
|
631
631
|
"""
|
632
632
|
await self.load_markets()
|
633
633
|
market = self.market(symbol)
|
@@ -791,7 +791,7 @@ class bitso(Exchange, ImplicitAPI):
|
|
791
791
|
:param int|None since: timestamp in ms of the earliest trade to fetch
|
792
792
|
:param int|None limit: the maximum amount of trades to fetch
|
793
793
|
:param dict params: extra parameters specific to the bitso api endpoint
|
794
|
-
:returns [
|
794
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
|
795
795
|
"""
|
796
796
|
await self.load_markets()
|
797
797
|
market = self.market(symbol)
|
@@ -876,7 +876,7 @@ class bitso(Exchange, ImplicitAPI):
|
|
876
876
|
:param int|None since: the earliest time in ms to fetch trades for
|
877
877
|
:param int|None limit: the maximum number of trades structures to retrieve
|
878
878
|
:param dict params: extra parameters specific to the bitso api endpoint
|
879
|
-
:returns [
|
879
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/#/?id=trade-structure>`
|
880
880
|
"""
|
881
881
|
await self.load_markets()
|
882
882
|
market = self.market(symbol)
|
@@ -947,7 +947,7 @@ class bitso(Exchange, ImplicitAPI):
|
|
947
947
|
async def cancel_orders(self, ids, symbol: Optional[str] = None, params={}):
|
948
948
|
"""
|
949
949
|
cancel multiple orders
|
950
|
-
:param [
|
950
|
+
:param str[] ids: order ids
|
951
951
|
:param str|None symbol: unified market symbol
|
952
952
|
:param dict params: extra parameters specific to the bitso api endpoint
|
953
953
|
:returns dict: an list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
@@ -980,7 +980,7 @@ class bitso(Exchange, ImplicitAPI):
|
|
980
980
|
cancel all open orders
|
981
981
|
:param None symbol: bitso does not support canceling orders for only a specific market
|
982
982
|
:param dict params: extra parameters specific to the bitso api endpoint
|
983
|
-
:returns [
|
983
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
984
984
|
"""
|
985
985
|
if symbol is not None:
|
986
986
|
raise NotSupported(self.id + ' cancelAllOrders() deletes all orders for user, it does not support filtering by symbol.')
|
@@ -1060,7 +1060,7 @@ class bitso(Exchange, ImplicitAPI):
|
|
1060
1060
|
:param int|None since: the earliest time in ms to fetch open orders for
|
1061
1061
|
:param int|None limit: the maximum number of open orders structures to retrieve
|
1062
1062
|
:param dict params: extra parameters specific to the bitso api endpoint
|
1063
|
-
:returns [
|
1063
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
1064
1064
|
"""
|
1065
1065
|
await self.load_markets()
|
1066
1066
|
market = self.market(symbol)
|
@@ -1113,7 +1113,7 @@ class bitso(Exchange, ImplicitAPI):
|
|
1113
1113
|
:param int|None since: the earliest time in ms to fetch trades for
|
1114
1114
|
:param int|None limit: the maximum number of trades to retrieve
|
1115
1115
|
:param dict params: extra parameters specific to the bitso api endpoint
|
1116
|
-
:returns [
|
1116
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/#/?id=trade-structure>`
|
1117
1117
|
"""
|
1118
1118
|
await self.load_markets()
|
1119
1119
|
market = self.market(symbol)
|
@@ -1170,7 +1170,7 @@ class bitso(Exchange, ImplicitAPI):
|
|
1170
1170
|
:param int|None since: the earliest time in ms to fetch deposits for
|
1171
1171
|
:param int|None limit: the maximum number of deposits structures to retrieve
|
1172
1172
|
:param dict params: extra parameters specific to the exmo api endpoint
|
1173
|
-
:returns [
|
1173
|
+
:returns dict[]: a list of `transaction structures <https://docs.ccxt.com/#/?id=transaction-structure>`
|
1174
1174
|
"""
|
1175
1175
|
await self.load_markets()
|
1176
1176
|
currency = None
|
@@ -1235,9 +1235,9 @@ class bitso(Exchange, ImplicitAPI):
|
|
1235
1235
|
"""
|
1236
1236
|
*DEPRECATED* please use fetchDepositWithdrawFees instead
|
1237
1237
|
see https://bitso.com/api_info#fees
|
1238
|
-
:param [
|
1238
|
+
:param str[]|None codes: list of unified currency codes
|
1239
1239
|
:param dict params: extra parameters specific to the bitso api endpoint
|
1240
|
-
:returns [
|
1240
|
+
:returns dict[]: a list of `fee structures <https://docs.ccxt.com/#/?id=fee-structure>`
|
1241
1241
|
"""
|
1242
1242
|
await self.load_markets()
|
1243
1243
|
response = await self.privateGetFees(params)
|
@@ -1322,9 +1322,9 @@ class bitso(Exchange, ImplicitAPI):
|
|
1322
1322
|
"""
|
1323
1323
|
fetch deposit and withdraw fees
|
1324
1324
|
see https://bitso.com/api_info#fees
|
1325
|
-
:param [
|
1325
|
+
:param str[]|None codes: list of unified currency codes
|
1326
1326
|
:param dict params: extra parameters specific to the bitso api endpoint
|
1327
|
-
:returns [
|
1327
|
+
:returns dict[]: a list of `fee structures <https://docs.ccxt.com/#/?id=fee-structure>`
|
1328
1328
|
"""
|
1329
1329
|
await self.load_markets()
|
1330
1330
|
response = await self.privateGetFees(params)
|
ccxt/async_support/bitstamp.py
CHANGED
@@ -442,7 +442,7 @@ class bitstamp(Exchange, ImplicitAPI):
|
|
442
442
|
"""
|
443
443
|
retrieves data on all markets for bitstamp
|
444
444
|
:param dict params: extra parameters specific to the exchange api endpoint
|
445
|
-
:returns [
|
445
|
+
:returns dict[]: an array of objects representing market data
|
446
446
|
"""
|
447
447
|
response = await self.fetch_markets_from_cache(params)
|
448
448
|
#
|
@@ -735,7 +735,7 @@ class bitstamp(Exchange, ImplicitAPI):
|
|
735
735
|
"""
|
736
736
|
fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
|
737
737
|
see https://www.bitstamp.net/api/#all-tickers
|
738
|
-
:param [
|
738
|
+
:param str[]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
739
739
|
:param dict params: extra parameters specific to the bitstamp api endpoint
|
740
740
|
:returns dict: a dictionary of `ticker structures <https://docs.ccxt.com/#/?id=ticker-structure>`
|
741
741
|
"""
|
@@ -941,7 +941,7 @@ class bitstamp(Exchange, ImplicitAPI):
|
|
941
941
|
:param int|None since: timestamp in ms of the earliest trade to fetch
|
942
942
|
:param int|None limit: the maximum amount of trades to fetch
|
943
943
|
:param dict params: extra parameters specific to the bitstamp api endpoint
|
944
|
-
:returns [
|
944
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
|
945
945
|
"""
|
946
946
|
await self.load_markets()
|
947
947
|
market = self.market(symbol)
|
@@ -998,7 +998,7 @@ class bitstamp(Exchange, ImplicitAPI):
|
|
998
998
|
:param int|None since: timestamp in ms of the earliest candle to fetch
|
999
999
|
:param int|None limit: the maximum amount of candles to fetch
|
1000
1000
|
:param dict params: extra parameters specific to the bitstamp api endpoint
|
1001
|
-
:returns [[
|
1001
|
+
:returns int[][]: A list of candles ordered, open, high, low, close, volume
|
1002
1002
|
"""
|
1003
1003
|
await self.load_markets()
|
1004
1004
|
market = self.market(symbol)
|
@@ -1136,9 +1136,9 @@ class bitstamp(Exchange, ImplicitAPI):
|
|
1136
1136
|
"""
|
1137
1137
|
*DEPRECATED* please use fetchDepositWithdrawFees instead
|
1138
1138
|
see https://www.bitstamp.net/api/#balance
|
1139
|
-
:param [
|
1139
|
+
:param str[]|None codes: list of unified currency codes
|
1140
1140
|
:param dict params: extra parameters specific to the bitstamp api endpoint
|
1141
|
-
:returns [
|
1141
|
+
:returns dict[]: a list of `fee structures <https://docs.ccxt.com/#/?id=fee-structure>`
|
1142
1142
|
"""
|
1143
1143
|
await self.load_markets()
|
1144
1144
|
balance = await self.privatePostBalance(params)
|
@@ -1190,9 +1190,9 @@ class bitstamp(Exchange, ImplicitAPI):
|
|
1190
1190
|
"""
|
1191
1191
|
fetch deposit and withdraw fees
|
1192
1192
|
see https://www.bitstamp.net/api/#balance
|
1193
|
-
:param [
|
1193
|
+
:param str[]|None codes: list of unified currency codes
|
1194
1194
|
:param dict params: extra parameters specific to the bitstamp api endpoint
|
1195
|
-
:returns [
|
1195
|
+
:returns dict[]: a list of `fee structures <https://docs.ccxt.com/#/?id=fee-structure>`
|
1196
1196
|
"""
|
1197
1197
|
await self.load_markets()
|
1198
1198
|
response = await self.privatePostBalance(params)
|
@@ -1305,7 +1305,7 @@ class bitstamp(Exchange, ImplicitAPI):
|
|
1305
1305
|
cancel all open orders
|
1306
1306
|
:param str|None symbol: unified market symbol, only orders in the market of self symbol are cancelled when symbol is not None
|
1307
1307
|
:param dict params: extra parameters specific to the bitstamp api endpoint
|
1308
|
-
:returns [
|
1308
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
1309
1309
|
"""
|
1310
1310
|
await self.load_markets()
|
1311
1311
|
market = None
|
@@ -1384,7 +1384,7 @@ class bitstamp(Exchange, ImplicitAPI):
|
|
1384
1384
|
:param int|None since: the earliest time in ms to fetch trades for
|
1385
1385
|
:param int|None limit: the maximum number of trades structures to retrieve
|
1386
1386
|
:param dict params: extra parameters specific to the bitstamp api endpoint
|
1387
|
-
:returns [
|
1387
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/#/?id=trade-structure>`
|
1388
1388
|
"""
|
1389
1389
|
await self.load_markets()
|
1390
1390
|
request = {}
|
@@ -1453,7 +1453,7 @@ class bitstamp(Exchange, ImplicitAPI):
|
|
1453
1453
|
:param int|None since: the earliest time in ms to fetch withdrawals for
|
1454
1454
|
:param int|None limit: the maximum number of withdrawals structures to retrieve
|
1455
1455
|
:param dict params: extra parameters specific to the bitstamp api endpoint
|
1456
|
-
:returns [
|
1456
|
+
:returns dict[]: a list of `transaction structures <https://docs.ccxt.com/#/?id=transaction-structure>`
|
1457
1457
|
"""
|
1458
1458
|
await self.load_markets()
|
1459
1459
|
request = {}
|
@@ -1815,7 +1815,7 @@ class bitstamp(Exchange, ImplicitAPI):
|
|
1815
1815
|
:param int|None since: the earliest time in ms to fetch open orders for
|
1816
1816
|
:param int|None limit: the maximum number of open orders structures to retrieve
|
1817
1817
|
:param dict params: extra parameters specific to the bitstamp api endpoint
|
1818
|
-
:returns [
|
1818
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
1819
1819
|
"""
|
1820
1820
|
market = None
|
1821
1821
|
await self.load_markets()
|
ccxt/async_support/bitstamp1.py
CHANGED
@@ -244,7 +244,7 @@ class bitstamp1(Exchange, ImplicitAPI):
|
|
244
244
|
:param int|None since: timestamp in ms of the earliest trade to fetch
|
245
245
|
:param int|None limit: the maximum amount of trades to fetch
|
246
246
|
:param dict params: extra parameters specific to the bitstamp1 api endpoint
|
247
|
-
:returns [
|
247
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
|
248
248
|
"""
|
249
249
|
if symbol != 'BTC/USD':
|
250
250
|
raise BadSymbol(self.id + ' ' + self.version + " fetchTrades doesn't support " + symbol + ', use it for BTC/USD only')
|
@@ -341,7 +341,7 @@ class bitstamp1(Exchange, ImplicitAPI):
|
|
341
341
|
:param int|None since: the earliest time in ms to fetch trades for
|
342
342
|
:param int|None limit: the maximum number of trades structures to retrieve
|
343
343
|
:param dict params: extra parameters specific to the bitstamp1 api endpoint
|
344
|
-
:returns [
|
344
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/#/?id=trade-structure>`
|
345
345
|
"""
|
346
346
|
await self.load_markets()
|
347
347
|
market = None
|