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.
Files changed (268) hide show
  1. ccxt/__init__.py +1 -1
  2. ccxt/ace.py +36 -12
  3. ccxt/alpaca.py +62 -22
  4. ccxt/ascendex.py +65 -30
  5. ccxt/async_support/__init__.py +1 -1
  6. ccxt/async_support/ace.py +36 -12
  7. ccxt/async_support/alpaca.py +62 -22
  8. ccxt/async_support/ascendex.py +65 -30
  9. ccxt/async_support/base/exchange.py +3 -3
  10. ccxt/async_support/base/ws/aiohttp_client.py +25 -3
  11. ccxt/async_support/bigone.py +71 -27
  12. ccxt/async_support/binance.py +555 -323
  13. ccxt/async_support/bingx.py +208 -108
  14. ccxt/async_support/bit2c.py +34 -12
  15. ccxt/async_support/bitbank.py +42 -14
  16. ccxt/async_support/bitbns.py +17 -9
  17. ccxt/async_support/bitfinex.py +68 -24
  18. ccxt/async_support/bitfinex2.py +116 -44
  19. ccxt/async_support/bitflyer.py +54 -18
  20. ccxt/async_support/bitget.py +277 -145
  21. ccxt/async_support/bithumb.py +39 -14
  22. ccxt/async_support/bitmart.py +145 -79
  23. ccxt/async_support/bitmex.py +90 -30
  24. ccxt/async_support/bitopro.py +66 -22
  25. ccxt/async_support/bitrue.py +109 -57
  26. ccxt/async_support/bitso.py +55 -19
  27. ccxt/async_support/bitstamp.py +84 -36
  28. ccxt/async_support/bitteam.py +51 -17
  29. ccxt/async_support/bitvavo.py +57 -22
  30. ccxt/async_support/bl3p.py +26 -10
  31. ccxt/async_support/blockchaincom.py +63 -21
  32. ccxt/async_support/blofin.py +95 -38
  33. ccxt/async_support/btcalpha.py +48 -16
  34. ccxt/async_support/btcbox.py +27 -9
  35. ccxt/async_support/btcmarkets.py +57 -19
  36. ccxt/async_support/btcturk.py +36 -12
  37. ccxt/async_support/bybit.py +251 -95
  38. ccxt/async_support/cex.py +65 -22
  39. ccxt/async_support/coinbase.py +138 -56
  40. ccxt/async_support/coinbaseexchange.py +76 -28
  41. ccxt/async_support/coinbaseinternational.py +75 -27
  42. ccxt/async_support/coincatch.py +191 -97
  43. ccxt/async_support/coincheck.py +33 -11
  44. ccxt/async_support/coinex.py +212 -101
  45. ccxt/async_support/coinlist.py +87 -30
  46. ccxt/async_support/coinmate.py +55 -24
  47. ccxt/async_support/coinmetro.py +52 -18
  48. ccxt/async_support/coinone.py +27 -10
  49. ccxt/async_support/coinsph.py +73 -27
  50. ccxt/async_support/coinspot.py +25 -9
  51. ccxt/async_support/cryptocom.py +103 -38
  52. ccxt/async_support/currencycom.py +70 -23
  53. ccxt/async_support/delta.py +90 -30
  54. ccxt/async_support/deribit.py +131 -50
  55. ccxt/async_support/digifinex.py +114 -51
  56. ccxt/async_support/exmo.py +104 -45
  57. ccxt/async_support/gate.py +313 -157
  58. ccxt/async_support/gemini.py +57 -20
  59. ccxt/async_support/hashkey.py +151 -66
  60. ccxt/async_support/hitbtc.py +157 -74
  61. ccxt/async_support/hollaex.py +76 -25
  62. ccxt/async_support/htx.py +297 -240
  63. ccxt/async_support/huobijp.py +1 -0
  64. ccxt/async_support/hyperliquid.py +94 -38
  65. ccxt/async_support/idex.py +73 -24
  66. ccxt/async_support/independentreserve.py +12 -5
  67. ccxt/async_support/indodax.py +54 -17
  68. ccxt/async_support/kraken.py +108 -36
  69. ccxt/async_support/krakenfutures.py +88 -34
  70. ccxt/async_support/kucoin.py +214 -110
  71. ccxt/async_support/kucoinfutures.py +209 -64
  72. ccxt/async_support/kuna.py +80 -39
  73. ccxt/async_support/latoken.py +70 -33
  74. ccxt/async_support/lbank.py +89 -38
  75. ccxt/async_support/luno.py +54 -19
  76. ccxt/async_support/lykke.py +54 -19
  77. ccxt/async_support/mercado.py +1 -0
  78. ccxt/async_support/mexc.py +226 -108
  79. ccxt/async_support/ndax.py +58 -19
  80. ccxt/async_support/novadax.py +67 -22
  81. ccxt/async_support/oceanex.py +58 -19
  82. ccxt/async_support/okcoin.py +81 -38
  83. ccxt/async_support/okx.py +270 -109
  84. ccxt/async_support/onetrading.py +3 -1
  85. ccxt/async_support/oxfun.py +95 -36
  86. ccxt/async_support/p2b.py +49 -23
  87. ccxt/async_support/paradex.py +75 -27
  88. ccxt/async_support/paymium.py +31 -11
  89. ccxt/async_support/phemex.py +108 -56
  90. ccxt/async_support/poloniex.py +80 -30
  91. ccxt/async_support/poloniexfutures.py +72 -30
  92. ccxt/async_support/probit.py +64 -22
  93. ccxt/async_support/timex.py +58 -19
  94. ccxt/async_support/tokocrypto.py +63 -22
  95. ccxt/async_support/tradeogre.py +7 -2
  96. ccxt/async_support/upbit.py +72 -25
  97. ccxt/async_support/vertex.py +74 -28
  98. ccxt/async_support/wavesexchange.py +32 -8
  99. ccxt/async_support/wazirx.py +51 -17
  100. ccxt/async_support/whitebit.py +105 -41
  101. ccxt/async_support/woo.py +162 -65
  102. ccxt/async_support/woofipro.py +119 -50
  103. ccxt/async_support/xt.py +150 -73
  104. ccxt/async_support/yobit.py +49 -16
  105. ccxt/async_support/zaif.py +30 -10
  106. ccxt/async_support/zonda.py +46 -16
  107. ccxt/base/exchange.py +47 -35
  108. ccxt/base/types.py +1 -0
  109. ccxt/bigone.py +71 -27
  110. ccxt/binance.py +555 -323
  111. ccxt/bingx.py +208 -108
  112. ccxt/bit2c.py +34 -12
  113. ccxt/bitbank.py +42 -14
  114. ccxt/bitbns.py +17 -9
  115. ccxt/bitfinex.py +68 -24
  116. ccxt/bitfinex2.py +116 -44
  117. ccxt/bitflyer.py +54 -18
  118. ccxt/bitget.py +277 -145
  119. ccxt/bithumb.py +39 -14
  120. ccxt/bitmart.py +145 -79
  121. ccxt/bitmex.py +90 -30
  122. ccxt/bitopro.py +66 -22
  123. ccxt/bitrue.py +109 -57
  124. ccxt/bitso.py +55 -19
  125. ccxt/bitstamp.py +84 -36
  126. ccxt/bitteam.py +51 -17
  127. ccxt/bitvavo.py +57 -22
  128. ccxt/bl3p.py +26 -10
  129. ccxt/blockchaincom.py +63 -21
  130. ccxt/blofin.py +95 -38
  131. ccxt/btcalpha.py +48 -16
  132. ccxt/btcbox.py +27 -9
  133. ccxt/btcmarkets.py +57 -19
  134. ccxt/btcturk.py +36 -12
  135. ccxt/bybit.py +251 -95
  136. ccxt/cex.py +65 -22
  137. ccxt/coinbase.py +138 -56
  138. ccxt/coinbaseexchange.py +76 -28
  139. ccxt/coinbaseinternational.py +75 -27
  140. ccxt/coincatch.py +191 -97
  141. ccxt/coincheck.py +33 -11
  142. ccxt/coinex.py +212 -101
  143. ccxt/coinlist.py +87 -30
  144. ccxt/coinmate.py +55 -24
  145. ccxt/coinmetro.py +52 -18
  146. ccxt/coinone.py +27 -10
  147. ccxt/coinsph.py +73 -27
  148. ccxt/coinspot.py +25 -9
  149. ccxt/cryptocom.py +103 -38
  150. ccxt/currencycom.py +70 -23
  151. ccxt/delta.py +90 -30
  152. ccxt/deribit.py +131 -50
  153. ccxt/digifinex.py +114 -51
  154. ccxt/exmo.py +104 -45
  155. ccxt/gate.py +313 -157
  156. ccxt/gemini.py +57 -20
  157. ccxt/hashkey.py +151 -66
  158. ccxt/hitbtc.py +157 -74
  159. ccxt/hollaex.py +76 -25
  160. ccxt/htx.py +297 -240
  161. ccxt/huobijp.py +1 -0
  162. ccxt/hyperliquid.py +94 -38
  163. ccxt/idex.py +73 -24
  164. ccxt/independentreserve.py +12 -5
  165. ccxt/indodax.py +54 -17
  166. ccxt/kraken.py +108 -36
  167. ccxt/krakenfutures.py +88 -34
  168. ccxt/kucoin.py +214 -110
  169. ccxt/kucoinfutures.py +209 -64
  170. ccxt/kuna.py +80 -39
  171. ccxt/latoken.py +70 -33
  172. ccxt/lbank.py +89 -38
  173. ccxt/luno.py +54 -19
  174. ccxt/lykke.py +54 -19
  175. ccxt/mercado.py +1 -0
  176. ccxt/mexc.py +226 -108
  177. ccxt/ndax.py +58 -19
  178. ccxt/novadax.py +67 -22
  179. ccxt/oceanex.py +58 -19
  180. ccxt/okcoin.py +81 -38
  181. ccxt/okx.py +270 -109
  182. ccxt/onetrading.py +3 -1
  183. ccxt/oxfun.py +95 -36
  184. ccxt/p2b.py +49 -23
  185. ccxt/paradex.py +75 -27
  186. ccxt/paymium.py +31 -11
  187. ccxt/phemex.py +108 -56
  188. ccxt/poloniex.py +80 -30
  189. ccxt/poloniexfutures.py +72 -30
  190. ccxt/pro/__init__.py +1 -1
  191. ccxt/pro/alpaca.py +15 -5
  192. ccxt/pro/ascendex.py +18 -6
  193. ccxt/pro/binance.py +204 -123
  194. ccxt/pro/bingx.py +44 -24
  195. ccxt/pro/bitfinex.py +13 -5
  196. ccxt/pro/bitget.py +76 -37
  197. ccxt/pro/bithumb.py +12 -4
  198. ccxt/pro/bitmart.py +44 -20
  199. ccxt/pro/bitmex.py +42 -14
  200. ccxt/pro/bitopro.py +15 -5
  201. ccxt/pro/bitrue.py +7 -3
  202. ccxt/pro/bitvavo.py +97 -62
  203. ccxt/pro/blockchaincom.py +18 -6
  204. ccxt/pro/blofin.py +36 -12
  205. ccxt/pro/bybit.py +100 -42
  206. ccxt/pro/cex.py +48 -16
  207. ccxt/pro/coinbase.py +32 -12
  208. ccxt/pro/coinbaseexchange.py +1 -1
  209. ccxt/pro/coinbaseinternational.py +34 -14
  210. ccxt/pro/coincatch.py +54 -19
  211. ccxt/pro/coincheck.py +6 -2
  212. ccxt/pro/coinex.py +40 -20
  213. ccxt/pro/coinone.py +9 -3
  214. ccxt/pro/cryptocom.py +71 -27
  215. ccxt/pro/deribit.py +36 -12
  216. ccxt/pro/exmo.py +10 -4
  217. ccxt/pro/gate.py +65 -31
  218. ccxt/pro/gemini.py +21 -7
  219. ccxt/pro/hashkey.py +27 -9
  220. ccxt/pro/hitbtc.py +61 -37
  221. ccxt/pro/hollaex.py +15 -5
  222. ccxt/pro/htx.py +39 -21
  223. ccxt/pro/hyperliquid.py +41 -14
  224. ccxt/pro/kraken.py +49 -17
  225. ccxt/pro/krakenfutures.py +47 -24
  226. ccxt/pro/kucoin.py +60 -31
  227. ccxt/pro/kucoinfutures.py +41 -19
  228. ccxt/pro/lbank.py +27 -9
  229. ccxt/pro/luno.py +3 -1
  230. ccxt/pro/mexc.py +36 -19
  231. ccxt/pro/ndax.py +12 -4
  232. ccxt/pro/okcoin.py +18 -6
  233. ccxt/pro/okx.py +76 -28
  234. ccxt/pro/onetrading.py +21 -7
  235. ccxt/pro/oxfun.py +54 -20
  236. ccxt/pro/p2b.py +23 -11
  237. ccxt/pro/paradex.py +12 -4
  238. ccxt/pro/phemex.py +31 -19
  239. ccxt/pro/poloniex.py +50 -22
  240. ccxt/pro/poloniexfutures.py +17 -7
  241. ccxt/pro/probit.py +18 -6
  242. ccxt/pro/upbit.py +25 -9
  243. ccxt/pro/vertex.py +20 -6
  244. ccxt/pro/wazirx.py +21 -7
  245. ccxt/pro/whitebit.py +25 -9
  246. ccxt/pro/woo.py +32 -12
  247. ccxt/pro/woofipro.py +35 -13
  248. ccxt/pro/xt.py +46 -26
  249. ccxt/probit.py +64 -22
  250. ccxt/timex.py +58 -19
  251. ccxt/tokocrypto.py +63 -22
  252. ccxt/tradeogre.py +7 -2
  253. ccxt/upbit.py +72 -25
  254. ccxt/vertex.py +74 -28
  255. ccxt/wavesexchange.py +32 -8
  256. ccxt/wazirx.py +51 -17
  257. ccxt/whitebit.py +105 -41
  258. ccxt/woo.py +162 -65
  259. ccxt/woofipro.py +119 -50
  260. ccxt/xt.py +150 -73
  261. ccxt/yobit.py +49 -16
  262. ccxt/zaif.py +30 -10
  263. ccxt/zonda.py +46 -16
  264. {ccxt-4.4.30.dist-info → ccxt-4.4.32.dist-info}/METADATA +11 -5
  265. {ccxt-4.4.30.dist-info → ccxt-4.4.32.dist-info}/RECORD +268 -268
  266. {ccxt-4.4.30.dist-info → ccxt-4.4.32.dist-info}/LICENSE.txt +0 -0
  267. {ccxt-4.4.30.dist-info → ccxt-4.4.32.dist-info}/WHEEL +0 -0
  268. {ccxt-4.4.30.dist-info → ccxt-4.4.32.dist-info}/top_level.txt +0 -0
ccxt/cex.py CHANGED
@@ -191,7 +191,9 @@ class cex(Exchange, ImplicitAPI):
191
191
  def fetch_currencies(self, params={}) -> Currencies:
192
192
  """
193
193
  fetches all available currencies on an exchange
194
- :see: https://trade.cex.io/docs/#rest-public-api-calls-currencies-info
194
+
195
+ https://trade.cex.io/docs/#rest-public-api-calls-currencies-info
196
+
195
197
  :param dict [params]: extra parameters specific to the exchange API endpoint
196
198
  :returns dict: an associative dictionary of currencies
197
199
  """
@@ -303,7 +305,9 @@ class cex(Exchange, ImplicitAPI):
303
305
  def fetch_markets(self, params={}) -> List[Market]:
304
306
  """
305
307
  retrieves data on all markets for ace
306
- :see: https://trade.cex.io/docs/#rest-public-api-calls-pairs-info
308
+
309
+ https://trade.cex.io/docs/#rest-public-api-calls-pairs-info
310
+
307
311
  :param dict [params]: extra parameters specific to the exchange API endpoint
308
312
  :returns dict[]: an array of objects representing market data
309
313
  """
@@ -415,8 +419,10 @@ class cex(Exchange, ImplicitAPI):
415
419
  def fetch_ticker(self, symbol: str, params={}) -> Ticker:
416
420
  """
417
421
  fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
418
- :see: https://trade.cex.io/docs/#rest-public-api-calls-ticker
419
- :param str[]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
422
+
423
+ https://trade.cex.io/docs/#rest-public-api-calls-ticker
424
+
425
+ :param str symbol:
420
426
  :param dict [params]: extra parameters specific to the exchange API endpoint
421
427
  :returns dict: a dictionary of `ticker structures <https://docs.ccxt.com/#/?id=ticker-structure>`
422
428
  """
@@ -427,7 +433,9 @@ class cex(Exchange, ImplicitAPI):
427
433
  def fetch_tickers(self, symbols: Strings = None, params={}) -> Tickers:
428
434
  """
429
435
  fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
430
- :see: https://trade.cex.io/docs/#rest-public-api-calls-ticker
436
+
437
+ https://trade.cex.io/docs/#rest-public-api-calls-ticker
438
+
431
439
  :param str[]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
432
440
  :param dict [params]: extra parameters specific to the exchange API endpoint
433
441
  :returns dict: a dictionary of `ticker structures <https://docs.ccxt.com/#/?id=ticker-structure>`
@@ -494,7 +502,9 @@ class cex(Exchange, ImplicitAPI):
494
502
  def fetch_trades(self, symbol: str, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
495
503
  """
496
504
  get the list of most recent trades for a particular symbol
497
- :see: https://trade.cex.io/docs/#rest-public-api-calls-trade-history
505
+
506
+ https://trade.cex.io/docs/#rest-public-api-calls-trade-history
507
+
498
508
  :param str symbol: unified symbol of the market to fetch trades for
499
509
  :param int [since]: timestamp in ms of the earliest trade to fetch
500
510
  :param int [limit]: the maximum amount of trades to fetch
@@ -569,7 +579,9 @@ class cex(Exchange, ImplicitAPI):
569
579
  def fetch_order_book(self, symbol: str, limit: Int = None, params={}) -> OrderBook:
570
580
  """
571
581
  fetches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
572
- :see: https://trade.cex.io/docs/#rest-public-api-calls-order-book
582
+
583
+ https://trade.cex.io/docs/#rest-public-api-calls-order-book
584
+
573
585
  :param str symbol: unified symbol of the market to fetch the order book for
574
586
  :param int [limit]: the maximum amount of order book entries to return
575
587
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -606,7 +618,9 @@ class cex(Exchange, ImplicitAPI):
606
618
  def fetch_ohlcv(self, symbol: str, timeframe='1m', since: Int = None, limit: Int = None, params={}) -> List[list]:
607
619
  """
608
620
  fetches historical candlestick data containing the open, high, low, and close price, and the volume of a market
609
- :see: https://trade.cex.io/docs/#rest-public-api-calls-candles
621
+
622
+ https://trade.cex.io/docs/#rest-public-api-calls-candles
623
+
610
624
  :param str symbol: unified symbol of the market to fetch OHLCV data for
611
625
  :param str timeframe: the length of time each candle represents
612
626
  :param int [since]: timestamp in ms of the earliest candle to fetch
@@ -675,7 +689,9 @@ class cex(Exchange, ImplicitAPI):
675
689
  def fetch_trading_fees(self, params={}) -> TradingFees:
676
690
  """
677
691
  fetch the trading fees for multiple markets
678
- :see: https://trade.cex.io/docs/#rest-public-api-calls-candles
692
+
693
+ https://trade.cex.io/docs/#rest-public-api-calls-candles
694
+
679
695
  :param dict [params]: extra parameters specific to the exchange API endpoint
680
696
  :returns dict: a dictionary of `fee structures <https://docs.ccxt.com/#/?id=fee-structure>` indexed by market symbols
681
697
  """
@@ -761,7 +777,9 @@ class cex(Exchange, ImplicitAPI):
761
777
  def fetch_balance(self, params={}) -> Balances:
762
778
  """
763
779
  query for balance and get the amount of funds available for trading or funds locked in orders
764
- :see: https://trade.cex.io/docs/#rest-private-api-calls-account-status-v3
780
+
781
+ https://trade.cex.io/docs/#rest-private-api-calls-account-status-v3
782
+
765
783
  :param dict [params]: extra parameters specific to the exchange API endpoint
766
784
  :param dict [params.method]: 'privatePostGetMyWalletBalance' or 'privatePostGetMyAccountStatusV3'
767
785
  :param dict [params.account]: in case 'privatePostGetMyAccountStatusV3' is chosen, self can specify the account name(default is empty string)
@@ -826,7 +844,10 @@ class cex(Exchange, ImplicitAPI):
826
844
  def fetch_orders_by_status(self, status: str, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
827
845
  """
828
846
  fetches information on multiple orders made by the user
829
- :see: https://trade.cex.io/docs/#rest-private-api-calls-orders
847
+
848
+ https://trade.cex.io/docs/#rest-private-api-calls-orders
849
+
850
+ :param str status: order status to fetch for
830
851
  :param str symbol: unified market symbol of the market orders were made in
831
852
  :param int [since]: the earliest time in ms to fetch orders for
832
853
  :param int [limit]: the maximum number of order structures to retrieve
@@ -900,7 +921,9 @@ class cex(Exchange, ImplicitAPI):
900
921
 
901
922
  def fetch_closed_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}):
902
923
  """
903
- :see: https://trade.cex.io/docs/#rest-private-api-calls-orders
924
+
925
+ https://trade.cex.io/docs/#rest-private-api-calls-orders
926
+
904
927
  fetches information on multiple canceled orders made by the user
905
928
  :param str symbol: unified market symbol of the market orders were made in
906
929
  :param int [since]: timestamp in ms of the earliest order, default is None
@@ -912,7 +935,9 @@ class cex(Exchange, ImplicitAPI):
912
935
 
913
936
  def fetch_open_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}):
914
937
  """
915
- :see: https://trade.cex.io/docs/#rest-private-api-calls-orders
938
+
939
+ https://trade.cex.io/docs/#rest-private-api-calls-orders
940
+
916
941
  fetches information on multiple canceled orders made by the user
917
942
  :param str symbol: unified market symbol of the market orders were made in
918
943
  :param int [since]: timestamp in ms of the earliest order, default is None
@@ -925,7 +950,9 @@ class cex(Exchange, ImplicitAPI):
925
950
  def fetch_open_order(self, id: str, symbol: Str = None, params={}):
926
951
  """
927
952
  fetches information on an open order made by the user
928
- :see: https://trade.cex.io/docs/#rest-private-api-calls-orders
953
+
954
+ https://trade.cex.io/docs/#rest-private-api-calls-orders
955
+
929
956
  :param str id: order id
930
957
  :param str [symbol]: unified symbol of the market the order was made in
931
958
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -941,7 +968,9 @@ class cex(Exchange, ImplicitAPI):
941
968
  def fetch_closed_order(self, id: str, symbol: Str = None, params={}):
942
969
  """
943
970
  fetches information on an closed order made by the user
944
- :see: https://trade.cex.io/docs/#rest-private-api-calls-orders
971
+
972
+ https://trade.cex.io/docs/#rest-private-api-calls-orders
973
+
945
974
  :param str id: order id
946
975
  :param str [symbol]: unified symbol of the market the order was made in
947
976
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -1042,7 +1071,9 @@ class cex(Exchange, ImplicitAPI):
1042
1071
  def create_order(self, symbol: str, type: OrderType, side: OrderSide, amount: float, price: Num = None, params={}):
1043
1072
  """
1044
1073
  create a trade order
1045
- :see: https://trade.cex.io/docs/#rest-private-api-calls-new-order
1074
+
1075
+ https://trade.cex.io/docs/#rest-private-api-calls-new-order
1076
+
1046
1077
  :param str symbol: unified symbol of the market to create an order in
1047
1078
  :param str type: 'market' or 'limit'
1048
1079
  :param str side: 'buy' or 'sell'
@@ -1133,7 +1164,9 @@ class cex(Exchange, ImplicitAPI):
1133
1164
  def cancel_order(self, id: str, symbol: Str = None, params={}):
1134
1165
  """
1135
1166
  cancels an open order
1136
- :see: https://trade.cex.io/docs/#rest-private-api-calls-cancel-order
1167
+
1168
+ https://trade.cex.io/docs/#rest-private-api-calls-cancel-order
1169
+
1137
1170
  :param str id: order id
1138
1171
  :param str symbol: unified symbol of the market the order was made in
1139
1172
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -1155,7 +1188,9 @@ class cex(Exchange, ImplicitAPI):
1155
1188
  def cancel_all_orders(self, symbol: Str = None, params={}):
1156
1189
  """
1157
1190
  cancel all open orders in a market
1158
- :see: https://trade.cex.io/docs/#rest-private-api-calls-cancel-all-orders
1191
+
1192
+ https://trade.cex.io/docs/#rest-private-api-calls-cancel-all-orders
1193
+
1159
1194
  :param str symbol: alpaca cancelAllOrders cannot setting symbol, it will cancel all open orders
1160
1195
  :param dict [params]: extra parameters specific to the exchange API endpoint
1161
1196
  :returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
@@ -1183,7 +1218,9 @@ class cex(Exchange, ImplicitAPI):
1183
1218
  def fetch_ledger(self, code: Str = None, since: Int = None, limit: Int = None, params={}) -> List[LedgerEntry]:
1184
1219
  """
1185
1220
  fetch the history of changes, actions done by the user or operations that altered the balance of the user
1186
- :see: https://trade.cex.io/docs/#rest-private-api-calls-transaction-history
1221
+
1222
+ https://trade.cex.io/docs/#rest-private-api-calls-transaction-history
1223
+
1187
1224
  :param str [code]: unified currency code
1188
1225
  :param int [since]: timestamp in ms of the earliest ledger entry
1189
1226
  :param int [limit]: max number of ledger entries to return
@@ -1267,7 +1304,9 @@ class cex(Exchange, ImplicitAPI):
1267
1304
  def fetch_deposits_withdrawals(self, code: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Transaction]:
1268
1305
  """
1269
1306
  fetch history of deposits and withdrawals
1270
- :see: https://trade.cex.io/docs/#rest-private-api-calls-funding-history
1307
+
1308
+ https://trade.cex.io/docs/#rest-private-api-calls-funding-history
1309
+
1271
1310
  :param str [code]: unified currency code for the currency of the deposit/withdrawals, default is None
1272
1311
  :param int [since]: timestamp in ms of the earliest deposit/withdrawal, default is None
1273
1312
  :param int [limit]: max number of deposit/withdrawals to return, default is None
@@ -1353,7 +1392,9 @@ class cex(Exchange, ImplicitAPI):
1353
1392
  def transfer(self, code: str, amount: float, fromAccount: str, toAccount: str, params={}) -> TransferEntry:
1354
1393
  """
1355
1394
  transfer currency internally between wallets on the same account
1356
- :see: https://trade.cex.io/docs/#rest-private-api-calls-internal-transfer
1395
+
1396
+ https://trade.cex.io/docs/#rest-private-api-calls-internal-transfer
1397
+
1357
1398
  :param str code: unified currency code
1358
1399
  :param float amount: amount to transfer
1359
1400
  :param str fromAccount: 'SPOT', 'FUND', or 'CONTRACT'
@@ -1466,7 +1507,9 @@ class cex(Exchange, ImplicitAPI):
1466
1507
  def fetch_deposit_address(self, code: str, params={}) -> DepositAddress:
1467
1508
  """
1468
1509
  fetch the deposit address for a currency associated with self account
1469
- :see: https://trade.cex.io/docs/#rest-private-api-calls-deposit-address
1510
+
1511
+ https://trade.cex.io/docs/#rest-private-api-calls-deposit-address
1512
+
1470
1513
  :param str code: unified currency code
1471
1514
  :param dict [params]: extra parameters specific to the exchange API endpoint
1472
1515
  :param str [params.accountId]: account-id(default to empty string) to refer to(at self moment, only sub-accounts allowed by exchange)