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/async_support/cex.py
CHANGED
@@ -192,7 +192,9 @@ class cex(Exchange, ImplicitAPI):
|
|
192
192
|
async def fetch_currencies(self, params={}) -> Currencies:
|
193
193
|
"""
|
194
194
|
fetches all available currencies on an exchange
|
195
|
-
|
195
|
+
|
196
|
+
https://trade.cex.io/docs/#rest-public-api-calls-currencies-info
|
197
|
+
|
196
198
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
197
199
|
:returns dict: an associative dictionary of currencies
|
198
200
|
"""
|
@@ -304,7 +306,9 @@ class cex(Exchange, ImplicitAPI):
|
|
304
306
|
async def fetch_markets(self, params={}) -> List[Market]:
|
305
307
|
"""
|
306
308
|
retrieves data on all markets for ace
|
307
|
-
|
309
|
+
|
310
|
+
https://trade.cex.io/docs/#rest-public-api-calls-pairs-info
|
311
|
+
|
308
312
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
309
313
|
:returns dict[]: an array of objects representing market data
|
310
314
|
"""
|
@@ -416,8 +420,10 @@ class cex(Exchange, ImplicitAPI):
|
|
416
420
|
async def fetch_ticker(self, symbol: str, params={}) -> Ticker:
|
417
421
|
"""
|
418
422
|
fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
|
419
|
-
|
420
|
-
|
423
|
+
|
424
|
+
https://trade.cex.io/docs/#rest-public-api-calls-ticker
|
425
|
+
|
426
|
+
:param str symbol:
|
421
427
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
422
428
|
:returns dict: a dictionary of `ticker structures <https://docs.ccxt.com/#/?id=ticker-structure>`
|
423
429
|
"""
|
@@ -428,7 +434,9 @@ class cex(Exchange, ImplicitAPI):
|
|
428
434
|
async def fetch_tickers(self, symbols: Strings = None, params={}) -> Tickers:
|
429
435
|
"""
|
430
436
|
fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
|
431
|
-
|
437
|
+
|
438
|
+
https://trade.cex.io/docs/#rest-public-api-calls-ticker
|
439
|
+
|
432
440
|
:param str[]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
433
441
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
434
442
|
:returns dict: a dictionary of `ticker structures <https://docs.ccxt.com/#/?id=ticker-structure>`
|
@@ -495,7 +503,9 @@ class cex(Exchange, ImplicitAPI):
|
|
495
503
|
async def fetch_trades(self, symbol: str, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
|
496
504
|
"""
|
497
505
|
get the list of most recent trades for a particular symbol
|
498
|
-
|
506
|
+
|
507
|
+
https://trade.cex.io/docs/#rest-public-api-calls-trade-history
|
508
|
+
|
499
509
|
:param str symbol: unified symbol of the market to fetch trades for
|
500
510
|
:param int [since]: timestamp in ms of the earliest trade to fetch
|
501
511
|
:param int [limit]: the maximum amount of trades to fetch
|
@@ -570,7 +580,9 @@ class cex(Exchange, ImplicitAPI):
|
|
570
580
|
async def fetch_order_book(self, symbol: str, limit: Int = None, params={}) -> OrderBook:
|
571
581
|
"""
|
572
582
|
fetches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
|
573
|
-
|
583
|
+
|
584
|
+
https://trade.cex.io/docs/#rest-public-api-calls-order-book
|
585
|
+
|
574
586
|
:param str symbol: unified symbol of the market to fetch the order book for
|
575
587
|
:param int [limit]: the maximum amount of order book entries to return
|
576
588
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
@@ -607,7 +619,9 @@ class cex(Exchange, ImplicitAPI):
|
|
607
619
|
async def fetch_ohlcv(self, symbol: str, timeframe='1m', since: Int = None, limit: Int = None, params={}) -> List[list]:
|
608
620
|
"""
|
609
621
|
fetches historical candlestick data containing the open, high, low, and close price, and the volume of a market
|
610
|
-
|
622
|
+
|
623
|
+
https://trade.cex.io/docs/#rest-public-api-calls-candles
|
624
|
+
|
611
625
|
:param str symbol: unified symbol of the market to fetch OHLCV data for
|
612
626
|
:param str timeframe: the length of time each candle represents
|
613
627
|
:param int [since]: timestamp in ms of the earliest candle to fetch
|
@@ -676,7 +690,9 @@ class cex(Exchange, ImplicitAPI):
|
|
676
690
|
async def fetch_trading_fees(self, params={}) -> TradingFees:
|
677
691
|
"""
|
678
692
|
fetch the trading fees for multiple markets
|
679
|
-
|
693
|
+
|
694
|
+
https://trade.cex.io/docs/#rest-public-api-calls-candles
|
695
|
+
|
680
696
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
681
697
|
:returns dict: a dictionary of `fee structures <https://docs.ccxt.com/#/?id=fee-structure>` indexed by market symbols
|
682
698
|
"""
|
@@ -762,7 +778,9 @@ class cex(Exchange, ImplicitAPI):
|
|
762
778
|
async def fetch_balance(self, params={}) -> Balances:
|
763
779
|
"""
|
764
780
|
query for balance and get the amount of funds available for trading or funds locked in orders
|
765
|
-
|
781
|
+
|
782
|
+
https://trade.cex.io/docs/#rest-private-api-calls-account-status-v3
|
783
|
+
|
766
784
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
767
785
|
:param dict [params.method]: 'privatePostGetMyWalletBalance' or 'privatePostGetMyAccountStatusV3'
|
768
786
|
:param dict [params.account]: in case 'privatePostGetMyAccountStatusV3' is chosen, self can specify the account name(default is empty string)
|
@@ -827,7 +845,10 @@ class cex(Exchange, ImplicitAPI):
|
|
827
845
|
async def fetch_orders_by_status(self, status: str, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
|
828
846
|
"""
|
829
847
|
fetches information on multiple orders made by the user
|
830
|
-
|
848
|
+
|
849
|
+
https://trade.cex.io/docs/#rest-private-api-calls-orders
|
850
|
+
|
851
|
+
:param str status: order status to fetch for
|
831
852
|
:param str symbol: unified market symbol of the market orders were made in
|
832
853
|
:param int [since]: the earliest time in ms to fetch orders for
|
833
854
|
:param int [limit]: the maximum number of order structures to retrieve
|
@@ -901,7 +922,9 @@ class cex(Exchange, ImplicitAPI):
|
|
901
922
|
|
902
923
|
async def fetch_closed_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}):
|
903
924
|
"""
|
904
|
-
|
925
|
+
|
926
|
+
https://trade.cex.io/docs/#rest-private-api-calls-orders
|
927
|
+
|
905
928
|
fetches information on multiple canceled orders made by the user
|
906
929
|
:param str symbol: unified market symbol of the market orders were made in
|
907
930
|
:param int [since]: timestamp in ms of the earliest order, default is None
|
@@ -913,7 +936,9 @@ class cex(Exchange, ImplicitAPI):
|
|
913
936
|
|
914
937
|
async def fetch_open_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}):
|
915
938
|
"""
|
916
|
-
|
939
|
+
|
940
|
+
https://trade.cex.io/docs/#rest-private-api-calls-orders
|
941
|
+
|
917
942
|
fetches information on multiple canceled orders made by the user
|
918
943
|
:param str symbol: unified market symbol of the market orders were made in
|
919
944
|
:param int [since]: timestamp in ms of the earliest order, default is None
|
@@ -926,7 +951,9 @@ class cex(Exchange, ImplicitAPI):
|
|
926
951
|
async def fetch_open_order(self, id: str, symbol: Str = None, params={}):
|
927
952
|
"""
|
928
953
|
fetches information on an open order made by the user
|
929
|
-
|
954
|
+
|
955
|
+
https://trade.cex.io/docs/#rest-private-api-calls-orders
|
956
|
+
|
930
957
|
:param str id: order id
|
931
958
|
:param str [symbol]: unified symbol of the market the order was made in
|
932
959
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
@@ -942,7 +969,9 @@ class cex(Exchange, ImplicitAPI):
|
|
942
969
|
async def fetch_closed_order(self, id: str, symbol: Str = None, params={}):
|
943
970
|
"""
|
944
971
|
fetches information on an closed order made by the user
|
945
|
-
|
972
|
+
|
973
|
+
https://trade.cex.io/docs/#rest-private-api-calls-orders
|
974
|
+
|
946
975
|
:param str id: order id
|
947
976
|
:param str [symbol]: unified symbol of the market the order was made in
|
948
977
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
@@ -1043,7 +1072,9 @@ class cex(Exchange, ImplicitAPI):
|
|
1043
1072
|
async def create_order(self, symbol: str, type: OrderType, side: OrderSide, amount: float, price: Num = None, params={}):
|
1044
1073
|
"""
|
1045
1074
|
create a trade order
|
1046
|
-
|
1075
|
+
|
1076
|
+
https://trade.cex.io/docs/#rest-private-api-calls-new-order
|
1077
|
+
|
1047
1078
|
:param str symbol: unified symbol of the market to create an order in
|
1048
1079
|
:param str type: 'market' or 'limit'
|
1049
1080
|
:param str side: 'buy' or 'sell'
|
@@ -1134,7 +1165,9 @@ class cex(Exchange, ImplicitAPI):
|
|
1134
1165
|
async def cancel_order(self, id: str, symbol: Str = None, params={}):
|
1135
1166
|
"""
|
1136
1167
|
cancels an open order
|
1137
|
-
|
1168
|
+
|
1169
|
+
https://trade.cex.io/docs/#rest-private-api-calls-cancel-order
|
1170
|
+
|
1138
1171
|
:param str id: order id
|
1139
1172
|
:param str symbol: unified symbol of the market the order was made in
|
1140
1173
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
@@ -1156,7 +1189,9 @@ class cex(Exchange, ImplicitAPI):
|
|
1156
1189
|
async def cancel_all_orders(self, symbol: Str = None, params={}):
|
1157
1190
|
"""
|
1158
1191
|
cancel all open orders in a market
|
1159
|
-
|
1192
|
+
|
1193
|
+
https://trade.cex.io/docs/#rest-private-api-calls-cancel-all-orders
|
1194
|
+
|
1160
1195
|
:param str symbol: alpaca cancelAllOrders cannot setting symbol, it will cancel all open orders
|
1161
1196
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
1162
1197
|
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
@@ -1184,7 +1219,9 @@ class cex(Exchange, ImplicitAPI):
|
|
1184
1219
|
async def fetch_ledger(self, code: Str = None, since: Int = None, limit: Int = None, params={}) -> List[LedgerEntry]:
|
1185
1220
|
"""
|
1186
1221
|
fetch the history of changes, actions done by the user or operations that altered the balance of the user
|
1187
|
-
|
1222
|
+
|
1223
|
+
https://trade.cex.io/docs/#rest-private-api-calls-transaction-history
|
1224
|
+
|
1188
1225
|
:param str [code]: unified currency code
|
1189
1226
|
:param int [since]: timestamp in ms of the earliest ledger entry
|
1190
1227
|
:param int [limit]: max number of ledger entries to return
|
@@ -1268,7 +1305,9 @@ class cex(Exchange, ImplicitAPI):
|
|
1268
1305
|
async def fetch_deposits_withdrawals(self, code: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Transaction]:
|
1269
1306
|
"""
|
1270
1307
|
fetch history of deposits and withdrawals
|
1271
|
-
|
1308
|
+
|
1309
|
+
https://trade.cex.io/docs/#rest-private-api-calls-funding-history
|
1310
|
+
|
1272
1311
|
:param str [code]: unified currency code for the currency of the deposit/withdrawals, default is None
|
1273
1312
|
:param int [since]: timestamp in ms of the earliest deposit/withdrawal, default is None
|
1274
1313
|
:param int [limit]: max number of deposit/withdrawals to return, default is None
|
@@ -1354,7 +1393,9 @@ class cex(Exchange, ImplicitAPI):
|
|
1354
1393
|
async def transfer(self, code: str, amount: float, fromAccount: str, toAccount: str, params={}) -> TransferEntry:
|
1355
1394
|
"""
|
1356
1395
|
transfer currency internally between wallets on the same account
|
1357
|
-
|
1396
|
+
|
1397
|
+
https://trade.cex.io/docs/#rest-private-api-calls-internal-transfer
|
1398
|
+
|
1358
1399
|
:param str code: unified currency code
|
1359
1400
|
:param float amount: amount to transfer
|
1360
1401
|
:param str fromAccount: 'SPOT', 'FUND', or 'CONTRACT'
|
@@ -1467,7 +1508,9 @@ class cex(Exchange, ImplicitAPI):
|
|
1467
1508
|
async def fetch_deposit_address(self, code: str, params={}) -> DepositAddress:
|
1468
1509
|
"""
|
1469
1510
|
fetch the deposit address for a currency associated with self account
|
1470
|
-
|
1511
|
+
|
1512
|
+
https://trade.cex.io/docs/#rest-private-api-calls-deposit-address
|
1513
|
+
|
1471
1514
|
:param str code: unified currency code
|
1472
1515
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
1473
1516
|
:param str [params.accountId]: account-id(default to empty string) to refer to(at self moment, only sub-accounts allowed by exchange)
|