ccxt 4.4.30__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 (267) 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/bigone.py +71 -27
  11. ccxt/async_support/binance.py +555 -323
  12. ccxt/async_support/bingx.py +208 -108
  13. ccxt/async_support/bit2c.py +34 -12
  14. ccxt/async_support/bitbank.py +42 -14
  15. ccxt/async_support/bitbns.py +17 -9
  16. ccxt/async_support/bitfinex.py +68 -24
  17. ccxt/async_support/bitfinex2.py +116 -44
  18. ccxt/async_support/bitflyer.py +54 -18
  19. ccxt/async_support/bitget.py +277 -145
  20. ccxt/async_support/bithumb.py +39 -14
  21. ccxt/async_support/bitmart.py +145 -79
  22. ccxt/async_support/bitmex.py +90 -30
  23. ccxt/async_support/bitopro.py +66 -22
  24. ccxt/async_support/bitrue.py +109 -57
  25. ccxt/async_support/bitso.py +55 -19
  26. ccxt/async_support/bitstamp.py +84 -36
  27. ccxt/async_support/bitteam.py +51 -17
  28. ccxt/async_support/bitvavo.py +57 -19
  29. ccxt/async_support/bl3p.py +26 -10
  30. ccxt/async_support/blockchaincom.py +63 -21
  31. ccxt/async_support/blofin.py +95 -38
  32. ccxt/async_support/btcalpha.py +48 -16
  33. ccxt/async_support/btcbox.py +27 -9
  34. ccxt/async_support/btcmarkets.py +57 -19
  35. ccxt/async_support/btcturk.py +36 -12
  36. ccxt/async_support/bybit.py +251 -95
  37. ccxt/async_support/cex.py +65 -22
  38. ccxt/async_support/coinbase.py +138 -56
  39. ccxt/async_support/coinbaseexchange.py +76 -28
  40. ccxt/async_support/coinbaseinternational.py +75 -27
  41. ccxt/async_support/coincatch.py +191 -97
  42. ccxt/async_support/coincheck.py +33 -11
  43. ccxt/async_support/coinex.py +212 -101
  44. ccxt/async_support/coinlist.py +87 -30
  45. ccxt/async_support/coinmate.py +55 -24
  46. ccxt/async_support/coinmetro.py +52 -18
  47. ccxt/async_support/coinone.py +27 -10
  48. ccxt/async_support/coinsph.py +73 -27
  49. ccxt/async_support/coinspot.py +25 -9
  50. ccxt/async_support/cryptocom.py +103 -38
  51. ccxt/async_support/currencycom.py +70 -23
  52. ccxt/async_support/delta.py +90 -30
  53. ccxt/async_support/deribit.py +131 -50
  54. ccxt/async_support/digifinex.py +114 -51
  55. ccxt/async_support/exmo.py +104 -45
  56. ccxt/async_support/gate.py +298 -155
  57. ccxt/async_support/gemini.py +57 -20
  58. ccxt/async_support/hashkey.py +151 -66
  59. ccxt/async_support/hitbtc.py +156 -73
  60. ccxt/async_support/hollaex.py +76 -25
  61. ccxt/async_support/htx.py +297 -240
  62. ccxt/async_support/huobijp.py +1 -0
  63. ccxt/async_support/hyperliquid.py +94 -38
  64. ccxt/async_support/idex.py +73 -24
  65. ccxt/async_support/independentreserve.py +12 -5
  66. ccxt/async_support/indodax.py +53 -16
  67. ccxt/async_support/kraken.py +107 -35
  68. ccxt/async_support/krakenfutures.py +88 -34
  69. ccxt/async_support/kucoin.py +211 -109
  70. ccxt/async_support/kucoinfutures.py +119 -42
  71. ccxt/async_support/kuna.py +80 -39
  72. ccxt/async_support/latoken.py +70 -33
  73. ccxt/async_support/lbank.py +89 -38
  74. ccxt/async_support/luno.py +54 -19
  75. ccxt/async_support/lykke.py +54 -19
  76. ccxt/async_support/mercado.py +1 -0
  77. ccxt/async_support/mexc.py +226 -108
  78. ccxt/async_support/ndax.py +58 -19
  79. ccxt/async_support/novadax.py +67 -22
  80. ccxt/async_support/oceanex.py +58 -19
  81. ccxt/async_support/okcoin.py +81 -38
  82. ccxt/async_support/okx.py +270 -109
  83. ccxt/async_support/onetrading.py +3 -1
  84. ccxt/async_support/oxfun.py +95 -36
  85. ccxt/async_support/p2b.py +49 -23
  86. ccxt/async_support/paradex.py +75 -27
  87. ccxt/async_support/paymium.py +31 -11
  88. ccxt/async_support/phemex.py +91 -41
  89. ccxt/async_support/poloniex.py +80 -30
  90. ccxt/async_support/poloniexfutures.py +72 -30
  91. ccxt/async_support/probit.py +64 -22
  92. ccxt/async_support/timex.py +58 -19
  93. ccxt/async_support/tokocrypto.py +63 -22
  94. ccxt/async_support/tradeogre.py +7 -2
  95. ccxt/async_support/upbit.py +72 -25
  96. ccxt/async_support/vertex.py +74 -28
  97. ccxt/async_support/wavesexchange.py +29 -8
  98. ccxt/async_support/wazirx.py +51 -17
  99. ccxt/async_support/whitebit.py +105 -41
  100. ccxt/async_support/woo.py +162 -65
  101. ccxt/async_support/woofipro.py +118 -49
  102. ccxt/async_support/xt.py +150 -73
  103. ccxt/async_support/yobit.py +49 -16
  104. ccxt/async_support/zaif.py +30 -10
  105. ccxt/async_support/zonda.py +46 -16
  106. ccxt/base/exchange.py +34 -34
  107. ccxt/base/types.py +1 -0
  108. ccxt/bigone.py +71 -27
  109. ccxt/binance.py +555 -323
  110. ccxt/bingx.py +208 -108
  111. ccxt/bit2c.py +34 -12
  112. ccxt/bitbank.py +42 -14
  113. ccxt/bitbns.py +17 -9
  114. ccxt/bitfinex.py +68 -24
  115. ccxt/bitfinex2.py +116 -44
  116. ccxt/bitflyer.py +54 -18
  117. ccxt/bitget.py +277 -145
  118. ccxt/bithumb.py +39 -14
  119. ccxt/bitmart.py +145 -79
  120. ccxt/bitmex.py +90 -30
  121. ccxt/bitopro.py +66 -22
  122. ccxt/bitrue.py +109 -57
  123. ccxt/bitso.py +55 -19
  124. ccxt/bitstamp.py +84 -36
  125. ccxt/bitteam.py +51 -17
  126. ccxt/bitvavo.py +57 -19
  127. ccxt/bl3p.py +26 -10
  128. ccxt/blockchaincom.py +63 -21
  129. ccxt/blofin.py +95 -38
  130. ccxt/btcalpha.py +48 -16
  131. ccxt/btcbox.py +27 -9
  132. ccxt/btcmarkets.py +57 -19
  133. ccxt/btcturk.py +36 -12
  134. ccxt/bybit.py +251 -95
  135. ccxt/cex.py +65 -22
  136. ccxt/coinbase.py +138 -56
  137. ccxt/coinbaseexchange.py +76 -28
  138. ccxt/coinbaseinternational.py +75 -27
  139. ccxt/coincatch.py +191 -97
  140. ccxt/coincheck.py +33 -11
  141. ccxt/coinex.py +212 -101
  142. ccxt/coinlist.py +87 -30
  143. ccxt/coinmate.py +55 -24
  144. ccxt/coinmetro.py +52 -18
  145. ccxt/coinone.py +27 -10
  146. ccxt/coinsph.py +73 -27
  147. ccxt/coinspot.py +25 -9
  148. ccxt/cryptocom.py +103 -38
  149. ccxt/currencycom.py +70 -23
  150. ccxt/delta.py +90 -30
  151. ccxt/deribit.py +131 -50
  152. ccxt/digifinex.py +114 -51
  153. ccxt/exmo.py +104 -45
  154. ccxt/gate.py +298 -155
  155. ccxt/gemini.py +57 -20
  156. ccxt/hashkey.py +151 -66
  157. ccxt/hitbtc.py +156 -73
  158. ccxt/hollaex.py +76 -25
  159. ccxt/htx.py +297 -240
  160. ccxt/huobijp.py +1 -0
  161. ccxt/hyperliquid.py +94 -38
  162. ccxt/idex.py +73 -24
  163. ccxt/independentreserve.py +12 -5
  164. ccxt/indodax.py +53 -16
  165. ccxt/kraken.py +107 -35
  166. ccxt/krakenfutures.py +88 -34
  167. ccxt/kucoin.py +211 -109
  168. ccxt/kucoinfutures.py +119 -42
  169. ccxt/kuna.py +80 -39
  170. ccxt/latoken.py +70 -33
  171. ccxt/lbank.py +89 -38
  172. ccxt/luno.py +54 -19
  173. ccxt/lykke.py +54 -19
  174. ccxt/mercado.py +1 -0
  175. ccxt/mexc.py +226 -108
  176. ccxt/ndax.py +58 -19
  177. ccxt/novadax.py +67 -22
  178. ccxt/oceanex.py +58 -19
  179. ccxt/okcoin.py +81 -38
  180. ccxt/okx.py +270 -109
  181. ccxt/onetrading.py +3 -1
  182. ccxt/oxfun.py +95 -36
  183. ccxt/p2b.py +49 -23
  184. ccxt/paradex.py +75 -27
  185. ccxt/paymium.py +31 -11
  186. ccxt/phemex.py +91 -41
  187. ccxt/poloniex.py +80 -30
  188. ccxt/poloniexfutures.py +72 -30
  189. ccxt/pro/__init__.py +1 -1
  190. ccxt/pro/alpaca.py +15 -5
  191. ccxt/pro/ascendex.py +18 -6
  192. ccxt/pro/binance.py +200 -119
  193. ccxt/pro/bingx.py +44 -24
  194. ccxt/pro/bitfinex.py +13 -5
  195. ccxt/pro/bitget.py +75 -36
  196. ccxt/pro/bithumb.py +12 -4
  197. ccxt/pro/bitmart.py +44 -20
  198. ccxt/pro/bitmex.py +42 -14
  199. ccxt/pro/bitopro.py +15 -5
  200. ccxt/pro/bitrue.py +7 -3
  201. ccxt/pro/bitvavo.py +51 -17
  202. ccxt/pro/blockchaincom.py +18 -6
  203. ccxt/pro/blofin.py +36 -12
  204. ccxt/pro/bybit.py +100 -42
  205. ccxt/pro/cex.py +48 -16
  206. ccxt/pro/coinbase.py +32 -12
  207. ccxt/pro/coinbaseexchange.py +1 -1
  208. ccxt/pro/coinbaseinternational.py +34 -14
  209. ccxt/pro/coincatch.py +54 -19
  210. ccxt/pro/coincheck.py +6 -2
  211. ccxt/pro/coinex.py +40 -20
  212. ccxt/pro/coinone.py +9 -3
  213. ccxt/pro/cryptocom.py +70 -26
  214. ccxt/pro/deribit.py +36 -12
  215. ccxt/pro/exmo.py +10 -4
  216. ccxt/pro/gate.py +64 -30
  217. ccxt/pro/gemini.py +21 -7
  218. ccxt/pro/hashkey.py +26 -8
  219. ccxt/pro/hitbtc.py +61 -37
  220. ccxt/pro/hollaex.py +15 -5
  221. ccxt/pro/htx.py +39 -21
  222. ccxt/pro/hyperliquid.py +41 -14
  223. ccxt/pro/kraken.py +49 -17
  224. ccxt/pro/krakenfutures.py +47 -24
  225. ccxt/pro/kucoin.py +60 -31
  226. ccxt/pro/kucoinfutures.py +41 -19
  227. ccxt/pro/lbank.py +27 -9
  228. ccxt/pro/luno.py +3 -1
  229. ccxt/pro/mexc.py +35 -17
  230. ccxt/pro/ndax.py +12 -4
  231. ccxt/pro/okcoin.py +18 -6
  232. ccxt/pro/okx.py +76 -28
  233. ccxt/pro/onetrading.py +21 -7
  234. ccxt/pro/oxfun.py +54 -20
  235. ccxt/pro/p2b.py +23 -11
  236. ccxt/pro/paradex.py +12 -4
  237. ccxt/pro/phemex.py +31 -19
  238. ccxt/pro/poloniex.py +50 -22
  239. ccxt/pro/poloniexfutures.py +17 -7
  240. ccxt/pro/probit.py +18 -6
  241. ccxt/pro/upbit.py +25 -9
  242. ccxt/pro/vertex.py +20 -6
  243. ccxt/pro/wazirx.py +21 -7
  244. ccxt/pro/whitebit.py +25 -9
  245. ccxt/pro/woo.py +32 -12
  246. ccxt/pro/woofipro.py +35 -13
  247. ccxt/pro/xt.py +46 -26
  248. ccxt/probit.py +64 -22
  249. ccxt/timex.py +58 -19
  250. ccxt/tokocrypto.py +63 -22
  251. ccxt/tradeogre.py +7 -2
  252. ccxt/upbit.py +72 -25
  253. ccxt/vertex.py +74 -28
  254. ccxt/wavesexchange.py +29 -8
  255. ccxt/wazirx.py +51 -17
  256. ccxt/whitebit.py +105 -41
  257. ccxt/woo.py +162 -65
  258. ccxt/woofipro.py +118 -49
  259. ccxt/xt.py +150 -73
  260. ccxt/yobit.py +49 -16
  261. ccxt/zaif.py +30 -10
  262. ccxt/zonda.py +46 -16
  263. {ccxt-4.4.30.dist-info → ccxt-4.4.31.dist-info}/METADATA +5 -5
  264. {ccxt-4.4.30.dist-info → ccxt-4.4.31.dist-info}/RECORD +267 -267
  265. {ccxt-4.4.30.dist-info → ccxt-4.4.31.dist-info}/LICENSE.txt +0 -0
  266. {ccxt-4.4.30.dist-info → ccxt-4.4.31.dist-info}/WHEEL +0 -0
  267. {ccxt-4.4.30.dist-info → ccxt-4.4.31.dist-info}/top_level.txt +0 -0
ccxt/bithumb.py CHANGED
@@ -207,7 +207,9 @@ class bithumb(Exchange, ImplicitAPI):
207
207
  def fetch_markets(self, params={}) -> List[Market]:
208
208
  """
209
209
  retrieves data on all markets for bithumb
210
- :see: https://apidocs.bithumb.com/v1.2.0/reference/%ED%98%84%EC%9E%AC%EA%B0%80-%EC%A0%95%EB%B3%B4-%EC%A1%B0%ED%9A%8C-all
210
+
211
+ https://apidocs.bithumb.com/v1.2.0/reference/%ED%98%84%EC%9E%AC%EA%B0%80-%EC%A0%95%EB%B3%B4-%EC%A1%B0%ED%9A%8C-all
212
+
211
213
  :param dict [params]: extra parameters specific to the exchange API endpoint
212
214
  :returns dict[]: an array of objects representing market data
213
215
  """
@@ -341,7 +343,9 @@ class bithumb(Exchange, ImplicitAPI):
341
343
  def fetch_balance(self, params={}) -> Balances:
342
344
  """
343
345
  query for balance and get the amount of funds available for trading or funds locked in orders
344
- :see: https://apidocs.bithumb.com/v1.2.0/reference/%EB%B3%B4%EC%9C%A0%EC%9E%90%EC%82%B0-%EC%A1%B0%ED%9A%8C
346
+
347
+ https://apidocs.bithumb.com/v1.2.0/reference/%EB%B3%B4%EC%9C%A0%EC%9E%90%EC%82%B0-%EC%A1%B0%ED%9A%8C
348
+
345
349
  :param dict [params]: extra parameters specific to the exchange API endpoint
346
350
  :returns dict: a `balance structure <https://docs.ccxt.com/#/?id=balance-structure>`
347
351
  """
@@ -355,7 +359,9 @@ class bithumb(Exchange, ImplicitAPI):
355
359
  def fetch_order_book(self, symbol: str, limit: Int = None, params={}) -> OrderBook:
356
360
  """
357
361
  fetches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
358
- :see: https://apidocs.bithumb.com/v1.2.0/reference/%ED%98%B8%EA%B0%80-%EC%A0%95%EB%B3%B4-%EC%A1%B0%ED%9A%8C
362
+
363
+ https://apidocs.bithumb.com/v1.2.0/reference/%ED%98%B8%EA%B0%80-%EC%A0%95%EB%B3%B4-%EC%A1%B0%ED%9A%8C
364
+
359
365
  :param str symbol: unified symbol of the market to fetch the order book for
360
366
  :param int [limit]: the maximum amount of order book entries to return
361
367
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -445,7 +451,9 @@ class bithumb(Exchange, ImplicitAPI):
445
451
  def fetch_tickers(self, symbols: Strings = None, params={}) -> Tickers:
446
452
  """
447
453
  fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
448
- :see: https://apidocs.bithumb.com/v1.2.0/reference/%ED%98%84%EC%9E%AC%EA%B0%80-%EC%A0%95%EB%B3%B4-%EC%A1%B0%ED%9A%8C-all
454
+
455
+ https://apidocs.bithumb.com/v1.2.0/reference/%ED%98%84%EC%9E%AC%EA%B0%80-%EC%A0%95%EB%B3%B4-%EC%A1%B0%ED%9A%8C-all
456
+
449
457
  :param str[]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
450
458
  :param dict [params]: extra parameters specific to the exchange API endpoint
451
459
  :returns dict: a dictionary of `ticker structures <https://docs.ccxt.com/#/?id=ticker-structure>`
@@ -502,7 +510,9 @@ class bithumb(Exchange, ImplicitAPI):
502
510
  def fetch_ticker(self, symbol: str, params={}) -> Ticker:
503
511
  """
504
512
  fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
505
- :see: https://apidocs.bithumb.com/v1.2.0/reference/%ED%98%84%EC%9E%AC%EA%B0%80-%EC%A0%95%EB%B3%B4-%EC%A1%B0%ED%9A%8C
513
+
514
+ https://apidocs.bithumb.com/v1.2.0/reference/%ED%98%84%EC%9E%AC%EA%B0%80-%EC%A0%95%EB%B3%B4-%EC%A1%B0%ED%9A%8C
515
+
506
516
  :param str symbol: unified symbol of the market to fetch the ticker for
507
517
  :param dict [params]: extra parameters specific to the exchange API endpoint
508
518
  :returns dict: a `ticker structure <https://docs.ccxt.com/#/?id=ticker-structure>`
@@ -559,7 +569,9 @@ class bithumb(Exchange, ImplicitAPI):
559
569
  def fetch_ohlcv(self, symbol: str, timeframe='1m', since: Int = None, limit: Int = None, params={}) -> List[list]:
560
570
  """
561
571
  fetches historical candlestick data containing the open, high, low, and close price, and the volume of a market
562
- :see: https://apidocs.bithumb.com/v1.2.0/reference/candlestick-rest-api
572
+
573
+ https://apidocs.bithumb.com/v1.2.0/reference/candlestick-rest-api
574
+
563
575
  :param str symbol: unified symbol of the market to fetch OHLCV data for
564
576
  :param str timeframe: the length of time each candle represents
565
577
  :param int [since]: timestamp in ms of the earliest candle to fetch
@@ -676,7 +688,9 @@ class bithumb(Exchange, ImplicitAPI):
676
688
  def fetch_trades(self, symbol: str, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
677
689
  """
678
690
  get the list of most recent trades for a particular symbol
679
- :see: https://apidocs.bithumb.com/v1.2.0/reference/%EC%B5%9C%EA%B7%BC-%EC%B2%B4%EA%B2%B0-%EB%82%B4%EC%97%AD
691
+
692
+ https://apidocs.bithumb.com/v1.2.0/reference/%EC%B5%9C%EA%B7%BC-%EC%B2%B4%EA%B2%B0-%EB%82%B4%EC%97%AD
693
+
680
694
  :param str symbol: unified symbol of the market to fetch trades for
681
695
  :param int [since]: timestamp in ms of the earliest trade to fetch
682
696
  :param int [limit]: the maximum amount of trades to fetch
@@ -712,9 +726,11 @@ class bithumb(Exchange, ImplicitAPI):
712
726
  def create_order(self, symbol: str, type: OrderType, side: OrderSide, amount: float, price: Num = None, params={}):
713
727
  """
714
728
  create a trade order
715
- :see: https://apidocs.bithumb.com/v1.2.0/reference/%EC%A7%80%EC%A0%95%EA%B0%80-%EC%A3%BC%EB%AC%B8%ED%95%98%EA%B8%B0
716
- :see: https://apidocs.bithumb.com/v1.2.0/reference/%EC%8B%9C%EC%9E%A5%EA%B0%80-%EB%A7%A4%EC%88%98%ED%95%98%EA%B8%B0
717
- :see: https://apidocs.bithumb.com/v1.2.0/reference/%EC%8B%9C%EC%9E%A5%EA%B0%80-%EB%A7%A4%EB%8F%84%ED%95%98%EA%B8%B0
729
+
730
+ https://apidocs.bithumb.com/v1.2.0/reference/%EC%A7%80%EC%A0%95%EA%B0%80-%EC%A3%BC%EB%AC%B8%ED%95%98%EA%B8%B0
731
+ https://apidocs.bithumb.com/v1.2.0/reference/%EC%8B%9C%EC%9E%A5%EA%B0%80-%EB%A7%A4%EC%88%98%ED%95%98%EA%B8%B0
732
+ https://apidocs.bithumb.com/v1.2.0/reference/%EC%8B%9C%EC%9E%A5%EA%B0%80-%EB%A7%A4%EB%8F%84%ED%95%98%EA%B8%B0
733
+
718
734
  :param str symbol: unified symbol of the market to create an order in
719
735
  :param str type: 'market' or 'limit'
720
736
  :param str side: 'buy' or 'sell'
@@ -751,7 +767,10 @@ class bithumb(Exchange, ImplicitAPI):
751
767
  def fetch_order(self, id: str, symbol: Str = None, params={}):
752
768
  """
753
769
  fetches information on an order made by the user
754
- :see: https://apidocs.bithumb.com/v1.2.0/reference/%EA%B1%B0%EB%9E%98-%EC%A3%BC%EB%AC%B8%EB%82%B4%EC%97%AD-%EC%83%81%EC%84%B8-%EC%A1%B0%ED%9A%8C
770
+
771
+ https://apidocs.bithumb.com/v1.2.0/reference/%EA%B1%B0%EB%9E%98-%EC%A3%BC%EB%AC%B8%EB%82%B4%EC%97%AD-%EC%83%81%EC%84%B8-%EC%A1%B0%ED%9A%8C
772
+
773
+ :param str id: order id
755
774
  :param str symbol: unified symbol of the market the order was made in
756
775
  :param dict [params]: extra parameters specific to the exchange API endpoint
757
776
  :returns dict: An `order structure <https://docs.ccxt.com/#/?id=order-structure>`
@@ -901,7 +920,9 @@ class bithumb(Exchange, ImplicitAPI):
901
920
  def fetch_open_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
902
921
  """
903
922
  fetch all unfilled currently open orders
904
- :see: https://apidocs.bithumb.com/v1.2.0/reference/%EA%B1%B0%EB%9E%98-%EC%A3%BC%EB%AC%B8%EB%82%B4%EC%97%AD-%EC%A1%B0%ED%9A%8C
923
+
924
+ https://apidocs.bithumb.com/v1.2.0/reference/%EA%B1%B0%EB%9E%98-%EC%A3%BC%EB%AC%B8%EB%82%B4%EC%97%AD-%EC%A1%B0%ED%9A%8C
925
+
905
926
  :param str symbol: unified market symbol
906
927
  :param int [since]: the earliest time in ms to fetch open orders for
907
928
  :param int [limit]: the maximum number of open order structures to retrieve
@@ -945,7 +966,9 @@ class bithumb(Exchange, ImplicitAPI):
945
966
  def cancel_order(self, id: str, symbol: Str = None, params={}):
946
967
  """
947
968
  cancels an open order
948
- :see: https://apidocs.bithumb.com/v1.2.0/reference/%EC%A3%BC%EB%AC%B8-%EC%B7%A8%EC%86%8C%ED%95%98%EA%B8%B0
969
+
970
+ https://apidocs.bithumb.com/v1.2.0/reference/%EC%A3%BC%EB%AC%B8-%EC%B7%A8%EC%86%8C%ED%95%98%EA%B8%B0
971
+
949
972
  :param str id: order id
950
973
  :param str symbol: unified symbol of the market the order was made in
951
974
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -985,7 +1008,9 @@ class bithumb(Exchange, ImplicitAPI):
985
1008
  def withdraw(self, code: str, amount: float, address: str, tag=None, params={}) -> Transaction:
986
1009
  """
987
1010
  make a withdrawal
988
- :see: https://apidocs.bithumb.com/v1.2.0/reference/%EC%BD%94%EC%9D%B8-%EC%B6%9C%EA%B8%88%ED%95%98%EA%B8%B0-%EA%B0%9C%EC%9D%B8
1011
+
1012
+ https://apidocs.bithumb.com/v1.2.0/reference/%EC%BD%94%EC%9D%B8-%EC%B6%9C%EA%B8%88%ED%95%98%EA%B8%B0-%EA%B0%9C%EC%9D%B8
1013
+
989
1014
  :param str code: unified currency code
990
1015
  :param float amount: the amount to withdraw
991
1016
  :param str address: the address to withdraw to
ccxt/bitmart.py CHANGED
@@ -996,7 +996,9 @@ class bitmart(Exchange, ImplicitAPI):
996
996
 
997
997
  def fetch_markets(self, params={}) -> List[Market]:
998
998
  """
999
- :see: https://developer-pro.bitmart.com/en/futuresv2/#get-contract-details
999
+
1000
+ https://developer-pro.bitmart.com/en/futuresv2/#get-contract-details
1001
+
1000
1002
  retrieves data on all markets for bitmart
1001
1003
  :param dict [params]: extra parameters specific to the exchange API endpoint
1002
1004
  :returns dict[]: an array of objects representing market data
@@ -1056,7 +1058,7 @@ class bitmart(Exchange, ImplicitAPI):
1056
1058
 
1057
1059
  def fetch_transaction_fee(self, code: str, params={}):
1058
1060
  """
1059
- * @deprecated
1061
+ @deprecated
1060
1062
  please use fetchDepositWithdrawFee instead
1061
1063
  :param str code: unified currency code
1062
1064
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -1299,8 +1301,10 @@ class bitmart(Exchange, ImplicitAPI):
1299
1301
  def fetch_ticker(self, symbol: str, params={}) -> Ticker:
1300
1302
  """
1301
1303
  fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
1302
- :see: https://developer-pro.bitmart.com/en/spot/#get-ticker-of-a-trading-pair-v3
1303
- :see: https://developer-pro.bitmart.com/en/futuresv2/#get-contract-details
1304
+
1305
+ https://developer-pro.bitmart.com/en/spot/#get-ticker-of-a-trading-pair-v3
1306
+ https://developer-pro.bitmart.com/en/futuresv2/#get-contract-details
1307
+
1304
1308
  :param str symbol: unified symbol of the market to fetch the ticker for
1305
1309
  :param dict [params]: extra parameters specific to the exchange API endpoint
1306
1310
  :returns dict: a `ticker structure <https://docs.ccxt.com/#/?id=ticker-structure>`
@@ -1392,8 +1396,10 @@ class bitmart(Exchange, ImplicitAPI):
1392
1396
  def fetch_tickers(self, symbols: Strings = None, params={}) -> Tickers:
1393
1397
  """
1394
1398
  fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
1395
- :see: https://developer-pro.bitmart.com/en/spot/#get-ticker-of-all-pairs-v3
1396
- :see: https://developer-pro.bitmart.com/en/futuresv2/#get-contract-details
1399
+
1400
+ https://developer-pro.bitmart.com/en/spot/#get-ticker-of-all-pairs-v3
1401
+ https://developer-pro.bitmart.com/en/futuresv2/#get-contract-details
1402
+
1397
1403
  :param str[]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
1398
1404
  :param dict [params]: extra parameters specific to the exchange API endpoint
1399
1405
  :returns dict: a dictionary of `ticker structures <https://docs.ccxt.com/#/?id=ticker-structure>`
@@ -1496,9 +1502,11 @@ class bitmart(Exchange, ImplicitAPI):
1496
1502
  def fetch_order_book(self, symbol: str, limit: Int = None, params={}) -> OrderBook:
1497
1503
  """
1498
1504
  fetches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
1499
- :see: https://developer-pro.bitmart.com/en/spot/#get-depth-v3
1500
- :see: https://developer-pro.bitmart.com/en/futures/#get-market-depth
1501
- :see: https://developer-pro.bitmart.com/en/futuresv2/#get-market-depth
1505
+
1506
+ https://developer-pro.bitmart.com/en/spot/#get-depth-v3
1507
+ https://developer-pro.bitmart.com/en/futures/#get-market-depth
1508
+ https://developer-pro.bitmart.com/en/futuresv2/#get-market-depth
1509
+
1502
1510
  :param str symbol: unified symbol of the market to fetch the order book for
1503
1511
  :param int [limit]: the maximum amount of order book entries to return
1504
1512
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -1672,7 +1680,9 @@ class bitmart(Exchange, ImplicitAPI):
1672
1680
  def fetch_trades(self, symbol: str, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
1673
1681
  """
1674
1682
  get a list of the most recent trades for a particular symbol
1675
- :see: https://developer-pro.bitmart.com/en/spot/#get-recent-trades-v3
1683
+
1684
+ https://developer-pro.bitmart.com/en/spot/#get-recent-trades-v3
1685
+
1676
1686
  :param str symbol: unified symbol of the market to fetch trades for
1677
1687
  :param int [since]: timestamp in ms of the earliest trade to fetch
1678
1688
  :param int [limit]: the maximum number of trades to fetch
@@ -1773,8 +1783,10 @@ class bitmart(Exchange, ImplicitAPI):
1773
1783
  def fetch_ohlcv(self, symbol: str, timeframe='1m', since: Int = None, limit: Int = None, params={}) -> List[list]:
1774
1784
  """
1775
1785
  fetches historical candlestick data containing the open, high, low, and close price, and the volume of a market
1776
- :see: https://developer-pro.bitmart.com/en/spot/#get-history-k-line-v3
1777
- :see: https://developer-pro.bitmart.com/en/futuresv2/#get-k-line
1786
+
1787
+ https://developer-pro.bitmart.com/en/spot/#get-history-k-line-v3
1788
+ https://developer-pro.bitmart.com/en/futuresv2/#get-k-line
1789
+
1778
1790
  :param str symbol: unified symbol of the market to fetch OHLCV data for
1779
1791
  :param str timeframe: the length of time each candle represents
1780
1792
  :param int [since]: timestamp in ms of the earliest candle to fetch
@@ -1864,8 +1876,10 @@ class bitmart(Exchange, ImplicitAPI):
1864
1876
 
1865
1877
  def fetch_my_trades(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}):
1866
1878
  """
1867
- :see: https://developer-pro.bitmart.com/en/spot/#account-trade-list-v4-signed
1868
- :see: https://developer-pro.bitmart.com/en/futures/#get-order-trade-keyed
1879
+
1880
+ https://developer-pro.bitmart.com/en/spot/#account-trade-list-v4-signed
1881
+ https://developer-pro.bitmart.com/en/futures/#get-order-trade-keyed
1882
+
1869
1883
  fetch all trades made by the user
1870
1884
  :param str symbol: unified market symbol
1871
1885
  :param int [since]: the earliest time in ms to fetch trades for
@@ -1967,7 +1981,9 @@ class bitmart(Exchange, ImplicitAPI):
1967
1981
 
1968
1982
  def fetch_order_trades(self, id: str, symbol: Str = None, since: Int = None, limit: Int = None, params={}):
1969
1983
  """
1970
- :see: https://developer-pro.bitmart.com/en/spot/#order-trade-list-v4-signed
1984
+
1985
+ https://developer-pro.bitmart.com/en/spot/#order-trade-list-v4-signed
1986
+
1971
1987
  fetch all the trades made from a single order
1972
1988
  :param str id: order id
1973
1989
  :param str symbol: unified market symbol
@@ -2033,11 +2049,13 @@ class bitmart(Exchange, ImplicitAPI):
2033
2049
  def fetch_balance(self, params={}) -> Balances:
2034
2050
  """
2035
2051
  query for balance and get the amount of funds available for trading or funds locked in orders
2036
- :see: https://developer-pro.bitmart.com/en/spot/#get-spot-wallet-balance
2037
- :see: https://developer-pro.bitmart.com/en/futures/#get-contract-assets-detail
2038
- :see: https://developer-pro.bitmart.com/en/futuresv2/#get-contract-assets-keyed
2039
- :see: https://developer-pro.bitmart.com/en/spot/#get-account-balance
2040
- :see: https://developer-pro.bitmart.com/en/spot/#get-margin-account-details-isolated
2052
+
2053
+ https://developer-pro.bitmart.com/en/spot/#get-spot-wallet-balance
2054
+ https://developer-pro.bitmart.com/en/futures/#get-contract-assets-detail
2055
+ https://developer-pro.bitmart.com/en/futuresv2/#get-contract-assets-keyed
2056
+ https://developer-pro.bitmart.com/en/spot/#get-account-balance
2057
+ https://developer-pro.bitmart.com/en/spot/#get-margin-account-details-isolated
2058
+
2041
2059
  :param dict [params]: extra parameters specific to the exchange API endpoint
2042
2060
  :returns dict: a `balance structure <https://docs.ccxt.com/#/?id=balance-structure>`
2043
2061
  """
@@ -2367,7 +2385,9 @@ class bitmart(Exchange, ImplicitAPI):
2367
2385
  def create_market_buy_order_with_cost(self, symbol: str, cost: float, params={}):
2368
2386
  """
2369
2387
  create a market buy order by providing the symbol and cost
2370
- :see: https://developer-pro.bitmart.com/en/spot/#new-order-v2-signed
2388
+
2389
+ https://developer-pro.bitmart.com/en/spot/#new-order-v2-signed
2390
+
2371
2391
  :param str symbol: unified symbol of the market to create an order in
2372
2392
  :param float cost: how much you want to trade in units of the quote currency
2373
2393
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -2383,12 +2403,14 @@ class bitmart(Exchange, ImplicitAPI):
2383
2403
  def create_order(self, symbol: str, type: OrderType, side: OrderSide, amount: float, price: Num = None, params={}):
2384
2404
  """
2385
2405
  create a trade order
2386
- :see: https://developer-pro.bitmart.com/en/spot/#new-order-v2-signed
2387
- :see: https://developer-pro.bitmart.com/en/spot/#place-margin-order
2388
- :see: https://developer-pro.bitmart.com/en/futures/#submit-order-signed
2389
- :see: https://developer-pro.bitmart.com/en/futures/#submit-plan-order-signed
2390
- :see: https://developer-pro.bitmart.com/en/futuresv2/#submit-plan-order-signed
2391
- :see: https://developer-pro.bitmart.com/en/futuresv2/#submit-tp-or-sl-order-signed
2406
+
2407
+ https://developer-pro.bitmart.com/en/spot/#new-order-v2-signed
2408
+ https://developer-pro.bitmart.com/en/spot/#place-margin-order
2409
+ https://developer-pro.bitmart.com/en/futures/#submit-order-signed
2410
+ https://developer-pro.bitmart.com/en/futures/#submit-plan-order-signed
2411
+ https://developer-pro.bitmart.com/en/futuresv2/#submit-plan-order-signed
2412
+ https://developer-pro.bitmart.com/en/futuresv2/#submit-tp-or-sl-order-signed
2413
+
2392
2414
  :param str symbol: unified symbol of the market to create an order in
2393
2415
  :param str type: 'market', 'limit' or 'trailing' for swap markets only
2394
2416
  :param str side: 'buy' or 'sell'
@@ -2462,7 +2484,9 @@ class bitmart(Exchange, ImplicitAPI):
2462
2484
  def create_orders(self, orders: List[OrderRequest], params={}):
2463
2485
  """
2464
2486
  create a list of trade orders
2465
- :see: https://developer-pro.bitmart.com/en/spot/#new-batch-order-v4-signed
2487
+
2488
+ https://developer-pro.bitmart.com/en/spot/#new-batch-order-v4-signed
2489
+
2466
2490
  :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
2467
2491
  :param dict [params]: extra parameters specific to the exchange API endpoint
2468
2492
  :returns dict: an `order structure <https://docs.ccxt.com/#/?id=order-structure>`
@@ -2523,12 +2547,12 @@ class bitmart(Exchange, ImplicitAPI):
2523
2547
 
2524
2548
  def create_swap_order_request(self, symbol: str, type: OrderType, side: OrderSide, amount: float, price: Num = None, params={}):
2525
2549
  """
2526
- * @ignore
2550
+ @ignore
2527
2551
  create a trade order
2528
- :see: https://developer-pro.bitmart.com/en/futures/#submit-order-signed
2529
- :see: https://developer-pro.bitmart.com/en/futures/#submit-plan-order-signed
2530
- :see: https://developer-pro.bitmart.com/en/futuresv2/#submit-plan-order-signed
2531
- :see: https://developer-pro.bitmart.com/en/futuresv2/#submit-tp-or-sl-order-signed
2552
+ https://developer-pro.bitmart.com/en/futures/#submit-order-signed
2553
+ https://developer-pro.bitmart.com/en/futures/#submit-plan-order-signed
2554
+ https://developer-pro.bitmart.com/en/futuresv2/#submit-plan-order-signed
2555
+ https://developer-pro.bitmart.com/en/futuresv2/#submit-tp-or-sl-order-signed
2532
2556
  :param str symbol: unified symbol of the market to create an order in
2533
2557
  :param str type: 'market', 'limit', 'trailing', 'stop_loss', or 'take_profit'
2534
2558
  :param str side: 'buy' or 'sell'
@@ -2643,10 +2667,10 @@ class bitmart(Exchange, ImplicitAPI):
2643
2667
 
2644
2668
  def create_spot_order_request(self, symbol: str, type: OrderType, side: OrderSide, amount: float, price: Num = None, params={}):
2645
2669
  """
2646
- * @ignore
2670
+ @ignore
2647
2671
  create a spot order request
2648
- :see: https://developer-pro.bitmart.com/en/spot/#place-spot-order
2649
- :see: https://developer-pro.bitmart.com/en/spot/#place-margin-order
2672
+ https://developer-pro.bitmart.com/en/spot/#place-spot-order
2673
+ https://developer-pro.bitmart.com/en/spot/#place-margin-order
2650
2674
  :param str symbol: unified symbol of the market to create an order in
2651
2675
  :param str type: 'market' or 'limit'
2652
2676
  :param str side: 'buy' or 'sell'
@@ -2709,12 +2733,14 @@ class bitmart(Exchange, ImplicitAPI):
2709
2733
  def cancel_order(self, id: str, symbol: Str = None, params={}):
2710
2734
  """
2711
2735
  cancels an open order
2712
- :see: https://developer-pro.bitmart.com/en/futures/#cancel-order-signed
2713
- :see: https://developer-pro.bitmart.com/en/spot/#cancel-order-v3-signed
2714
- :see: https://developer-pro.bitmart.com/en/futures/#cancel-plan-order-signed
2715
- :see: https://developer-pro.bitmart.com/en/futures/#cancel-plan-order-signed
2716
- :see: https://developer-pro.bitmart.com/en/futures/#cancel-order-signed
2717
- :see: https://developer-pro.bitmart.com/en/futures/#cancel-plan-order-signed
2736
+
2737
+ https://developer-pro.bitmart.com/en/futures/#cancel-order-signed
2738
+ https://developer-pro.bitmart.com/en/spot/#cancel-order-v3-signed
2739
+ https://developer-pro.bitmart.com/en/futures/#cancel-plan-order-signed
2740
+ https://developer-pro.bitmart.com/en/futures/#cancel-plan-order-signed
2741
+ https://developer-pro.bitmart.com/en/futures/#cancel-order-signed
2742
+ https://developer-pro.bitmart.com/en/futures/#cancel-plan-order-signed
2743
+
2718
2744
  :param str id: order id
2719
2745
  :param str symbol: unified symbol of the market the order was made in
2720
2746
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -2788,7 +2814,9 @@ class bitmart(Exchange, ImplicitAPI):
2788
2814
  def cancel_orders(self, ids: List[str], symbol: Str = None, params={}):
2789
2815
  """
2790
2816
  cancel multiple orders
2791
- :see: https://developer-pro.bitmart.com/en/spot/#cancel-batch-order-v4-signed
2817
+
2818
+ https://developer-pro.bitmart.com/en/spot/#cancel-batch-order-v4-signed
2819
+
2792
2820
  :param str[] ids: order ids
2793
2821
  :param str symbol: unified symbol of the market the order was made in
2794
2822
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -2842,10 +2870,12 @@ class bitmart(Exchange, ImplicitAPI):
2842
2870
  def cancel_all_orders(self, symbol: Str = None, params={}):
2843
2871
  """
2844
2872
  cancel all open orders in a market
2845
- :see: https://developer-pro.bitmart.com/en/spot/#cancel-all-orders
2846
- :see: https://developer-pro.bitmart.com/en/spot/#new-batch-order-v4-signed
2847
- :see: https://developer-pro.bitmart.com/en/futures/#cancel-all-orders-signed
2848
- :see: https://developer-pro.bitmart.com/en/futuresv2/#cancel-all-orders-signed
2873
+
2874
+ https://developer-pro.bitmart.com/en/spot/#cancel-all-orders
2875
+ https://developer-pro.bitmart.com/en/spot/#new-batch-order-v4-signed
2876
+ https://developer-pro.bitmart.com/en/futures/#cancel-all-orders-signed
2877
+ https://developer-pro.bitmart.com/en/futuresv2/#cancel-all-orders-signed
2878
+
2849
2879
  :param str symbol: unified market symbol of the market to cancel orders in
2850
2880
  :param dict [params]: extra parameters specific to the exchange API endpoint
2851
2881
  :param str [params.side]: *spot only* 'buy' or 'sell'
@@ -2941,9 +2971,11 @@ class bitmart(Exchange, ImplicitAPI):
2941
2971
 
2942
2972
  def fetch_open_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
2943
2973
  """
2944
- :see: https://developer-pro.bitmart.com/en/spot/#current-open-orders-v4-signed
2945
- :see: https://developer-pro.bitmart.com/en/futures/#get-all-open-orders-keyed
2946
- :see: https://developer-pro.bitmart.com/en/futures/#get-all-current-plan-orders-keyed
2974
+
2975
+ https://developer-pro.bitmart.com/en/spot/#current-open-orders-v4-signed
2976
+ https://developer-pro.bitmart.com/en/futures/#get-all-open-orders-keyed
2977
+ https://developer-pro.bitmart.com/en/futures/#get-all-current-plan-orders-keyed
2978
+
2947
2979
  fetch all unfilled currently open orders
2948
2980
  :param str symbol: unified market symbol
2949
2981
  :param int [since]: the earliest time in ms to fetch open orders for
@@ -3056,9 +3088,11 @@ class bitmart(Exchange, ImplicitAPI):
3056
3088
 
3057
3089
  def fetch_closed_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
3058
3090
  """
3059
- :see: https://developer-pro.bitmart.com/en/spot/#account-orders-v4-signed
3060
- :see: https://developer-pro.bitmart.com/en/futures/#get-order-history-keyed
3061
- :see: https://developer-pro.bitmart.com/en/futuresv2/#get-order-history-keyed
3091
+
3092
+ https://developer-pro.bitmart.com/en/spot/#account-orders-v4-signed
3093
+ https://developer-pro.bitmart.com/en/futures/#get-order-history-keyed
3094
+ https://developer-pro.bitmart.com/en/futuresv2/#get-order-history-keyed
3095
+
3062
3096
  fetches information on multiple closed orders made by the user
3063
3097
  :param str symbol: unified market symbol of the market orders were made in
3064
3098
  :param int [since]: the earliest time in ms to fetch orders for
@@ -3113,10 +3147,12 @@ class bitmart(Exchange, ImplicitAPI):
3113
3147
  def fetch_order(self, id: str, symbol: Str = None, params={}):
3114
3148
  """
3115
3149
  fetches information on an order made by the user
3116
- :see: https://developer-pro.bitmart.com/en/spot/#query-order-by-id-v4-signed
3117
- :see: https://developer-pro.bitmart.com/en/spot/#query-order-by-clientorderid-v4-signed
3118
- :see: https://developer-pro.bitmart.com/en/futures/#get-order-detail-keyed
3119
- :see: https://developer-pro.bitmart.com/en/futuresv2/#get-order-detail-keyed
3150
+
3151
+ https://developer-pro.bitmart.com/en/spot/#query-order-by-id-v4-signed
3152
+ https://developer-pro.bitmart.com/en/spot/#query-order-by-clientorderid-v4-signed
3153
+ https://developer-pro.bitmart.com/en/futures/#get-order-detail-keyed
3154
+ https://developer-pro.bitmart.com/en/futuresv2/#get-order-detail-keyed
3155
+
3120
3156
  :param str id: the id of the order
3121
3157
  :param str symbol: unified symbol of the market the order was made in
3122
3158
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -3210,7 +3246,9 @@ class bitmart(Exchange, ImplicitAPI):
3210
3246
  def fetch_deposit_address(self, code: str, params={}) -> DepositAddress:
3211
3247
  """
3212
3248
  fetch the deposit address for a currency associated with self account
3213
- :see: https://developer-pro.bitmart.com/en/spot/#deposit-address-keyed
3249
+
3250
+ https://developer-pro.bitmart.com/en/spot/#deposit-address-keyed
3251
+
3214
3252
  :param str code: unified currency code
3215
3253
  :param dict [params]: extra parameters specific to the exchange API endpoint
3216
3254
  :returns dict: an `address structure <https://docs.ccxt.com/#/?id=address-structure>`
@@ -3565,7 +3603,9 @@ class bitmart(Exchange, ImplicitAPI):
3565
3603
  def repay_isolated_margin(self, symbol: str, code: str, amount, params={}):
3566
3604
  """
3567
3605
  repay borrowed margin and interest
3568
- :see: https://developer-pro.bitmart.com/en/spot/#margin-repay-isolated
3606
+
3607
+ https://developer-pro.bitmart.com/en/spot/#margin-repay-isolated
3608
+
3569
3609
  :param str symbol: unified market symbol
3570
3610
  :param str code: unified currency code of the currency to repay
3571
3611
  :param str amount: the amount to repay
@@ -3601,7 +3641,9 @@ class bitmart(Exchange, ImplicitAPI):
3601
3641
  def borrow_isolated_margin(self, symbol: str, code: str, amount: float, params={}):
3602
3642
  """
3603
3643
  create a loan to borrow margin
3604
- :see: https://developer-pro.bitmart.com/en/spot/#margin-borrow-isolated
3644
+
3645
+ https://developer-pro.bitmart.com/en/spot/#margin-borrow-isolated
3646
+
3605
3647
  :param str symbol: unified market symbol
3606
3648
  :param str code: unified currency code of the currency to borrow
3607
3649
  :param str amount: the amount to borrow
@@ -3661,7 +3703,9 @@ class bitmart(Exchange, ImplicitAPI):
3661
3703
  def fetch_isolated_borrow_rate(self, symbol: str, params={}) -> IsolatedBorrowRate:
3662
3704
  """
3663
3705
  fetch the rate of interest to borrow a currency for margin trading
3664
- :see: https://developer-pro.bitmart.com/en/spot/#get-trading-pair-borrowing-rate-and-amount-keyed
3706
+
3707
+ https://developer-pro.bitmart.com/en/spot/#get-trading-pair-borrowing-rate-and-amount-keyed
3708
+
3665
3709
  :param str symbol: unified symbol of the market to fetch the borrow rate for
3666
3710
  :param dict [params]: extra parameters specific to the exchange API endpoint
3667
3711
  :returns dict: an `isolated borrow rate structure <https://github.com/ccxt/ccxt/wiki/Manual#isolated-borrow-rate-structure>`
@@ -3754,7 +3798,9 @@ class bitmart(Exchange, ImplicitAPI):
3754
3798
  def fetch_isolated_borrow_rates(self, params={}) -> IsolatedBorrowRates:
3755
3799
  """
3756
3800
  fetch the borrow interest rates of all currencies, currently only works for isolated margin
3757
- :see: https://developer-pro.bitmart.com/en/spot/#get-trading-pair-borrowing-rate-and-amount-keyed
3801
+
3802
+ https://developer-pro.bitmart.com/en/spot/#get-trading-pair-borrowing-rate-and-amount-keyed
3803
+
3758
3804
  :param dict [params]: extra parameters specific to the exchange API endpoint
3759
3805
  :returns dict: a list of `isolated borrow rate structures <https://docs.ccxt.com/#/?id=isolated-borrow-rate-structure>`
3760
3806
  """
@@ -3799,9 +3845,11 @@ class bitmart(Exchange, ImplicitAPI):
3799
3845
  def transfer(self, code: str, amount: float, fromAccount: str, toAccount: str, params={}) -> TransferEntry:
3800
3846
  """
3801
3847
  transfer currency internally between wallets on the same account, currently only supports transfer between spot and margin
3802
- :see: https://developer-pro.bitmart.com/en/spot/#margin-asset-transfer-signed
3803
- :see: https://developer-pro.bitmart.com/en/futures/#transfer-signed
3804
- :see: https://developer-pro.bitmart.com/en/futuresv2/#transfer-signed
3848
+
3849
+ https://developer-pro.bitmart.com/en/spot/#margin-asset-transfer-signed
3850
+ https://developer-pro.bitmart.com/en/futures/#transfer-signed
3851
+ https://developer-pro.bitmart.com/en/futuresv2/#transfer-signed
3852
+
3805
3853
  :param str code: unified currency code
3806
3854
  :param float amount: amount to transfer
3807
3855
  :param str fromAccount: account to transfer from
@@ -3930,7 +3978,9 @@ class bitmart(Exchange, ImplicitAPI):
3930
3978
  def fetch_transfers(self, code: Str = None, since: Int = None, limit: Int = None, params={}) -> List[TransferEntry]:
3931
3979
  """
3932
3980
  fetch a history of internal transfers made on an account, only transfers between spot and swap are supported
3933
- :see: https://developer-pro.bitmart.com/en/futures/#get-transfer-list-signed
3981
+
3982
+ https://developer-pro.bitmart.com/en/futures/#get-transfer-list-signed
3983
+
3934
3984
  :param str code: unified currency code of the currency transferred
3935
3985
  :param int [since]: the earliest time in ms to fetch transfers for
3936
3986
  :param int [limit]: the maximum number of transfer structures to retrieve
@@ -3986,7 +4036,9 @@ class bitmart(Exchange, ImplicitAPI):
3986
4036
  def fetch_borrow_interest(self, code: Str = None, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[BorrowInterest]:
3987
4037
  """
3988
4038
  fetch the interest owed by the user for borrowing currency for margin trading
3989
- :see: https://developer-pro.bitmart.com/en/spot/#get-borrow-record-isolated
4039
+
4040
+ https://developer-pro.bitmart.com/en/spot/#get-borrow-record-isolated
4041
+
3990
4042
  :param str code: unified currency code
3991
4043
  :param str symbol: unified market symbol when fetch interest in isolated markets
3992
4044
  :param int [since]: the earliest time in ms to fetch borrrow interest for
@@ -4063,7 +4115,9 @@ class bitmart(Exchange, ImplicitAPI):
4063
4115
  def fetch_open_interest(self, symbol: str, params={}):
4064
4116
  """
4065
4117
  Retrieves the open interest of a currency
4066
- :see: https://developer-pro.bitmart.com/en/futuresv2/#get-futures-openinterest
4118
+
4119
+ https://developer-pro.bitmart.com/en/futuresv2/#get-futures-openinterest
4120
+
4067
4121
  :param str symbol: Unified CCXT market symbol
4068
4122
  :param dict [params]: exchange specific parameters
4069
4123
  :returns dict} an open interest structure{@link https://docs.ccxt.com/#/?id=open-interest-structure:
@@ -4115,8 +4169,10 @@ class bitmart(Exchange, ImplicitAPI):
4115
4169
  def set_leverage(self, leverage: Int, symbol: Str = None, params={}):
4116
4170
  """
4117
4171
  set the level of leverage for a market
4118
- :see: https://developer-pro.bitmart.com/en/futures/#submit-leverage-signed
4119
- :see: https://developer-pro.bitmart.com/en/futuresv2/#submit-leverage-signed
4172
+
4173
+ https://developer-pro.bitmart.com/en/futures/#submit-leverage-signed
4174
+ https://developer-pro.bitmart.com/en/futuresv2/#submit-leverage-signed
4175
+
4120
4176
  :param float leverage: the rate of leverage
4121
4177
  :param str symbol: unified market symbol
4122
4178
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -4142,7 +4198,9 @@ class bitmart(Exchange, ImplicitAPI):
4142
4198
  def fetch_funding_rate(self, symbol: str, params={}) -> FundingRate:
4143
4199
  """
4144
4200
  fetch the current funding rate
4145
- :see: https://developer-pro.bitmart.com/en/futuresv2/#get-current-funding-rate
4201
+
4202
+ https://developer-pro.bitmart.com/en/futuresv2/#get-current-funding-rate
4203
+
4146
4204
  :param str symbol: unified market symbol
4147
4205
  :param dict [params]: extra parameters specific to the exchange API endpoint
4148
4206
  :returns dict: a `funding rate structure <https://docs.ccxt.com/#/?id=funding-rate-structure>`
@@ -4206,8 +4264,10 @@ class bitmart(Exchange, ImplicitAPI):
4206
4264
  def fetch_position(self, symbol: str, params={}):
4207
4265
  """
4208
4266
  fetch data on a single open contract trade position
4209
- :see: https://developer-pro.bitmart.com/en/futures/#get-current-position-keyed
4210
- :see: https://developer-pro.bitmart.com/en/futuresv2/#get-current-position-risk-details-keyed
4267
+
4268
+ https://developer-pro.bitmart.com/en/futures/#get-current-position-keyed
4269
+ https://developer-pro.bitmart.com/en/futuresv2/#get-current-position-risk-details-keyed
4270
+
4211
4271
  :param str symbol: unified market symbol of the market the position is held in
4212
4272
  :param dict [params]: extra parameters specific to the exchange API endpoint
4213
4273
  :returns dict: a `position structure <https://docs.ccxt.com/#/?id=position-structure>`
@@ -4254,8 +4314,10 @@ class bitmart(Exchange, ImplicitAPI):
4254
4314
  def fetch_positions(self, symbols: Strings = None, params={}):
4255
4315
  """
4256
4316
  fetch all open contract positions
4257
- :see: https://developer-pro.bitmart.com/en/futures/#get-current-position-keyed
4258
- :see: https://developer-pro.bitmart.com/en/futuresv2/#get-current-position-risk-details-keyed
4317
+
4318
+ https://developer-pro.bitmart.com/en/futures/#get-current-position-keyed
4319
+ https://developer-pro.bitmart.com/en/futuresv2/#get-current-position-risk-details-keyed
4320
+
4259
4321
  :param str[]|None symbols: list of unified market symbols
4260
4322
  :param dict [params]: extra parameters specific to the exchange API endpoint
4261
4323
  :returns dict[]: a list of `position structures <https://docs.ccxt.com/#/?id=position-structure>`
@@ -4375,7 +4437,9 @@ class bitmart(Exchange, ImplicitAPI):
4375
4437
  def fetch_my_liquidations(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}):
4376
4438
  """
4377
4439
  retrieves the users liquidated positions
4378
- :see: https://developer-pro.bitmart.com/en/futures/#get-order-history-keyed
4440
+
4441
+ https://developer-pro.bitmart.com/en/futures/#get-order-history-keyed
4442
+
4379
4443
  :param str symbol: unified CCXT market symbol
4380
4444
  :param int [since]: the earliest time in ms to fetch liquidations for
4381
4445
  :param int [limit]: the maximum number of liquidation structures to retrieve
@@ -4471,9 +4535,11 @@ class bitmart(Exchange, ImplicitAPI):
4471
4535
  def edit_order(self, id: str, symbol: str, type: OrderType, side: OrderSide, amount: Num = None, price: Num = None, params={}) -> Order:
4472
4536
  """
4473
4537
  edits an open order
4474
- :see: https://developer-pro.bitmart.com/en/futuresv2/#modify-plan-order-signed
4475
- :see: https://developer-pro.bitmart.com/en/futuresv2/#modify-tp-sl-order-signed
4476
- :see: https://developer-pro.bitmart.com/en/futuresv2/#modify-preset-plan-order-signed
4538
+
4539
+ https://developer-pro.bitmart.com/en/futuresv2/#modify-plan-order-signed
4540
+ https://developer-pro.bitmart.com/en/futuresv2/#modify-tp-sl-order-signed
4541
+ https://developer-pro.bitmart.com/en/futuresv2/#modify-preset-plan-order-signed
4542
+
4477
4543
  :param str id: order id
4478
4544
  :param str symbol: unified symbol of the market to edit an order in
4479
4545
  :param str type: 'market' or 'limit'