ccxt 4.4.29__py2.py3-none-any.whl → 4.4.31__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 (273) hide show
  1. ccxt/__init__.py +1 -1
  2. ccxt/abstract/alpaca.py +1 -0
  3. ccxt/abstract/binance.py +9 -0
  4. ccxt/abstract/binancecoinm.py +9 -0
  5. ccxt/abstract/binanceus.py +9 -0
  6. ccxt/abstract/binanceusdm.py +9 -0
  7. ccxt/ace.py +36 -12
  8. ccxt/alpaca.py +113 -28
  9. ccxt/ascendex.py +65 -30
  10. ccxt/async_support/__init__.py +1 -1
  11. ccxt/async_support/ace.py +36 -12
  12. ccxt/async_support/alpaca.py +113 -28
  13. ccxt/async_support/ascendex.py +65 -30
  14. ccxt/async_support/base/exchange.py +3 -3
  15. ccxt/async_support/bigone.py +71 -27
  16. ccxt/async_support/binance.py +564 -323
  17. ccxt/async_support/bingx.py +208 -108
  18. ccxt/async_support/bit2c.py +34 -12
  19. ccxt/async_support/bitbank.py +42 -14
  20. ccxt/async_support/bitbns.py +29 -21
  21. ccxt/async_support/bitfinex.py +77 -33
  22. ccxt/async_support/bitfinex2.py +116 -44
  23. ccxt/async_support/bitflyer.py +54 -18
  24. ccxt/async_support/bitget.py +277 -145
  25. ccxt/async_support/bithumb.py +39 -14
  26. ccxt/async_support/bitmart.py +198 -132
  27. ccxt/async_support/bitmex.py +90 -30
  28. ccxt/async_support/bitopro.py +66 -22
  29. ccxt/async_support/bitrue.py +109 -57
  30. ccxt/async_support/bitso.py +55 -19
  31. ccxt/async_support/bitstamp.py +84 -36
  32. ccxt/async_support/bitteam.py +51 -17
  33. ccxt/async_support/bitvavo.py +57 -19
  34. ccxt/async_support/bl3p.py +26 -10
  35. ccxt/async_support/blockchaincom.py +63 -21
  36. ccxt/async_support/blofin.py +95 -38
  37. ccxt/async_support/btcalpha.py +48 -16
  38. ccxt/async_support/btcbox.py +27 -9
  39. ccxt/async_support/btcmarkets.py +57 -19
  40. ccxt/async_support/btcturk.py +36 -12
  41. ccxt/async_support/bybit.py +251 -95
  42. ccxt/async_support/cex.py +65 -22
  43. ccxt/async_support/coinbase.py +138 -56
  44. ccxt/async_support/coinbaseexchange.py +76 -28
  45. ccxt/async_support/coinbaseinternational.py +75 -27
  46. ccxt/async_support/coincatch.py +191 -97
  47. ccxt/async_support/coincheck.py +33 -11
  48. ccxt/async_support/coinex.py +212 -101
  49. ccxt/async_support/coinlist.py +87 -30
  50. ccxt/async_support/coinmate.py +55 -24
  51. ccxt/async_support/coinmetro.py +52 -18
  52. ccxt/async_support/coinone.py +27 -10
  53. ccxt/async_support/coinsph.py +73 -27
  54. ccxt/async_support/coinspot.py +25 -9
  55. ccxt/async_support/cryptocom.py +103 -38
  56. ccxt/async_support/currencycom.py +70 -23
  57. ccxt/async_support/delta.py +90 -30
  58. ccxt/async_support/deribit.py +138 -53
  59. ccxt/async_support/digifinex.py +114 -51
  60. ccxt/async_support/exmo.py +104 -45
  61. ccxt/async_support/gate.py +298 -155
  62. ccxt/async_support/gemini.py +57 -20
  63. ccxt/async_support/hashkey.py +151 -66
  64. ccxt/async_support/hitbtc.py +156 -73
  65. ccxt/async_support/hollaex.py +76 -25
  66. ccxt/async_support/htx.py +297 -240
  67. ccxt/async_support/huobijp.py +1 -0
  68. ccxt/async_support/hyperliquid.py +203 -42
  69. ccxt/async_support/idex.py +73 -24
  70. ccxt/async_support/independentreserve.py +12 -5
  71. ccxt/async_support/indodax.py +53 -16
  72. ccxt/async_support/kraken.py +107 -35
  73. ccxt/async_support/krakenfutures.py +88 -34
  74. ccxt/async_support/kucoin.py +211 -109
  75. ccxt/async_support/kucoinfutures.py +119 -42
  76. ccxt/async_support/kuna.py +80 -39
  77. ccxt/async_support/latoken.py +70 -33
  78. ccxt/async_support/lbank.py +90 -39
  79. ccxt/async_support/luno.py +54 -19
  80. ccxt/async_support/lykke.py +54 -19
  81. ccxt/async_support/mercado.py +1 -0
  82. ccxt/async_support/mexc.py +226 -108
  83. ccxt/async_support/ndax.py +58 -19
  84. ccxt/async_support/novadax.py +67 -22
  85. ccxt/async_support/oceanex.py +58 -19
  86. ccxt/async_support/okcoin.py +81 -38
  87. ccxt/async_support/okx.py +270 -109
  88. ccxt/async_support/onetrading.py +3 -1
  89. ccxt/async_support/oxfun.py +95 -36
  90. ccxt/async_support/p2b.py +49 -23
  91. ccxt/async_support/paradex.py +75 -27
  92. ccxt/async_support/paymium.py +31 -11
  93. ccxt/async_support/phemex.py +91 -41
  94. ccxt/async_support/poloniex.py +80 -30
  95. ccxt/async_support/poloniexfutures.py +72 -30
  96. ccxt/async_support/probit.py +64 -22
  97. ccxt/async_support/timex.py +58 -19
  98. ccxt/async_support/tokocrypto.py +63 -22
  99. ccxt/async_support/tradeogre.py +7 -2
  100. ccxt/async_support/upbit.py +72 -25
  101. ccxt/async_support/vertex.py +74 -28
  102. ccxt/async_support/wavesexchange.py +29 -8
  103. ccxt/async_support/wazirx.py +51 -17
  104. ccxt/async_support/whitebit.py +105 -41
  105. ccxt/async_support/woo.py +162 -65
  106. ccxt/async_support/woofipro.py +118 -49
  107. ccxt/async_support/xt.py +150 -73
  108. ccxt/async_support/yobit.py +49 -16
  109. ccxt/async_support/zaif.py +30 -10
  110. ccxt/async_support/zonda.py +46 -16
  111. ccxt/base/exchange.py +34 -34
  112. ccxt/base/types.py +1 -0
  113. ccxt/bigone.py +71 -27
  114. ccxt/binance.py +564 -323
  115. ccxt/bingx.py +208 -108
  116. ccxt/bit2c.py +34 -12
  117. ccxt/bitbank.py +42 -14
  118. ccxt/bitbns.py +29 -21
  119. ccxt/bitfinex.py +77 -33
  120. ccxt/bitfinex2.py +116 -44
  121. ccxt/bitflyer.py +54 -18
  122. ccxt/bitget.py +277 -145
  123. ccxt/bithumb.py +39 -14
  124. ccxt/bitmart.py +198 -132
  125. ccxt/bitmex.py +90 -30
  126. ccxt/bitopro.py +66 -22
  127. ccxt/bitrue.py +109 -57
  128. ccxt/bitso.py +55 -19
  129. ccxt/bitstamp.py +84 -36
  130. ccxt/bitteam.py +51 -17
  131. ccxt/bitvavo.py +57 -19
  132. ccxt/bl3p.py +26 -10
  133. ccxt/blockchaincom.py +63 -21
  134. ccxt/blofin.py +95 -38
  135. ccxt/btcalpha.py +48 -16
  136. ccxt/btcbox.py +27 -9
  137. ccxt/btcmarkets.py +57 -19
  138. ccxt/btcturk.py +36 -12
  139. ccxt/bybit.py +251 -95
  140. ccxt/cex.py +65 -22
  141. ccxt/coinbase.py +138 -56
  142. ccxt/coinbaseexchange.py +76 -28
  143. ccxt/coinbaseinternational.py +75 -27
  144. ccxt/coincatch.py +191 -97
  145. ccxt/coincheck.py +33 -11
  146. ccxt/coinex.py +212 -101
  147. ccxt/coinlist.py +87 -30
  148. ccxt/coinmate.py +55 -24
  149. ccxt/coinmetro.py +52 -18
  150. ccxt/coinone.py +27 -10
  151. ccxt/coinsph.py +73 -27
  152. ccxt/coinspot.py +25 -9
  153. ccxt/cryptocom.py +103 -38
  154. ccxt/currencycom.py +70 -23
  155. ccxt/delta.py +90 -30
  156. ccxt/deribit.py +138 -53
  157. ccxt/digifinex.py +114 -51
  158. ccxt/exmo.py +104 -45
  159. ccxt/gate.py +298 -155
  160. ccxt/gemini.py +57 -20
  161. ccxt/hashkey.py +151 -66
  162. ccxt/hitbtc.py +156 -73
  163. ccxt/hollaex.py +76 -25
  164. ccxt/htx.py +297 -240
  165. ccxt/huobijp.py +1 -0
  166. ccxt/hyperliquid.py +203 -42
  167. ccxt/idex.py +73 -24
  168. ccxt/independentreserve.py +12 -5
  169. ccxt/indodax.py +53 -16
  170. ccxt/kraken.py +107 -35
  171. ccxt/krakenfutures.py +88 -34
  172. ccxt/kucoin.py +211 -109
  173. ccxt/kucoinfutures.py +119 -42
  174. ccxt/kuna.py +80 -39
  175. ccxt/latoken.py +70 -33
  176. ccxt/lbank.py +90 -39
  177. ccxt/luno.py +54 -19
  178. ccxt/lykke.py +54 -19
  179. ccxt/mercado.py +1 -0
  180. ccxt/mexc.py +226 -108
  181. ccxt/ndax.py +58 -19
  182. ccxt/novadax.py +67 -22
  183. ccxt/oceanex.py +58 -19
  184. ccxt/okcoin.py +81 -38
  185. ccxt/okx.py +270 -109
  186. ccxt/onetrading.py +3 -1
  187. ccxt/oxfun.py +95 -36
  188. ccxt/p2b.py +49 -23
  189. ccxt/paradex.py +75 -27
  190. ccxt/paymium.py +31 -11
  191. ccxt/phemex.py +91 -41
  192. ccxt/poloniex.py +80 -30
  193. ccxt/poloniexfutures.py +72 -30
  194. ccxt/pro/__init__.py +1 -1
  195. ccxt/pro/alpaca.py +15 -5
  196. ccxt/pro/ascendex.py +18 -6
  197. ccxt/pro/binance.py +200 -119
  198. ccxt/pro/bingx.py +44 -24
  199. ccxt/pro/bitfinex.py +13 -5
  200. ccxt/pro/bitget.py +75 -36
  201. ccxt/pro/bithumb.py +12 -4
  202. ccxt/pro/bitmart.py +44 -20
  203. ccxt/pro/bitmex.py +42 -14
  204. ccxt/pro/bitopro.py +15 -5
  205. ccxt/pro/bitrue.py +7 -3
  206. ccxt/pro/bitvavo.py +51 -17
  207. ccxt/pro/blockchaincom.py +18 -6
  208. ccxt/pro/blofin.py +38 -13
  209. ccxt/pro/bybit.py +100 -42
  210. ccxt/pro/cex.py +48 -16
  211. ccxt/pro/coinbase.py +32 -12
  212. ccxt/pro/coinbaseexchange.py +1 -1
  213. ccxt/pro/coinbaseinternational.py +34 -14
  214. ccxt/pro/coincatch.py +54 -19
  215. ccxt/pro/coincheck.py +6 -2
  216. ccxt/pro/coinex.py +40 -20
  217. ccxt/pro/coinone.py +9 -3
  218. ccxt/pro/cryptocom.py +70 -26
  219. ccxt/pro/deribit.py +36 -12
  220. ccxt/pro/exmo.py +10 -4
  221. ccxt/pro/gate.py +64 -30
  222. ccxt/pro/gemini.py +21 -7
  223. ccxt/pro/hashkey.py +26 -8
  224. ccxt/pro/hitbtc.py +61 -37
  225. ccxt/pro/hollaex.py +15 -5
  226. ccxt/pro/htx.py +39 -21
  227. ccxt/pro/hyperliquid.py +41 -14
  228. ccxt/pro/kraken.py +49 -17
  229. ccxt/pro/krakenfutures.py +47 -24
  230. ccxt/pro/kucoin.py +60 -31
  231. ccxt/pro/kucoinfutures.py +41 -19
  232. ccxt/pro/lbank.py +27 -9
  233. ccxt/pro/luno.py +3 -1
  234. ccxt/pro/mexc.py +35 -17
  235. ccxt/pro/ndax.py +12 -4
  236. ccxt/pro/okcoin.py +18 -6
  237. ccxt/pro/okx.py +76 -28
  238. ccxt/pro/onetrading.py +21 -7
  239. ccxt/pro/oxfun.py +54 -20
  240. ccxt/pro/p2b.py +23 -11
  241. ccxt/pro/paradex.py +12 -4
  242. ccxt/pro/phemex.py +31 -19
  243. ccxt/pro/poloniex.py +50 -22
  244. ccxt/pro/poloniexfutures.py +17 -7
  245. ccxt/pro/probit.py +18 -6
  246. ccxt/pro/upbit.py +25 -9
  247. ccxt/pro/vertex.py +20 -6
  248. ccxt/pro/wazirx.py +21 -7
  249. ccxt/pro/whitebit.py +25 -9
  250. ccxt/pro/woo.py +32 -12
  251. ccxt/pro/woofipro.py +35 -13
  252. ccxt/pro/xt.py +46 -26
  253. ccxt/probit.py +64 -22
  254. ccxt/test/tests_helpers.py +2 -2
  255. ccxt/timex.py +58 -19
  256. ccxt/tokocrypto.py +63 -22
  257. ccxt/tradeogre.py +7 -2
  258. ccxt/upbit.py +72 -25
  259. ccxt/vertex.py +74 -28
  260. ccxt/wavesexchange.py +29 -8
  261. ccxt/wazirx.py +51 -17
  262. ccxt/whitebit.py +105 -41
  263. ccxt/woo.py +162 -65
  264. ccxt/woofipro.py +118 -49
  265. ccxt/xt.py +150 -73
  266. ccxt/yobit.py +49 -16
  267. ccxt/zaif.py +30 -10
  268. ccxt/zonda.py +46 -16
  269. {ccxt-4.4.29.dist-info → ccxt-4.4.31.dist-info}/METADATA +5 -5
  270. {ccxt-4.4.29.dist-info → ccxt-4.4.31.dist-info}/RECORD +273 -273
  271. {ccxt-4.4.29.dist-info → ccxt-4.4.31.dist-info}/LICENSE.txt +0 -0
  272. {ccxt-4.4.29.dist-info → ccxt-4.4.31.dist-info}/WHEEL +0 -0
  273. {ccxt-4.4.29.dist-info → ccxt-4.4.31.dist-info}/top_level.txt +0 -0
ccxt/coincatch.py CHANGED
@@ -501,7 +501,9 @@ class coincatch(Exchange, ImplicitAPI):
501
501
  def fetch_time(self, params={}):
502
502
  """
503
503
  fetches the current integer timestamp in milliseconds from the exchange server
504
- :see: https://coincatch.github.io/github.io/en/spot/#get-server-time
504
+
505
+ https://coincatch.github.io/github.io/en/spot/#get-server-time
506
+
505
507
  :param dict [params]: extra parameters specific to the exchange API endpoint
506
508
  :returns int: the current integer timestamp in milliseconds from the exchange server
507
509
  """
@@ -519,7 +521,9 @@ class coincatch(Exchange, ImplicitAPI):
519
521
  def fetch_currencies(self, params={}) -> Currencies:
520
522
  """
521
523
  fetches all available currencies on an exchange
522
- :see: https://coincatch.github.io/github.io/en/spot/#get-coin-list
524
+
525
+ https://coincatch.github.io/github.io/en/spot/#get-coin-list
526
+
523
527
  :param dict [params]: extra parameters specific to the exchange API endpoint
524
528
  :returns dict: an associative dictionary of currencies
525
529
  """
@@ -635,8 +639,10 @@ class coincatch(Exchange, ImplicitAPI):
635
639
  def fetch_markets(self, params={}) -> List[Market]:
636
640
  """
637
641
  retrieves data on all markets for the exchange
638
- :see: https://coincatch.github.io/github.io/en/spot/#get-all-tickers
639
- :see: https://coincatch.github.io/github.io/en/mix/#get-all-symbols
642
+
643
+ https://coincatch.github.io/github.io/en/spot/#get-all-tickers
644
+ https://coincatch.github.io/github.io/en/mix/#get-all-symbols
645
+
640
646
  :param dict [params]: extra parameters specific to the exchange API endpoint
641
647
  :returns dict[]: an array of objects representing market data
642
648
  """
@@ -939,8 +945,10 @@ class coincatch(Exchange, ImplicitAPI):
939
945
  def fetch_ticker(self, symbol: str, params={}) -> Ticker:
940
946
  """
941
947
  fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
942
- :see: https://coincatch.github.io/github.io/en/spot/#get-single-ticker
943
- :see: https://coincatch.github.io/github.io/en/mix/#get-single-symbol-ticker
948
+
949
+ https://coincatch.github.io/github.io/en/spot/#get-single-ticker
950
+ https://coincatch.github.io/github.io/en/mix/#get-single-symbol-ticker
951
+
944
952
  :param str symbol: unified symbol of the market to fetch the ticker for
945
953
  :param dict [params]: extra parameters specific to the exchange API endpoint
946
954
  :returns dict: a `ticker structure <https://docs.ccxt.com/#/?id=ticker-structure>`
@@ -1017,8 +1025,10 @@ class coincatch(Exchange, ImplicitAPI):
1017
1025
  def fetch_tickers(self, symbols: Strings = None, params={}) -> Tickers:
1018
1026
  """
1019
1027
  fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
1020
- :see: https://coincatch.github.io/github.io/en/spot/#get-all-tickers
1021
- :see: https://coincatch.github.io/github.io/en/mix/#get-all-symbol-ticker
1028
+
1029
+ https://coincatch.github.io/github.io/en/spot/#get-all-tickers
1030
+ https://coincatch.github.io/github.io/en/mix/#get-all-symbol-ticker
1031
+
1022
1032
  :param str[] [symbols]: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
1023
1033
  :param dict [params]: extra parameters specific to the exchange API endpoint
1024
1034
  :param str [params.type]: 'spot' or 'swap'(default 'spot')
@@ -1186,8 +1196,10 @@ class coincatch(Exchange, ImplicitAPI):
1186
1196
  def fetch_order_book(self, symbol: str, limit: Int = None, params={}) -> OrderBook:
1187
1197
  """
1188
1198
  fetches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
1189
- :see: https://coincatch.github.io/github.io/en/spot/#get-merged-depth-data
1190
- :see: https://coincatch.github.io/github.io/en/mix/#get-merged-depth-data
1199
+
1200
+ https://coincatch.github.io/github.io/en/spot/#get-merged-depth-data
1201
+ https://coincatch.github.io/github.io/en/mix/#get-merged-depth-data
1202
+
1191
1203
  :param str symbol: unified symbol of the market to fetch the order book for
1192
1204
  :param int [limit]: the maximum amount of order book entries to return(maximum and default value is 100)
1193
1205
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -1234,8 +1246,10 @@ class coincatch(Exchange, ImplicitAPI):
1234
1246
 
1235
1247
  def fetch_ohlcv(self, symbol: str, timeframe='1m', since: Int = None, limit: Int = None, params={}) -> List[list]:
1236
1248
  """
1237
- :see: https://coincatch.github.io/github.io/en/spot/#get-candle-data
1238
- :see: https://coincatch.github.io/github.io/en/mix/#get-candle-data
1249
+
1250
+ https://coincatch.github.io/github.io/en/spot/#get-candle-data
1251
+ https://coincatch.github.io/github.io/en/mix/#get-candle-data
1252
+
1239
1253
  fetches historical candlestick data containing the open, high, low, and close price, and the volume of a market
1240
1254
  :param str symbol: unified symbol of the market to fetch OHLCV data for
1241
1255
  :param str timeframe: the length of time each candle represents
@@ -1338,8 +1352,10 @@ class coincatch(Exchange, ImplicitAPI):
1338
1352
  def fetch_trades(self, symbol: str, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
1339
1353
  """
1340
1354
  get the list of most recent trades for a particular symbol
1341
- :see: https://coincatch.github.io/github.io/en/spot/#get-recent-trades
1342
- :see: https://coincatch.github.io/github.io/en/mix/#get-fills
1355
+
1356
+ https://coincatch.github.io/github.io/en/spot/#get-recent-trades
1357
+ https://coincatch.github.io/github.io/en/mix/#get-fills
1358
+
1343
1359
  :param str symbol: unified symbol of the market to fetch trades for
1344
1360
  :param int [since]: timestamp in ms of the earliest trade to fetch
1345
1361
  :param int [limit]: the maximum amount of trades to fetch
@@ -1500,7 +1516,9 @@ class coincatch(Exchange, ImplicitAPI):
1500
1516
  def fetch_funding_rate(self, symbol: str, params={}) -> FundingRate:
1501
1517
  """
1502
1518
  fetch the current funding rate
1503
- :see: https://coincatch.github.io/github.io/en/mix/#get-current-funding-rate
1519
+
1520
+ https://coincatch.github.io/github.io/en/mix/#get-current-funding-rate
1521
+
1504
1522
  :param str symbol: unified market symbol
1505
1523
  :param dict [params]: extra parameters specific to the exchange API endpoint
1506
1524
  :returns dict: a `funding rate structure <https://docs.ccxt.com/#/?id=funding-rate-structure>`
@@ -1561,7 +1579,9 @@ class coincatch(Exchange, ImplicitAPI):
1561
1579
  def fetch_funding_rate_history(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}):
1562
1580
  """
1563
1581
  fetches historical funding rate prices
1564
- :see: https://coincatch.github.io/github.io/en/mix/#get-history-funding-rate
1582
+
1583
+ https://coincatch.github.io/github.io/en/mix/#get-history-funding-rate
1584
+
1565
1585
  :param str symbol: unified symbol of the market to fetch the funding rate history for
1566
1586
  :param int [since]: timestamp in ms of the earliest funding rate to fetch
1567
1587
  :param int [limit]: the maximum amount of entries to fetch
@@ -1616,7 +1636,9 @@ class coincatch(Exchange, ImplicitAPI):
1616
1636
  def fetch_balance(self, params={}) -> Balances:
1617
1637
  """
1618
1638
  query for balance and get the amount of funds available for trading or funds locked in orders
1619
- :see: https://coincatch.github.io/github.io/en/spot/#get-account-assets
1639
+
1640
+ https://coincatch.github.io/github.io/en/spot/#get-account-assets
1641
+
1620
1642
  :param dict [params]: extra parameters specific to the exchange API endpoint
1621
1643
  :param str [params.type]: 'spot' or 'swap' - the type of the market to fetch balance for(default 'spot')
1622
1644
  :param str [params.productType]: *swap only* 'umcbl' or 'dmcbl'(default 'umcbl')
@@ -1624,8 +1646,8 @@ class coincatch(Exchange, ImplicitAPI):
1624
1646
  """
1625
1647
  self.load_markets()
1626
1648
  methodName = 'fetchBalance'
1627
- marketType = 'spot'
1628
- marketType, params = self.handle_market_type_and_params(methodName, None, params, marketType)
1649
+ marketType = None
1650
+ marketType, params = self.handle_market_type_and_params(methodName, None, params)
1629
1651
  response = None
1630
1652
  if marketType == 'spot':
1631
1653
  #
@@ -1736,7 +1758,9 @@ class coincatch(Exchange, ImplicitAPI):
1736
1758
  def transfer(self, code: str, amount: float, fromAccount: str, toAccount: str, params={}) -> TransferEntry:
1737
1759
  """
1738
1760
  transfer currency internally between wallets on the same account
1739
- :see: https://coincatch.github.io/github.io/en/spot/#transfer
1761
+
1762
+ https://coincatch.github.io/github.io/en/spot/#transfer
1763
+
1740
1764
  :param str code: unified currency code
1741
1765
  :param float amount: amount to transfer
1742
1766
  :param str fromAccount: 'spot' or 'swap' or 'mix_usdt' or 'mix_usd' - account to transfer from
@@ -1802,10 +1826,12 @@ class coincatch(Exchange, ImplicitAPI):
1802
1826
  def fetch_deposit_address(self, code: str, params={}) -> DepositAddress:
1803
1827
  """
1804
1828
  fetch the deposit address for a currency associated with self account
1805
- :see: https://coincatch.github.io/github.io/en/spot/#get-coin-address
1829
+
1830
+ https://coincatch.github.io/github.io/en/spot/#get-coin-address
1831
+
1806
1832
  :param str code: unified currency code
1807
- :param str [params.network]: network for fetch deposit address
1808
1833
  :param dict [params]: extra parameters specific to the exchange API endpoint
1834
+ :param str [params.network]: network for fetch deposit address
1809
1835
  :returns dict: an `address structure <https://docs.ccxt.com/#/?id=address-structure>`
1810
1836
  """
1811
1837
  self.load_markets()
@@ -1865,7 +1891,9 @@ class coincatch(Exchange, ImplicitAPI):
1865
1891
  def fetch_deposits(self, code: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Transaction]:
1866
1892
  """
1867
1893
  fetch all deposits made to an account
1868
- :see: https://coincatch.github.io/github.io/en/spot/#get-deposit-list
1894
+
1895
+ https://coincatch.github.io/github.io/en/spot/#get-deposit-list
1896
+
1869
1897
  :param str code: unified currency code of the currency transferred
1870
1898
  :param int [since]: the earliest time in ms to fetch transfers for(default 24 hours ago)
1871
1899
  :param int [limit]: the maximum number of transfer structures to retrieve(not used by exchange)
@@ -1922,7 +1950,9 @@ class coincatch(Exchange, ImplicitAPI):
1922
1950
  def fetch_withdrawals(self, code: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Transaction]:
1923
1951
  """
1924
1952
  fetch all withdrawals made from an account
1925
- :see: https://coincatch.github.io/github.io/en/spot/#get-withdraw-list-v2
1953
+
1954
+ https://coincatch.github.io/github.io/en/spot/#get-withdraw-list-v2
1955
+
1926
1956
  :param str code: unified currency code of the currency transferred
1927
1957
  :param int [since]: the earliest time in ms to fetch transfers for(default 24 hours ago)
1928
1958
  :param int [limit]: the maximum number of transfer structures to retrieve(default 50, max 200)
@@ -1957,7 +1987,9 @@ class coincatch(Exchange, ImplicitAPI):
1957
1987
  def withdraw(self, code: str, amount: float, address: str, tag=None, params={}) -> Transaction:
1958
1988
  """
1959
1989
  make a withdrawal
1960
- :see: https://coincatch.github.io/github.io/en/spot/#withdraw
1990
+
1991
+ https://coincatch.github.io/github.io/en/spot/#withdraw
1992
+
1961
1993
  :param str code: unified currency code
1962
1994
  :param float amount: the amount to withdraw
1963
1995
  :param str address: the address to withdraw to
@@ -2077,7 +2109,9 @@ class coincatch(Exchange, ImplicitAPI):
2077
2109
  def create_market_buy_order_with_cost(self, symbol: str, cost: float, params={}):
2078
2110
  """
2079
2111
  create a market buy order by providing the symbol and cost
2080
- :see: https://coincatch.github.io/github.io/en/spot/#place-order
2112
+
2113
+ https://coincatch.github.io/github.io/en/spot/#place-order
2114
+
2081
2115
  :param str symbol: unified symbol of the market to create an order in
2082
2116
  :param float cost: how much you want to trade in units of the quote currency
2083
2117
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -2095,10 +2129,12 @@ class coincatch(Exchange, ImplicitAPI):
2095
2129
  def create_order(self, symbol: str, type: OrderType, side: OrderSide, amount: float, price: Num = None, params={}) -> Order:
2096
2130
  """
2097
2131
  create a trade order
2098
- :see: https://coincatch.github.io/github.io/en/spot/#place-order
2099
- :see: https://coincatch.github.io/github.io/en/spot/#place-plan-order
2100
- :see: https://coincatch.github.io/github.io/en/mix/#place-order
2101
- :see: https://coincatch.github.io/github.io/en/mix/#place-plan-order
2132
+
2133
+ https://coincatch.github.io/github.io/en/spot/#place-order
2134
+ https://coincatch.github.io/github.io/en/spot/#place-plan-order
2135
+ https://coincatch.github.io/github.io/en/mix/#place-order
2136
+ https://coincatch.github.io/github.io/en/mix/#place-plan-order
2137
+
2102
2138
  :param str symbol: unified symbol of the market to create an order in
2103
2139
  :param str type: 'market' or 'limit' or 'LIMIT_MAKER' for spot, 'market' or 'limit' or 'STOP' for swap
2104
2140
  :param str side: 'buy' or 'sell'
@@ -2125,8 +2161,10 @@ class coincatch(Exchange, ImplicitAPI):
2125
2161
  def create_spot_order(self, symbol: str, type: OrderType, side: OrderSide, amount: float, price: Num = None, params={}) -> Order:
2126
2162
  """
2127
2163
  create a trade order on spot market
2128
- :see: https://coincatch.github.io/github.io/en/spot/#place-order
2129
- :see: https://coincatch.github.io/github.io/en/spot/#place-plan-order
2164
+
2165
+ https://coincatch.github.io/github.io/en/spot/#place-order
2166
+ https://coincatch.github.io/github.io/en/spot/#place-plan-order
2167
+
2130
2168
  :param str symbol: unified symbol of the market to create an order in
2131
2169
  :param str type: 'market' or 'limit'
2132
2170
  :param str side: 'buy' or 'sell'
@@ -2166,7 +2204,7 @@ class coincatch(Exchange, ImplicitAPI):
2166
2204
 
2167
2205
  def create_spot_order_request(self, symbol: str, type: OrderType, side: OrderSide, amount: float, price: Num = None, params={}) -> dict:
2168
2206
  """
2169
- * @ignore
2207
+ @ignore
2170
2208
  helper function to build request
2171
2209
  :param str symbol: unified symbol of the market to create an order in
2172
2210
  :param str type: 'market' or 'limit'
@@ -2270,9 +2308,11 @@ class coincatch(Exchange, ImplicitAPI):
2270
2308
  def create_swap_order(self, symbol: str, type: OrderType, side: OrderSide, amount: float, price: Num = None, params={}) -> Order:
2271
2309
  """
2272
2310
  create a trade order on swap market
2273
- :see: https://coincatch.github.io/github.io/en/mix/#place-order
2274
- :see: https://coincatch.github.io/github.io/en/mix/#place-plan-order
2275
- :see: https://coincatch.github.io/github.io/en/mix/#place-stop-order
2311
+
2312
+ https://coincatch.github.io/github.io/en/mix/#place-order
2313
+ https://coincatch.github.io/github.io/en/mix/#place-plan-order
2314
+ https://coincatch.github.io/github.io/en/mix/#place-stop-order
2315
+
2276
2316
  :param str symbol: unified symbol of the market to create an order in
2277
2317
  :param str type: 'market' or 'limit'
2278
2318
  :param str side: 'buy' or 'sell'
@@ -2322,7 +2362,7 @@ class coincatch(Exchange, ImplicitAPI):
2322
2362
 
2323
2363
  def create_swap_order_request(self, symbol: str, type: OrderType, side: OrderSide, amount: float, price: Num = None, params={}) -> dict:
2324
2364
  """
2325
- * @ignore
2365
+ @ignore
2326
2366
  helper function to build request
2327
2367
  :param str symbol: unified symbol of the market to create an order in
2328
2368
  :param str type: 'market' or 'limit'
@@ -2487,8 +2527,10 @@ class coincatch(Exchange, ImplicitAPI):
2487
2527
  def create_orders(self, orders: List[OrderRequest], params={}):
2488
2528
  """
2489
2529
  create a list of trade orders(all orders should be of the same symbol)
2490
- :see: https://hashkeyglobal-apidoc.readme.io/reference/create-multiple-orders
2491
- :see: https://hashkeyglobal-apidoc.readme.io/reference/batch-create-new-futures-order
2530
+
2531
+ https://hashkeyglobal-apidoc.readme.io/reference/create-multiple-orders
2532
+ https://hashkeyglobal-apidoc.readme.io/reference/batch-create-new-futures-order
2533
+
2492
2534
  :param Array orders: list of orders to create, each object should contain the parameters required by createOrder, namely symbol, type, side, amount, price and params(max 50 entries)
2493
2535
  :param dict [params]: extra parameters specific to the api endpoint
2494
2536
  :returns dict: an `order structure <https://docs.ccxt.com/#/?id=order-structure>`
@@ -2611,7 +2653,9 @@ class coincatch(Exchange, ImplicitAPI):
2611
2653
  def edit_order(self, id: str, symbol: str, type: OrderType, side: OrderSide, amount: Num = None, price: Num = None, params={}):
2612
2654
  """
2613
2655
  edit a trade trigger, stop-looss or take-profit order
2614
- :see: https://coincatch.github.io/github.io/en/spot/#modify-plan-order
2656
+
2657
+ https://coincatch.github.io/github.io/en/spot/#modify-plan-order
2658
+
2615
2659
  :param str id: order id
2616
2660
  :param str symbol: unified symbol of the market to create an order in
2617
2661
  :param str type: 'market' or 'limit'
@@ -2634,9 +2678,11 @@ class coincatch(Exchange, ImplicitAPI):
2634
2678
 
2635
2679
  def edit_spot_order(self, id: str, symbol: str, type: OrderType, side: OrderSide, amount: float, price: Num = None, params={}):
2636
2680
  """
2637
- * @ignore
2681
+ @ignore
2638
2682
  edit a trade order
2639
- :see: https://coincatch.github.io/github.io/en/spot/#modify-plan-order
2683
+
2684
+ https://coincatch.github.io/github.io/en/spot/#modify-plan-order
2685
+
2640
2686
  :param str id: order id
2641
2687
  :param str symbol: unified symbol of the market to create an order in
2642
2688
  :param str type: 'market' or 'limit'
@@ -2699,8 +2745,10 @@ class coincatch(Exchange, ImplicitAPI):
2699
2745
  def fetch_order(self, id: str, symbol: Str = None, params={}) -> Order:
2700
2746
  """
2701
2747
  fetches information on an order made by the user(non-trigger orders only)
2702
- :see: https://coincatch.github.io/github.io/en/spot/#get-order-details
2703
- :see: https://coincatch.github.io/github.io/en/mix/#get-order-details
2748
+
2749
+ https://coincatch.github.io/github.io/en/spot/#get-order-details
2750
+ https://coincatch.github.io/github.io/en/mix/#get-order-details
2751
+
2704
2752
  :param str id: the order id
2705
2753
  :param str symbol: unified symbol of the market the order was made in(is mandatory for swap)
2706
2754
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -2821,11 +2869,13 @@ class coincatch(Exchange, ImplicitAPI):
2821
2869
  def fetch_open_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
2822
2870
  """
2823
2871
  fetch all unfilled currently open orders
2824
- :see: https://coincatch.github.io/github.io/en/spot/#get-order-list
2825
- :see: https://coincatch.github.io/github.io/en/spot/#get-current-plan-orders
2826
- :see: https://coincatch.github.io/github.io/en/mix/#get-open-order
2827
- :see: https://coincatch.github.io/github.io/en/mix/#get-all-open-order
2828
- :see: https://coincatch.github.io/github.io/en/mix/#get-plan-order-tpsl-list
2872
+
2873
+ https://coincatch.github.io/github.io/en/spot/#get-order-list
2874
+ https://coincatch.github.io/github.io/en/spot/#get-current-plan-orders
2875
+ https://coincatch.github.io/github.io/en/mix/#get-open-order
2876
+ https://coincatch.github.io/github.io/en/mix/#get-all-open-order
2877
+ https://coincatch.github.io/github.io/en/mix/#get-plan-order-tpsl-list
2878
+
2829
2879
  :param str [symbol]: unified market symbol of the market orders were made in
2830
2880
  :param int [since]: the earliest time in ms to fetch orders for
2831
2881
  :param int [limit]: the maximum number of order structures to retrieve
@@ -2854,10 +2904,12 @@ class coincatch(Exchange, ImplicitAPI):
2854
2904
 
2855
2905
  def fetch_open_spot_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
2856
2906
  """
2857
- * @ignore
2907
+ @ignore
2858
2908
  fetch all unfilled currently open orders for spot markets
2859
- :see: https://coincatch.github.io/github.io/en/spot/#get-order-list
2860
- :see: https://coincatch.github.io/github.io/en/spot/#get-current-plan-orders
2909
+
2910
+ https://coincatch.github.io/github.io/en/spot/#get-order-list
2911
+ https://coincatch.github.io/github.io/en/spot/#get-current-plan-orders
2912
+
2861
2913
  :param str [symbol]: unified market symbol of the market orders were made in
2862
2914
  :param int [since]: the earliest time in ms to fetch orders for
2863
2915
  :param int [limit]: the maximum number of order structures to retrieve
@@ -2949,11 +3001,13 @@ class coincatch(Exchange, ImplicitAPI):
2949
3001
 
2950
3002
  def fetch_open_swap_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
2951
3003
  """
2952
- * @ignore
3004
+ @ignore
2953
3005
  fetch all unfilled currently open orders for swap markets
2954
- :see: https://coincatch.github.io/github.io/en/mix/#get-open-order
2955
- :see: https://coincatch.github.io/github.io/en/mix/#get-all-open-order
2956
- :see: https://coincatch.github.io/github.io/en/mix/#get-plan-order-tpsl-list
3006
+
3007
+ https://coincatch.github.io/github.io/en/mix/#get-open-order
3008
+ https://coincatch.github.io/github.io/en/mix/#get-all-open-order
3009
+ https://coincatch.github.io/github.io/en/mix/#get-plan-order-tpsl-list
3010
+
2957
3011
  :param str [symbol]: unified market symbol of the market orders were made in
2958
3012
  :param int [since]: the earliest time in ms to fetch orders for
2959
3013
  :param int [limit]: the maximum number of order structures to retrieve
@@ -3073,11 +3127,13 @@ class coincatch(Exchange, ImplicitAPI):
3073
3127
  def fetch_canceled_and_closed_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
3074
3128
  """
3075
3129
  fetches information on multiple canceled and closed orders made by the user
3076
- :see: https://coincatch.github.io/github.io/en/spot/#get-order-list
3077
- :see: https://coincatch.github.io/github.io/en/spot/#get-history-plan-orders
3078
- :see: https://coincatch.github.io/github.io/en/mix/#get-history-orders
3079
- :see: https://coincatch.github.io/github.io/en/mix/#get-producttype-history-orders
3080
- :see: https://coincatch.github.io/github.io/en/mix/#get-history-plan-orders-tpsl
3130
+
3131
+ https://coincatch.github.io/github.io/en/spot/#get-order-list
3132
+ https://coincatch.github.io/github.io/en/spot/#get-history-plan-orders
3133
+ https://coincatch.github.io/github.io/en/mix/#get-history-orders
3134
+ https://coincatch.github.io/github.io/en/mix/#get-producttype-history-orders
3135
+ https://coincatch.github.io/github.io/en/mix/#get-history-plan-orders-tpsl
3136
+
3081
3137
  :param str symbol: *is mandatory* unified market symbol of the market orders were made in
3082
3138
  :param int [since]: the earliest time in ms to fetch orders for
3083
3139
  :param int [limit]: the maximum number of order structures to retrieve
@@ -3106,10 +3162,12 @@ class coincatch(Exchange, ImplicitAPI):
3106
3162
 
3107
3163
  def fetch_canceled_and_closed_spot_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
3108
3164
  """
3109
- * @ignore
3165
+ @ignore
3110
3166
  fetches information on multiple canceled and closed orders made by the user on spot markets
3111
- :see: https://coincatch.github.io/github.io/en/spot/#get-order-history
3112
- :see: https://coincatch.github.io/github.io/en/spot/#get-history-plan-orders
3167
+
3168
+ https://coincatch.github.io/github.io/en/spot/#get-order-history
3169
+ https://coincatch.github.io/github.io/en/spot/#get-history-plan-orders
3170
+
3113
3171
  :param str symbol: *is mandatory* unified market symbol of the market orders were made in
3114
3172
  :param int [since]: the earliest time in ms to fetch orders for
3115
3173
  :param int [limit]: the maximum number of order structures to retrieve
@@ -3241,11 +3299,13 @@ class coincatch(Exchange, ImplicitAPI):
3241
3299
 
3242
3300
  def fetch_canceled_and_closed_swap_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
3243
3301
  """
3244
- * @ignore
3302
+ @ignore
3245
3303
  fetches information on multiple canceled and closed orders made by the user on swap markets
3246
- :see: https://coincatch.github.io/github.io/en/mix/#get-history-orders
3247
- :see: https://coincatch.github.io/github.io/en/mix/#get-producttype-history-orders
3248
- :see: https://coincatch.github.io/github.io/en/mix/#get-history-plan-orders-tpsl
3304
+
3305
+ https://coincatch.github.io/github.io/en/mix/#get-history-orders
3306
+ https://coincatch.github.io/github.io/en/mix/#get-producttype-history-orders
3307
+ https://coincatch.github.io/github.io/en/mix/#get-history-plan-orders-tpsl
3308
+
3249
3309
  :param str [symbol]: unified market symbol of the market orders were made in
3250
3310
  :param int [since]: the earliest time in ms to fetch orders for
3251
3311
  :param int [limit]: the maximum number of order structures to retrieve
@@ -3388,10 +3448,12 @@ class coincatch(Exchange, ImplicitAPI):
3388
3448
  def cancel_order(self, id: str, symbol: Str = None, params={}):
3389
3449
  """
3390
3450
  cancels an open order
3391
- :see: https://coincatch.github.io/github.io/en/spot/#cancel-order-v2
3392
- :see: https://coincatch.github.io/github.io/en/spot/#cancel-plan-order
3393
- :see: https://coincatch.github.io/github.io/en/mix/#cancel-order
3394
- :see: https://coincatch.github.io/github.io/en/mix/#cancel-plan-order-tpsl
3451
+
3452
+ https://coincatch.github.io/github.io/en/spot/#cancel-order-v2
3453
+ https://coincatch.github.io/github.io/en/spot/#cancel-plan-order
3454
+ https://coincatch.github.io/github.io/en/mix/#cancel-order
3455
+ https://coincatch.github.io/github.io/en/mix/#cancel-plan-order-tpsl
3456
+
3395
3457
  :param str id: order id
3396
3458
  :param str symbol: unified symbol of the market the order was made in
3397
3459
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -3445,12 +3507,14 @@ class coincatch(Exchange, ImplicitAPI):
3445
3507
  def cancel_all_orders(self, symbol: Str = None, params={}):
3446
3508
  """
3447
3509
  cancels all open orders
3448
- :see: https://coincatch.github.io/github.io/en/spot/#cancel-all-orders
3449
- :see: https://coincatch.github.io/github.io/en/spot/#batch-cancel-plan-orders
3450
- :see: https://coincatch.github.io/github.io/en/mix/#batch-cancel-order
3451
- :see: https://coincatch.github.io/github.io/en/mix/#cancel-order-by-symbol
3452
- :see: https://coincatch.github.io/github.io/en/mix/#cancel-plan-order-tpsl-by-symbol
3453
- :see: https://coincatch.github.io/github.io/en/mix/#cancel-all-trigger-order-tpsl
3510
+
3511
+ https://coincatch.github.io/github.io/en/spot/#cancel-all-orders
3512
+ https://coincatch.github.io/github.io/en/spot/#batch-cancel-plan-orders
3513
+ https://coincatch.github.io/github.io/en/mix/#batch-cancel-order
3514
+ https://coincatch.github.io/github.io/en/mix/#cancel-order-by-symbol
3515
+ https://coincatch.github.io/github.io/en/mix/#cancel-plan-order-tpsl-by-symbol
3516
+ https://coincatch.github.io/github.io/en/mix/#cancel-all-trigger-order-tpsl
3517
+
3454
3518
  :param str [symbol]: unified symbol of the market the orders were made in
3455
3519
  :param dict [params]: extra parameters specific to the exchange API endpoint
3456
3520
  :param str [params.type]: 'spot' or 'swap' - the type of the market to cancel orders for(default 'spot')
@@ -3559,7 +3623,9 @@ class coincatch(Exchange, ImplicitAPI):
3559
3623
  def cancel_orders(self, ids: List[str], symbol: Str = None, params={}):
3560
3624
  """
3561
3625
  cancel multiple non-trigger orders
3562
- :see: https://coincatch.github.io/github.io/en/spot/#cancel-order-in-batch-v2-single-instruments
3626
+
3627
+ https://coincatch.github.io/github.io/en/spot/#cancel-order-in-batch-v2-single-instruments
3628
+
3563
3629
  :param str[] ids: order ids
3564
3630
  :param str symbol: *is mandatory* unified market symbol
3565
3631
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -3921,9 +3987,11 @@ class coincatch(Exchange, ImplicitAPI):
3921
3987
  def fetch_my_trades(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
3922
3988
  """
3923
3989
  fetch all trades made by the user
3924
- :see: https://coincatch.github.io/github.io/en/spot/#get-transaction-details
3925
- :see: https://coincatch.github.io/github.io/en/mix/#get-order-fill-detail
3926
- :see: https://coincatch.github.io/github.io/en/mix/#get-producttype-order-fill-detail
3990
+
3991
+ https://coincatch.github.io/github.io/en/spot/#get-transaction-details
3992
+ https://coincatch.github.io/github.io/en/mix/#get-order-fill-detail
3993
+ https://coincatch.github.io/github.io/en/mix/#get-producttype-order-fill-detail
3994
+
3927
3995
  :param str symbol: *is mandatory* unified market symbol
3928
3996
  :param int [since]: the earliest time in ms to fetch trades for
3929
3997
  :param int [limit]: the maximum amount of trades to fetch
@@ -4057,7 +4125,9 @@ class coincatch(Exchange, ImplicitAPI):
4057
4125
  def fetch_order_trades(self, id: str, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
4058
4126
  """
4059
4127
  fetch all the trades made from a single order
4060
- :see: https://coincatch.github.io/github.io/en/spot/#get-transaction-details
4128
+
4129
+ https://coincatch.github.io/github.io/en/spot/#get-transaction-details
4130
+
4061
4131
  :param str id: order id
4062
4132
  :param str symbol: unified market symbol
4063
4133
  :param int [since]: the earliest time in ms to fetch trades for
@@ -4077,7 +4147,9 @@ class coincatch(Exchange, ImplicitAPI):
4077
4147
  def fetch_margin_mode(self, symbol: str, params={}) -> MarginMode:
4078
4148
  """
4079
4149
  fetches the margin mode of the trading pair
4080
- :see: https://coincatch.github.io/github.io/en/mix/#get-single-account
4150
+
4151
+ https://coincatch.github.io/github.io/en/mix/#get-single-account
4152
+
4081
4153
  :param str symbol: unified symbol of the market to fetch the margin mode for
4082
4154
  :param dict [params]: extra parameters specific to the exchange API endpoint
4083
4155
  :returns dict: a `margin mode structure <https://docs.ccxt.com/#/?id=margin-mode-structure>`
@@ -4138,7 +4210,9 @@ class coincatch(Exchange, ImplicitAPI):
4138
4210
  def set_margin_mode(self, marginMode: str, symbol: Str = None, params={}):
4139
4211
  """
4140
4212
  set margin mode to 'cross' or 'isolated'
4141
- :see: https://coincatch.github.io/github.io/en/mix/#change-margin-mode
4213
+
4214
+ https://coincatch.github.io/github.io/en/mix/#change-margin-mode
4215
+
4142
4216
  :param str marginMode: 'cross' or 'isolated'
4143
4217
  :param str symbol: unified market symbol
4144
4218
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -4184,7 +4258,9 @@ class coincatch(Exchange, ImplicitAPI):
4184
4258
  def fetch_position_mode(self, symbol: Str = None, params={}):
4185
4259
  """
4186
4260
  fetchs the position mode, hedged or one way
4187
- :see: https://coincatch.github.io/github.io/en/mix/#get-single-account
4261
+
4262
+ https://coincatch.github.io/github.io/en/mix/#get-single-account
4263
+
4188
4264
  :param str symbol: unified symbol of the market to fetch entry for
4189
4265
  :param dict [params]: extra parameters specific to the exchange API endpoint
4190
4266
  :returns dict: an object detailing whether the market is in hedged or one-way mode
@@ -4210,7 +4286,9 @@ class coincatch(Exchange, ImplicitAPI):
4210
4286
  def set_position_mode(self, hedged: bool, symbol: Str = None, params={}):
4211
4287
  """
4212
4288
  set hedged to True or False for a market
4213
- :see: https://bingx-api.github.io/docs/#/en-us/swapV2/trade-api.html#Set%20Position%20Mode
4289
+
4290
+ https://bingx-api.github.io/docs/#/en-us/swapV2/trade-api.html#Set%20Position%20Mode
4291
+
4214
4292
  :param bool hedged: set to True to use dualSidePosition
4215
4293
  :param str symbol: unified symbol of the market to fetch entry for
4216
4294
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -4251,7 +4329,9 @@ class coincatch(Exchange, ImplicitAPI):
4251
4329
  def fetch_leverage(self, symbol: str, params={}) -> Leverage:
4252
4330
  """
4253
4331
  fetch the set leverage for a market
4254
- :see: https://coincatch.github.io/github.io/en/mix/#get-single-account
4332
+
4333
+ https://coincatch.github.io/github.io/en/mix/#get-single-account
4334
+
4255
4335
  :param str symbol: unified market symbol
4256
4336
  :param dict [params]: extra parameters specific to the exchange API endpoint
4257
4337
  :returns dict: a `leverage structure <https://docs.ccxt.com/#/?id=leverage-structure>`
@@ -4271,7 +4351,9 @@ class coincatch(Exchange, ImplicitAPI):
4271
4351
  def set_leverage(self, leverage: Int, symbol: Str = None, params={}):
4272
4352
  """
4273
4353
  set the level of leverage for a market
4274
- :see: https://hashkeyglobal-apidoc.readme.io/reference/change-futures-leverage-trade
4354
+
4355
+ https://hashkeyglobal-apidoc.readme.io/reference/change-futures-leverage-trade
4356
+
4275
4357
  :param float leverage: the rate of leverage
4276
4358
  :param str symbol: unified market symbol
4277
4359
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -4415,7 +4497,9 @@ class coincatch(Exchange, ImplicitAPI):
4415
4497
  def reduce_margin(self, symbol: str, amount: float, params={}) -> MarginModification:
4416
4498
  """
4417
4499
  remove margin from a position
4418
- :see: https://coincatch.github.io/github.io/en/mix/#change-margin
4500
+
4501
+ https://coincatch.github.io/github.io/en/mix/#change-margin
4502
+
4419
4503
  :param str symbol: unified market symbol
4420
4504
  :param float amount: the amount of margin to remove
4421
4505
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -4428,7 +4512,9 @@ class coincatch(Exchange, ImplicitAPI):
4428
4512
  def add_margin(self, symbol: str, amount: float, params={}) -> MarginModification:
4429
4513
  """
4430
4514
  add margin
4431
- :see: https://coincatch.github.io/github.io/en/mix/#change-margin
4515
+
4516
+ https://coincatch.github.io/github.io/en/mix/#change-margin
4517
+
4432
4518
  :param str symbol: unified market symbol
4433
4519
  :param float amount: amount of margin to add
4434
4520
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -4441,10 +4527,12 @@ class coincatch(Exchange, ImplicitAPI):
4441
4527
  def fetch_position(self, symbol: str, params={}):
4442
4528
  """
4443
4529
  fetch data on a single open contract trade position
4444
- :see: https://coincatch.github.io/github.io/en/mix/#get-symbol-position
4530
+
4531
+ https://coincatch.github.io/github.io/en/mix/#get-symbol-position
4532
+
4445
4533
  :param str symbol: unified market symbol of the market the position is held in, default is None
4446
4534
  :param dict [params]: extra parameters specific to the exchange API endpoint
4447
- * @param {str} [parmas.side] 'long' or 'short' *for non-hedged position mode only* (default 'long')
4535
+ @param {str} [params.side] 'long' or 'short' *for non-hedged position mode only* (default 'long')
4448
4536
  :returns dict: a `position structure <https://docs.ccxt.com/#/?id=position-structure>`
4449
4537
  """
4450
4538
  methodName = 'fetchPosition'
@@ -4462,7 +4550,9 @@ class coincatch(Exchange, ImplicitAPI):
4462
4550
  def fetch_positions_for_symbol(self, symbol: str, params={}) -> List[Position]:
4463
4551
  """
4464
4552
  fetch open positions for a single market
4465
- :see: https://coincatch.github.io/github.io/en/mix/#get-symbol-position
4553
+
4554
+ https://coincatch.github.io/github.io/en/mix/#get-symbol-position
4555
+
4466
4556
  fetch all open positions for specific symbol
4467
4557
  :param str symbol: unified market symbol
4468
4558
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -4512,7 +4602,9 @@ class coincatch(Exchange, ImplicitAPI):
4512
4602
  def fetch_positions(self, symbols: Strings = None, params={}) -> List[Position]:
4513
4603
  """
4514
4604
  fetch all open positions
4515
- :see: https://coincatch.github.io/github.io/en/mix/#get-all-position
4605
+
4606
+ https://coincatch.github.io/github.io/en/mix/#get-all-position
4607
+
4516
4608
  :param str[] [symbols]: list of unified market symbols(all symbols must belong to the same product type)
4517
4609
  :param dict [params]: extra parameters specific to the exchange API endpoint
4518
4610
  :param str [params.productType]: 'umcbl' or 'dmcbl'(default 'umcbl' if symbols are not provided)
@@ -4673,8 +4765,10 @@ class coincatch(Exchange, ImplicitAPI):
4673
4765
  def fetch_ledger(self, code: Str = None, since: Int = None, limit: Int = None, params={}):
4674
4766
  """
4675
4767
  fetch the history of changes, actions done by the user or operations that altered balance of the user
4676
- :see: https://coincatch.github.io/github.io/en/spot/#get-bills
4677
- :see: https://coincatch.github.io/github.io/en/mix/#get-business-account-bill
4768
+
4769
+ https://coincatch.github.io/github.io/en/spot/#get-bills
4770
+ https://coincatch.github.io/github.io/en/mix/#get-business-account-bill
4771
+
4678
4772
  :param str [code]: unified currency code
4679
4773
  :param int [since]: timestamp in ms of the earliest ledger entry, default is None
4680
4774
  :param int [limit]: max number of ledger entrys to return, default is None