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/deribit.py
CHANGED
|
@@ -219,7 +219,7 @@ class deribit(ccxt.async_support.deribit):
|
|
|
219
219
|
:param int|None limit: the maximum amount of trades to fetch
|
|
220
220
|
:param dict params: extra parameters specific to the deribit api endpoint
|
|
221
221
|
:param str|None params['interval']: specify aggregation and frequency of notifications. Possible values: 100ms, raw
|
|
222
|
-
:returns [
|
|
222
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
|
|
223
223
|
"""
|
|
224
224
|
await self.load_markets()
|
|
225
225
|
market = self.market(symbol)
|
|
@@ -293,7 +293,7 @@ class deribit(ccxt.async_support.deribit):
|
|
|
293
293
|
:param int|None limit: the maximum amount of trades to fetch
|
|
294
294
|
:param dict params: extra parameters specific to the deribit api endpoint
|
|
295
295
|
:param str|None params['interval']: specify aggregation and frequency of notifications. Possible values: 100ms, raw
|
|
296
|
-
:returns [
|
|
296
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
|
|
297
297
|
"""
|
|
298
298
|
await self.authenticate(params)
|
|
299
299
|
if symbol is not None:
|
|
@@ -493,7 +493,7 @@ class deribit(ccxt.async_support.deribit):
|
|
|
493
493
|
:param int|None since: the earliest time in ms to fetch orders for
|
|
494
494
|
:param int|None limit: the maximum number of orde structures to retrieve
|
|
495
495
|
:param dict params: extra parameters specific to the deribit api endpoint
|
|
496
|
-
:returns [
|
|
496
|
+
:returns dict[]: a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure
|
|
497
497
|
"""
|
|
498
498
|
await self.load_markets()
|
|
499
499
|
await self.authenticate(params)
|
|
@@ -579,7 +579,7 @@ class deribit(ccxt.async_support.deribit):
|
|
|
579
579
|
:param int|None since: timestamp in ms of the earliest candle to fetch
|
|
580
580
|
:param int|None limit: the maximum amount of candles to fetch
|
|
581
581
|
:param dict params: extra parameters specific to the deribit api endpoint
|
|
582
|
-
:returns [[
|
|
582
|
+
:returns int[][]: A list of candles ordered, open, high, low, close, volume
|
|
583
583
|
"""
|
|
584
584
|
await self.load_markets()
|
|
585
585
|
market = self.market(symbol)
|
ccxt/pro/exmo.py
CHANGED
|
@@ -257,7 +257,7 @@ class exmo(ccxt.async_support.exmo):
|
|
|
257
257
|
:param int|None since: timestamp in ms of the earliest trade to fetch
|
|
258
258
|
:param int|None limit: the maximum amount of trades to fetch
|
|
259
259
|
:param dict params: extra parameters specific to the exmo api endpoint
|
|
260
|
-
:returns [
|
|
260
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
|
|
261
261
|
"""
|
|
262
262
|
await self.load_markets()
|
|
263
263
|
market = self.market(symbol)
|
|
@@ -317,7 +317,7 @@ class exmo(ccxt.async_support.exmo):
|
|
|
317
317
|
:param int|None since: timestamp in ms of the earliest trade to fetch
|
|
318
318
|
:param int|None limit: the maximum amount of trades to fetch
|
|
319
319
|
:param dict params: extra parameters specific to the exmo api endpoint
|
|
320
|
-
:returns [
|
|
320
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
|
|
321
321
|
"""
|
|
322
322
|
await self.load_markets()
|
|
323
323
|
await self.authenticate(params)
|
ccxt/pro/gate.py
CHANGED
|
@@ -277,7 +277,7 @@ class gate(ccxt.async_support.gate):
|
|
|
277
277
|
async def watch_tickers(self, symbols: Optional[List[str]] = None, params={}):
|
|
278
278
|
"""
|
|
279
279
|
watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for all markets of a specific list
|
|
280
|
-
:param [
|
|
280
|
+
:param str[] symbols: unified symbol of the market to fetch the ticker for
|
|
281
281
|
:param dict params: extra parameters specific to the gate api endpoint
|
|
282
282
|
:returns dict: a `ticker structure <https://docs.ccxt.com/#/?id=ticker-structure>`
|
|
283
283
|
"""
|
|
@@ -359,7 +359,7 @@ class gate(ccxt.async_support.gate):
|
|
|
359
359
|
:param int|None since: timestamp in ms of the earliest trade to fetch
|
|
360
360
|
:param int|None limit: the maximum amount of trades to fetch
|
|
361
361
|
:param dict params: extra parameters specific to the gate api endpoint
|
|
362
|
-
:returns [
|
|
362
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
|
|
363
363
|
"""
|
|
364
364
|
await self.load_markets()
|
|
365
365
|
market = self.market(symbol)
|
|
@@ -416,7 +416,7 @@ class gate(ccxt.async_support.gate):
|
|
|
416
416
|
:param int|None since: timestamp in ms of the earliest candle to fetch
|
|
417
417
|
:param int|None limit: the maximum amount of candles to fetch
|
|
418
418
|
:param dict params: extra parameters specific to the gate api endpoint
|
|
419
|
-
:returns [[
|
|
419
|
+
:returns int[][]: A list of candles ordered, open, high, low, close, volume
|
|
420
420
|
"""
|
|
421
421
|
await self.load_markets()
|
|
422
422
|
market = self.market(symbol)
|
|
@@ -490,7 +490,7 @@ class gate(ccxt.async_support.gate):
|
|
|
490
490
|
:param int|None since: the earliest time in ms to fetch orders for
|
|
491
491
|
:param int|None limit: the maximum number of orde structures to retrieve
|
|
492
492
|
:param dict params: extra parameters specific to the gate api endpoint
|
|
493
|
-
:returns [
|
|
493
|
+
:returns dict[]: a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure
|
|
494
494
|
"""
|
|
495
495
|
await self.load_markets()
|
|
496
496
|
subType = None
|
|
@@ -687,7 +687,7 @@ class gate(ccxt.async_support.gate):
|
|
|
687
687
|
:param dict params: extra parameters specific to the gate api endpoint
|
|
688
688
|
:param str params['type']: spot, margin, swap, future, or option. Required if listening to all symbols.
|
|
689
689
|
:param boolean params['isInverse']: if future, listen to inverse or linear contracts
|
|
690
|
-
:returns [
|
|
690
|
+
:returns dict[]: a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure
|
|
691
691
|
"""
|
|
692
692
|
await self.load_markets()
|
|
693
693
|
market = None
|
ccxt/pro/gemini.py
CHANGED
|
@@ -45,7 +45,7 @@ class gemini(ccxt.async_support.gemini):
|
|
|
45
45
|
:param int|None since: timestamp in ms of the earliest trade to fetch
|
|
46
46
|
:param int|None limit: the maximum amount of trades to fetch
|
|
47
47
|
:param dict params: extra parameters specific to the gemini api endpoint
|
|
48
|
-
:returns [
|
|
48
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
|
|
49
49
|
"""
|
|
50
50
|
await self.load_markets()
|
|
51
51
|
market = self.market(symbol)
|
|
@@ -190,7 +190,7 @@ class gemini(ccxt.async_support.gemini):
|
|
|
190
190
|
:param int|None since: timestamp in ms of the earliest candle to fetch
|
|
191
191
|
:param int|None limit: the maximum amount of candles to fetch
|
|
192
192
|
:param dict params: extra parameters specific to the gemini api endpoint
|
|
193
|
-
:returns [[
|
|
193
|
+
:returns int[][]: A list of candles ordered, open, high, low, close, volume
|
|
194
194
|
"""
|
|
195
195
|
await self.load_markets()
|
|
196
196
|
market = self.market(symbol)
|
|
@@ -365,7 +365,7 @@ class gemini(ccxt.async_support.gemini):
|
|
|
365
365
|
:param int|None since: the earliest time in ms to fetch orders for
|
|
366
366
|
:param int|None limit: the maximum number of orde structures to retrieve
|
|
367
367
|
:param dict params: extra parameters specific to the gemini api endpoint
|
|
368
|
-
:returns [
|
|
368
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
|
369
369
|
"""
|
|
370
370
|
url = self.urls['api']['ws'] + '/v1/order/events?eventTypeFilter=initial&eventTypeFilter=accepted&eventTypeFilter=rejected&eventTypeFilter=fill&eventTypeFilter=cancelled&eventTypeFilter=booked'
|
|
371
371
|
await self.load_markets()
|
ccxt/pro/hitbtc.py
CHANGED
|
@@ -201,7 +201,7 @@ class hitbtc(ccxt.async_support.hitbtc):
|
|
|
201
201
|
:param int|None since: timestamp in ms of the earliest trade to fetch
|
|
202
202
|
:param int|None limit: the maximum amount of trades to fetch
|
|
203
203
|
:param dict params: extra parameters specific to the hitbtc api endpoint
|
|
204
|
-
:returns [
|
|
204
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
|
|
205
205
|
"""
|
|
206
206
|
trades = await self.watch_public(symbol, 'trades', None, params)
|
|
207
207
|
if self.newUpdates:
|
|
@@ -263,7 +263,7 @@ class hitbtc(ccxt.async_support.hitbtc):
|
|
|
263
263
|
:param int|None since: timestamp in ms of the earliest candle to fetch
|
|
264
264
|
:param int|None limit: the maximum amount of candles to fetch
|
|
265
265
|
:param dict params: extra parameters specific to the hitbtc api endpoint
|
|
266
|
-
:returns [[
|
|
266
|
+
:returns int[][]: A list of candles ordered, open, high, low, close, volume
|
|
267
267
|
"""
|
|
268
268
|
# if limit is None:
|
|
269
269
|
# limit = 100
|
ccxt/pro/hollaex.py
CHANGED
|
@@ -118,7 +118,7 @@ class hollaex(ccxt.async_support.hollaex):
|
|
|
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 hollaex 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)
|
|
@@ -169,7 +169,7 @@ class hollaex(ccxt.async_support.hollaex):
|
|
|
169
169
|
:param int|None since: the earliest time in ms to fetch orders for
|
|
170
170
|
:param int|None limit: the maximum number of orde structures to retrieve
|
|
171
171
|
:param dict params: extra parameters specific to the hollaex api endpoint
|
|
172
|
-
:returns [
|
|
172
|
+
:returns dict[]: a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure
|
|
173
173
|
"""
|
|
174
174
|
await self.load_markets()
|
|
175
175
|
messageHash = 'usertrade'
|
|
@@ -241,7 +241,7 @@ class hollaex(ccxt.async_support.hollaex):
|
|
|
241
241
|
:param int|None since: the earliest time in ms to fetch orders for
|
|
242
242
|
:param int|None limit: the maximum number of orde structures to retrieve
|
|
243
243
|
:param dict params: extra parameters specific to the hollaex api endpoint
|
|
244
|
-
:returns [
|
|
244
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
|
245
245
|
"""
|
|
246
246
|
await self.load_markets()
|
|
247
247
|
messageHash = 'order'
|
ccxt/pro/huobi.py
CHANGED
|
@@ -194,7 +194,7 @@ class huobi(ccxt.async_support.huobi):
|
|
|
194
194
|
:param int|None since: timestamp in ms of the earliest trade to fetch
|
|
195
195
|
:param int|None limit: the maximum amount of trades to fetch
|
|
196
196
|
:param dict params: extra parameters specific to the huobi api endpoint
|
|
197
|
-
:returns [
|
|
197
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
|
|
198
198
|
"""
|
|
199
199
|
await self.load_markets()
|
|
200
200
|
market = self.market(symbol)
|
|
@@ -253,7 +253,7 @@ class huobi(ccxt.async_support.huobi):
|
|
|
253
253
|
:param int|None since: timestamp in ms of the earliest candle to fetch
|
|
254
254
|
:param int|None limit: the maximum amount of candles to fetch
|
|
255
255
|
:param dict params: extra parameters specific to the huobi api endpoint
|
|
256
|
-
:returns [[
|
|
256
|
+
:returns int[][]: A list of candles ordered, open, high, low, close, volume
|
|
257
257
|
"""
|
|
258
258
|
await self.load_markets()
|
|
259
259
|
market = self.market(symbol)
|
|
@@ -609,7 +609,7 @@ class huobi(ccxt.async_support.huobi):
|
|
|
609
609
|
:param int|None since: the earliest time in ms to fetch orders for
|
|
610
610
|
:param int|None limit: the maximum number of orde structures to retrieve
|
|
611
611
|
:param dict params: extra parameters specific to the huobi api endpoint
|
|
612
|
-
:returns [
|
|
612
|
+
:returns dict[]: a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure
|
|
613
613
|
"""
|
|
614
614
|
self.check_required_credentials()
|
|
615
615
|
type = None
|
|
@@ -695,7 +695,7 @@ class huobi(ccxt.async_support.huobi):
|
|
|
695
695
|
:param int|None since: the earliest time in ms to fetch orders for
|
|
696
696
|
:param int|None limit: the maximum number of orde structures to retrieve
|
|
697
697
|
:param dict params: extra parameters specific to the huobi api endpoint
|
|
698
|
-
:returns [
|
|
698
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
|
699
699
|
"""
|
|
700
700
|
await self.load_markets()
|
|
701
701
|
type = None
|
ccxt/pro/huobijp.py
CHANGED
|
@@ -115,7 +115,7 @@ class huobijp(ccxt.async_support.huobijp):
|
|
|
115
115
|
:param int|None since: timestamp in ms of the earliest trade to fetch
|
|
116
116
|
:param int|None limit: the maximum amount of trades to fetch
|
|
117
117
|
:param dict params: extra parameters specific to the huobijp api endpoint
|
|
118
|
-
:returns [
|
|
118
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
|
|
119
119
|
"""
|
|
120
120
|
await self.load_markets()
|
|
121
121
|
market = self.market(symbol)
|
|
@@ -188,7 +188,7 @@ class huobijp(ccxt.async_support.huobijp):
|
|
|
188
188
|
:param int|None since: timestamp in ms of the earliest candle to fetch
|
|
189
189
|
:param int|None limit: the maximum amount of candles to fetch
|
|
190
190
|
:param dict params: extra parameters specific to the huobijp api endpoint
|
|
191
|
-
:returns [[
|
|
191
|
+
:returns int[][]: A list of candles ordered, open, high, low, close, volume
|
|
192
192
|
"""
|
|
193
193
|
await self.load_markets()
|
|
194
194
|
market = self.market(symbol)
|
ccxt/pro/idex.py
CHANGED
|
@@ -141,7 +141,7 @@ class idex(ccxt.async_support.idex):
|
|
|
141
141
|
:param int|None since: timestamp in ms of the earliest trade to fetch
|
|
142
142
|
:param int|None limit: the maximum amount of trades to fetch
|
|
143
143
|
:param dict params: extra parameters specific to the idex api endpoint
|
|
144
|
-
:returns [
|
|
144
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
|
|
145
145
|
"""
|
|
146
146
|
await self.load_markets()
|
|
147
147
|
market = self.market(symbol)
|
|
@@ -232,7 +232,7 @@ class idex(ccxt.async_support.idex):
|
|
|
232
232
|
:param int|None since: timestamp in ms of the earliest candle to fetch
|
|
233
233
|
:param int|None limit: the maximum amount of candles to fetch
|
|
234
234
|
:param dict params: extra parameters specific to the idex api endpoint
|
|
235
|
-
:returns [[
|
|
235
|
+
:returns int[][]: A list of candles ordered, open, high, low, close, volume
|
|
236
236
|
"""
|
|
237
237
|
await self.load_markets()
|
|
238
238
|
market = self.market(symbol)
|
|
@@ -478,7 +478,7 @@ class idex(ccxt.async_support.idex):
|
|
|
478
478
|
:param int|None since: the earliest time in ms to fetch orders for
|
|
479
479
|
:param int|None limit: the maximum number of orde structures to retrieve
|
|
480
480
|
:param dict params: extra parameters specific to the idex api endpoint
|
|
481
|
-
:returns [
|
|
481
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
|
482
482
|
"""
|
|
483
483
|
await self.load_markets()
|
|
484
484
|
name = 'orders'
|
ccxt/pro/independentreserve.py
CHANGED
|
@@ -47,7 +47,7 @@ class independentreserve(ccxt.async_support.independentreserve):
|
|
|
47
47
|
:param int|None since: timestamp in ms of the earliest trade to fetch
|
|
48
48
|
:param int|None limit: the maximum amount of trades to fetch
|
|
49
49
|
:param dict params: extra parameters specific to the independentreserve api endpoint
|
|
50
|
-
:returns [
|
|
50
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
|
|
51
51
|
"""
|
|
52
52
|
await self.load_markets()
|
|
53
53
|
market = self.market(symbol)
|
ccxt/pro/kraken.py
CHANGED
|
@@ -479,7 +479,7 @@ class kraken(ccxt.async_support.kraken):
|
|
|
479
479
|
:param int|None since: timestamp in ms of the earliest trade to fetch
|
|
480
480
|
:param int|None limit: the maximum amount of trades to fetch
|
|
481
481
|
:param dict params: extra parameters specific to the kraken api endpoint
|
|
482
|
-
:returns [
|
|
482
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
|
|
483
483
|
"""
|
|
484
484
|
await self.load_markets()
|
|
485
485
|
symbol = self.symbol(symbol)
|
|
@@ -517,7 +517,7 @@ class kraken(ccxt.async_support.kraken):
|
|
|
517
517
|
:param int|None since: timestamp in ms of the earliest candle to fetch
|
|
518
518
|
:param int|None limit: the maximum amount of candles to fetch
|
|
519
519
|
:param dict params: extra parameters specific to the kraken api endpoint
|
|
520
|
-
:returns [[
|
|
520
|
+
:returns int[][]: A list of candles ordered, open, high, low, close, volume
|
|
521
521
|
"""
|
|
522
522
|
await self.load_markets()
|
|
523
523
|
name = 'ohlc'
|
|
@@ -794,7 +794,7 @@ class kraken(ccxt.async_support.kraken):
|
|
|
794
794
|
:param int|None since: the earliest time in ms to fetch orders for
|
|
795
795
|
:param int|None limit: the maximum number of orde structures to retrieve
|
|
796
796
|
:param dict params: extra parameters specific to the kraken api endpoint
|
|
797
|
-
:returns [
|
|
797
|
+
:returns dict[]: a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure
|
|
798
798
|
"""
|
|
799
799
|
return await self.watch_private('ownTrades', symbol, since, limit, params)
|
|
800
800
|
|
|
@@ -944,7 +944,7 @@ class kraken(ccxt.async_support.kraken):
|
|
|
944
944
|
:param int|None since: the earliest time in ms to fetch orders for
|
|
945
945
|
:param int|None limit: the maximum number of orde structures to retrieve
|
|
946
946
|
:param dict params: extra parameters specific to the kraken api endpoint
|
|
947
|
-
:returns [
|
|
947
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
|
948
948
|
"""
|
|
949
949
|
return await self.watch_private('openOrders', symbol, since, limit, params)
|
|
950
950
|
|
ccxt/pro/krakenfutures.py
CHANGED
|
@@ -90,7 +90,7 @@ class krakenfutures(ccxt.async_support.krakenfutures):
|
|
|
90
90
|
* @ignore
|
|
91
91
|
Connects to a websocket channel
|
|
92
92
|
:param str name: name of the channel
|
|
93
|
-
:param [
|
|
93
|
+
:param str[] symbols: CCXT market symbols
|
|
94
94
|
:param Object params: extra parameters specific to the krakenfutures api
|
|
95
95
|
:returns Object: data from the websocket stream
|
|
96
96
|
"""
|
|
@@ -117,7 +117,7 @@ class krakenfutures(ccxt.async_support.krakenfutures):
|
|
|
117
117
|
* @ignore
|
|
118
118
|
Connects to a websocket channel
|
|
119
119
|
:param str name: name of the channel
|
|
120
|
-
:param [
|
|
120
|
+
:param str[] symbols: CCXT market symbols
|
|
121
121
|
:param Object params: extra parameters specific to the krakenfutures api
|
|
122
122
|
:returns Object: data from the websocket stream
|
|
123
123
|
"""
|
|
@@ -169,7 +169,7 @@ class krakenfutures(ccxt.async_support.krakenfutures):
|
|
|
169
169
|
:param int|None since: timestamp in ms of the earliest trade to fetch
|
|
170
170
|
:param int|None limit: the maximum amount of trades to fetch
|
|
171
171
|
:param dict params: extra parameters specific to the krakenfutures api endpoint
|
|
172
|
-
:returns [
|
|
172
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
|
|
173
173
|
"""
|
|
174
174
|
await self.load_markets()
|
|
175
175
|
name = 'trade'
|
|
@@ -199,7 +199,7 @@ class krakenfutures(ccxt.async_support.krakenfutures):
|
|
|
199
199
|
:param int|None since: not used by krakenfutures watchOrders
|
|
200
200
|
:param int|None limit: not used by krakenfutures watchOrders
|
|
201
201
|
:param dict params: extra parameters specific to the krakenfutures api endpoint
|
|
202
|
-
:returns [
|
|
202
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/en/latest/manual.html#order-structure>`
|
|
203
203
|
"""
|
|
204
204
|
await self.load_markets()
|
|
205
205
|
name = 'open_orders'
|
|
@@ -220,7 +220,7 @@ class krakenfutures(ccxt.async_support.krakenfutures):
|
|
|
220
220
|
:param int|None since: the earliest time in ms to fetch orders for
|
|
221
221
|
:param int|None limit: the maximum number of orde structures to retrieve
|
|
222
222
|
:param dict params: extra parameters specific to the kucoin api endpoint
|
|
223
|
-
:returns [
|
|
223
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/#/?id=trade-structure>`
|
|
224
224
|
"""
|
|
225
225
|
await self.load_markets()
|
|
226
226
|
name = 'fills'
|
|
@@ -242,7 +242,7 @@ class krakenfutures(ccxt.async_support.krakenfutures):
|
|
|
242
242
|
:param int|None limit: not used by krakenfutures watchBalance
|
|
243
243
|
:param dict params: extra parameters specific to the krakenfutures api endpoint
|
|
244
244
|
:param str params['account']: can be either 'futures' or 'flex_futures'
|
|
245
|
-
:returns [
|
|
245
|
+
:returns dict[]: a list of `balance structures <https://docs.ccxt.com/#/?id=balance-structure>`
|
|
246
246
|
"""
|
|
247
247
|
await self.load_markets()
|
|
248
248
|
name = 'balances'
|
ccxt/pro/kucoin.py
CHANGED
|
@@ -206,7 +206,7 @@ class kucoin(ccxt.async_support.kucoin):
|
|
|
206
206
|
:param int|None since: timestamp in ms of the earliest candle to fetch
|
|
207
207
|
:param int|None limit: the maximum amount of candles to fetch
|
|
208
208
|
:param dict params: extra parameters specific to the kucoin api endpoint
|
|
209
|
-
:returns [[
|
|
209
|
+
:returns int[][]: A list of candles ordered, open, high, low, close, volume
|
|
210
210
|
"""
|
|
211
211
|
await self.load_markets()
|
|
212
212
|
url = await self.negotiate(False)
|
|
@@ -269,7 +269,7 @@ class kucoin(ccxt.async_support.kucoin):
|
|
|
269
269
|
:param int|None since: timestamp in ms of the earliest trade to fetch
|
|
270
270
|
:param int|None limit: the maximum amount of trades to fetch
|
|
271
271
|
:param dict params: extra parameters specific to the kucoin api endpoint
|
|
272
|
-
:returns [
|
|
272
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
|
|
273
273
|
"""
|
|
274
274
|
await self.load_markets()
|
|
275
275
|
url = await self.negotiate(False)
|
|
@@ -472,7 +472,7 @@ class kucoin(ccxt.async_support.kucoin):
|
|
|
472
472
|
:param int|None since: the earliest time in ms to fetch orders for
|
|
473
473
|
:param int|None limit: the maximum number of orde structures to retrieve
|
|
474
474
|
:param dict params: extra parameters specific to the kucoin api endpoint
|
|
475
|
-
:returns [
|
|
475
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
|
476
476
|
"""
|
|
477
477
|
await self.load_markets()
|
|
478
478
|
url = await self.negotiate(True)
|
|
@@ -587,7 +587,7 @@ class kucoin(ccxt.async_support.kucoin):
|
|
|
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 kucoin api endpoint
|
|
590
|
-
:returns [
|
|
590
|
+
:returns dict[]: a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure
|
|
591
591
|
"""
|
|
592
592
|
await self.load_markets()
|
|
593
593
|
url = await self.negotiate(True)
|
ccxt/pro/kucoinfutures.py
CHANGED
|
@@ -181,7 +181,7 @@ class kucoinfutures(ccxt.async_support.kucoinfutures):
|
|
|
181
181
|
:param int|None since: timestamp in ms of the earliest trade to fetch
|
|
182
182
|
:param int|None limit: the maximum amount of trades to fetch
|
|
183
183
|
:param dict params: extra parameters specific to the kucoinfutures api endpoint
|
|
184
|
-
:returns [
|
|
184
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
|
|
185
185
|
"""
|
|
186
186
|
await self.load_markets()
|
|
187
187
|
url = await self.negotiate(False)
|
|
@@ -381,7 +381,7 @@ class kucoinfutures(ccxt.async_support.kucoinfutures):
|
|
|
381
381
|
:param int|None since: the earliest time in ms to fetch orders for
|
|
382
382
|
:param int|None limit: the maximum number of orde structures to retrieve
|
|
383
383
|
:param dict params: extra parameters specific to the kucoinfutures api endpoint
|
|
384
|
-
:returns [
|
|
384
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
|
385
385
|
"""
|
|
386
386
|
await self.load_markets()
|
|
387
387
|
url = await self.negotiate(True)
|
ccxt/pro/luno.py
CHANGED
|
@@ -45,7 +45,7 @@ class luno(ccxt.async_support.luno):
|
|
|
45
45
|
:param int|None since: timestamp in ms of the earliest trade to fetch
|
|
46
46
|
:param int|None limit: the maximum amount of trades to fetch
|
|
47
47
|
:param dict params: extra parameters specific to the luno api endpoint
|
|
48
|
-
:returns [
|
|
48
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
|
|
49
49
|
"""
|
|
50
50
|
await self.check_required_credentials()
|
|
51
51
|
await self.load_markets()
|
ccxt/pro/mexc.py
CHANGED
|
@@ -200,7 +200,7 @@ class mexc(ccxt.async_support.mexc):
|
|
|
200
200
|
:param int|None since: timestamp in ms of the earliest candle to fetch
|
|
201
201
|
:param int|None limit: the maximum amount of candles to fetch
|
|
202
202
|
:param dict params: extra parameters specific to the mexc3 api endpoint
|
|
203
|
-
:returns [[
|
|
203
|
+
:returns int[][]: A list of candles ordered, open, high, low, close, volume
|
|
204
204
|
"""
|
|
205
205
|
await self.load_markets()
|
|
206
206
|
market = self.market(symbol)
|
|
@@ -490,7 +490,7 @@ class mexc(ccxt.async_support.mexc):
|
|
|
490
490
|
:param int|None since: timestamp in ms of the earliest trade to fetch
|
|
491
491
|
:param int|None limit: the maximum amount of trades to fetch
|
|
492
492
|
:param dict params: extra parameters specific to the mexc3 api endpoint
|
|
493
|
-
:returns [
|
|
493
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
|
|
494
494
|
"""
|
|
495
495
|
await self.load_markets()
|
|
496
496
|
market = self.market(symbol)
|
|
@@ -570,7 +570,7 @@ class mexc(ccxt.async_support.mexc):
|
|
|
570
570
|
:param int|None since: the earliest time in ms to fetch orders for
|
|
571
571
|
:param int|None limit: the maximum number of orde structures to retrieve
|
|
572
572
|
:param dict params: extra parameters specific to the mexc3 api endpoint
|
|
573
|
-
:returns [
|
|
573
|
+
:returns dict[]: a list of [order structures]{@link https://docs.ccxt.com/en/latest/manual.html#order-structure
|
|
574
574
|
"""
|
|
575
575
|
await self.load_markets()
|
|
576
576
|
messageHash = 'myTrades'
|
|
@@ -689,7 +689,7 @@ class mexc(ccxt.async_support.mexc):
|
|
|
689
689
|
:param int|None limit: the maximum number of orde structures to retrieve
|
|
690
690
|
:param dict params: extra parameters specific to the mexc3 api endpoint
|
|
691
691
|
:params string|None params.type: the type of orders to retrieve, can be 'spot' or 'margin'
|
|
692
|
-
:returns [
|
|
692
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/en/latest/manual.html#order-structure>`
|
|
693
693
|
"""
|
|
694
694
|
await self.load_markets()
|
|
695
695
|
params = self.omit(params, 'type')
|
ccxt/pro/ndax.py
CHANGED
|
@@ -111,7 +111,7 @@ class ndax(ccxt.async_support.ndax):
|
|
|
111
111
|
:param int|None since: timestamp in ms of the earliest trade to fetch
|
|
112
112
|
:param int|None limit: the maximum amount of trades to fetch
|
|
113
113
|
:param dict params: extra parameters specific to the ndax api endpoint
|
|
114
|
-
:returns [
|
|
114
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
|
|
115
115
|
"""
|
|
116
116
|
omsId = self.safe_integer(self.options, 'omsId', 1)
|
|
117
117
|
await self.load_markets()
|
|
@@ -187,7 +187,7 @@ class ndax(ccxt.async_support.ndax):
|
|
|
187
187
|
:param int|None since: timestamp in ms of the earliest candle to fetch
|
|
188
188
|
:param int|None limit: the maximum amount of candles to fetch
|
|
189
189
|
:param dict params: extra parameters specific to the ndax api endpoint
|
|
190
|
-
:returns [[
|
|
190
|
+
:returns int[][]: A list of candles ordered, open, high, low, close, volume
|
|
191
191
|
"""
|
|
192
192
|
omsId = self.safe_integer(self.options, 'omsId', 1)
|
|
193
193
|
await self.load_markets()
|
ccxt/pro/okcoin.py
CHANGED
|
@@ -75,7 +75,7 @@ class okcoin(ccxt.async_support.okcoin):
|
|
|
75
75
|
:param int|None since: timestamp in ms of the earliest trade to fetch
|
|
76
76
|
:param int|None limit: the maximum amount of trades to fetch
|
|
77
77
|
:param dict params: extra parameters specific to the okcoin api endpoint
|
|
78
|
-
:returns [
|
|
78
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
|
|
79
79
|
"""
|
|
80
80
|
await self.load_markets()
|
|
81
81
|
symbol = self.symbol(symbol)
|
|
@@ -91,7 +91,7 @@ class okcoin(ccxt.async_support.okcoin):
|
|
|
91
91
|
:param int|None since: the earliest time in ms to fetch orders for
|
|
92
92
|
:param int|None limit: the maximum number of orde structures to retrieve
|
|
93
93
|
:param dict params: extra parameters specific to the okcoin api endpoint
|
|
94
|
-
:returns [
|
|
94
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
|
95
95
|
"""
|
|
96
96
|
await self.load_markets()
|
|
97
97
|
await self.authenticate()
|
|
@@ -245,7 +245,7 @@ class okcoin(ccxt.async_support.okcoin):
|
|
|
245
245
|
:param int|None since: timestamp in ms of the earliest candle to fetch
|
|
246
246
|
:param int|None limit: the maximum amount of candles to fetch
|
|
247
247
|
:param dict params: extra parameters specific to the okcoin api endpoint
|
|
248
|
-
:returns [[
|
|
248
|
+
:returns int[][]: A list of candles ordered, open, high, low, close, volume
|
|
249
249
|
"""
|
|
250
250
|
await self.load_markets()
|
|
251
251
|
symbol = self.symbol(symbol)
|
ccxt/pro/okx.py
CHANGED
|
@@ -107,7 +107,7 @@ class okx(ccxt.async_support.okx):
|
|
|
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 okx 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)
|
|
@@ -204,7 +204,7 @@ class okx(ccxt.async_support.okx):
|
|
|
204
204
|
:param int|None since: timestamp in ms of the earliest candle to fetch
|
|
205
205
|
:param int|None limit: the maximum amount of candles to fetch
|
|
206
206
|
:param dict params: extra parameters specific to the okx api endpoint
|
|
207
|
-
:returns [[
|
|
207
|
+
:returns int[][]: A list of candles ordered, open, high, low, close, volume
|
|
208
208
|
"""
|
|
209
209
|
await self.load_markets()
|
|
210
210
|
symbol = self.symbol(symbol)
|
|
@@ -586,7 +586,7 @@ class okx(ccxt.async_support.okx):
|
|
|
586
586
|
:param int|None limit: the maximum number of orde structures to retrieve
|
|
587
587
|
:param dict params: extra parameters specific to the okx api endpoint
|
|
588
588
|
:param bool params['stop']: True if fetching trigger or conditional orders
|
|
589
|
-
:returns [
|
|
589
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
|
590
590
|
"""
|
|
591
591
|
await self.load_markets()
|
|
592
592
|
await self.authenticate()
|
ccxt/pro/phemex.py
CHANGED
|
@@ -508,7 +508,7 @@ class phemex(ccxt.async_support.phemex):
|
|
|
508
508
|
:param int|None since: timestamp in ms of the earliest trade to fetch
|
|
509
509
|
:param int|None limit: the maximum amount of trades to fetch
|
|
510
510
|
:param dict params: extra parameters specific to the phemex api endpoint
|
|
511
|
-
:returns [
|
|
511
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
|
|
512
512
|
"""
|
|
513
513
|
await self.load_markets()
|
|
514
514
|
market = self.market(symbol)
|
|
@@ -576,7 +576,7 @@ class phemex(ccxt.async_support.phemex):
|
|
|
576
576
|
:param int|None since: timestamp in ms of the earliest candle to fetch
|
|
577
577
|
:param int|None limit: the maximum amount of candles to fetch
|
|
578
578
|
:param dict params: extra parameters specific to the phemex api endpoint
|
|
579
|
-
:returns [[
|
|
579
|
+
:returns int[][]: A list of candles ordered, open, high, low, close, volume
|
|
580
580
|
"""
|
|
581
581
|
await self.load_markets()
|
|
582
582
|
market = self.market(symbol)
|
|
@@ -691,7 +691,7 @@ class phemex(ccxt.async_support.phemex):
|
|
|
691
691
|
:param int|None since: the earliest time in ms to fetch orders for
|
|
692
692
|
:param int|None limit: the maximum number of orde structures to retrieve
|
|
693
693
|
:param dict params: extra parameters specific to the phemex api endpoint
|
|
694
|
-
:returns [
|
|
694
|
+
:returns dict[]: a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure
|
|
695
695
|
"""
|
|
696
696
|
await self.load_markets()
|
|
697
697
|
market = None
|
|
@@ -843,7 +843,7 @@ class phemex(ccxt.async_support.phemex):
|
|
|
843
843
|
:param int|None since: the earliest time in ms to fetch orders for
|
|
844
844
|
:param int|None limit: the maximum number of orde structures to retrieve
|
|
845
845
|
:param dict params: extra parameters specific to the phemex api endpoint
|
|
846
|
-
:returns [
|
|
846
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
|
847
847
|
"""
|
|
848
848
|
await self.load_markets()
|
|
849
849
|
messageHash = 'orders:'
|
ccxt/pro/poloniexfutures.py
CHANGED
|
@@ -232,7 +232,7 @@ class poloniexfutures(ccxt.async_support.poloniexfutures):
|
|
|
232
232
|
:param int|None since: timestamp in ms of the earliest trade to fetch
|
|
233
233
|
:param int|None limit: the maximum amount of trades to fetch
|
|
234
234
|
:param dict params: extra parameters specific to the poloniexfutures api endpoint
|
|
235
|
-
:returns [
|
|
235
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
|
|
236
236
|
"""
|
|
237
237
|
await self.load_markets()
|
|
238
238
|
options = self.safe_value(self.options, 'watchTrades')
|
|
@@ -279,7 +279,7 @@ class poloniexfutures(ccxt.async_support.poloniexfutures):
|
|
|
279
279
|
:param int|None limit: the maximum number of orde structures to retrieve
|
|
280
280
|
:param dict params: extra parameters specific to the poloniexfutures api endpoint
|
|
281
281
|
:param str params['method']: the method to use will default to /contractMarket/tradeOrders. Set to /contractMarket/advancedOrders to watch stop orders
|
|
282
|
-
:returns [
|
|
282
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/en/latest/manual.html#order-structure>`
|
|
283
283
|
"""
|
|
284
284
|
await self.load_markets()
|
|
285
285
|
options = self.safe_value(self.options, 'watchOrders')
|
|
@@ -300,7 +300,7 @@ class poloniexfutures(ccxt.async_support.poloniexfutures):
|
|
|
300
300
|
:param int|None since: not used by poloniexfutures watchBalance
|
|
301
301
|
:param int|None limit: not used by poloniexfutures watchBalance
|
|
302
302
|
:param dict params: extra parameters specific to the poloniexfutures api endpoint
|
|
303
|
-
:returns [
|
|
303
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/en/latest/manual.html#order-structure>`
|
|
304
304
|
"""
|
|
305
305
|
await self.load_markets()
|
|
306
306
|
name = '/contractAccount/wallet'
|
ccxt/pro/probit.py
CHANGED
|
@@ -167,7 +167,7 @@ class probit(ccxt.async_support.probit):
|
|
|
167
167
|
:param int|None limit: the maximum amount of trades to fetch
|
|
168
168
|
:param dict params: extra parameters specific to the probit api endpoint
|
|
169
169
|
:param int|None params['interval']: Unit time to synchronize market information(ms). Available units: 100, 500
|
|
170
|
-
:returns [
|
|
170
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
|
|
171
171
|
"""
|
|
172
172
|
filter = None
|
|
173
173
|
filter, params = self.handle_option_and_params(params, 'watchTrades', 'filter', 'recent_trades')
|
|
@@ -222,7 +222,7 @@ class probit(ccxt.async_support.probit):
|
|
|
222
222
|
:param int|None since: timestamp in ms of the earliest trade to fetch
|
|
223
223
|
:param int|None limit: the maximum amount of trades to fetch
|
|
224
224
|
:param dict params: extra parameters specific to the probit api endpoint
|
|
225
|
-
:returns [
|
|
225
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
|
|
226
226
|
"""
|
|
227
227
|
await self.load_markets()
|
|
228
228
|
await self.authenticate(params)
|