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/pro/alpaca.py
CHANGED
|
@@ -133,7 +133,7 @@ class alpaca(ccxt.async_support.alpaca):
|
|
|
133
133
|
:param int|None since: timestamp in ms of the earliest candle to fetch
|
|
134
134
|
:param int|None limit: the maximum amount of candles to fetch
|
|
135
135
|
:param dict params: extra parameters specific to the alpaca api endpoint
|
|
136
|
-
:returns [[
|
|
136
|
+
:returns int[][]: A list of candles ordered, open, high, low, close, volume
|
|
137
137
|
"""
|
|
138
138
|
url = self.urls['api']['ws']['crypto']
|
|
139
139
|
await self.authenticate(url)
|
|
@@ -257,7 +257,7 @@ class alpaca(ccxt.async_support.alpaca):
|
|
|
257
257
|
:param int|None since: the earliest time in ms to fetch orders for
|
|
258
258
|
:param int|None limit: the maximum number of orde structures to retrieve
|
|
259
259
|
:param dict params: extra parameters specific to the alpaca api endpoint
|
|
260
|
-
:returns [
|
|
260
|
+
:returns dict[]: a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure
|
|
261
261
|
"""
|
|
262
262
|
url = self.urls['api']['ws']['crypto']
|
|
263
263
|
await self.authenticate(url)
|
|
@@ -306,7 +306,7 @@ class alpaca(ccxt.async_support.alpaca):
|
|
|
306
306
|
:param int|None limit: the maximum number of orde structures to retrieve
|
|
307
307
|
:param dict params: extra parameters specific to the alpaca api endpoint
|
|
308
308
|
:param boolean params['unifiedMargin']: use unified margin account
|
|
309
|
-
:returns [
|
|
309
|
+
:returns dict[]: a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure
|
|
310
310
|
"""
|
|
311
311
|
url = self.urls['api']['ws']['trading']
|
|
312
312
|
await self.authenticate(url)
|
|
@@ -333,7 +333,7 @@ class alpaca(ccxt.async_support.alpaca):
|
|
|
333
333
|
:param int|None since: the earliest time in ms to fetch orders for
|
|
334
334
|
:param int|None limit: the maximum number of orde structures to retrieve
|
|
335
335
|
:param dict params: extra parameters specific to the alpaca api endpoint
|
|
336
|
-
:returns [
|
|
336
|
+
:returns dict[]: a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure
|
|
337
337
|
"""
|
|
338
338
|
url = self.urls['api']['ws']['trading']
|
|
339
339
|
await self.authenticate(url)
|
ccxt/pro/ascendex.py
CHANGED
|
@@ -84,7 +84,7 @@ class ascendex(ccxt.async_support.ascendex):
|
|
|
84
84
|
:param int|None since: timestamp in ms of the earliest candle to fetch
|
|
85
85
|
:param int|None limit: the maximum amount of candles to fetch
|
|
86
86
|
:param dict params: extra parameters specific to the ascendex api endpoint
|
|
87
|
-
:returns [[
|
|
87
|
+
:returns int[][]: A list of candles ordered, open, high, low, close, volume
|
|
88
88
|
"""
|
|
89
89
|
await self.load_markets()
|
|
90
90
|
market = self.market(symbol)
|
|
@@ -143,7 +143,7 @@ class ascendex(ccxt.async_support.ascendex):
|
|
|
143
143
|
:param int|None since: timestamp in ms of the earliest trade to fetch
|
|
144
144
|
:param int|None limit: the maximum amount of trades to fetch
|
|
145
145
|
:param dict params: extra parameters specific to the ascendex api endpoint
|
|
146
|
-
:returns [
|
|
146
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
|
|
147
147
|
"""
|
|
148
148
|
await self.load_markets()
|
|
149
149
|
market = self.market(symbol)
|
|
@@ -451,7 +451,7 @@ class ascendex(ccxt.async_support.ascendex):
|
|
|
451
451
|
:param int|None since: the earliest time in ms to fetch orders for
|
|
452
452
|
:param int|None limit: the maximum number of orde structures to retrieve
|
|
453
453
|
:param dict params: extra parameters specific to the ascendex api endpoint
|
|
454
|
-
:returns [
|
|
454
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
|
455
455
|
"""
|
|
456
456
|
await self.load_markets()
|
|
457
457
|
market = None
|
ccxt/pro/binance.py
CHANGED
|
@@ -372,7 +372,7 @@ class binance(ccxt.async_support.binance):
|
|
|
372
372
|
:param int|None since: timestamp in ms of the earliest trade to fetch
|
|
373
373
|
:param int|None limit: the maximum amount of trades to fetch
|
|
374
374
|
:param dict params: extra parameters specific to the binance api endpoint
|
|
375
|
-
:returns [
|
|
375
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
|
|
376
376
|
"""
|
|
377
377
|
await self.load_markets()
|
|
378
378
|
market = self.market(symbol)
|
|
@@ -583,7 +583,7 @@ class binance(ccxt.async_support.binance):
|
|
|
583
583
|
:param int|None since: timestamp in ms of the earliest candle to fetch
|
|
584
584
|
:param int|None limit: the maximum amount of candles to fetch
|
|
585
585
|
:param dict params: extra parameters specific to the binance api endpoint
|
|
586
|
-
:returns [[
|
|
586
|
+
:returns int[][]: A list of candles ordered, open, high, low, close, volume
|
|
587
587
|
"""
|
|
588
588
|
await self.load_markets()
|
|
589
589
|
market = self.market(symbol)
|
|
@@ -716,7 +716,7 @@ class binance(ccxt.async_support.binance):
|
|
|
716
716
|
async def watch_tickers(self, symbols: Optional[List[str]] = None, params={}):
|
|
717
717
|
"""
|
|
718
718
|
watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for all markets of a specific list
|
|
719
|
-
:param [
|
|
719
|
+
:param str[] symbols: unified symbol of the market to fetch the ticker for
|
|
720
720
|
:param dict params: extra parameters specific to the binance api endpoint
|
|
721
721
|
:returns dict: a `ticker structure <https://docs.ccxt.com/#/?id=ticker-structure>`
|
|
722
722
|
"""
|
|
@@ -1174,7 +1174,7 @@ class binance(ccxt.async_support.binance):
|
|
|
1174
1174
|
:param int|None since: the earliest time in ms to fetch orders for
|
|
1175
1175
|
:param int|None limit: the maximum number of orde structures to retrieve
|
|
1176
1176
|
:param dict params: extra parameters specific to the binance api endpoint
|
|
1177
|
-
:returns [
|
|
1177
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
|
1178
1178
|
"""
|
|
1179
1179
|
await self.load_markets()
|
|
1180
1180
|
messageHash = 'orders'
|
|
@@ -1442,7 +1442,7 @@ class binance(ccxt.async_support.binance):
|
|
|
1442
1442
|
:param int|None since: the earliest time in ms to fetch orders for
|
|
1443
1443
|
:param int|None limit: the maximum number of orde structures to retrieve
|
|
1444
1444
|
:param dict params: extra parameters specific to the binance api endpoint
|
|
1445
|
-
:returns [
|
|
1445
|
+
:returns dict[]: a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure
|
|
1446
1446
|
"""
|
|
1447
1447
|
await self.load_markets()
|
|
1448
1448
|
defaultType = self.safe_string_2(self.options, 'watchMyTrades', 'defaultType', 'spot')
|
ccxt/pro/bitfinex.py
CHANGED
|
@@ -65,7 +65,7 @@ class bitfinex(ccxt.async_support.bitfinex):
|
|
|
65
65
|
:param int|None since: timestamp in ms of the earliest trade to fetch
|
|
66
66
|
:param int|None limit: the maximum amount of trades to fetch
|
|
67
67
|
:param dict params: extra parameters specific to the bitfinex api endpoint
|
|
68
|
-
:returns [
|
|
68
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
|
|
69
69
|
"""
|
|
70
70
|
await self.load_markets()
|
|
71
71
|
symbol = self.symbol(symbol)
|
|
@@ -434,7 +434,7 @@ class bitfinex(ccxt.async_support.bitfinex):
|
|
|
434
434
|
:param int|None since: the earliest time in ms to fetch orders for
|
|
435
435
|
:param int|None limit: the maximum number of orde structures to retrieve
|
|
436
436
|
:param dict params: extra parameters specific to the bitfinex api endpoint
|
|
437
|
-
:returns [
|
|
437
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
|
438
438
|
"""
|
|
439
439
|
await self.load_markets()
|
|
440
440
|
await self.authenticate()
|
ccxt/pro/bitfinex2.py
CHANGED
|
@@ -83,7 +83,7 @@ class bitfinex2(ccxt.async_support.bitfinex2):
|
|
|
83
83
|
:param int|None since: timestamp in ms of the earliest candle to fetch
|
|
84
84
|
:param int|None limit: the maximum amount of candles to fetch
|
|
85
85
|
:param dict params: extra parameters specific to the biftfinex2 api endpoint
|
|
86
|
-
:returns [[
|
|
86
|
+
:returns int[][]: A list of candles ordered, open, high, low, close, volume
|
|
87
87
|
"""
|
|
88
88
|
await self.load_markets()
|
|
89
89
|
market = self.market(symbol)
|
|
@@ -190,7 +190,7 @@ class bitfinex2(ccxt.async_support.bitfinex2):
|
|
|
190
190
|
:param int|None since: timestamp in ms of the earliest trade to fetch
|
|
191
191
|
:param int|None limit: the maximum amount of trades to fetch
|
|
192
192
|
:param dict params: extra parameters specific to the bitfinex2 api endpoint
|
|
193
|
-
:returns [
|
|
193
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
|
|
194
194
|
"""
|
|
195
195
|
trades = await self.subscribe('trades', symbol, params)
|
|
196
196
|
if self.newUpdates:
|
|
@@ -204,7 +204,7 @@ class bitfinex2(ccxt.async_support.bitfinex2):
|
|
|
204
204
|
:param int|None since: the earliest time in ms to fetch orders for
|
|
205
205
|
:param int|None limit: the maximum number of orde structures to retrieve
|
|
206
206
|
:param dict params: extra parameters specific to the bitfinex2 api endpoint
|
|
207
|
-
:returns [
|
|
207
|
+
:returns dict[]: a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure
|
|
208
208
|
"""
|
|
209
209
|
await self.load_markets()
|
|
210
210
|
messageHash = 'myTrade'
|
|
@@ -824,7 +824,7 @@ class bitfinex2(ccxt.async_support.bitfinex2):
|
|
|
824
824
|
:param int|None since: the earliest time in ms to fetch orders for
|
|
825
825
|
:param int|None limit: the maximum number of orde structures to retrieve
|
|
826
826
|
:param dict params: extra parameters specific to the bitfinex2 api endpoint
|
|
827
|
-
:returns [
|
|
827
|
+
:returns dict[]: a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure
|
|
828
828
|
"""
|
|
829
829
|
await self.load_markets()
|
|
830
830
|
messageHash = 'orders'
|
ccxt/pro/bitget.py
CHANGED
|
@@ -240,7 +240,7 @@ class bitget(ccxt.async_support.bitget):
|
|
|
240
240
|
:param int|None since: timestamp in ms of the earliest candle to fetch
|
|
241
241
|
:param int|None limit: the maximum amount of candles to fetch
|
|
242
242
|
:param dict params: extra parameters specific to the bitget api endpoint
|
|
243
|
-
:returns [[
|
|
243
|
+
:returns int[][]: A list of candles ordered, open, high, low, close, volume
|
|
244
244
|
"""
|
|
245
245
|
await self.load_markets()
|
|
246
246
|
market = self.market(symbol)
|
|
@@ -453,7 +453,7 @@ class bitget(ccxt.async_support.bitget):
|
|
|
453
453
|
:param int|None since: timestamp in ms of the earliest trade to fetch
|
|
454
454
|
:param int|None limit: the maximum amount of trades to fetch
|
|
455
455
|
:param dict params: extra parameters specific to the bitget api endpoint
|
|
456
|
-
:returns [
|
|
456
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
|
|
457
457
|
"""
|
|
458
458
|
await self.load_markets()
|
|
459
459
|
market = self.market(symbol)
|
|
@@ -543,7 +543,7 @@ class bitget(ccxt.async_support.bitget):
|
|
|
543
543
|
:param int|None since: the earliest time in ms to fetch orders for
|
|
544
544
|
:param int|None limit: the maximum number of orde structures to retrieve
|
|
545
545
|
:param dict params: extra parameters specific to the bitget api endpoint
|
|
546
|
-
:returns [
|
|
546
|
+
:returns dict[]: a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure
|
|
547
547
|
"""
|
|
548
548
|
await self.load_markets()
|
|
549
549
|
market = None
|
|
@@ -809,7 +809,7 @@ class bitget(ccxt.async_support.bitget):
|
|
|
809
809
|
:param int|None since: the earliest time in ms to fetch trades for
|
|
810
810
|
:param int|None limit: the maximum number of trades structures to retrieve
|
|
811
811
|
:param dict params: extra parameters specific to the bitget api endpoint
|
|
812
|
-
:returns [
|
|
812
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/#/?id=trade-structure>`
|
|
813
813
|
"""
|
|
814
814
|
# only contracts stream provides the trade info consistently in between order updates
|
|
815
815
|
# the spot stream only provides on limit orders updates so we can't support it for spot
|
ccxt/pro/bitmart.py
CHANGED
|
@@ -91,7 +91,7 @@ class bitmart(ccxt.async_support.bitmart):
|
|
|
91
91
|
:param int|None since: timestamp in ms of the earliest trade to fetch
|
|
92
92
|
:param int|None limit: the maximum amount of trades to fetch
|
|
93
93
|
:param dict params: extra parameters specific to the bitmart api endpoint
|
|
94
|
-
:returns [
|
|
94
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
|
|
95
95
|
"""
|
|
96
96
|
await self.load_markets()
|
|
97
97
|
symbol = self.symbol(symbol)
|
|
@@ -116,7 +116,7 @@ class bitmart(ccxt.async_support.bitmart):
|
|
|
116
116
|
:param int|None since: the earliest time in ms to fetch orders for
|
|
117
117
|
:param int|None limit: the maximum number of orde structures to retrieve
|
|
118
118
|
:param dict params: extra parameters specific to the bitmart api endpoint
|
|
119
|
-
:returns [
|
|
119
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
|
120
120
|
"""
|
|
121
121
|
if symbol is None:
|
|
122
122
|
raise ArgumentsRequired(self.id + ' watchOrders requires a symbol argument')
|
|
@@ -302,7 +302,7 @@ class bitmart(ccxt.async_support.bitmart):
|
|
|
302
302
|
:param int|None since: timestamp in ms of the earliest candle to fetch
|
|
303
303
|
:param int|None limit: the maximum amount of candles to fetch
|
|
304
304
|
:param dict params: extra parameters specific to the bitmart api endpoint
|
|
305
|
-
:returns [[
|
|
305
|
+
:returns int[][]: A list of candles ordered, open, high, low, close, volume
|
|
306
306
|
"""
|
|
307
307
|
await self.load_markets()
|
|
308
308
|
symbol = self.symbol(symbol)
|
ccxt/pro/bitmex.py
CHANGED
|
@@ -526,7 +526,7 @@ class bitmex(ccxt.async_support.bitmex):
|
|
|
526
526
|
:param int|None since: timestamp in ms of the earliest trade to fetch
|
|
527
527
|
:param int|None limit: the maximum amount of trades to fetch
|
|
528
528
|
:param dict params: extra parameters specific to the bitmex api endpoint
|
|
529
|
-
:returns [
|
|
529
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
|
|
530
530
|
"""
|
|
531
531
|
await self.load_markets()
|
|
532
532
|
market = self.market(symbol)
|
|
@@ -587,7 +587,7 @@ class bitmex(ccxt.async_support.bitmex):
|
|
|
587
587
|
:param int|None since: the earliest time in ms to fetch orders for
|
|
588
588
|
:param int|None limit: the maximum number of orde structures to retrieve
|
|
589
589
|
:param dict params: extra parameters specific to the bitmex api endpoint
|
|
590
|
-
:returns [
|
|
590
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
|
591
591
|
"""
|
|
592
592
|
await self.load_markets()
|
|
593
593
|
await self.authenticate()
|
|
@@ -793,7 +793,7 @@ class bitmex(ccxt.async_support.bitmex):
|
|
|
793
793
|
:param int|None since: the earliest time in ms to fetch orders for
|
|
794
794
|
:param int|None limit: the maximum number of orde structures to retrieve
|
|
795
795
|
:param dict params: extra parameters specific to the bitmex api endpoint
|
|
796
|
-
:returns [
|
|
796
|
+
:returns dict[]: a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure
|
|
797
797
|
"""
|
|
798
798
|
await self.load_markets()
|
|
799
799
|
await self.authenticate()
|
|
@@ -933,7 +933,7 @@ class bitmex(ccxt.async_support.bitmex):
|
|
|
933
933
|
:param int|None since: timestamp in ms of the earliest candle to fetch
|
|
934
934
|
:param int|None limit: the maximum amount of candles to fetch
|
|
935
935
|
:param dict params: extra parameters specific to the bitmex api endpoint
|
|
936
|
-
:returns [[
|
|
936
|
+
:returns int[][]: A list of candles ordered, open, high, low, close, volume
|
|
937
937
|
"""
|
|
938
938
|
await self.load_markets()
|
|
939
939
|
market = self.market(symbol)
|
ccxt/pro/bitopro.py
CHANGED
|
@@ -118,7 +118,7 @@ class bitopro(ccxt.async_support.bitopro):
|
|
|
118
118
|
:param int|None since: timestamp in ms of the earliest trade to fetch
|
|
119
119
|
:param int|None limit: the maximum amount of trades to fetch
|
|
120
120
|
:param dict params: extra parameters specific to the bitopro api endpoint
|
|
121
|
-
:returns [
|
|
121
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
|
|
122
122
|
"""
|
|
123
123
|
await self.load_markets()
|
|
124
124
|
market = self.market(symbol)
|
ccxt/pro/bitpanda.py
CHANGED
|
@@ -263,7 +263,7 @@ class bitpanda(ccxt.async_support.bitpanda):
|
|
|
263
263
|
:param int|None since: timestamp in ms of the earliest trade to fetch
|
|
264
264
|
:param int|None limit: the maximum amount of trades to fetch
|
|
265
265
|
:param dict params: extra parameters specific to the bitpanda api endpoint
|
|
266
|
-
:returns [
|
|
266
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
|
|
267
267
|
"""
|
|
268
268
|
await self.load_markets()
|
|
269
269
|
messageHash = 'myTrades'
|
|
@@ -409,7 +409,7 @@ class bitpanda(ccxt.async_support.bitpanda):
|
|
|
409
409
|
:param int|None limit: the maximum number of orde structures to retrieve
|
|
410
410
|
:param dict params: extra parameters specific to the bitpanda api endpoint
|
|
411
411
|
:param str params['channel']: can listen to orders using ACCOUNT_HISTORY or TRADING
|
|
412
|
-
:returns [
|
|
412
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/en/latest/manual.html#order-structure>`
|
|
413
413
|
"""
|
|
414
414
|
await self.load_markets()
|
|
415
415
|
messageHash = 'orders'
|
|
@@ -1000,7 +1000,7 @@ class bitpanda(ccxt.async_support.bitpanda):
|
|
|
1000
1000
|
:param int|None since: timestamp in ms of the earliest candle to fetch
|
|
1001
1001
|
:param int|None limit: the maximum amount of candles to fetch
|
|
1002
1002
|
:param dict params: extra parameters specific to the bitpanda api endpoint
|
|
1003
|
-
:returns [[
|
|
1003
|
+
:returns int[][]: A list of candles ordered, open, high, low, close, volume
|
|
1004
1004
|
"""
|
|
1005
1005
|
await self.load_markets()
|
|
1006
1006
|
market = self.market(symbol)
|
ccxt/pro/bitrue.py
CHANGED
|
@@ -167,7 +167,7 @@ class bitrue(ccxt.async_support.bitrue):
|
|
|
167
167
|
"""
|
|
168
168
|
watches information on user orders
|
|
169
169
|
see https://github.com/Bitrue-exchange/Spot-official-api-docs#order-update
|
|
170
|
-
:param [
|
|
170
|
+
:param str[] symbols: unified symbols of the market to watch the orders for
|
|
171
171
|
:param int|None since: timestamp in ms of the earliest order
|
|
172
172
|
:param int|None limit: the maximum amount of orders to return
|
|
173
173
|
:param dict params: extra parameters specific to the bitrue api endpoint
|
ccxt/pro/bitstamp.py
CHANGED
|
@@ -156,7 +156,7 @@ class bitstamp(ccxt.async_support.bitstamp):
|
|
|
156
156
|
:param int|None since: timestamp in ms of the earliest trade to fetch
|
|
157
157
|
:param int|None limit: the maximum amount of trades to fetch
|
|
158
158
|
:param dict params: extra parameters specific to the bitstamp api endpoint
|
|
159
|
-
:returns [
|
|
159
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
|
|
160
160
|
"""
|
|
161
161
|
await self.load_markets()
|
|
162
162
|
market = self.market(symbol)
|
|
@@ -259,7 +259,7 @@ class bitstamp(ccxt.async_support.bitstamp):
|
|
|
259
259
|
:param int|None since: the earliest time in ms to fetch orders for
|
|
260
260
|
:param int|None limit: the maximum number of orde structures to retrieve
|
|
261
261
|
:param dict params: extra parameters specific to the bitstamp api endpoint
|
|
262
|
-
:returns [
|
|
262
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
|
263
263
|
"""
|
|
264
264
|
if symbol is None:
|
|
265
265
|
raise ArgumentsRequired(self.id + ' watchOrders requires a symbol argument')
|
ccxt/pro/bittrex.py
CHANGED
|
@@ -205,7 +205,7 @@ class bittrex(ccxt.async_support.bittrex):
|
|
|
205
205
|
:param int|None since: the earliest time in ms to fetch orders for
|
|
206
206
|
:param int|None limit: the maximum number of orde structures to retrieve
|
|
207
207
|
:param dict params: extra parameters specific to the bittrex api endpoint
|
|
208
|
-
:returns [
|
|
208
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
|
209
209
|
"""
|
|
210
210
|
await self.load_markets()
|
|
211
211
|
if symbol is not None:
|
|
@@ -373,7 +373,7 @@ class bittrex(ccxt.async_support.bittrex):
|
|
|
373
373
|
:param int|None since: timestamp in ms of the earliest candle to fetch
|
|
374
374
|
:param int|None limit: the maximum amount of candles to fetch
|
|
375
375
|
:param dict params: extra parameters specific to the bittrex api endpoint
|
|
376
|
-
:returns [[
|
|
376
|
+
:returns int[][]: A list of candles ordered, open, high, low, close, volume
|
|
377
377
|
"""
|
|
378
378
|
await self.load_markets()
|
|
379
379
|
symbol = self.symbol(symbol)
|
|
@@ -438,7 +438,7 @@ class bittrex(ccxt.async_support.bittrex):
|
|
|
438
438
|
:param int|None since: timestamp in ms of the earliest trade to fetch
|
|
439
439
|
:param int|None limit: the maximum amount of trades to fetch
|
|
440
440
|
:param dict params: extra parameters specific to the bittrex api endpoint
|
|
441
|
-
:returns [
|
|
441
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
|
|
442
442
|
"""
|
|
443
443
|
await self.load_markets()
|
|
444
444
|
symbol = self.symbol(symbol)
|
|
@@ -499,7 +499,7 @@ class bittrex(ccxt.async_support.bittrex):
|
|
|
499
499
|
:param int|None since: the earliest time in ms to fetch orders for
|
|
500
500
|
:param int|None limit: the maximum number of orde structures to retrieve
|
|
501
501
|
:param dict params: extra parameters specific to the bittrex api endpoint
|
|
502
|
-
:returns [
|
|
502
|
+
:returns dict[]: a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure
|
|
503
503
|
"""
|
|
504
504
|
await self.load_markets()
|
|
505
505
|
symbol = self.symbol(symbol)
|
ccxt/pro/bitvavo.py
CHANGED
|
@@ -107,7 +107,7 @@ class bitvavo(ccxt.async_support.bitvavo):
|
|
|
107
107
|
:param int|None since: timestamp in ms of the earliest trade to fetch
|
|
108
108
|
:param int|None limit: the maximum amount of trades to fetch
|
|
109
109
|
:param dict params: extra parameters specific to the bitvavo api endpoint
|
|
110
|
-
:returns [
|
|
110
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
|
|
111
111
|
"""
|
|
112
112
|
await self.load_markets()
|
|
113
113
|
symbol = self.symbol(symbol)
|
|
@@ -150,7 +150,7 @@ class bitvavo(ccxt.async_support.bitvavo):
|
|
|
150
150
|
:param int|None since: timestamp in ms of the earliest candle to fetch
|
|
151
151
|
:param int|None limit: the maximum amount of candles to fetch
|
|
152
152
|
:param dict params: extra parameters specific to the bitvavo api endpoint
|
|
153
|
-
:returns [[
|
|
153
|
+
:returns int[][]: A list of candles ordered, open, high, low, close, volume
|
|
154
154
|
"""
|
|
155
155
|
await self.load_markets()
|
|
156
156
|
market = self.market(symbol)
|
|
@@ -398,7 +398,7 @@ class bitvavo(ccxt.async_support.bitvavo):
|
|
|
398
398
|
:param int|None since: the earliest time in ms to fetch orders for
|
|
399
399
|
:param int|None limit: the maximum number of orde structures to retrieve
|
|
400
400
|
:param dict params: extra parameters specific to the bitvavo api endpoint
|
|
401
|
-
:returns [
|
|
401
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
|
402
402
|
"""
|
|
403
403
|
if symbol is None:
|
|
404
404
|
raise ArgumentsRequired(self.id + ' watchOrders requires a symbol argument')
|
|
@@ -431,7 +431,7 @@ class bitvavo(ccxt.async_support.bitvavo):
|
|
|
431
431
|
:param int|None since: the earliest time in ms to fetch orders for
|
|
432
432
|
:param int|None limit: the maximum number of orde structures to retrieve
|
|
433
433
|
:param dict params: extra parameters specific to the bitvavo api endpoint
|
|
434
|
-
:returns [
|
|
434
|
+
:returns dict[]: a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure
|
|
435
435
|
"""
|
|
436
436
|
if symbol is None:
|
|
437
437
|
raise ArgumentsRequired(self.id + ' watchMyTrades requires a symbol argument')
|
ccxt/pro/blockchaincom.py
CHANGED
|
@@ -131,7 +131,7 @@ class blockchaincom(ccxt.async_support.blockchaincom):
|
|
|
131
131
|
:param int|None since: timestamp in ms of the earliest candle to fetch
|
|
132
132
|
:param int|None limit: the maximum amount of candles to fetch
|
|
133
133
|
:param dict params: extra parameters specific to the bitfinex2 api endpoint
|
|
134
|
-
:returns [[
|
|
134
|
+
:returns int[][]: A list of candles ordered, open, high, low, close, volume
|
|
135
135
|
"""
|
|
136
136
|
await self.load_markets()
|
|
137
137
|
market = self.market(symbol)
|
|
@@ -305,7 +305,7 @@ class blockchaincom(ccxt.async_support.blockchaincom):
|
|
|
305
305
|
:param int|None since: timestamp in ms of the earliest trade to fetch
|
|
306
306
|
:param int|None limit: the maximum amount of trades to fetch
|
|
307
307
|
:param dict params: extra parameters specific to the blockchaincom api endpoint
|
|
308
|
-
:returns [
|
|
308
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
|
|
309
309
|
"""
|
|
310
310
|
await self.load_markets()
|
|
311
311
|
market = self.market(symbol)
|
|
@@ -400,7 +400,7 @@ class blockchaincom(ccxt.async_support.blockchaincom):
|
|
|
400
400
|
:param int|None since: the earliest time in ms to fetch orders for
|
|
401
401
|
:param int|None limit: the maximum number of orde structures to retrieve
|
|
402
402
|
:param dict params: extra parameters specific to the blockchaincom api endpoint
|
|
403
|
-
:returns [
|
|
403
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/en/latest/manual.html#order-structure>`
|
|
404
404
|
"""
|
|
405
405
|
await self.load_markets()
|
|
406
406
|
await self.authenticate()
|
ccxt/pro/bybit.py
CHANGED
|
@@ -314,7 +314,7 @@ class bybit(ccxt.async_support.bybit):
|
|
|
314
314
|
:param int|None since: timestamp in ms of the earliest candle to fetch
|
|
315
315
|
:param int|None limit: the maximum amount of candles to fetch
|
|
316
316
|
:param dict params: extra parameters specific to the bybit api endpoint
|
|
317
|
-
:returns [[
|
|
317
|
+
:returns int[][]: A list of candles ordered, open, high, low, close, volume
|
|
318
318
|
"""
|
|
319
319
|
await self.load_markets()
|
|
320
320
|
market = self.market(symbol)
|
|
@@ -507,7 +507,7 @@ class bybit(ccxt.async_support.bybit):
|
|
|
507
507
|
:param int|None since: the earliest time in ms to fetch orders for
|
|
508
508
|
:param int|None limit: the maximum number of orde structures to retrieve
|
|
509
509
|
:param dict params: extra parameters specific to the bybit api endpoint
|
|
510
|
-
:returns [
|
|
510
|
+
:returns dict[]: a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure
|
|
511
511
|
"""
|
|
512
512
|
await self.load_markets()
|
|
513
513
|
market = self.market(symbol)
|
|
@@ -646,7 +646,7 @@ class bybit(ccxt.async_support.bybit):
|
|
|
646
646
|
:param int|None limit: the maximum number of orde structures to retrieve
|
|
647
647
|
:param dict params: extra parameters specific to the bybit api endpoint
|
|
648
648
|
:param boolean params['unifiedMargin']: use unified margin account
|
|
649
|
-
:returns [
|
|
649
|
+
:returns dict[]: a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure
|
|
650
650
|
"""
|
|
651
651
|
method = 'watchMyTrades'
|
|
652
652
|
messageHash = 'myTrades'
|
|
@@ -763,7 +763,7 @@ class bybit(ccxt.async_support.bybit):
|
|
|
763
763
|
:param int|None since: the earliest time in ms to fetch orders for
|
|
764
764
|
:param int|None limit: the maximum number of orde structures to retrieve
|
|
765
765
|
:param dict params: extra parameters specific to the bybit api endpoint
|
|
766
|
-
:returns [
|
|
766
|
+
:returns dict[]: a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure
|
|
767
767
|
"""
|
|
768
768
|
await self.load_markets()
|
|
769
769
|
method = 'watchOrders'
|
ccxt/pro/cex.py
CHANGED
|
@@ -113,7 +113,7 @@ class cex(ccxt.async_support.cex):
|
|
|
113
113
|
:param int|None since: timestamp in ms of the earliest trade to fetch
|
|
114
114
|
:param int|None limit: the maximum amount of trades to fetch
|
|
115
115
|
:param dict params: extra parameters specific to the cex api endpoint
|
|
116
|
-
:returns [
|
|
116
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
|
|
117
117
|
"""
|
|
118
118
|
await self.load_markets()
|
|
119
119
|
market = self.market(symbol)
|
|
@@ -251,7 +251,7 @@ class cex(ccxt.async_support.cex):
|
|
|
251
251
|
"""
|
|
252
252
|
see https://cex.io/websocket-api#ticker-subscription
|
|
253
253
|
watches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
|
|
254
|
-
:param [
|
|
254
|
+
:param str[]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
|
255
255
|
:param dict params: extra parameters specific to the cex api endpoint
|
|
256
256
|
:returns dict: a dictionary of `ticker structures <https://docs.ccxt.com/#/?id=ticker-structure>`
|
|
257
257
|
"""
|
|
@@ -365,7 +365,7 @@ class cex(ccxt.async_support.cex):
|
|
|
365
365
|
:param int|None since: timestamp in ms of the earliest trade to fetch
|
|
366
366
|
:param int|None limit: the maximum amount of trades to fetch
|
|
367
367
|
:param dict params: extra parameters specific to the cex api endpoint
|
|
368
|
-
:returns [
|
|
368
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
|
|
369
369
|
"""
|
|
370
370
|
if symbol is None:
|
|
371
371
|
raise ArgumentsRequired(self.id + ' watchOrders requires a symbol argument')
|
|
@@ -399,7 +399,7 @@ class cex(ccxt.async_support.cex):
|
|
|
399
399
|
:param int|None since: timestamp in ms of the earliest trade to fetch
|
|
400
400
|
:param int|None limit: the maximum amount of trades to fetch
|
|
401
401
|
:param dict params: extra parameters specific to the cex api endpoint
|
|
402
|
-
:returns [
|
|
402
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
|
|
403
403
|
"""
|
|
404
404
|
if symbol is None:
|
|
405
405
|
raise ArgumentsRequired(self.id + ' watchOrders requires a symbol argument')
|
|
@@ -932,7 +932,7 @@ class cex(ccxt.async_support.cex):
|
|
|
932
932
|
:param int|None since: timestamp in ms of the earliest candle to fetch
|
|
933
933
|
:param int|None limit: the maximum amount of candles to fetch
|
|
934
934
|
:param dict params: extra parameters specific to the cex api endpoint
|
|
935
|
-
:returns [[
|
|
935
|
+
:returns int[][]: A list of candles ordered, open, high, low, close, volume
|
|
936
936
|
"""
|
|
937
937
|
await self.load_markets()
|
|
938
938
|
market = self.market(symbol)
|
ccxt/pro/coinbasepro.py
CHANGED
|
@@ -91,7 +91,7 @@ class coinbasepro(ccxt.async_support.coinbasepro):
|
|
|
91
91
|
:param int|None since: timestamp in ms of the earliest trade to fetch
|
|
92
92
|
:param int|None limit: the maximum amount of trades to fetch
|
|
93
93
|
:param dict params: extra parameters specific to the coinbasepro api endpoint
|
|
94
|
-
:returns [
|
|
94
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
|
|
95
95
|
"""
|
|
96
96
|
await self.load_markets()
|
|
97
97
|
symbol = self.symbol(symbol)
|
|
@@ -108,7 +108,7 @@ class coinbasepro(ccxt.async_support.coinbasepro):
|
|
|
108
108
|
:param int|None since: the earliest time in ms to fetch orders for
|
|
109
109
|
:param int|None limit: the maximum number of orde structures to retrieve
|
|
110
110
|
:param dict params: extra parameters specific to the coinbasepro api endpoint
|
|
111
|
-
:returns [
|
|
111
|
+
:returns dict[]: a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure
|
|
112
112
|
"""
|
|
113
113
|
if symbol is None:
|
|
114
114
|
raise BadSymbol(self.id + ' watchMyTrades requires a symbol')
|
|
@@ -129,7 +129,7 @@ class coinbasepro(ccxt.async_support.coinbasepro):
|
|
|
129
129
|
:param int|None since: the earliest time in ms to fetch orders for
|
|
130
130
|
:param int|None limit: the maximum number of orde structures to retrieve
|
|
131
131
|
:param dict params: extra parameters specific to the coinbasepro api endpoint
|
|
132
|
-
:returns [
|
|
132
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
|
133
133
|
"""
|
|
134
134
|
if symbol is None:
|
|
135
135
|
raise BadSymbol(self.id + ' watchMyTrades requires a symbol')
|
ccxt/pro/coinex.py
CHANGED
|
@@ -387,7 +387,7 @@ class coinex(ccxt.async_support.coinex):
|
|
|
387
387
|
"""
|
|
388
388
|
see https://viabtc.github.io/coinex_api_en_doc/spot/#docsspot004_websocket007_state_subscribe
|
|
389
389
|
watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for all markets of a specific list
|
|
390
|
-
:param [
|
|
390
|
+
:param str[] symbols: unified symbol of the market to fetch the ticker for
|
|
391
391
|
:param dict params: extra parameters specific to the coinex api endpoint
|
|
392
392
|
:returns dict: a dictionary of `ticker structures <https://docs.ccxt.com/#/?id=ticker-structure>`
|
|
393
393
|
"""
|
|
@@ -419,7 +419,7 @@ class coinex(ccxt.async_support.coinex):
|
|
|
419
419
|
:param int|None since: timestamp in ms of the earliest trade to fetch
|
|
420
420
|
:param int|None limit: the maximum amount of trades to fetch
|
|
421
421
|
:param dict params: extra parameters specific to the coinex api endpoint
|
|
422
|
-
:returns [
|
|
422
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
|
|
423
423
|
"""
|
|
424
424
|
await self.load_markets()
|
|
425
425
|
market = self.market(symbol)
|
|
@@ -491,7 +491,7 @@ class coinex(ccxt.async_support.coinex):
|
|
|
491
491
|
:param int|None since: timestamp in ms of the earliest candle to fetch
|
|
492
492
|
:param int|None limit: the maximum amount of candles to fetch
|
|
493
493
|
:param dict params: extra parameters specific to the coinex api endpoint
|
|
494
|
-
:returns [[
|
|
494
|
+
:returns int[][]: A list of candles ordered, open, high, low, close, volume
|
|
495
495
|
"""
|
|
496
496
|
await self.load_markets()
|
|
497
497
|
market = self.market(symbol)
|
ccxt/pro/cryptocom.py
CHANGED
|
@@ -116,7 +116,7 @@ class cryptocom(ccxt.async_support.cryptocom):
|
|
|
116
116
|
:param int|None since: timestamp in ms of the earliest trade to fetch
|
|
117
117
|
:param int|None limit: the maximum amount of trades to fetch
|
|
118
118
|
:param dict params: extra parameters specific to the cryptocom api endpoint
|
|
119
|
-
:returns [
|
|
119
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
|
|
120
120
|
"""
|
|
121
121
|
await self.load_markets()
|
|
122
122
|
market = self.market(symbol)
|
|
@@ -176,7 +176,7 @@ class cryptocom(ccxt.async_support.cryptocom):
|
|
|
176
176
|
:param int|None since: the earliest time in ms to fetch orders for
|
|
177
177
|
:param int|None limit: the maximum number of orde structures to retrieve
|
|
178
178
|
:param dict params: extra parameters specific to the cryptocom api endpoint
|
|
179
|
-
:returns [
|
|
179
|
+
:returns dict[]: a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure
|
|
180
180
|
"""
|
|
181
181
|
await self.load_markets()
|
|
182
182
|
market = None
|
|
@@ -247,7 +247,7 @@ class cryptocom(ccxt.async_support.cryptocom):
|
|
|
247
247
|
:param int|None since: timestamp in ms of the earliest candle to fetch
|
|
248
248
|
:param int|None limit: the maximum amount of candles to fetch
|
|
249
249
|
:param dict params: extra parameters specific to the cryptocom api endpoint
|
|
250
|
-
:returns [[
|
|
250
|
+
:returns int[][]: A list of candles ordered, open, high, low, close, volume
|
|
251
251
|
"""
|
|
252
252
|
await self.load_markets()
|
|
253
253
|
market = self.market(symbol)
|
|
@@ -298,7 +298,7 @@ class cryptocom(ccxt.async_support.cryptocom):
|
|
|
298
298
|
:param int|None since: the earliest time in ms to fetch orders for
|
|
299
299
|
:param int|None limit: the maximum number of orde structures to retrieve
|
|
300
300
|
:param dict params: extra parameters specific to the cryptocom api endpoint
|
|
301
|
-
:returns [
|
|
301
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
|
302
302
|
"""
|
|
303
303
|
await self.load_markets()
|
|
304
304
|
market = None
|
ccxt/pro/currencycom.py
CHANGED
|
@@ -364,7 +364,7 @@ class currencycom(ccxt.async_support.currencycom):
|
|
|
364
364
|
:param int|None since: timestamp in ms of the earliest trade to fetch
|
|
365
365
|
:param int|None limit: the maximum amount of trades to fetch
|
|
366
366
|
:param dict params: extra parameters specific to the currencycom api endpoint
|
|
367
|
-
:returns [
|
|
367
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
|
|
368
368
|
"""
|
|
369
369
|
await self.load_markets()
|
|
370
370
|
symbol = self.symbol(symbol)
|
|
@@ -394,7 +394,7 @@ class currencycom(ccxt.async_support.currencycom):
|
|
|
394
394
|
:param int|None since: timestamp in ms of the earliest candle to fetch
|
|
395
395
|
:param int|None limit: the maximum amount of candles to fetch
|
|
396
396
|
:param dict params: extra parameters specific to the currencycom api endpoint
|
|
397
|
-
:returns [[
|
|
397
|
+
:returns int[][]: A list of candles ordered, open, high, low, close, volume
|
|
398
398
|
"""
|
|
399
399
|
await self.load_markets()
|
|
400
400
|
symbol = self.symbol(symbol)
|