ccxt 4.4.30__py2.py3-none-any.whl → 4.4.32__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- ccxt/__init__.py +1 -1
- ccxt/ace.py +36 -12
- ccxt/alpaca.py +62 -22
- ccxt/ascendex.py +65 -30
- ccxt/async_support/__init__.py +1 -1
- ccxt/async_support/ace.py +36 -12
- ccxt/async_support/alpaca.py +62 -22
- ccxt/async_support/ascendex.py +65 -30
- ccxt/async_support/base/exchange.py +3 -3
- ccxt/async_support/base/ws/aiohttp_client.py +25 -3
- ccxt/async_support/bigone.py +71 -27
- ccxt/async_support/binance.py +555 -323
- ccxt/async_support/bingx.py +208 -108
- ccxt/async_support/bit2c.py +34 -12
- ccxt/async_support/bitbank.py +42 -14
- ccxt/async_support/bitbns.py +17 -9
- ccxt/async_support/bitfinex.py +68 -24
- ccxt/async_support/bitfinex2.py +116 -44
- ccxt/async_support/bitflyer.py +54 -18
- ccxt/async_support/bitget.py +277 -145
- ccxt/async_support/bithumb.py +39 -14
- ccxt/async_support/bitmart.py +145 -79
- ccxt/async_support/bitmex.py +90 -30
- ccxt/async_support/bitopro.py +66 -22
- ccxt/async_support/bitrue.py +109 -57
- ccxt/async_support/bitso.py +55 -19
- ccxt/async_support/bitstamp.py +84 -36
- ccxt/async_support/bitteam.py +51 -17
- ccxt/async_support/bitvavo.py +57 -22
- ccxt/async_support/bl3p.py +26 -10
- ccxt/async_support/blockchaincom.py +63 -21
- ccxt/async_support/blofin.py +95 -38
- ccxt/async_support/btcalpha.py +48 -16
- ccxt/async_support/btcbox.py +27 -9
- ccxt/async_support/btcmarkets.py +57 -19
- ccxt/async_support/btcturk.py +36 -12
- ccxt/async_support/bybit.py +251 -95
- ccxt/async_support/cex.py +65 -22
- ccxt/async_support/coinbase.py +138 -56
- ccxt/async_support/coinbaseexchange.py +76 -28
- ccxt/async_support/coinbaseinternational.py +75 -27
- ccxt/async_support/coincatch.py +191 -97
- ccxt/async_support/coincheck.py +33 -11
- ccxt/async_support/coinex.py +212 -101
- ccxt/async_support/coinlist.py +87 -30
- ccxt/async_support/coinmate.py +55 -24
- ccxt/async_support/coinmetro.py +52 -18
- ccxt/async_support/coinone.py +27 -10
- ccxt/async_support/coinsph.py +73 -27
- ccxt/async_support/coinspot.py +25 -9
- ccxt/async_support/cryptocom.py +103 -38
- ccxt/async_support/currencycom.py +70 -23
- ccxt/async_support/delta.py +90 -30
- ccxt/async_support/deribit.py +131 -50
- ccxt/async_support/digifinex.py +114 -51
- ccxt/async_support/exmo.py +104 -45
- ccxt/async_support/gate.py +313 -157
- ccxt/async_support/gemini.py +57 -20
- ccxt/async_support/hashkey.py +151 -66
- ccxt/async_support/hitbtc.py +157 -74
- ccxt/async_support/hollaex.py +76 -25
- ccxt/async_support/htx.py +297 -240
- ccxt/async_support/huobijp.py +1 -0
- ccxt/async_support/hyperliquid.py +94 -38
- ccxt/async_support/idex.py +73 -24
- ccxt/async_support/independentreserve.py +12 -5
- ccxt/async_support/indodax.py +54 -17
- ccxt/async_support/kraken.py +108 -36
- ccxt/async_support/krakenfutures.py +88 -34
- ccxt/async_support/kucoin.py +214 -110
- ccxt/async_support/kucoinfutures.py +209 -64
- ccxt/async_support/kuna.py +80 -39
- ccxt/async_support/latoken.py +70 -33
- ccxt/async_support/lbank.py +89 -38
- ccxt/async_support/luno.py +54 -19
- ccxt/async_support/lykke.py +54 -19
- ccxt/async_support/mercado.py +1 -0
- ccxt/async_support/mexc.py +226 -108
- ccxt/async_support/ndax.py +58 -19
- ccxt/async_support/novadax.py +67 -22
- ccxt/async_support/oceanex.py +58 -19
- ccxt/async_support/okcoin.py +81 -38
- ccxt/async_support/okx.py +270 -109
- ccxt/async_support/onetrading.py +3 -1
- ccxt/async_support/oxfun.py +95 -36
- ccxt/async_support/p2b.py +49 -23
- ccxt/async_support/paradex.py +75 -27
- ccxt/async_support/paymium.py +31 -11
- ccxt/async_support/phemex.py +108 -56
- ccxt/async_support/poloniex.py +80 -30
- ccxt/async_support/poloniexfutures.py +72 -30
- ccxt/async_support/probit.py +64 -22
- ccxt/async_support/timex.py +58 -19
- ccxt/async_support/tokocrypto.py +63 -22
- ccxt/async_support/tradeogre.py +7 -2
- ccxt/async_support/upbit.py +72 -25
- ccxt/async_support/vertex.py +74 -28
- ccxt/async_support/wavesexchange.py +32 -8
- ccxt/async_support/wazirx.py +51 -17
- ccxt/async_support/whitebit.py +105 -41
- ccxt/async_support/woo.py +162 -65
- ccxt/async_support/woofipro.py +119 -50
- ccxt/async_support/xt.py +150 -73
- ccxt/async_support/yobit.py +49 -16
- ccxt/async_support/zaif.py +30 -10
- ccxt/async_support/zonda.py +46 -16
- ccxt/base/exchange.py +47 -35
- ccxt/base/types.py +1 -0
- ccxt/bigone.py +71 -27
- ccxt/binance.py +555 -323
- ccxt/bingx.py +208 -108
- ccxt/bit2c.py +34 -12
- ccxt/bitbank.py +42 -14
- ccxt/bitbns.py +17 -9
- ccxt/bitfinex.py +68 -24
- ccxt/bitfinex2.py +116 -44
- ccxt/bitflyer.py +54 -18
- ccxt/bitget.py +277 -145
- ccxt/bithumb.py +39 -14
- ccxt/bitmart.py +145 -79
- ccxt/bitmex.py +90 -30
- ccxt/bitopro.py +66 -22
- ccxt/bitrue.py +109 -57
- ccxt/bitso.py +55 -19
- ccxt/bitstamp.py +84 -36
- ccxt/bitteam.py +51 -17
- ccxt/bitvavo.py +57 -22
- ccxt/bl3p.py +26 -10
- ccxt/blockchaincom.py +63 -21
- ccxt/blofin.py +95 -38
- ccxt/btcalpha.py +48 -16
- ccxt/btcbox.py +27 -9
- ccxt/btcmarkets.py +57 -19
- ccxt/btcturk.py +36 -12
- ccxt/bybit.py +251 -95
- ccxt/cex.py +65 -22
- ccxt/coinbase.py +138 -56
- ccxt/coinbaseexchange.py +76 -28
- ccxt/coinbaseinternational.py +75 -27
- ccxt/coincatch.py +191 -97
- ccxt/coincheck.py +33 -11
- ccxt/coinex.py +212 -101
- ccxt/coinlist.py +87 -30
- ccxt/coinmate.py +55 -24
- ccxt/coinmetro.py +52 -18
- ccxt/coinone.py +27 -10
- ccxt/coinsph.py +73 -27
- ccxt/coinspot.py +25 -9
- ccxt/cryptocom.py +103 -38
- ccxt/currencycom.py +70 -23
- ccxt/delta.py +90 -30
- ccxt/deribit.py +131 -50
- ccxt/digifinex.py +114 -51
- ccxt/exmo.py +104 -45
- ccxt/gate.py +313 -157
- ccxt/gemini.py +57 -20
- ccxt/hashkey.py +151 -66
- ccxt/hitbtc.py +157 -74
- ccxt/hollaex.py +76 -25
- ccxt/htx.py +297 -240
- ccxt/huobijp.py +1 -0
- ccxt/hyperliquid.py +94 -38
- ccxt/idex.py +73 -24
- ccxt/independentreserve.py +12 -5
- ccxt/indodax.py +54 -17
- ccxt/kraken.py +108 -36
- ccxt/krakenfutures.py +88 -34
- ccxt/kucoin.py +214 -110
- ccxt/kucoinfutures.py +209 -64
- ccxt/kuna.py +80 -39
- ccxt/latoken.py +70 -33
- ccxt/lbank.py +89 -38
- ccxt/luno.py +54 -19
- ccxt/lykke.py +54 -19
- ccxt/mercado.py +1 -0
- ccxt/mexc.py +226 -108
- ccxt/ndax.py +58 -19
- ccxt/novadax.py +67 -22
- ccxt/oceanex.py +58 -19
- ccxt/okcoin.py +81 -38
- ccxt/okx.py +270 -109
- ccxt/onetrading.py +3 -1
- ccxt/oxfun.py +95 -36
- ccxt/p2b.py +49 -23
- ccxt/paradex.py +75 -27
- ccxt/paymium.py +31 -11
- ccxt/phemex.py +108 -56
- ccxt/poloniex.py +80 -30
- ccxt/poloniexfutures.py +72 -30
- ccxt/pro/__init__.py +1 -1
- ccxt/pro/alpaca.py +15 -5
- ccxt/pro/ascendex.py +18 -6
- ccxt/pro/binance.py +204 -123
- ccxt/pro/bingx.py +44 -24
- ccxt/pro/bitfinex.py +13 -5
- ccxt/pro/bitget.py +76 -37
- ccxt/pro/bithumb.py +12 -4
- ccxt/pro/bitmart.py +44 -20
- ccxt/pro/bitmex.py +42 -14
- ccxt/pro/bitopro.py +15 -5
- ccxt/pro/bitrue.py +7 -3
- ccxt/pro/bitvavo.py +97 -62
- ccxt/pro/blockchaincom.py +18 -6
- ccxt/pro/blofin.py +36 -12
- ccxt/pro/bybit.py +100 -42
- ccxt/pro/cex.py +48 -16
- ccxt/pro/coinbase.py +32 -12
- ccxt/pro/coinbaseexchange.py +1 -1
- ccxt/pro/coinbaseinternational.py +34 -14
- ccxt/pro/coincatch.py +54 -19
- ccxt/pro/coincheck.py +6 -2
- ccxt/pro/coinex.py +40 -20
- ccxt/pro/coinone.py +9 -3
- ccxt/pro/cryptocom.py +71 -27
- ccxt/pro/deribit.py +36 -12
- ccxt/pro/exmo.py +10 -4
- ccxt/pro/gate.py +65 -31
- ccxt/pro/gemini.py +21 -7
- ccxt/pro/hashkey.py +27 -9
- ccxt/pro/hitbtc.py +61 -37
- ccxt/pro/hollaex.py +15 -5
- ccxt/pro/htx.py +39 -21
- ccxt/pro/hyperliquid.py +41 -14
- ccxt/pro/kraken.py +49 -17
- ccxt/pro/krakenfutures.py +47 -24
- ccxt/pro/kucoin.py +60 -31
- ccxt/pro/kucoinfutures.py +41 -19
- ccxt/pro/lbank.py +27 -9
- ccxt/pro/luno.py +3 -1
- ccxt/pro/mexc.py +36 -19
- ccxt/pro/ndax.py +12 -4
- ccxt/pro/okcoin.py +18 -6
- ccxt/pro/okx.py +76 -28
- ccxt/pro/onetrading.py +21 -7
- ccxt/pro/oxfun.py +54 -20
- ccxt/pro/p2b.py +23 -11
- ccxt/pro/paradex.py +12 -4
- ccxt/pro/phemex.py +31 -19
- ccxt/pro/poloniex.py +50 -22
- ccxt/pro/poloniexfutures.py +17 -7
- ccxt/pro/probit.py +18 -6
- ccxt/pro/upbit.py +25 -9
- ccxt/pro/vertex.py +20 -6
- ccxt/pro/wazirx.py +21 -7
- ccxt/pro/whitebit.py +25 -9
- ccxt/pro/woo.py +32 -12
- ccxt/pro/woofipro.py +35 -13
- ccxt/pro/xt.py +46 -26
- ccxt/probit.py +64 -22
- ccxt/timex.py +58 -19
- ccxt/tokocrypto.py +63 -22
- ccxt/tradeogre.py +7 -2
- ccxt/upbit.py +72 -25
- ccxt/vertex.py +74 -28
- ccxt/wavesexchange.py +32 -8
- ccxt/wazirx.py +51 -17
- ccxt/whitebit.py +105 -41
- ccxt/woo.py +162 -65
- ccxt/woofipro.py +119 -50
- ccxt/xt.py +150 -73
- ccxt/yobit.py +49 -16
- ccxt/zaif.py +30 -10
- ccxt/zonda.py +46 -16
- {ccxt-4.4.30.dist-info → ccxt-4.4.32.dist-info}/METADATA +11 -5
- {ccxt-4.4.30.dist-info → ccxt-4.4.32.dist-info}/RECORD +268 -268
- {ccxt-4.4.30.dist-info → ccxt-4.4.32.dist-info}/LICENSE.txt +0 -0
- {ccxt-4.4.30.dist-info → ccxt-4.4.32.dist-info}/WHEEL +0 -0
- {ccxt-4.4.30.dist-info → ccxt-4.4.32.dist-info}/top_level.txt +0 -0
ccxt/pro/mexc.py
CHANGED
@@ -80,9 +80,11 @@ class mexc(ccxt.async_support.mexc):
|
|
80
80
|
async def watch_ticker(self, symbol: str, params={}) -> Ticker:
|
81
81
|
"""
|
82
82
|
watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
83
|
-
|
84
|
-
|
85
|
-
|
83
|
+
|
84
|
+
https://mexcdevelop.github.io/apidocs/spot_v3_en/#individual-symbol-book-ticker-streams
|
85
|
+
https://mexcdevelop.github.io/apidocs/contract_v1_en/#public-channels
|
86
|
+
https://mexcdevelop.github.io/apidocs/spot_v3_en/#miniticker
|
87
|
+
|
86
88
|
:param str symbol: unified symbol of the market to fetch the ticker for
|
87
89
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
88
90
|
:param boolean [params.miniTicker]: set to True for using the miniTicker endpoint
|
@@ -195,9 +197,11 @@ class mexc(ccxt.async_support.mexc):
|
|
195
197
|
async def watch_tickers(self, symbols: Strings = None, params={}) -> Tickers:
|
196
198
|
"""
|
197
199
|
watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for all markets of a specific list
|
198
|
-
|
199
|
-
|
200
|
-
|
200
|
+
|
201
|
+
https://mexcdevelop.github.io/apidocs/spot_v3_en/#individual-symbol-book-ticker-streams
|
202
|
+
https://mexcdevelop.github.io/apidocs/contract_v1_en/#public-channels
|
203
|
+
https://mexcdevelop.github.io/apidocs/spot_v3_en/#minitickers
|
204
|
+
|
201
205
|
:param str[] symbols: unified symbol of the market to fetch the ticker for
|
202
206
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
203
207
|
:param boolean [params.miniTicker]: set to True for using the miniTicker endpoint
|
@@ -390,7 +394,9 @@ class mexc(ccxt.async_support.mexc):
|
|
390
394
|
|
391
395
|
async def watch_bids_asks(self, symbols: Strings = None, params={}) -> Tickers:
|
392
396
|
"""
|
393
|
-
|
397
|
+
|
398
|
+
https://mexcdevelop.github.io/apidocs/spot_v3_en/#individual-symbol-book-ticker-streams
|
399
|
+
|
394
400
|
watches best bid & ask for symbols
|
395
401
|
:param str[] symbols: unified symbol of the market to fetch the ticker for
|
396
402
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
@@ -509,7 +515,9 @@ class mexc(ccxt.async_support.mexc):
|
|
509
515
|
|
510
516
|
async def watch_ohlcv(self, symbol: str, timeframe='1m', since: Int = None, limit: Int = None, params={}) -> List[list]:
|
511
517
|
"""
|
512
|
-
|
518
|
+
|
519
|
+
https://mexcdevelop.github.io/apidocs/spot_v3_en/#kline-streams
|
520
|
+
|
513
521
|
watches historical candlestick data containing the open, high, low, and close price, and the volume of a market
|
514
522
|
:param str symbol: unified symbol of the market to fetch OHLCV data for
|
515
523
|
:param str timeframe: the length of time each candle represents
|
@@ -649,8 +657,10 @@ class mexc(ccxt.async_support.mexc):
|
|
649
657
|
|
650
658
|
async def watch_order_book(self, symbol: str, limit: Int = None, params={}) -> OrderBook:
|
651
659
|
"""
|
652
|
-
|
653
|
-
|
660
|
+
|
661
|
+
https://mexcdevelop.github.io/apidocs/spot_v3_en/#diff-depth-stream
|
662
|
+
https://mexcdevelop.github.io/apidocs/contract_v1_en/#public-channels
|
663
|
+
|
654
664
|
watches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
|
655
665
|
:param str symbol: unified symbol of the market to fetch the order book for
|
656
666
|
:param int [limit]: the maximum amount of order book entries to return
|
@@ -804,8 +814,10 @@ class mexc(ccxt.async_support.mexc):
|
|
804
814
|
|
805
815
|
async def watch_trades(self, symbol: str, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
|
806
816
|
"""
|
807
|
-
|
808
|
-
|
817
|
+
|
818
|
+
https://mexcdevelop.github.io/apidocs/spot_v3_en/#trade-streams
|
819
|
+
https://mexcdevelop.github.io/apidocs/contract_v1_en/#public-channels
|
820
|
+
|
809
821
|
get the list of most recent trades for a particular symbol
|
810
822
|
:param str symbol: unified symbol of the market to fetch trades for
|
811
823
|
:param int [since]: timestamp in ms of the earliest trade to fetch
|
@@ -885,8 +897,10 @@ class mexc(ccxt.async_support.mexc):
|
|
885
897
|
|
886
898
|
async def watch_my_trades(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
|
887
899
|
"""
|
888
|
-
|
889
|
-
|
900
|
+
|
901
|
+
https://mexcdevelop.github.io/apidocs/spot_v3_en/#spot-account-deals
|
902
|
+
https://mexcdevelop.github.io/apidocs/contract_v1_en/#private-channels
|
903
|
+
|
890
904
|
watches information on multiple trades made by the user
|
891
905
|
:param str symbol: unified market symbol of the market trades were made in
|
892
906
|
:param int [since]: the earliest time in ms to fetch trades for
|
@@ -1023,8 +1037,10 @@ class mexc(ccxt.async_support.mexc):
|
|
1023
1037
|
|
1024
1038
|
async def watch_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
|
1025
1039
|
"""
|
1026
|
-
|
1027
|
-
|
1040
|
+
|
1041
|
+
https://mexcdevelop.github.io/apidocs/spot_v3_en/#spot-account-orders
|
1042
|
+
https://mexcdevelop.github.io/apidocs/spot_v3_en/#margin-account-orders
|
1043
|
+
|
1028
1044
|
watches information on multiple orders made by the user
|
1029
1045
|
:param str symbol: unified market symbol of the market orders were made in
|
1030
1046
|
:param int [since]: the earliest time in ms to fetch orders for
|
@@ -1232,8 +1248,7 @@ class mexc(ccxt.async_support.mexc):
|
|
1232
1248
|
'2': 'closed', # filled
|
1233
1249
|
'3': 'open', # partially filled
|
1234
1250
|
'4': 'canceled', # canceled
|
1235
|
-
'5': '
|
1236
|
-
'6': 'closed', # partially filled then canceled
|
1251
|
+
'5': 'closed', # partially filled then canceled
|
1237
1252
|
'NEW': 'open',
|
1238
1253
|
'CANCELED': 'canceled',
|
1239
1254
|
'EXECUTED': 'closed',
|
@@ -1265,7 +1280,9 @@ class mexc(ccxt.async_support.mexc):
|
|
1265
1280
|
|
1266
1281
|
async def watch_balance(self, params={}) -> Balances:
|
1267
1282
|
"""
|
1268
|
-
|
1283
|
+
|
1284
|
+
https://mexcdevelop.github.io/apidocs/spot_v3_en/#spot-account-upadte
|
1285
|
+
|
1269
1286
|
watch balance and get the amount of funds available for trading or funds locked in orders
|
1270
1287
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
1271
1288
|
:returns dict: a `balance structure <https://docs.ccxt.com/#/?id=balance-structure>`
|
ccxt/pro/ndax.py
CHANGED
@@ -46,7 +46,9 @@ class ndax(ccxt.async_support.ndax):
|
|
46
46
|
async def watch_ticker(self, symbol: str, params={}) -> Ticker:
|
47
47
|
"""
|
48
48
|
watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
49
|
-
|
49
|
+
|
50
|
+
https://apidoc.ndax.io/#subscribelevel1
|
51
|
+
|
50
52
|
:param str symbol: unified symbol of the market to fetch the ticker for
|
51
53
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
52
54
|
:returns dict: a `ticker structure <https://docs.ccxt.com/#/?id=ticker-structure>`
|
@@ -110,7 +112,9 @@ class ndax(ccxt.async_support.ndax):
|
|
110
112
|
async def watch_trades(self, symbol: str, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
|
111
113
|
"""
|
112
114
|
get the list of most recent trades for a particular symbol
|
113
|
-
|
115
|
+
|
116
|
+
https://apidoc.ndax.io/#subscribetrades
|
117
|
+
|
114
118
|
:param str symbol: unified symbol of the market to fetch trades for
|
115
119
|
:param int [since]: timestamp in ms of the earliest trade to fetch
|
116
120
|
:param int [limit]: the maximum amount of trades to fetch
|
@@ -186,7 +190,9 @@ class ndax(ccxt.async_support.ndax):
|
|
186
190
|
async def watch_ohlcv(self, symbol: str, timeframe='1m', since: Int = None, limit: Int = None, params={}) -> List[list]:
|
187
191
|
"""
|
188
192
|
watches historical candlestick data containing the open, high, low, and close price, and the volume of a market
|
189
|
-
|
193
|
+
|
194
|
+
https://apidoc.ndax.io/#subscribeticker
|
195
|
+
|
190
196
|
:param str symbol: unified symbol of the market to fetch OHLCV data for
|
191
197
|
:param str timeframe: the length of time each candle represents
|
192
198
|
:param int [since]: timestamp in ms of the earliest candle to fetch
|
@@ -307,7 +313,9 @@ class ndax(ccxt.async_support.ndax):
|
|
307
313
|
async def watch_order_book(self, symbol: str, limit: Int = None, params={}) -> OrderBook:
|
308
314
|
"""
|
309
315
|
watches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
|
310
|
-
|
316
|
+
|
317
|
+
https://apidoc.ndax.io/#subscribelevel2
|
318
|
+
|
311
319
|
:param str symbol: unified symbol of the market to fetch the order book for
|
312
320
|
:param int [limit]: the maximum amount of order book entries to return
|
313
321
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
ccxt/pro/okcoin.py
CHANGED
@@ -73,7 +73,9 @@ class okcoin(ccxt.async_support.okcoin):
|
|
73
73
|
async def watch_trades(self, symbol: str, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
|
74
74
|
"""
|
75
75
|
get the list of most recent trades for a particular symbol
|
76
|
-
|
76
|
+
|
77
|
+
https://www.okcoin.com/docs-v5/en/#websocket-api-public-channel-trades-channel
|
78
|
+
|
77
79
|
:param str symbol: unified symbol of the market to fetch trades for
|
78
80
|
:param int [since]: timestamp in ms of the earliest trade to fetch
|
79
81
|
:param int [limit]: the maximum amount of trades to fetch
|
@@ -90,7 +92,9 @@ class okcoin(ccxt.async_support.okcoin):
|
|
90
92
|
async def watch_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
|
91
93
|
"""
|
92
94
|
watches information on multiple orders made by the user
|
93
|
-
|
95
|
+
|
96
|
+
https://www.okcoin.com/docs-v5/en/#websocket-api-private-channel-order-channel
|
97
|
+
|
94
98
|
:param str symbol: unified market symbol of the market orders were made in
|
95
99
|
:param int [since]: the earliest time in ms to fetch orders for
|
96
100
|
:param int [limit]: the maximum number of order structures to retrieve
|
@@ -169,7 +173,9 @@ class okcoin(ccxt.async_support.okcoin):
|
|
169
173
|
async def watch_ticker(self, symbol: str, params={}) -> Ticker:
|
170
174
|
"""
|
171
175
|
watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
172
|
-
|
176
|
+
|
177
|
+
https://www.okcoin.com/docs-v5/en/#websocket-api-public-channel-tickers-channel
|
178
|
+
|
173
179
|
:param str symbol: unified symbol of the market to fetch the ticker for
|
174
180
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
175
181
|
:returns dict: a `ticker structure <https://docs.ccxt.com/#/?id=ticker-structure>`
|
@@ -245,7 +251,9 @@ class okcoin(ccxt.async_support.okcoin):
|
|
245
251
|
async def watch_ohlcv(self, symbol: str, timeframe='1m', since: Int = None, limit: Int = None, params={}) -> List[list]:
|
246
252
|
"""
|
247
253
|
watches historical candlestick data containing the open, high, low, and close price, and the volume of a market
|
248
|
-
|
254
|
+
|
255
|
+
https://www.okcoin.com/docs-v5/en/#websocket-api-public-channel-candlesticks-channel
|
256
|
+
|
249
257
|
:param str symbol: unified symbol of the market to fetch OHLCV data for
|
250
258
|
:param str timeframe: the length of time each candle represents
|
251
259
|
:param int [since]: timestamp in ms of the earliest candle to fetch
|
@@ -308,7 +316,9 @@ class okcoin(ccxt.async_support.okcoin):
|
|
308
316
|
async def watch_order_book(self, symbol: str, limit: Int = None, params={}) -> OrderBook:
|
309
317
|
"""
|
310
318
|
watches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
|
311
|
-
|
319
|
+
|
320
|
+
https://www.okcoin.com/docs-v5/en/#websocket-api-public-channel-order-book-channel
|
321
|
+
|
312
322
|
:param str symbol: unified symbol of the market to fetch the order book for
|
313
323
|
:param int [limit]: the maximum amount of order book entries to return
|
314
324
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
@@ -463,7 +473,9 @@ class okcoin(ccxt.async_support.okcoin):
|
|
463
473
|
async def watch_balance(self, params={}) -> Balances:
|
464
474
|
"""
|
465
475
|
watch balance and get the amount of funds available for trading or funds locked in orders
|
466
|
-
|
476
|
+
|
477
|
+
https://www.okcoin.com/docs-v5/en/#websocket-api-private-channel-account-channel
|
478
|
+
|
467
479
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
468
480
|
:returns dict: a `balance structure <https://docs.ccxt.com/#/?id=balance-structure>`
|
469
481
|
"""
|
ccxt/pro/okx.py
CHANGED
@@ -185,7 +185,7 @@ class okx(ccxt.async_support.okx):
|
|
185
185
|
async def watch_trades_for_symbols(self, symbols: List[str], since: Int = None, limit: Int = None, params={}) -> List[Trade]:
|
186
186
|
"""
|
187
187
|
get the list of most recent trades for a particular symbol
|
188
|
-
:param str
|
188
|
+
:param str symbols:
|
189
189
|
:param int [since]: timestamp in ms of the earliest trade to fetch
|
190
190
|
:param int [limit]: the maximum amount of trades to fetch
|
191
191
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
@@ -223,7 +223,7 @@ class okx(ccxt.async_support.okx):
|
|
223
223
|
async def un_watch_trades_for_symbols(self, symbols: List[str], params={}) -> Any:
|
224
224
|
"""
|
225
225
|
unWatches from the stream channel
|
226
|
-
:param str
|
226
|
+
:param str[] symbols:
|
227
227
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
228
228
|
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/#/?id=public-trades>`
|
229
229
|
"""
|
@@ -292,7 +292,9 @@ class okx(ccxt.async_support.okx):
|
|
292
292
|
async def watch_funding_rate(self, symbol: str, params={}) -> FundingRate:
|
293
293
|
"""
|
294
294
|
watch the current funding rate
|
295
|
-
|
295
|
+
|
296
|
+
https://www.okx.com/docs-v5/en/#public-data-websocket-funding-rate-channel
|
297
|
+
|
296
298
|
:param str symbol: unified market symbol
|
297
299
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
298
300
|
:returns dict: a `funding rate structure <https://docs.ccxt.com/#/?id=funding-rate-structure>`
|
@@ -304,7 +306,9 @@ class okx(ccxt.async_support.okx):
|
|
304
306
|
async def watch_funding_rates(self, symbols: List[str], params={}) -> FundingRates:
|
305
307
|
"""
|
306
308
|
watch the funding rate for multiple markets
|
307
|
-
|
309
|
+
|
310
|
+
https://www.okx.com/docs-v5/en/#public-data-websocket-funding-rate-channel
|
311
|
+
|
308
312
|
:param str[] symbols: list of unified market symbols
|
309
313
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
310
314
|
:returns dict: a dictionary of `funding rates structures <https://docs.ccxt.com/#/?id=funding-rates-structure>`, indexe by market symbols
|
@@ -366,7 +370,9 @@ class okx(ccxt.async_support.okx):
|
|
366
370
|
|
367
371
|
async def watch_ticker(self, symbol: str, params={}) -> Ticker:
|
368
372
|
"""
|
369
|
-
|
373
|
+
|
374
|
+
https://www.okx.com/docs-v5/en/#order-book-trading-market-data-ws-tickers-channel
|
375
|
+
|
370
376
|
watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
371
377
|
:param str symbol: unified symbol of the market to fetch the ticker for
|
372
378
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
@@ -383,7 +389,9 @@ class okx(ccxt.async_support.okx):
|
|
383
389
|
|
384
390
|
async def un_watch_ticker(self, symbol: str, params={}) -> Any:
|
385
391
|
"""
|
386
|
-
|
392
|
+
|
393
|
+
https://www.okx.com/docs-v5/en/#order-book-trading-market-data-ws-tickers-channel
|
394
|
+
|
387
395
|
unWatches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
388
396
|
:param str symbol: unified symbol of the market to fetch the ticker for
|
389
397
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
@@ -394,7 +402,9 @@ class okx(ccxt.async_support.okx):
|
|
394
402
|
|
395
403
|
async def watch_tickers(self, symbols: Strings = None, params={}) -> Tickers:
|
396
404
|
"""
|
397
|
-
|
405
|
+
|
406
|
+
https://www.okx.com/docs-v5/en/#order-book-trading-market-data-ws-tickers-channel
|
407
|
+
|
398
408
|
watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for all markets of a specific list
|
399
409
|
:param str[] [symbols]: unified symbol of the market to fetch the ticker for
|
400
410
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
@@ -412,7 +422,9 @@ class okx(ccxt.async_support.okx):
|
|
412
422
|
|
413
423
|
async def watch_mark_price(self, symbol: str, params={}) -> Ticker:
|
414
424
|
"""
|
415
|
-
|
425
|
+
|
426
|
+
https://www.okx.com/docs-v5/en/#public-data-websocket-mark-price-channel
|
427
|
+
|
416
428
|
watches a mark price
|
417
429
|
:param str symbol: unified symbol of the market to fetch the ticker for
|
418
430
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
@@ -429,7 +441,9 @@ class okx(ccxt.async_support.okx):
|
|
429
441
|
|
430
442
|
async def watch_mark_prices(self, symbols: Strings = None, params={}) -> Tickers:
|
431
443
|
"""
|
432
|
-
|
444
|
+
|
445
|
+
https://www.okx.com/docs-v5/en/#public-data-websocket-mark-price-channel
|
446
|
+
|
433
447
|
watches mark prices
|
434
448
|
:param str[] [symbols]: unified symbol of the market to fetch the ticker for
|
435
449
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
@@ -447,7 +461,9 @@ class okx(ccxt.async_support.okx):
|
|
447
461
|
|
448
462
|
async def un_watch_tickers(self, symbols: Strings = None, params={}) -> Any:
|
449
463
|
"""
|
450
|
-
|
464
|
+
|
465
|
+
https://www.okx.com/docs-v5/en/#order-book-trading-market-data-ws-tickers-channel
|
466
|
+
|
451
467
|
unWatches a price ticker, a statistical calculation with the information calculated over the past 24 hours for all markets of a specific list
|
452
468
|
:param str[] [symbols]: unified symbol of the market to fetch the ticker for
|
453
469
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
@@ -519,7 +535,9 @@ class okx(ccxt.async_support.okx):
|
|
519
535
|
|
520
536
|
async def watch_bids_asks(self, symbols: Strings = None, params={}) -> Tickers:
|
521
537
|
"""
|
522
|
-
|
538
|
+
|
539
|
+
https://www.okx.com/docs-v5/en/#order-book-trading-market-data-ws-tickers-channel
|
540
|
+
|
523
541
|
watches best bid & ask for symbols
|
524
542
|
:param str[] symbols: unified symbol of the market to fetch the ticker for
|
525
543
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
@@ -604,8 +622,10 @@ class okx(ccxt.async_support.okx):
|
|
604
622
|
async def watch_liquidations_for_symbols(self, symbols: List[str] = None, since: Int = None, limit: Int = None, params={}) -> List[Liquidation]:
|
605
623
|
"""
|
606
624
|
watch the public liquidations of a trading pair
|
607
|
-
|
608
|
-
|
625
|
+
|
626
|
+
https://www.okx.com/docs-v5/en/#public-data-websocket-liquidation-orders-channel
|
627
|
+
|
628
|
+
:param str symbols:
|
609
629
|
:param int [since]: the earliest time in ms to fetch liquidations for
|
610
630
|
:param int [limit]: the maximum number of liquidation structures to retrieve
|
611
631
|
:param dict [params]: exchange specific parameters for the okx api endpoint
|
@@ -690,8 +710,10 @@ class okx(ccxt.async_support.okx):
|
|
690
710
|
async def watch_my_liquidations_for_symbols(self, symbols: List[str] = None, since: Int = None, limit: Int = None, params={}) -> List[Liquidation]:
|
691
711
|
"""
|
692
712
|
watch the private liquidations of a trading pair
|
693
|
-
|
694
|
-
|
713
|
+
|
714
|
+
https://www.okx.com/docs-v5/en/#trading-account-websocket-balance-and-position-channel
|
715
|
+
|
716
|
+
:param str[] symbols:
|
695
717
|
:param int [since]: the earliest time in ms to fetch liquidations for
|
696
718
|
:param int [limit]: the maximum number of liquidation structures to retrieve
|
697
719
|
:param dict [params]: exchange specific parameters for the okx api endpoint
|
@@ -1008,7 +1030,9 @@ class okx(ccxt.async_support.okx):
|
|
1008
1030
|
|
1009
1031
|
async def watch_order_book(self, symbol: str, limit: Int = None, params={}) -> OrderBook:
|
1010
1032
|
"""
|
1011
|
-
|
1033
|
+
|
1034
|
+
https://www.okx.com/docs-v5/en/#order-book-trading-market-data-ws-order-book-channel
|
1035
|
+
|
1012
1036
|
watches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
|
1013
1037
|
:param str symbol: unified symbol of the market to fetch the order book for
|
1014
1038
|
:param int [limit]: the maximum amount of order book entries to return
|
@@ -1043,7 +1067,9 @@ class okx(ccxt.async_support.okx):
|
|
1043
1067
|
|
1044
1068
|
async def watch_order_book_for_symbols(self, symbols: List[str], limit: Int = None, params={}) -> OrderBook:
|
1045
1069
|
"""
|
1046
|
-
|
1070
|
+
|
1071
|
+
https://www.okx.com/docs-v5/en/#order-book-trading-market-data-ws-order-book-channel
|
1072
|
+
|
1047
1073
|
watches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
|
1048
1074
|
:param str[] symbols: unified array of symbols
|
1049
1075
|
:param int [limit]: 1,5, 400, 50(l2-tbt, vip4+) or 40000(vip5+) the maximum amount of order book entries to return
|
@@ -1089,7 +1115,9 @@ class okx(ccxt.async_support.okx):
|
|
1089
1115
|
|
1090
1116
|
async def un_watch_order_book_for_symbols(self, symbols: List[str], params={}) -> Any:
|
1091
1117
|
"""
|
1092
|
-
|
1118
|
+
|
1119
|
+
https://www.okx.com/docs-v5/en/#order-book-trading-market-data-ws-order-book-channel
|
1120
|
+
|
1093
1121
|
unWatches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
|
1094
1122
|
:param str[] symbols: unified array of symbols
|
1095
1123
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
@@ -1133,7 +1161,9 @@ class okx(ccxt.async_support.okx):
|
|
1133
1161
|
|
1134
1162
|
async def un_watch_order_book(self, symbol: str, params={}) -> Any:
|
1135
1163
|
"""
|
1136
|
-
|
1164
|
+
|
1165
|
+
https://www.okx.com/docs-v5/en/#order-book-trading-market-data-ws-order-book-channel
|
1166
|
+
|
1137
1167
|
unWatches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
|
1138
1168
|
:param str symbol: unified array of symbols
|
1139
1169
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
@@ -1476,7 +1506,9 @@ class okx(ccxt.async_support.okx):
|
|
1476
1506
|
async def watch_my_trades(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
|
1477
1507
|
"""
|
1478
1508
|
watches information on multiple trades made by the user
|
1479
|
-
|
1509
|
+
|
1510
|
+
https://www.okx.com/docs-v5/en/#order-book-trading-trade-ws-order-channel
|
1511
|
+
|
1480
1512
|
:param str [symbol]: unified market symbol of the market trades were made in
|
1481
1513
|
:param int [since]: the earliest time in ms to fetch trades for
|
1482
1514
|
:param int [limit]: the maximum number of trade structures to retrieve
|
@@ -1519,9 +1551,13 @@ class okx(ccxt.async_support.okx):
|
|
1519
1551
|
|
1520
1552
|
async def watch_positions(self, symbols: Strings = None, since: Int = None, limit: Int = None, params={}) -> List[Position]:
|
1521
1553
|
"""
|
1522
|
-
|
1554
|
+
|
1555
|
+
https://www.okx.com/docs-v5/en/#trading-account-websocket-positions-channel
|
1556
|
+
|
1523
1557
|
watch all open positions
|
1524
1558
|
:param str[]|None symbols: list of unified market symbols
|
1559
|
+
@param since
|
1560
|
+
@param limit
|
1525
1561
|
:param dict params: extra parameters specific to the exchange API endpoint
|
1526
1562
|
:returns dict[]: a list of `position structure <https://docs.ccxt.com/en/latest/manual.html#position-structure>`
|
1527
1563
|
"""
|
@@ -1647,7 +1683,9 @@ class okx(ccxt.async_support.okx):
|
|
1647
1683
|
async def watch_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
|
1648
1684
|
"""
|
1649
1685
|
watches information on multiple orders made by the user
|
1650
|
-
|
1686
|
+
|
1687
|
+
https://www.okx.com/docs-v5/en/#order-book-trading-trade-ws-order-channel
|
1688
|
+
|
1651
1689
|
:param str [symbol]: unified market symbol of the market the orders were made in
|
1652
1690
|
:param int [since]: the earliest time in ms to fetch orders for
|
1653
1691
|
:param int [limit]: the maximum number of order structures to retrieve
|
@@ -1860,7 +1898,9 @@ class okx(ccxt.async_support.okx):
|
|
1860
1898
|
|
1861
1899
|
async def create_order_ws(self, symbol: str, type: OrderType, side: OrderSide, amount: float, price: Num = None, params={}) -> Order:
|
1862
1900
|
"""
|
1863
|
-
|
1901
|
+
|
1902
|
+
https://www.okx.com/docs-v5/en/#websocket-api-trade-place-order
|
1903
|
+
|
1864
1904
|
create a trade order
|
1865
1905
|
:param str symbol: unified symbol of the market to create an order in
|
1866
1906
|
:param str type: 'market' or 'limit'
|
@@ -1925,8 +1965,10 @@ class okx(ccxt.async_support.okx):
|
|
1925
1965
|
async def edit_order_ws(self, id: str, symbol: str, type: OrderType, side: OrderSide, amount: Num = None, price: Num = None, params={}) -> Order:
|
1926
1966
|
"""
|
1927
1967
|
edit a trade order
|
1928
|
-
|
1929
|
-
|
1968
|
+
|
1969
|
+
https://www.okx.com/docs-v5/en/#order-book-trading-trade-ws-amend-order
|
1970
|
+
https://www.okx.com/docs-v5/en/#order-book-trading-trade-ws-amend-multiple-orders
|
1971
|
+
|
1930
1972
|
:param str id: order id
|
1931
1973
|
:param str symbol: unified symbol of the market to create an order in
|
1932
1974
|
:param str type: 'market' or 'limit'
|
@@ -1952,7 +1994,9 @@ class okx(ccxt.async_support.okx):
|
|
1952
1994
|
|
1953
1995
|
async def cancel_order_ws(self, id: str, symbol: Str = None, params={}) -> Order:
|
1954
1996
|
"""
|
1955
|
-
|
1997
|
+
|
1998
|
+
https://okx-docs.github.io/apidocs/websocket_api/en/#cancel-order-trade
|
1999
|
+
|
1956
2000
|
cancel multiple orders
|
1957
2001
|
:param str id: order id
|
1958
2002
|
:param str symbol: unified market symbol, default is None
|
@@ -1984,7 +2028,9 @@ class okx(ccxt.async_support.okx):
|
|
1984
2028
|
|
1985
2029
|
async def cancel_orders_ws(self, ids: List[str], symbol: Str = None, params={}):
|
1986
2030
|
"""
|
1987
|
-
|
2031
|
+
|
2032
|
+
https://www.okx.com/docs-v5/en/#order-book-trading-trade-ws-mass-cancel-order
|
2033
|
+
|
1988
2034
|
cancel multiple orders
|
1989
2035
|
:param str[] ids: order ids
|
1990
2036
|
:param str symbol: unified market symbol, default is None
|
@@ -2016,7 +2062,9 @@ class okx(ccxt.async_support.okx):
|
|
2016
2062
|
|
2017
2063
|
async def cancel_all_orders_ws(self, symbol: Str = None, params={}):
|
2018
2064
|
"""
|
2019
|
-
|
2065
|
+
|
2066
|
+
https://docs.okx.com/websockets/#message-cancelAll
|
2067
|
+
|
2020
2068
|
cancel all open orders of a type. Only applicable to Option in Portfolio Margin mode, and MMP privilege is required.
|
2021
2069
|
:param str symbol: unified market symbol, only orders in the market of self symbol are cancelled when symbol is not None
|
2022
2070
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
ccxt/pro/onetrading.py
CHANGED
@@ -83,7 +83,9 @@ class onetrading(ccxt.async_support.onetrading):
|
|
83
83
|
|
84
84
|
async def watch_balance(self, params={}) -> Balances:
|
85
85
|
"""
|
86
|
-
|
86
|
+
|
87
|
+
https://developers.bitpanda.com/exchange/#account-history-channel
|
88
|
+
|
87
89
|
watch balance and get the amount of funds available for trading or funds locked in orders
|
88
90
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
89
91
|
:returns dict: a `balance structure <https://docs.ccxt.com/#/?id=balance-structure>`
|
@@ -140,7 +142,9 @@ class onetrading(ccxt.async_support.onetrading):
|
|
140
142
|
|
141
143
|
async def watch_ticker(self, symbol: str, params={}) -> Ticker:
|
142
144
|
"""
|
143
|
-
|
145
|
+
|
146
|
+
https://developers.bitpanda.com/exchange/#market-ticker-channel
|
147
|
+
|
144
148
|
watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
145
149
|
:param str symbol: unified symbol of the market to fetch the ticker for
|
146
150
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
@@ -164,7 +168,9 @@ class onetrading(ccxt.async_support.onetrading):
|
|
164
168
|
|
165
169
|
async def watch_tickers(self, symbols: Strings = None, params={}) -> Tickers:
|
166
170
|
"""
|
167
|
-
|
171
|
+
|
172
|
+
https://developers.bitpanda.com/exchange/#market-ticker-channel
|
173
|
+
|
168
174
|
watches price tickers, a statistical calculation with the information for all markets or those specified.
|
169
175
|
:param str symbols: unified symbols of the markets to fetch the ticker for
|
170
176
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
@@ -256,7 +262,9 @@ class onetrading(ccxt.async_support.onetrading):
|
|
256
262
|
|
257
263
|
async def watch_my_trades(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
|
258
264
|
"""
|
259
|
-
|
265
|
+
|
266
|
+
https://developers.bitpanda.com/exchange/#account-history-channel
|
267
|
+
|
260
268
|
get the list of trades associated with the user
|
261
269
|
:param str symbol: unified symbol of the market to fetch trades for. Use 'any' to watch all trades
|
262
270
|
:param int [since]: timestamp in ms of the earliest trade to fetch
|
@@ -295,7 +303,9 @@ class onetrading(ccxt.async_support.onetrading):
|
|
295
303
|
|
296
304
|
async def watch_order_book(self, symbol: str, limit: Int = None, params={}) -> OrderBook:
|
297
305
|
"""
|
298
|
-
|
306
|
+
|
307
|
+
https://developers.bitpanda.com/exchange/#market-ticker-channel
|
308
|
+
|
299
309
|
watches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
|
300
310
|
:param str symbol: unified symbol of the market to fetch the order book for
|
301
311
|
:param int [limit]: the maximum amount of order book entries to return
|
@@ -401,7 +411,9 @@ class onetrading(ccxt.async_support.onetrading):
|
|
401
411
|
|
402
412
|
async def watch_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
|
403
413
|
"""
|
404
|
-
|
414
|
+
|
415
|
+
https://developers.bitpanda.com/exchange/#account-history-channel
|
416
|
+
|
405
417
|
watches information on multiple orders made by the user
|
406
418
|
:param str symbol: unified market symbol of the market orders were made in
|
407
419
|
:param int [since]: the earliest time in ms to fetch orders for
|
@@ -997,7 +1009,9 @@ class onetrading(ccxt.async_support.onetrading):
|
|
997
1009
|
|
998
1010
|
async def watch_ohlcv(self, symbol: str, timeframe='1m', since: Int = None, limit: Int = None, params={}) -> List[list]:
|
999
1011
|
"""
|
1000
|
-
|
1012
|
+
|
1013
|
+
https://developers.bitpanda.com/exchange/#candlesticks-channel
|
1014
|
+
|
1001
1015
|
watches historical candlestick data containing the open, high, low, and close price, and the volume of a market
|
1002
1016
|
:param str symbol: unified symbol of the market to fetch OHLCV data for
|
1003
1017
|
:param str timeframe: the length of time each candle represents
|