ccxt 4.4.30__py2.py3-none-any.whl → 4.4.32__py2.py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (268) hide show
  1. ccxt/__init__.py +1 -1
  2. ccxt/ace.py +36 -12
  3. ccxt/alpaca.py +62 -22
  4. ccxt/ascendex.py +65 -30
  5. ccxt/async_support/__init__.py +1 -1
  6. ccxt/async_support/ace.py +36 -12
  7. ccxt/async_support/alpaca.py +62 -22
  8. ccxt/async_support/ascendex.py +65 -30
  9. ccxt/async_support/base/exchange.py +3 -3
  10. ccxt/async_support/base/ws/aiohttp_client.py +25 -3
  11. ccxt/async_support/bigone.py +71 -27
  12. ccxt/async_support/binance.py +555 -323
  13. ccxt/async_support/bingx.py +208 -108
  14. ccxt/async_support/bit2c.py +34 -12
  15. ccxt/async_support/bitbank.py +42 -14
  16. ccxt/async_support/bitbns.py +17 -9
  17. ccxt/async_support/bitfinex.py +68 -24
  18. ccxt/async_support/bitfinex2.py +116 -44
  19. ccxt/async_support/bitflyer.py +54 -18
  20. ccxt/async_support/bitget.py +277 -145
  21. ccxt/async_support/bithumb.py +39 -14
  22. ccxt/async_support/bitmart.py +145 -79
  23. ccxt/async_support/bitmex.py +90 -30
  24. ccxt/async_support/bitopro.py +66 -22
  25. ccxt/async_support/bitrue.py +109 -57
  26. ccxt/async_support/bitso.py +55 -19
  27. ccxt/async_support/bitstamp.py +84 -36
  28. ccxt/async_support/bitteam.py +51 -17
  29. ccxt/async_support/bitvavo.py +57 -22
  30. ccxt/async_support/bl3p.py +26 -10
  31. ccxt/async_support/blockchaincom.py +63 -21
  32. ccxt/async_support/blofin.py +95 -38
  33. ccxt/async_support/btcalpha.py +48 -16
  34. ccxt/async_support/btcbox.py +27 -9
  35. ccxt/async_support/btcmarkets.py +57 -19
  36. ccxt/async_support/btcturk.py +36 -12
  37. ccxt/async_support/bybit.py +251 -95
  38. ccxt/async_support/cex.py +65 -22
  39. ccxt/async_support/coinbase.py +138 -56
  40. ccxt/async_support/coinbaseexchange.py +76 -28
  41. ccxt/async_support/coinbaseinternational.py +75 -27
  42. ccxt/async_support/coincatch.py +191 -97
  43. ccxt/async_support/coincheck.py +33 -11
  44. ccxt/async_support/coinex.py +212 -101
  45. ccxt/async_support/coinlist.py +87 -30
  46. ccxt/async_support/coinmate.py +55 -24
  47. ccxt/async_support/coinmetro.py +52 -18
  48. ccxt/async_support/coinone.py +27 -10
  49. ccxt/async_support/coinsph.py +73 -27
  50. ccxt/async_support/coinspot.py +25 -9
  51. ccxt/async_support/cryptocom.py +103 -38
  52. ccxt/async_support/currencycom.py +70 -23
  53. ccxt/async_support/delta.py +90 -30
  54. ccxt/async_support/deribit.py +131 -50
  55. ccxt/async_support/digifinex.py +114 -51
  56. ccxt/async_support/exmo.py +104 -45
  57. ccxt/async_support/gate.py +313 -157
  58. ccxt/async_support/gemini.py +57 -20
  59. ccxt/async_support/hashkey.py +151 -66
  60. ccxt/async_support/hitbtc.py +157 -74
  61. ccxt/async_support/hollaex.py +76 -25
  62. ccxt/async_support/htx.py +297 -240
  63. ccxt/async_support/huobijp.py +1 -0
  64. ccxt/async_support/hyperliquid.py +94 -38
  65. ccxt/async_support/idex.py +73 -24
  66. ccxt/async_support/independentreserve.py +12 -5
  67. ccxt/async_support/indodax.py +54 -17
  68. ccxt/async_support/kraken.py +108 -36
  69. ccxt/async_support/krakenfutures.py +88 -34
  70. ccxt/async_support/kucoin.py +214 -110
  71. ccxt/async_support/kucoinfutures.py +209 -64
  72. ccxt/async_support/kuna.py +80 -39
  73. ccxt/async_support/latoken.py +70 -33
  74. ccxt/async_support/lbank.py +89 -38
  75. ccxt/async_support/luno.py +54 -19
  76. ccxt/async_support/lykke.py +54 -19
  77. ccxt/async_support/mercado.py +1 -0
  78. ccxt/async_support/mexc.py +226 -108
  79. ccxt/async_support/ndax.py +58 -19
  80. ccxt/async_support/novadax.py +67 -22
  81. ccxt/async_support/oceanex.py +58 -19
  82. ccxt/async_support/okcoin.py +81 -38
  83. ccxt/async_support/okx.py +270 -109
  84. ccxt/async_support/onetrading.py +3 -1
  85. ccxt/async_support/oxfun.py +95 -36
  86. ccxt/async_support/p2b.py +49 -23
  87. ccxt/async_support/paradex.py +75 -27
  88. ccxt/async_support/paymium.py +31 -11
  89. ccxt/async_support/phemex.py +108 -56
  90. ccxt/async_support/poloniex.py +80 -30
  91. ccxt/async_support/poloniexfutures.py +72 -30
  92. ccxt/async_support/probit.py +64 -22
  93. ccxt/async_support/timex.py +58 -19
  94. ccxt/async_support/tokocrypto.py +63 -22
  95. ccxt/async_support/tradeogre.py +7 -2
  96. ccxt/async_support/upbit.py +72 -25
  97. ccxt/async_support/vertex.py +74 -28
  98. ccxt/async_support/wavesexchange.py +32 -8
  99. ccxt/async_support/wazirx.py +51 -17
  100. ccxt/async_support/whitebit.py +105 -41
  101. ccxt/async_support/woo.py +162 -65
  102. ccxt/async_support/woofipro.py +119 -50
  103. ccxt/async_support/xt.py +150 -73
  104. ccxt/async_support/yobit.py +49 -16
  105. ccxt/async_support/zaif.py +30 -10
  106. ccxt/async_support/zonda.py +46 -16
  107. ccxt/base/exchange.py +47 -35
  108. ccxt/base/types.py +1 -0
  109. ccxt/bigone.py +71 -27
  110. ccxt/binance.py +555 -323
  111. ccxt/bingx.py +208 -108
  112. ccxt/bit2c.py +34 -12
  113. ccxt/bitbank.py +42 -14
  114. ccxt/bitbns.py +17 -9
  115. ccxt/bitfinex.py +68 -24
  116. ccxt/bitfinex2.py +116 -44
  117. ccxt/bitflyer.py +54 -18
  118. ccxt/bitget.py +277 -145
  119. ccxt/bithumb.py +39 -14
  120. ccxt/bitmart.py +145 -79
  121. ccxt/bitmex.py +90 -30
  122. ccxt/bitopro.py +66 -22
  123. ccxt/bitrue.py +109 -57
  124. ccxt/bitso.py +55 -19
  125. ccxt/bitstamp.py +84 -36
  126. ccxt/bitteam.py +51 -17
  127. ccxt/bitvavo.py +57 -22
  128. ccxt/bl3p.py +26 -10
  129. ccxt/blockchaincom.py +63 -21
  130. ccxt/blofin.py +95 -38
  131. ccxt/btcalpha.py +48 -16
  132. ccxt/btcbox.py +27 -9
  133. ccxt/btcmarkets.py +57 -19
  134. ccxt/btcturk.py +36 -12
  135. ccxt/bybit.py +251 -95
  136. ccxt/cex.py +65 -22
  137. ccxt/coinbase.py +138 -56
  138. ccxt/coinbaseexchange.py +76 -28
  139. ccxt/coinbaseinternational.py +75 -27
  140. ccxt/coincatch.py +191 -97
  141. ccxt/coincheck.py +33 -11
  142. ccxt/coinex.py +212 -101
  143. ccxt/coinlist.py +87 -30
  144. ccxt/coinmate.py +55 -24
  145. ccxt/coinmetro.py +52 -18
  146. ccxt/coinone.py +27 -10
  147. ccxt/coinsph.py +73 -27
  148. ccxt/coinspot.py +25 -9
  149. ccxt/cryptocom.py +103 -38
  150. ccxt/currencycom.py +70 -23
  151. ccxt/delta.py +90 -30
  152. ccxt/deribit.py +131 -50
  153. ccxt/digifinex.py +114 -51
  154. ccxt/exmo.py +104 -45
  155. ccxt/gate.py +313 -157
  156. ccxt/gemini.py +57 -20
  157. ccxt/hashkey.py +151 -66
  158. ccxt/hitbtc.py +157 -74
  159. ccxt/hollaex.py +76 -25
  160. ccxt/htx.py +297 -240
  161. ccxt/huobijp.py +1 -0
  162. ccxt/hyperliquid.py +94 -38
  163. ccxt/idex.py +73 -24
  164. ccxt/independentreserve.py +12 -5
  165. ccxt/indodax.py +54 -17
  166. ccxt/kraken.py +108 -36
  167. ccxt/krakenfutures.py +88 -34
  168. ccxt/kucoin.py +214 -110
  169. ccxt/kucoinfutures.py +209 -64
  170. ccxt/kuna.py +80 -39
  171. ccxt/latoken.py +70 -33
  172. ccxt/lbank.py +89 -38
  173. ccxt/luno.py +54 -19
  174. ccxt/lykke.py +54 -19
  175. ccxt/mercado.py +1 -0
  176. ccxt/mexc.py +226 -108
  177. ccxt/ndax.py +58 -19
  178. ccxt/novadax.py +67 -22
  179. ccxt/oceanex.py +58 -19
  180. ccxt/okcoin.py +81 -38
  181. ccxt/okx.py +270 -109
  182. ccxt/onetrading.py +3 -1
  183. ccxt/oxfun.py +95 -36
  184. ccxt/p2b.py +49 -23
  185. ccxt/paradex.py +75 -27
  186. ccxt/paymium.py +31 -11
  187. ccxt/phemex.py +108 -56
  188. ccxt/poloniex.py +80 -30
  189. ccxt/poloniexfutures.py +72 -30
  190. ccxt/pro/__init__.py +1 -1
  191. ccxt/pro/alpaca.py +15 -5
  192. ccxt/pro/ascendex.py +18 -6
  193. ccxt/pro/binance.py +204 -123
  194. ccxt/pro/bingx.py +44 -24
  195. ccxt/pro/bitfinex.py +13 -5
  196. ccxt/pro/bitget.py +76 -37
  197. ccxt/pro/bithumb.py +12 -4
  198. ccxt/pro/bitmart.py +44 -20
  199. ccxt/pro/bitmex.py +42 -14
  200. ccxt/pro/bitopro.py +15 -5
  201. ccxt/pro/bitrue.py +7 -3
  202. ccxt/pro/bitvavo.py +97 -62
  203. ccxt/pro/blockchaincom.py +18 -6
  204. ccxt/pro/blofin.py +36 -12
  205. ccxt/pro/bybit.py +100 -42
  206. ccxt/pro/cex.py +48 -16
  207. ccxt/pro/coinbase.py +32 -12
  208. ccxt/pro/coinbaseexchange.py +1 -1
  209. ccxt/pro/coinbaseinternational.py +34 -14
  210. ccxt/pro/coincatch.py +54 -19
  211. ccxt/pro/coincheck.py +6 -2
  212. ccxt/pro/coinex.py +40 -20
  213. ccxt/pro/coinone.py +9 -3
  214. ccxt/pro/cryptocom.py +71 -27
  215. ccxt/pro/deribit.py +36 -12
  216. ccxt/pro/exmo.py +10 -4
  217. ccxt/pro/gate.py +65 -31
  218. ccxt/pro/gemini.py +21 -7
  219. ccxt/pro/hashkey.py +27 -9
  220. ccxt/pro/hitbtc.py +61 -37
  221. ccxt/pro/hollaex.py +15 -5
  222. ccxt/pro/htx.py +39 -21
  223. ccxt/pro/hyperliquid.py +41 -14
  224. ccxt/pro/kraken.py +49 -17
  225. ccxt/pro/krakenfutures.py +47 -24
  226. ccxt/pro/kucoin.py +60 -31
  227. ccxt/pro/kucoinfutures.py +41 -19
  228. ccxt/pro/lbank.py +27 -9
  229. ccxt/pro/luno.py +3 -1
  230. ccxt/pro/mexc.py +36 -19
  231. ccxt/pro/ndax.py +12 -4
  232. ccxt/pro/okcoin.py +18 -6
  233. ccxt/pro/okx.py +76 -28
  234. ccxt/pro/onetrading.py +21 -7
  235. ccxt/pro/oxfun.py +54 -20
  236. ccxt/pro/p2b.py +23 -11
  237. ccxt/pro/paradex.py +12 -4
  238. ccxt/pro/phemex.py +31 -19
  239. ccxt/pro/poloniex.py +50 -22
  240. ccxt/pro/poloniexfutures.py +17 -7
  241. ccxt/pro/probit.py +18 -6
  242. ccxt/pro/upbit.py +25 -9
  243. ccxt/pro/vertex.py +20 -6
  244. ccxt/pro/wazirx.py +21 -7
  245. ccxt/pro/whitebit.py +25 -9
  246. ccxt/pro/woo.py +32 -12
  247. ccxt/pro/woofipro.py +35 -13
  248. ccxt/pro/xt.py +46 -26
  249. ccxt/probit.py +64 -22
  250. ccxt/timex.py +58 -19
  251. ccxt/tokocrypto.py +63 -22
  252. ccxt/tradeogre.py +7 -2
  253. ccxt/upbit.py +72 -25
  254. ccxt/vertex.py +74 -28
  255. ccxt/wavesexchange.py +32 -8
  256. ccxt/wazirx.py +51 -17
  257. ccxt/whitebit.py +105 -41
  258. ccxt/woo.py +162 -65
  259. ccxt/woofipro.py +119 -50
  260. ccxt/xt.py +150 -73
  261. ccxt/yobit.py +49 -16
  262. ccxt/zaif.py +30 -10
  263. ccxt/zonda.py +46 -16
  264. {ccxt-4.4.30.dist-info → ccxt-4.4.32.dist-info}/METADATA +11 -5
  265. {ccxt-4.4.30.dist-info → ccxt-4.4.32.dist-info}/RECORD +268 -268
  266. {ccxt-4.4.30.dist-info → ccxt-4.4.32.dist-info}/LICENSE.txt +0 -0
  267. {ccxt-4.4.30.dist-info → ccxt-4.4.32.dist-info}/WHEEL +0 -0
  268. {ccxt-4.4.30.dist-info → ccxt-4.4.32.dist-info}/top_level.txt +0 -0
@@ -1528,7 +1528,9 @@ class bitget(Exchange, ImplicitAPI):
1528
1528
  async def fetch_time(self, params={}):
1529
1529
  """
1530
1530
  fetches the current integer timestamp in milliseconds from the exchange server
1531
- :see: https://www.bitget.com/api-doc/common/public/Get-Server-Time
1531
+
1532
+ https://www.bitget.com/api-doc/common/public/Get-Server-Time
1533
+
1532
1534
  :param dict [params]: extra parameters specific to the exchange API endpoint
1533
1535
  :returns int: the current integer timestamp in milliseconds from the exchange server
1534
1536
  """
@@ -1549,9 +1551,11 @@ class bitget(Exchange, ImplicitAPI):
1549
1551
  async def fetch_markets(self, params={}) -> List[Market]:
1550
1552
  """
1551
1553
  retrieves data on all markets for bitget
1552
- :see: https://www.bitget.com/api-doc/spot/market/Get-Symbols
1553
- :see: https://www.bitget.com/api-doc/contract/market/Get-All-Symbols-Contracts
1554
- :see: https://www.bitget.com/api-doc/margin/common/support-currencies
1554
+
1555
+ https://www.bitget.com/api-doc/spot/market/Get-Symbols
1556
+ https://www.bitget.com/api-doc/contract/market/Get-All-Symbols-Contracts
1557
+ https://www.bitget.com/api-doc/margin/common/support-currencies
1558
+
1555
1559
  :param dict [params]: extra parameters specific to the exchange API endpoint
1556
1560
  :returns dict[]: an array of objects representing market data
1557
1561
  """
@@ -1804,7 +1808,9 @@ class bitget(Exchange, ImplicitAPI):
1804
1808
  async def fetch_currencies(self, params={}) -> Currencies:
1805
1809
  """
1806
1810
  fetches all available currencies on an exchange
1807
- :see: https://www.bitget.com/api-doc/spot/market/Get-Coin-List
1811
+
1812
+ https://www.bitget.com/api-doc/spot/market/Get-Coin-List
1813
+
1808
1814
  :param dict [params]: extra parameters specific to the exchange API endpoint
1809
1815
  :returns dict: an associative dictionary of currencies
1810
1816
  """
@@ -1925,9 +1931,11 @@ class bitget(Exchange, ImplicitAPI):
1925
1931
  async def fetch_market_leverage_tiers(self, symbol: str, params={}) -> List[LeverageTier]:
1926
1932
  """
1927
1933
  retrieve information on the maximum leverage, and maintenance margin for trades of varying trade sizes for a single market
1928
- :see: https://www.bitget.com/api-doc/contract/position/Get-Query-Position-Lever
1929
- :see: https://www.bitget.com/api-doc/margin/cross/account/Cross-Tier-Data
1930
- :see: https://www.bitget.com/api-doc/margin/isolated/account/Isolated-Tier-Data
1934
+
1935
+ https://www.bitget.com/api-doc/contract/position/Get-Query-Position-Lever
1936
+ https://www.bitget.com/api-doc/margin/cross/account/Cross-Tier-Data
1937
+ https://www.bitget.com/api-doc/margin/isolated/account/Isolated-Tier-Data
1938
+
1931
1939
  :param str symbol: unified market symbol
1932
1940
  :param dict [params]: extra parameters specific to the exchange API endpoint
1933
1941
  :param str [params.marginMode]: for spot margin 'cross' or 'isolated', default is 'isolated'
@@ -2073,8 +2081,10 @@ class bitget(Exchange, ImplicitAPI):
2073
2081
  maxNotional = self.safe_number_n(item, ['endUnit', 'maxBorrowableAmount', 'baseMaxBorrowableAmount'])
2074
2082
  marginCurrency = self.safe_string_2(item, 'coin', 'baseCoin')
2075
2083
  currencyId = marginCurrency if (marginCurrency is not None) else market['base']
2084
+ marketId = self.safe_string(item, 'symbol')
2076
2085
  tiers.append({
2077
2086
  'tier': self.safe_integer_2(item, 'level', 'tier'),
2087
+ 'symbol': self.safe_symbol(marketId, market),
2078
2088
  'currency': self.safe_currency_code(currencyId),
2079
2089
  'minNotional': minNotional,
2080
2090
  'maxNotional': maxNotional,
@@ -2088,7 +2098,9 @@ class bitget(Exchange, ImplicitAPI):
2088
2098
  async def fetch_deposits(self, code: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Transaction]:
2089
2099
  """
2090
2100
  fetch all deposits made to an account
2091
- :see: https://www.bitget.com/api-doc/spot/account/Get-Deposit-Record
2101
+
2102
+ https://www.bitget.com/api-doc/spot/account/Get-Deposit-Record
2103
+
2092
2104
  :param str code: unified currency code
2093
2105
  :param int [since]: the earliest time in ms to fetch deposits for
2094
2106
  :param int [limit]: the maximum number of deposits structures to retrieve
@@ -2146,7 +2158,9 @@ class bitget(Exchange, ImplicitAPI):
2146
2158
  async def withdraw(self, code: str, amount: float, address: str, tag=None, params={}) -> Transaction:
2147
2159
  """
2148
2160
  make a withdrawal
2149
- :see: https://www.bitget.com/api-doc/spot/account/Wallet-Withdrawal
2161
+
2162
+ https://www.bitget.com/api-doc/spot/account/Wallet-Withdrawal
2163
+
2150
2164
  :param str code: unified currency code
2151
2165
  :param float amount: the amount to withdraw
2152
2166
  :param str address: the address to withdraw to
@@ -2222,7 +2236,9 @@ class bitget(Exchange, ImplicitAPI):
2222
2236
  async def fetch_withdrawals(self, code: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Transaction]:
2223
2237
  """
2224
2238
  fetch all withdrawals made from an account
2225
- :see: https://www.bitget.com/api-doc/spot/account/Get-Withdraw-Record
2239
+
2240
+ https://www.bitget.com/api-doc/spot/account/Get-Withdraw-Record
2241
+
2226
2242
  :param str code: unified currency code
2227
2243
  :param int [since]: the earliest time in ms to fetch withdrawals for
2228
2244
  :param int [limit]: the maximum number of withdrawals structures to retrieve
@@ -2368,7 +2384,9 @@ class bitget(Exchange, ImplicitAPI):
2368
2384
  async def fetch_deposit_address(self, code: str, params={}) -> DepositAddress:
2369
2385
  """
2370
2386
  fetch the deposit address for a currency associated with self account
2371
- :see: https://www.bitget.com/api-doc/spot/account/Get-Deposit-Address
2387
+
2388
+ https://www.bitget.com/api-doc/spot/account/Get-Deposit-Address
2389
+
2372
2390
  :param str code: unified currency code
2373
2391
  :param dict [params]: extra parameters specific to the exchange API endpoint
2374
2392
  :returns dict: an `address structure <https://docs.ccxt.com/#/?id=address-structure>`
@@ -2430,8 +2448,10 @@ class bitget(Exchange, ImplicitAPI):
2430
2448
  async def fetch_order_book(self, symbol: str, limit: Int = None, params={}) -> OrderBook:
2431
2449
  """
2432
2450
  fetches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
2433
- :see: https://www.bitget.com/api-doc/spot/market/Get-Orderbook
2434
- :see: https://www.bitget.com/api-doc/contract/market/Get-Merge-Depth
2451
+
2452
+ https://www.bitget.com/api-doc/spot/market/Get-Orderbook
2453
+ https://www.bitget.com/api-doc/contract/market/Get-Merge-Depth
2454
+
2435
2455
  :param str symbol: unified symbol of the market to fetch the order book for
2436
2456
  :param int [limit]: the maximum amount of order book entries to return
2437
2457
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -2595,8 +2615,10 @@ class bitget(Exchange, ImplicitAPI):
2595
2615
  async def fetch_ticker(self, symbol: str, params={}) -> Ticker:
2596
2616
  """
2597
2617
  fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
2598
- :see: https://www.bitget.com/api-doc/spot/market/Get-Tickers
2599
- :see: https://www.bitget.com/api-doc/contract/market/Get-Ticker
2618
+
2619
+ https://www.bitget.com/api-doc/spot/market/Get-Tickers
2620
+ https://www.bitget.com/api-doc/contract/market/Get-Ticker
2621
+
2600
2622
  :param str symbol: unified symbol of the market to fetch the ticker for
2601
2623
  :param dict [params]: extra parameters specific to the exchange API endpoint
2602
2624
  :returns dict: a `ticker structure <https://docs.ccxt.com/#/?id=ticker-structure>`
@@ -2689,7 +2711,9 @@ class bitget(Exchange, ImplicitAPI):
2689
2711
  async def fetch_mark_price(self, symbol: str, params={}) -> Ticker:
2690
2712
  """
2691
2713
  fetches the mark price for a specific market
2692
- :see: https://www.bitget.com/api-doc/contract/market/Get-Symbol-Price
2714
+
2715
+ https://www.bitget.com/api-doc/contract/market/Get-Symbol-Price
2716
+
2693
2717
  :param str symbol: unified symbol of the market to fetch the ticker for
2694
2718
  :param dict [params]: extra parameters specific to the exchange API endpoint
2695
2719
  :returns dict: a `ticker structure <https://docs.ccxt.com/#/?id=ticker-structure>`
@@ -2719,8 +2743,10 @@ class bitget(Exchange, ImplicitAPI):
2719
2743
  async def fetch_tickers(self, symbols: Strings = None, params={}) -> Tickers:
2720
2744
  """
2721
2745
  fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
2722
- :see: https://www.bitget.com/api-doc/spot/market/Get-Tickers
2723
- :see: https://www.bitget.com/api-doc/contract/market/Get-All-Symbol-Ticker
2746
+
2747
+ https://www.bitget.com/api-doc/spot/market/Get-Tickers
2748
+ https://www.bitget.com/api-doc/contract/market/Get-All-Symbol-Ticker
2749
+
2724
2750
  :param str[]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
2725
2751
  :param dict [params]: extra parameters specific to the exchange API endpoint
2726
2752
  :param str [params.subType]: *contract only* 'linear', 'inverse'
@@ -2933,10 +2959,12 @@ class bitget(Exchange, ImplicitAPI):
2933
2959
  async def fetch_trades(self, symbol: str, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
2934
2960
  """
2935
2961
  get the list of most recent trades for a particular symbol
2936
- :see: https://www.bitget.com/api-doc/spot/market/Get-Recent-Trades
2937
- :see: https://www.bitget.com/api-doc/spot/market/Get-Market-Trades
2938
- :see: https://www.bitget.com/api-doc/contract/market/Get-Recent-Fills
2939
- :see: https://www.bitget.com/api-doc/contract/market/Get-Fills-History
2962
+
2963
+ https://www.bitget.com/api-doc/spot/market/Get-Recent-Trades
2964
+ https://www.bitget.com/api-doc/spot/market/Get-Market-Trades
2965
+ https://www.bitget.com/api-doc/contract/market/Get-Recent-Fills
2966
+ https://www.bitget.com/api-doc/contract/market/Get-Fills-History
2967
+
2940
2968
  :param str symbol: unified symbol of the market to fetch trades for
2941
2969
  :param int [since]: timestamp in ms of the earliest trade to fetch
2942
2970
  :param int [limit]: the maximum amount of trades to fetch
@@ -3037,7 +3065,9 @@ class bitget(Exchange, ImplicitAPI):
3037
3065
  async def fetch_trading_fee(self, symbol: str, params={}) -> TradingFeeInterface:
3038
3066
  """
3039
3067
  fetch the trading fees for a market
3040
- :see: https://www.bitget.com/api-doc/common/public/Get-Trade-Rate
3068
+
3069
+ https://www.bitget.com/api-doc/common/public/Get-Trade-Rate
3070
+
3041
3071
  :param str symbol: unified market symbol
3042
3072
  :param dict [params]: extra parameters specific to the exchange API endpoint
3043
3073
  :param str [params.marginMode]: 'isolated' or 'cross', for finding the fee rate of spot margin trading pairs
@@ -3075,9 +3105,11 @@ class bitget(Exchange, ImplicitAPI):
3075
3105
  async def fetch_trading_fees(self, params={}) -> TradingFees:
3076
3106
  """
3077
3107
  fetch the trading fees for multiple markets
3078
- :see: https://www.bitget.com/api-doc/spot/market/Get-Symbols
3079
- :see: https://www.bitget.com/api-doc/contract/market/Get-All-Symbols-Contracts
3080
- :see: https://www.bitget.com/api-doc/margin/common/support-currencies
3108
+
3109
+ https://www.bitget.com/api-doc/spot/market/Get-Symbols
3110
+ https://www.bitget.com/api-doc/contract/market/Get-All-Symbols-Contracts
3111
+ https://www.bitget.com/api-doc/margin/common/support-currencies
3112
+
3081
3113
  :param dict [params]: extra parameters specific to the exchange API endpoint
3082
3114
  :param str [params.productType]: *contract only* 'USDT-FUTURES', 'USDC-FUTURES', 'COIN-FUTURES', 'SUSDT-FUTURES', 'SUSDC-FUTURES' or 'SCOIN-FUTURES'
3083
3115
  :param boolean [params.margin]: set to True for spot margin
@@ -3220,12 +3252,14 @@ class bitget(Exchange, ImplicitAPI):
3220
3252
  async def fetch_ohlcv(self, symbol: str, timeframe='1m', since: Int = None, limit: Int = None, params={}) -> List[list]:
3221
3253
  """
3222
3254
  fetches historical candlestick data containing the open, high, low, and close price, and the volume of a market
3223
- :see: https://www.bitget.com/api-doc/spot/market/Get-Candle-Data
3224
- :see: https://www.bitget.com/api-doc/spot/market/Get-History-Candle-Data
3225
- :see: https://www.bitget.com/api-doc/contract/market/Get-Candle-Data
3226
- :see: https://www.bitget.com/api-doc/contract/market/Get-History-Candle-Data
3227
- :see: https://www.bitget.com/api-doc/contract/market/Get-History-Index-Candle-Data
3228
- :see: https://www.bitget.com/api-doc/contract/market/Get-History-Mark-Candle-Data
3255
+
3256
+ https://www.bitget.com/api-doc/spot/market/Get-Candle-Data
3257
+ https://www.bitget.com/api-doc/spot/market/Get-History-Candle-Data
3258
+ https://www.bitget.com/api-doc/contract/market/Get-Candle-Data
3259
+ https://www.bitget.com/api-doc/contract/market/Get-History-Candle-Data
3260
+ https://www.bitget.com/api-doc/contract/market/Get-History-Index-Candle-Data
3261
+ https://www.bitget.com/api-doc/contract/market/Get-History-Mark-Candle-Data
3262
+
3229
3263
  :param str symbol: unified symbol of the market to fetch OHLCV data for
3230
3264
  :param str timeframe: the length of time each candle represents
3231
3265
  :param int [since]: timestamp in ms of the earliest candle to fetch
@@ -3340,12 +3374,14 @@ class bitget(Exchange, ImplicitAPI):
3340
3374
  async def fetch_balance(self, params={}) -> Balances:
3341
3375
  """
3342
3376
  query for balance and get the amount of funds available for trading or funds locked in orders
3343
- :see: https://www.bitget.com/api-doc/spot/account/Get-Account-Assets
3344
- :see: https://www.bitget.com/api-doc/contract/account/Get-Account-List
3345
- :see: https://www.bitget.com/api-doc/margin/cross/account/Get-Cross-Assets
3346
- :see: https://www.bitget.com/api-doc/margin/isolated/account/Get-Isolated-Assets
3347
- :see: https://bitgetlimited.github.io/apidoc/en/margin/#get-cross-assets
3348
- :see: https://bitgetlimited.github.io/apidoc/en/margin/#get-isolated-assets
3377
+
3378
+ https://www.bitget.com/api-doc/spot/account/Get-Account-Assets
3379
+ https://www.bitget.com/api-doc/contract/account/Get-Account-List
3380
+ https://www.bitget.com/api-doc/margin/cross/account/Get-Cross-Assets
3381
+ https://www.bitget.com/api-doc/margin/isolated/account/Get-Isolated-Assets
3382
+ https://bitgetlimited.github.io/apidoc/en/margin/#get-cross-assets
3383
+ https://bitgetlimited.github.io/apidoc/en/margin/#get-isolated-assets
3384
+
3349
3385
  :param dict [params]: extra parameters specific to the exchange API endpoint
3350
3386
  :param str [params.productType]: *contract only* 'USDT-FUTURES', 'USDC-FUTURES', 'COIN-FUTURES', 'SUSDT-FUTURES', 'SUSDC-FUTURES' or 'SCOIN-FUTURES'
3351
3387
  :returns dict: a `balance structure <https://docs.ccxt.com/#/?id=balance-structure>`
@@ -3946,9 +3982,11 @@ class bitget(Exchange, ImplicitAPI):
3946
3982
  async def create_market_buy_order_with_cost(self, symbol: str, cost: float, params={}):
3947
3983
  """
3948
3984
  create a market buy order by providing the symbol and cost
3949
- :see: https://www.bitget.com/api-doc/spot/trade/Place-Order
3950
- :see: https://www.bitget.com/api-doc/margin/cross/trade/Cross-Place-Order
3951
- :see: https://www.bitget.com/api-doc/margin/isolated/trade/Isolated-Place-Order
3985
+
3986
+ https://www.bitget.com/api-doc/spot/trade/Place-Order
3987
+ https://www.bitget.com/api-doc/margin/cross/trade/Cross-Place-Order
3988
+ https://www.bitget.com/api-doc/margin/isolated/trade/Isolated-Place-Order
3989
+
3952
3990
  :param str symbol: unified symbol of the market to create an order in
3953
3991
  :param float cost: how much you want to trade in units of the quote currency
3954
3992
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -3964,13 +4002,15 @@ class bitget(Exchange, ImplicitAPI):
3964
4002
  async def create_order(self, symbol: str, type: OrderType, side: OrderSide, amount: float, price: Num = None, params={}):
3965
4003
  """
3966
4004
  create a trade order
3967
- :see: https://www.bitget.com/api-doc/spot/trade/Place-Order
3968
- :see: https://www.bitget.com/api-doc/spot/plan/Place-Plan-Order
3969
- :see: https://www.bitget.com/api-doc/contract/trade/Place-Order
3970
- :see: https://www.bitget.com/api-doc/contract/plan/Place-Tpsl-Order
3971
- :see: https://www.bitget.com/api-doc/contract/plan/Place-Plan-Order
3972
- :see: https://www.bitget.com/api-doc/margin/cross/trade/Cross-Place-Order
3973
- :see: https://www.bitget.com/api-doc/margin/isolated/trade/Isolated-Place-Order
4005
+
4006
+ https://www.bitget.com/api-doc/spot/trade/Place-Order
4007
+ https://www.bitget.com/api-doc/spot/plan/Place-Plan-Order
4008
+ https://www.bitget.com/api-doc/contract/trade/Place-Order
4009
+ https://www.bitget.com/api-doc/contract/plan/Place-Tpsl-Order
4010
+ https://www.bitget.com/api-doc/contract/plan/Place-Plan-Order
4011
+ https://www.bitget.com/api-doc/margin/cross/trade/Cross-Place-Order
4012
+ https://www.bitget.com/api-doc/margin/isolated/trade/Isolated-Place-Order
4013
+
3974
4014
  :param str symbol: unified symbol of the market to create an order in
3975
4015
  :param str type: 'market' or 'limit'
3976
4016
  :param str side: 'buy' or 'sell'
@@ -4228,10 +4268,12 @@ class bitget(Exchange, ImplicitAPI):
4228
4268
  async def create_orders(self, orders: List[OrderRequest], params={}):
4229
4269
  """
4230
4270
  create a list of trade orders(all orders should be of the same symbol)
4231
- :see: https://www.bitget.com/api-doc/spot/trade/Batch-Place-Orders
4232
- :see: https://www.bitget.com/api-doc/contract/trade/Batch-Order
4233
- :see: https://www.bitget.com/api-doc/margin/isolated/trade/Isolated-Batch-Order
4234
- :see: https://www.bitget.com/api-doc/margin/cross/trade/Cross-Batch-Order
4271
+
4272
+ https://www.bitget.com/api-doc/spot/trade/Batch-Place-Orders
4273
+ https://www.bitget.com/api-doc/contract/trade/Batch-Order
4274
+ https://www.bitget.com/api-doc/margin/isolated/trade/Isolated-Batch-Order
4275
+ https://www.bitget.com/api-doc/margin/cross/trade/Cross-Batch-Order
4276
+
4235
4277
  :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
4236
4278
  :param dict [params]: extra parameters specific to the api endpoint
4237
4279
  :returns dict: an `order structure <https://docs.ccxt.com/#/?id=order-structure>`
@@ -4323,10 +4365,12 @@ class bitget(Exchange, ImplicitAPI):
4323
4365
  async def edit_order(self, id: str, symbol: str, type: OrderType, side: OrderSide, amount: Num = None, price: Num = None, params={}):
4324
4366
  """
4325
4367
  edit a trade order
4326
- :see: https://www.bitget.com/api-doc/spot/plan/Modify-Plan-Order
4327
- :see: https://www.bitget.com/api-doc/contract/trade/Modify-Order
4328
- :see: https://www.bitget.com/api-doc/contract/plan/Modify-Tpsl-Order
4329
- :see: https://www.bitget.com/api-doc/contract/plan/Modify-Plan-Order
4368
+
4369
+ https://www.bitget.com/api-doc/spot/plan/Modify-Plan-Order
4370
+ https://www.bitget.com/api-doc/contract/trade/Modify-Order
4371
+ https://www.bitget.com/api-doc/contract/plan/Modify-Tpsl-Order
4372
+ https://www.bitget.com/api-doc/contract/plan/Modify-Plan-Order
4373
+
4330
4374
  :param str id: cancel order id
4331
4375
  :param str symbol: unified symbol of the market to create an order in
4332
4376
  :param str type: 'market' or 'limit'
@@ -4473,12 +4517,14 @@ class bitget(Exchange, ImplicitAPI):
4473
4517
  async def cancel_order(self, id: str, symbol: Str = None, params={}):
4474
4518
  """
4475
4519
  cancels an open order
4476
- :see: https://www.bitget.com/api-doc/spot/trade/Cancel-Order
4477
- :see: https://www.bitget.com/api-doc/spot/plan/Cancel-Plan-Order
4478
- :see: https://www.bitget.com/api-doc/contract/trade/Cancel-Order
4479
- :see: https://www.bitget.com/api-doc/contract/plan/Cancel-Plan-Order
4480
- :see: https://www.bitget.com/api-doc/margin/cross/trade/Cross-Cancel-Order
4481
- :see: https://www.bitget.com/api-doc/margin/isolated/trade/Isolated-Cancel-Order
4520
+
4521
+ https://www.bitget.com/api-doc/spot/trade/Cancel-Order
4522
+ https://www.bitget.com/api-doc/spot/plan/Cancel-Plan-Order
4523
+ https://www.bitget.com/api-doc/contract/trade/Cancel-Order
4524
+ https://www.bitget.com/api-doc/contract/plan/Cancel-Plan-Order
4525
+ https://www.bitget.com/api-doc/margin/cross/trade/Cross-Cancel-Order
4526
+ https://www.bitget.com/api-doc/margin/isolated/trade/Isolated-Cancel-Order
4527
+
4482
4528
  :param str id: order id
4483
4529
  :param str symbol: unified symbol of the market the order was made in
4484
4530
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -4594,11 +4640,13 @@ class bitget(Exchange, ImplicitAPI):
4594
4640
  async def cancel_orders(self, ids, symbol: Str = None, params={}):
4595
4641
  """
4596
4642
  cancel multiple orders
4597
- :see: https://www.bitget.com/api-doc/spot/trade/Batch-Cancel-Orders
4598
- :see: https://www.bitget.com/api-doc/contract/trade/Batch-Cancel-Orders
4599
- :see: https://www.bitget.com/api-doc/contract/plan/Cancel-Plan-Order
4600
- :see: https://www.bitget.com/api-doc/margin/cross/trade/Cross-Batch-Cancel-Order
4601
- :see: https://www.bitget.com/api-doc/margin/isolated/trade/Isolated-Batch-Cancel-Orders
4643
+
4644
+ https://www.bitget.com/api-doc/spot/trade/Batch-Cancel-Orders
4645
+ https://www.bitget.com/api-doc/contract/trade/Batch-Cancel-Orders
4646
+ https://www.bitget.com/api-doc/contract/plan/Cancel-Plan-Order
4647
+ https://www.bitget.com/api-doc/margin/cross/trade/Cross-Batch-Cancel-Order
4648
+ https://www.bitget.com/api-doc/margin/isolated/trade/Isolated-Batch-Cancel-Orders
4649
+
4602
4650
  :param str[] ids: order ids
4603
4651
  :param str symbol: unified market symbol, default is None
4604
4652
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -4674,11 +4722,13 @@ class bitget(Exchange, ImplicitAPI):
4674
4722
  async def cancel_all_orders(self, symbol: Str = None, params={}):
4675
4723
  """
4676
4724
  cancel all open orders
4677
- :see: https://www.bitget.com/api-doc/spot/trade/Cancel-Symbol-Orders
4678
- :see: https://www.bitget.com/api-doc/spot/plan/Batch-Cancel-Plan-Order
4679
- :see: https://www.bitget.com/api-doc/contract/trade/Batch-Cancel-Orders
4680
- :see: https://bitgetlimited.github.io/apidoc/en/margin/#isolated-batch-cancel-orders
4681
- :see: https://bitgetlimited.github.io/apidoc/en/margin/#cross-batch-cancel-order
4725
+
4726
+ https://www.bitget.com/api-doc/spot/trade/Cancel-Symbol-Orders
4727
+ https://www.bitget.com/api-doc/spot/plan/Batch-Cancel-Plan-Order
4728
+ https://www.bitget.com/api-doc/contract/trade/Batch-Cancel-Orders
4729
+ https://bitgetlimited.github.io/apidoc/en/margin/#isolated-batch-cancel-orders
4730
+ https://bitgetlimited.github.io/apidoc/en/margin/#cross-batch-cancel-order
4731
+
4682
4732
  :param str symbol: unified market symbol
4683
4733
  :param dict [params]: extra parameters specific to the exchange API endpoint
4684
4734
  :param str [params.marginMode]: 'isolated' or 'cross' for spot margin trading
@@ -4785,8 +4835,10 @@ class bitget(Exchange, ImplicitAPI):
4785
4835
  async def fetch_order(self, id: str, symbol: Str = None, params={}):
4786
4836
  """
4787
4837
  fetches information on an order made by the user
4788
- :see: https://www.bitget.com/api-doc/spot/trade/Get-Order-Info
4789
- :see: https://www.bitget.com/api-doc/contract/trade/Get-Order-Details
4838
+
4839
+ https://www.bitget.com/api-doc/spot/trade/Get-Order-Info
4840
+ https://www.bitget.com/api-doc/contract/trade/Get-Order-Details
4841
+
4790
4842
  :param str id: the order id
4791
4843
  :param str symbol: unified symbol of the market the order was made in
4792
4844
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -4898,12 +4950,14 @@ class bitget(Exchange, ImplicitAPI):
4898
4950
  async def fetch_open_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
4899
4951
  """
4900
4952
  fetch all unfilled currently open orders
4901
- :see: https://www.bitget.com/api-doc/spot/trade/Get-Unfilled-Orders
4902
- :see: https://www.bitget.com/api-doc/spot/plan/Get-Current-Plan-Order
4903
- :see: https://www.bitget.com/api-doc/contract/trade/Get-Orders-Pending
4904
- :see: https://www.bitget.com/api-doc/contract/plan/get-orders-plan-pending
4905
- :see: https://www.bitget.com/api-doc/margin/cross/trade/Get-Cross-Open-Orders
4906
- :see: https://www.bitget.com/api-doc/margin/isolated/trade/Isolated-Open-Orders
4953
+
4954
+ https://www.bitget.com/api-doc/spot/trade/Get-Unfilled-Orders
4955
+ https://www.bitget.com/api-doc/spot/plan/Get-Current-Plan-Order
4956
+ https://www.bitget.com/api-doc/contract/trade/Get-Orders-Pending
4957
+ https://www.bitget.com/api-doc/contract/plan/get-orders-plan-pending
4958
+ https://www.bitget.com/api-doc/margin/cross/trade/Get-Cross-Open-Orders
4959
+ https://www.bitget.com/api-doc/margin/isolated/trade/Isolated-Open-Orders
4960
+
4907
4961
  :param str symbol: unified market symbol
4908
4962
  :param int [since]: the earliest time in ms to fetch open orders for
4909
4963
  :param int [limit]: the maximum number of open order structures to retrieve
@@ -5180,12 +5234,14 @@ class bitget(Exchange, ImplicitAPI):
5180
5234
  async def fetch_closed_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
5181
5235
  """
5182
5236
  fetches information on multiple closed orders made by the user
5183
- :see: https://www.bitget.com/api-doc/spot/trade/Get-History-Orders
5184
- :see: https://www.bitget.com/api-doc/spot/plan/Get-History-Plan-Order
5185
- :see: https://www.bitget.com/api-doc/contract/trade/Get-Orders-History
5186
- :see: https://www.bitget.com/api-doc/contract/plan/orders-plan-history
5187
- :see: https://www.bitget.com/api-doc/margin/cross/trade/Get-Cross-Order-History
5188
- :see: https://www.bitget.com/api-doc/margin/isolated/trade/Get-Isolated-Order-History
5237
+
5238
+ https://www.bitget.com/api-doc/spot/trade/Get-History-Orders
5239
+ https://www.bitget.com/api-doc/spot/plan/Get-History-Plan-Order
5240
+ https://www.bitget.com/api-doc/contract/trade/Get-Orders-History
5241
+ https://www.bitget.com/api-doc/contract/plan/orders-plan-history
5242
+ https://www.bitget.com/api-doc/margin/cross/trade/Get-Cross-Order-History
5243
+ https://www.bitget.com/api-doc/margin/isolated/trade/Get-Isolated-Order-History
5244
+
5189
5245
  :param str symbol: unified market symbol of the closed orders
5190
5246
  :param int [since]: timestamp in ms of the earliest order
5191
5247
  :param int [limit]: the max number of closed orders to return
@@ -5204,12 +5260,14 @@ class bitget(Exchange, ImplicitAPI):
5204
5260
  async def fetch_canceled_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}):
5205
5261
  """
5206
5262
  fetches information on multiple canceled orders made by the user
5207
- :see: https://www.bitget.com/api-doc/spot/trade/Get-History-Orders
5208
- :see: https://www.bitget.com/api-doc/spot/plan/Get-History-Plan-Order
5209
- :see: https://www.bitget.com/api-doc/contract/trade/Get-Orders-History
5210
- :see: https://www.bitget.com/api-doc/contract/plan/orders-plan-history
5211
- :see: https://www.bitget.com/api-doc/margin/cross/trade/Get-Cross-Order-History
5212
- :see: https://www.bitget.com/api-doc/margin/isolated/trade/Get-Isolated-Order-History
5263
+
5264
+ https://www.bitget.com/api-doc/spot/trade/Get-History-Orders
5265
+ https://www.bitget.com/api-doc/spot/plan/Get-History-Plan-Order
5266
+ https://www.bitget.com/api-doc/contract/trade/Get-Orders-History
5267
+ https://www.bitget.com/api-doc/contract/plan/orders-plan-history
5268
+ https://www.bitget.com/api-doc/margin/cross/trade/Get-Cross-Order-History
5269
+ https://www.bitget.com/api-doc/margin/isolated/trade/Get-Isolated-Order-History
5270
+
5213
5271
  :param str symbol: unified market symbol of the canceled orders
5214
5272
  :param int [since]: timestamp in ms of the earliest order
5215
5273
  :param int [limit]: the max number of canceled orders to return
@@ -5227,12 +5285,14 @@ class bitget(Exchange, ImplicitAPI):
5227
5285
 
5228
5286
  async def fetch_canceled_and_closed_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}):
5229
5287
  """
5230
- :see: https://www.bitget.com/api-doc/spot/trade/Get-History-Orders
5231
- :see: https://www.bitget.com/api-doc/spot/plan/Get-History-Plan-Order
5232
- :see: https://www.bitget.com/api-doc/contract/trade/Get-Orders-History
5233
- :see: https://www.bitget.com/api-doc/contract/plan/orders-plan-history
5234
- :see: https://www.bitget.com/api-doc/margin/cross/trade/Get-Cross-Order-History
5235
- :see: https://www.bitget.com/api-doc/margin/isolated/trade/Get-Isolated-Order-History
5288
+
5289
+ https://www.bitget.com/api-doc/spot/trade/Get-History-Orders
5290
+ https://www.bitget.com/api-doc/spot/plan/Get-History-Plan-Order
5291
+ https://www.bitget.com/api-doc/contract/trade/Get-Orders-History
5292
+ https://www.bitget.com/api-doc/contract/plan/orders-plan-history
5293
+ https://www.bitget.com/api-doc/margin/cross/trade/Get-Cross-Order-History
5294
+ https://www.bitget.com/api-doc/margin/isolated/trade/Get-Isolated-Order-History
5295
+
5236
5296
  fetches information on multiple canceled and closed orders made by the user
5237
5297
  :param str symbol: unified market symbol of the market orders were made in
5238
5298
  :param int [since]: the earliest time in ms to fetch orders for
@@ -5509,8 +5569,10 @@ class bitget(Exchange, ImplicitAPI):
5509
5569
  async def fetch_ledger(self, code: Str = None, since: Int = None, limit: Int = None, params={}) -> List[LedgerEntry]:
5510
5570
  """
5511
5571
  fetch the history of changes, actions done by the user or operations that altered the balance of the user
5512
- :see: https://www.bitget.com/api-doc/spot/account/Get-Account-Bills
5513
- :see: https://www.bitget.com/api-doc/contract/account/Get-Account-Bill
5572
+
5573
+ https://www.bitget.com/api-doc/spot/account/Get-Account-Bills
5574
+ https://www.bitget.com/api-doc/contract/account/Get-Account-Bill
5575
+
5514
5576
  :param str [code]: unified currency code, default is None
5515
5577
  :param int [since]: timestamp in ms of the earliest ledger entry, default is None
5516
5578
  :param int [limit]: max number of ledger entries to return, default is None
@@ -5719,10 +5781,12 @@ class bitget(Exchange, ImplicitAPI):
5719
5781
  async def fetch_my_trades(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
5720
5782
  """
5721
5783
  fetch all trades made by the user
5722
- :see: https://www.bitget.com/api-doc/spot/trade/Get-Fills
5723
- :see: https://www.bitget.com/api-doc/contract/trade/Get-Order-Fills
5724
- :see: https://www.bitget.com/api-doc/margin/cross/trade/Get-Cross-Order-Fills
5725
- :see: https://www.bitget.com/api-doc/margin/isolated/trade/Get-Isolated-Transaction-Details
5784
+
5785
+ https://www.bitget.com/api-doc/spot/trade/Get-Fills
5786
+ https://www.bitget.com/api-doc/contract/trade/Get-Order-Fills
5787
+ https://www.bitget.com/api-doc/margin/cross/trade/Get-Cross-Order-Fills
5788
+ https://www.bitget.com/api-doc/margin/isolated/trade/Get-Isolated-Transaction-Details
5789
+
5726
5790
  :param str symbol: unified market symbol
5727
5791
  :param int [since]: the earliest time in ms to fetch trades for
5728
5792
  :param int [limit]: the maximum number of trades structures to retrieve
@@ -5888,7 +5952,9 @@ class bitget(Exchange, ImplicitAPI):
5888
5952
  async def fetch_position(self, symbol: str, params={}):
5889
5953
  """
5890
5954
  fetch data on a single open contract trade position
5891
- :see: https://www.bitget.com/api-doc/contract/position/get-single-position
5955
+
5956
+ https://www.bitget.com/api-doc/contract/position/get-single-position
5957
+
5892
5958
  :param str symbol: unified market symbol of the market the position is held in
5893
5959
  :param dict [params]: extra parameters specific to the exchange API endpoint
5894
5960
  :returns dict: a `position structure <https://docs.ccxt.com/#/?id=position-structure>`
@@ -5946,8 +6012,10 @@ class bitget(Exchange, ImplicitAPI):
5946
6012
  async def fetch_positions(self, symbols: Strings = None, params={}) -> List[Position]:
5947
6013
  """
5948
6014
  fetch all open positions
5949
- :see: https://www.bitget.com/api-doc/contract/position/get-all-position
5950
- :see: https://www.bitget.com/api-doc/contract/position/Get-History-Position
6015
+
6016
+ https://www.bitget.com/api-doc/contract/position/get-all-position
6017
+ https://www.bitget.com/api-doc/contract/position/Get-History-Position
6018
+
5951
6019
  :param str[] [symbols]: list of unified market symbols
5952
6020
  :param dict [params]: extra parameters specific to the exchange API endpoint
5953
6021
  :param str [params.marginCoin]: the settle currency of the positions, needs to match the productType
@@ -6246,7 +6314,9 @@ class bitget(Exchange, ImplicitAPI):
6246
6314
  async def fetch_funding_rate_history(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}):
6247
6315
  """
6248
6316
  fetches historical funding rate prices
6249
- :see: https://www.bitget.com/api-doc/contract/market/Get-History-Funding-Rate
6317
+
6318
+ https://www.bitget.com/api-doc/contract/market/Get-History-Funding-Rate
6319
+
6250
6320
  :param str symbol: unified symbol of the market to fetch the funding rate history for
6251
6321
  :param int [since]: timestamp in ms of the earliest funding rate to fetch
6252
6322
  :param int [limit]: the maximum amount of funding rate structures to fetch
@@ -6313,7 +6383,9 @@ class bitget(Exchange, ImplicitAPI):
6313
6383
  async def fetch_funding_rate(self, symbol: str, params={}) -> FundingRate:
6314
6384
  """
6315
6385
  fetch the current funding rate
6316
- :see: https://www.bitget.com/api-doc/contract/market/Get-Current-Funding-Rate
6386
+
6387
+ https://www.bitget.com/api-doc/contract/market/Get-Current-Funding-Rate
6388
+
6317
6389
  :param str symbol: unified market symbol
6318
6390
  :param dict [params]: extra parameters specific to the exchange API endpoint
6319
6391
  :returns dict: a `funding rate structure <https://docs.ccxt.com/#/?id=funding-rate-structure>`
@@ -6354,7 +6426,9 @@ class bitget(Exchange, ImplicitAPI):
6354
6426
  async def fetch_funding_rates(self, symbols: Strings = None, params={}) -> FundingRates:
6355
6427
  """
6356
6428
  fetch the current funding rates for all markets
6357
- :see: https://www.bitget.com/api-doc/contract/market/Get-All-Symbol-Ticker
6429
+
6430
+ https://www.bitget.com/api-doc/contract/market/Get-All-Symbol-Ticker
6431
+
6358
6432
  :param str[] [symbols]: list of unified market symbols
6359
6433
  :param dict [params]: extra parameters specific to the exchange API endpoint
6360
6434
  :param str [params.subType]: *contract only* 'linear', 'inverse'
@@ -6487,7 +6561,9 @@ class bitget(Exchange, ImplicitAPI):
6487
6561
  async def fetch_funding_history(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[FundingHistory]:
6488
6562
  """
6489
6563
  fetch the funding history
6490
- :see: https://www.bitget.com/api-doc/contract/account/Get-Account-Bill
6564
+
6565
+ https://www.bitget.com/api-doc/contract/account/Get-Account-Bill
6566
+
6491
6567
  :param str symbol: unified market symbol
6492
6568
  :param int [since]: the starting timestamp in milliseconds
6493
6569
  :param int [limit]: the number of entries to return
@@ -6652,7 +6728,9 @@ class bitget(Exchange, ImplicitAPI):
6652
6728
  async def reduce_margin(self, symbol: str, amount: float, params={}) -> MarginModification:
6653
6729
  """
6654
6730
  remove margin from a position
6655
- :see: https://www.bitget.com/api-doc/contract/account/Change-Margin
6731
+
6732
+ https://www.bitget.com/api-doc/contract/account/Change-Margin
6733
+
6656
6734
  :param str symbol: unified market symbol
6657
6735
  :param float amount: the amount of margin to remove
6658
6736
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -6668,7 +6746,9 @@ class bitget(Exchange, ImplicitAPI):
6668
6746
  async def add_margin(self, symbol: str, amount: float, params={}) -> MarginModification:
6669
6747
  """
6670
6748
  add margin
6671
- :see: https://www.bitget.com/api-doc/contract/account/Change-Margin
6749
+
6750
+ https://www.bitget.com/api-doc/contract/account/Change-Margin
6751
+
6672
6752
  :param str symbol: unified market symbol
6673
6753
  :param float amount: the amount of margin to add
6674
6754
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -6682,7 +6762,9 @@ class bitget(Exchange, ImplicitAPI):
6682
6762
  async def fetch_leverage(self, symbol: str, params={}) -> Leverage:
6683
6763
  """
6684
6764
  fetch the set leverage for a market
6685
- :see: https://www.bitget.com/api-doc/contract/account/Get-Single-Account
6765
+
6766
+ https://www.bitget.com/api-doc/contract/account/Get-Single-Account
6767
+
6686
6768
  :param str symbol: unified market symbol
6687
6769
  :param dict [params]: extra parameters specific to the exchange API endpoint
6688
6770
  :returns dict: a `leverage structure <https://docs.ccxt.com/#/?id=leverage-structure>`
@@ -6746,7 +6828,9 @@ class bitget(Exchange, ImplicitAPI):
6746
6828
  async def set_leverage(self, leverage: Int, symbol: Str = None, params={}):
6747
6829
  """
6748
6830
  set the level of leverage for a market
6749
- :see: https://www.bitget.com/api-doc/contract/account/Change-Leverage
6831
+
6832
+ https://www.bitget.com/api-doc/contract/account/Change-Leverage
6833
+
6750
6834
  :param int leverage: the rate of leverage
6751
6835
  :param str symbol: unified market symbol
6752
6836
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -6793,7 +6877,9 @@ class bitget(Exchange, ImplicitAPI):
6793
6877
  async def set_margin_mode(self, marginMode: str, symbol: Str = None, params={}):
6794
6878
  """
6795
6879
  set margin mode to 'cross' or 'isolated'
6796
- :see: https://www.bitget.com/api-doc/contract/account/Change-Margin-Mode
6880
+
6881
+ https://www.bitget.com/api-doc/contract/account/Change-Margin-Mode
6882
+
6797
6883
  :param str marginMode: 'cross' or 'isolated'
6798
6884
  :param str symbol: unified market symbol
6799
6885
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -6842,7 +6928,9 @@ class bitget(Exchange, ImplicitAPI):
6842
6928
  async def set_position_mode(self, hedged: bool, symbol: Str = None, params={}):
6843
6929
  """
6844
6930
  set hedged to True or False for a market
6845
- :see: https://www.bitget.com/api-doc/contract/account/Change-Hold-Mode
6931
+
6932
+ https://www.bitget.com/api-doc/contract/account/Change-Hold-Mode
6933
+
6846
6934
  :param bool hedged: set to True to use dualSidePosition
6847
6935
  :param str symbol: not used by bitget setPositionMode()
6848
6936
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -6881,7 +6969,9 @@ class bitget(Exchange, ImplicitAPI):
6881
6969
  async def fetch_open_interest(self, symbol: str, params={}):
6882
6970
  """
6883
6971
  retrieves the open interest of a contract trading pair
6884
- :see: https://www.bitget.com/api-doc/contract/market/Get-Open-Interest
6972
+
6973
+ https://www.bitget.com/api-doc/contract/market/Get-Open-Interest
6974
+
6885
6975
  :param str symbol: unified CCXT market symbol
6886
6976
  :param dict [params]: exchange specific parameters
6887
6977
  :returns dict} an open interest structure{@link https://docs.ccxt.com/#/?id=open-interest-structure:
@@ -6949,7 +7039,9 @@ class bitget(Exchange, ImplicitAPI):
6949
7039
  async def fetch_transfers(self, code: Str = None, since: Int = None, limit: Int = None, params={}) -> List[TransferEntry]:
6950
7040
  """
6951
7041
  fetch a history of internal transfers made on an account
6952
- :see: https://www.bitget.com/api-doc/spot/account/Get-Account-TransferRecords
7042
+
7043
+ https://www.bitget.com/api-doc/spot/account/Get-Account-TransferRecords
7044
+
6953
7045
  :param str code: unified currency code of the currency transferred
6954
7046
  :param int [since]: the earliest time in ms to fetch transfers for
6955
7047
  :param int [limit]: the maximum number of transfers structures to retrieve
@@ -7004,7 +7096,9 @@ class bitget(Exchange, ImplicitAPI):
7004
7096
  async def transfer(self, code: str, amount: float, fromAccount: str, toAccount: str, params={}) -> TransferEntry:
7005
7097
  """
7006
7098
  transfer currency internally between wallets on the same account
7007
- :see: https://www.bitget.com/api-doc/spot/account/Wallet-Transfer
7099
+
7100
+ https://www.bitget.com/api-doc/spot/account/Wallet-Transfer
7101
+
7008
7102
  :param str code: unified currency code
7009
7103
  :param float amount: amount to transfer
7010
7104
  :param str fromAccount: account to transfer from
@@ -7152,7 +7246,9 @@ class bitget(Exchange, ImplicitAPI):
7152
7246
  async def fetch_deposit_withdraw_fees(self, codes: Strings = None, params={}):
7153
7247
  """
7154
7248
  fetch deposit and withdraw fees
7155
- :see: https://www.bitget.com/api-doc/spot/market/Get-Coin-List
7249
+
7250
+ https://www.bitget.com/api-doc/spot/market/Get-Coin-List
7251
+
7156
7252
  :param str[]|None codes: list of unified currency codes
7157
7253
  :param dict [params]: extra parameters specific to the exchange API endpoint
7158
7254
  :returns dict: a list of `fee structures <https://docs.ccxt.com/#/?id=fee-structure>`
@@ -7194,7 +7290,9 @@ class bitget(Exchange, ImplicitAPI):
7194
7290
  async def borrow_cross_margin(self, code: str, amount: float, params={}):
7195
7291
  """
7196
7292
  create a loan to borrow margin
7197
- :see: https://www.bitget.com/api-doc/margin/cross/account/Cross-Borrow
7293
+
7294
+ https://www.bitget.com/api-doc/margin/cross/account/Cross-Borrow
7295
+
7198
7296
  :param str code: unified currency code of the currency to borrow
7199
7297
  :param str amount: the amount to borrow
7200
7298
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -7225,7 +7323,9 @@ class bitget(Exchange, ImplicitAPI):
7225
7323
  async def borrow_isolated_margin(self, symbol: str, code: str, amount: float, params={}):
7226
7324
  """
7227
7325
  create a loan to borrow margin
7228
- :see: https://www.bitget.com/api-doc/margin/isolated/account/Isolated-Borrow
7326
+
7327
+ https://www.bitget.com/api-doc/margin/isolated/account/Isolated-Borrow
7328
+
7229
7329
  :param str symbol: unified market symbol
7230
7330
  :param str code: unified currency code of the currency to borrow
7231
7331
  :param str amount: the amount to borrow
@@ -7260,7 +7360,9 @@ class bitget(Exchange, ImplicitAPI):
7260
7360
  async def repay_isolated_margin(self, symbol: str, code: str, amount, params={}):
7261
7361
  """
7262
7362
  repay borrowed margin and interest
7263
- :see: https://www.bitget.com/api-doc/margin/isolated/account/Isolated-Repay
7363
+
7364
+ https://www.bitget.com/api-doc/margin/isolated/account/Isolated-Repay
7365
+
7264
7366
  :param str symbol: unified market symbol
7265
7367
  :param str code: unified currency code of the currency to repay
7266
7368
  :param str amount: the amount to repay
@@ -7296,7 +7398,9 @@ class bitget(Exchange, ImplicitAPI):
7296
7398
  async def repay_cross_margin(self, code: str, amount, params={}):
7297
7399
  """
7298
7400
  repay borrowed margin and interest
7299
- :see: https://www.bitget.com/api-doc/margin/cross/account/Cross-Repay
7401
+
7402
+ https://www.bitget.com/api-doc/margin/cross/account/Cross-Repay
7403
+
7300
7404
  :param str code: unified currency code of the currency to repay
7301
7405
  :param str amount: the amount to repay
7302
7406
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -7381,8 +7485,10 @@ class bitget(Exchange, ImplicitAPI):
7381
7485
  async def fetch_my_liquidations(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Liquidation]:
7382
7486
  """
7383
7487
  retrieves the users liquidated positions
7384
- :see: https://www.bitget.com/api-doc/margin/cross/record/Get-Cross-Liquidation-Records
7385
- :see: https://www.bitget.com/api-doc/margin/isolated/record/Get-Isolated-Liquidation-Records
7488
+
7489
+ https://www.bitget.com/api-doc/margin/cross/record/Get-Cross-Liquidation-Records
7490
+ https://www.bitget.com/api-doc/margin/isolated/record/Get-Isolated-Liquidation-Records
7491
+
7386
7492
  :param str [symbol]: unified CCXT market symbol
7387
7493
  :param int [since]: the earliest time in ms to fetch liquidations for
7388
7494
  :param int [limit]: the maximum number of liquidation structures to retrieve
@@ -7529,7 +7635,9 @@ class bitget(Exchange, ImplicitAPI):
7529
7635
  async def fetch_isolated_borrow_rate(self, symbol: str, params={}) -> IsolatedBorrowRate:
7530
7636
  """
7531
7637
  fetch the rate of interest to borrow a currency for margin trading
7532
- :see: https://www.bitget.com/api-doc/margin/isolated/account/Isolated-Margin-Interest-Rate-And-Max-Borrowable-Amount
7638
+
7639
+ https://www.bitget.com/api-doc/margin/isolated/account/Isolated-Margin-Interest-Rate-And-Max-Borrowable-Amount
7640
+
7533
7641
  :param str symbol: unified market symbol
7534
7642
  :param dict [params]: extra parameters specific to the exchange API endpoint
7535
7643
  :returns dict: an `isolated borrow rate structure <https://docs.ccxt.com/#/?id=isolated-borrow-rate-structure>`
@@ -7642,7 +7750,9 @@ class bitget(Exchange, ImplicitAPI):
7642
7750
  async def fetch_cross_borrow_rate(self, code: str, params={}) -> CrossBorrowRate:
7643
7751
  """
7644
7752
  fetch the rate of interest to borrow a currency for margin trading
7645
- :see: https://www.bitget.com/api-doc/margin/cross/account/Get-Cross-Margin-Interest-Rate-And-Borrowable
7753
+
7754
+ https://www.bitget.com/api-doc/margin/cross/account/Get-Cross-Margin-Interest-Rate-And-Borrowable
7755
+
7646
7756
  :param str code: unified currency code
7647
7757
  :param dict [params]: extra parameters specific to the exchange API endpoint
7648
7758
  :param str [params.symbol]: required for isolated margin
@@ -7720,8 +7830,10 @@ class bitget(Exchange, ImplicitAPI):
7720
7830
  async def fetch_borrow_interest(self, code: Str = None, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[BorrowInterest]:
7721
7831
  """
7722
7832
  fetch the interest owed by the user for borrowing currency for margin trading
7723
- :see: https://www.bitget.com/api-doc/margin/cross/record/Get-Cross-Interest-Records
7724
- :see: https://www.bitget.com/api-doc/margin/isolated/record/Get-Isolated-Interest-Records
7833
+
7834
+ https://www.bitget.com/api-doc/margin/cross/record/Get-Cross-Interest-Records
7835
+ https://www.bitget.com/api-doc/margin/isolated/record/Get-Isolated-Interest-Records
7836
+
7725
7837
  :param str [code]: unified currency code
7726
7838
  :param str [symbol]: unified market symbol when fetching interest in isolated markets
7727
7839
  :param int [since]: the earliest time in ms to fetch borrow interest for
@@ -7862,7 +7974,9 @@ class bitget(Exchange, ImplicitAPI):
7862
7974
  async def close_position(self, symbol: str, side: OrderSide = None, params={}) -> Order:
7863
7975
  """
7864
7976
  closes an open position for a market
7865
- :see: https://www.bitget.com/api-doc/contract/trade/Flash-Close-Position
7977
+
7978
+ https://www.bitget.com/api-doc/contract/trade/Flash-Close-Position
7979
+
7866
7980
  :param str symbol: unified CCXT market symbol
7867
7981
  :param str [side]: one-way mode: 'buy' or 'sell', hedge-mode: 'long' or 'short'
7868
7982
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -7909,7 +8023,9 @@ class bitget(Exchange, ImplicitAPI):
7909
8023
  async def close_all_positions(self, params={}) -> List[Position]:
7910
8024
  """
7911
8025
  closes all open positions for a market type
7912
- :see: https://www.bitget.com/api-doc/contract/trade/Flash-Close-Position
8026
+
8027
+ https://www.bitget.com/api-doc/contract/trade/Flash-Close-Position
8028
+
7913
8029
  :param dict [params]: extra parameters specific to the exchange API endpoint
7914
8030
  :param str [params.productType]: 'USDT-FUTURES', 'USDC-FUTURES', 'COIN-FUTURES', 'SUSDT-FUTURES', 'SUSDC-FUTURES' or 'SCOIN-FUTURES'
7915
8031
  :returns dict[]: A list of `position structures <https://docs.ccxt.com/#/?id=position-structure>`
@@ -7945,7 +8061,9 @@ class bitget(Exchange, ImplicitAPI):
7945
8061
  async def fetch_margin_mode(self, symbol: str, params={}) -> MarginMode:
7946
8062
  """
7947
8063
  fetches the margin mode of a trading pair
7948
- :see: https://www.bitget.com/api-doc/contract/account/Get-Single-Account
8064
+
8065
+ https://www.bitget.com/api-doc/contract/account/Get-Single-Account
8066
+
7949
8067
  :param str symbol: unified symbol of the market to fetch the margin mode for
7950
8068
  :param dict [params]: extra parameters specific to the exchange API endpoint
7951
8069
  :returns dict: a `margin mode structure <https://docs.ccxt.com/#/?id=margin-mode-structure>`
@@ -8009,14 +8127,16 @@ class bitget(Exchange, ImplicitAPI):
8009
8127
  async def fetch_positions_history(self, symbols: Strings = None, since: Int = None, limit: Int = None, params={}) -> List[Position]:
8010
8128
  """
8011
8129
  fetches historical positions
8012
- :see: https://www.bitget.com/api-doc/contract/position/Get-History-Position
8130
+
8131
+ https://www.bitget.com/api-doc/contract/position/Get-History-Position
8132
+
8013
8133
  :param str[] [symbols]: unified contract symbols
8014
8134
  :param int [since]: timestamp in ms of the earliest position to fetch, default=3 months ago, max range for params["until"] - since is 3 months
8015
8135
  :param int [limit]: the maximum amount of records to fetch, default=20, max=100
8016
8136
  :param dict params: extra parameters specific to the exchange api endpoint
8017
8137
  :param int [params.until]: timestamp in ms of the latest position to fetch, max range for params["until"] - since is 3 months
8018
- *
8019
- * EXCHANGE SPECIFIC PARAMETERS
8138
+
8139
+ EXCHANGE SPECIFIC PARAMETERS
8020
8140
  :param str [params.productType]: USDT-FUTURES(default), COIN-FUTURES, USDC-FUTURES, SUSDT-FUTURES, SCOIN-FUTURES, or SUSDC-FUTURES
8021
8141
  :returns dict[]: a list of `position structures <https://docs.ccxt.com/#/?id=position-structure>`
8022
8142
  """
@@ -8073,7 +8193,9 @@ class bitget(Exchange, ImplicitAPI):
8073
8193
  async def fetch_convert_quote(self, fromCode: str, toCode: str, amount: Num = None, params={}) -> Conversion:
8074
8194
  """
8075
8195
  fetch a quote for converting from one currency to another
8076
- :see: https://www.bitget.com/api-doc/common/convert/Get-Quoted-Price
8196
+
8197
+ https://www.bitget.com/api-doc/common/convert/Get-Quoted-Price
8198
+
8077
8199
  :param str fromCode: the currency that you want to sell and convert from
8078
8200
  :param str toCode: the currency that you want to buy and convert into
8079
8201
  :param float [amount]: how much you want to trade in units of the from currency
@@ -8113,7 +8235,9 @@ class bitget(Exchange, ImplicitAPI):
8113
8235
  async def create_convert_trade(self, id: str, fromCode: str, toCode: str, amount: Num = None, params={}) -> Conversion:
8114
8236
  """
8115
8237
  convert from one currency to another
8116
- :see: https://www.bitget.com/api-doc/common/convert/Trade
8238
+
8239
+ https://www.bitget.com/api-doc/common/convert/Trade
8240
+
8117
8241
  :param str id: the id of the trade that you want to make
8118
8242
  :param str fromCode: the currency that you want to sell and convert from
8119
8243
  :param str toCode: the currency that you want to buy and convert into
@@ -8161,7 +8285,9 @@ class bitget(Exchange, ImplicitAPI):
8161
8285
  async def fetch_convert_trade_history(self, code: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Conversion]:
8162
8286
  """
8163
8287
  fetch the users history of conversion trades
8164
- :see: https://www.bitget.com/api-doc/common/convert/Get-Convert-Record
8288
+
8289
+ https://www.bitget.com/api-doc/common/convert/Get-Convert-Record
8290
+
8165
8291
  :param str [code]: the unified currency code
8166
8292
  :param int [since]: the earliest time in ms to fetch conversions for
8167
8293
  :param int [limit]: the maximum number of conversion structures to retrieve
@@ -8268,7 +8394,9 @@ class bitget(Exchange, ImplicitAPI):
8268
8394
  async def fetch_convert_currencies(self, params={}) -> Currencies:
8269
8395
  """
8270
8396
  fetches all available currencies that can be converted
8271
- :see: https://www.bitget.com/api-doc/common/convert/Get-Convert-Currencies
8397
+
8398
+ https://www.bitget.com/api-doc/common/convert/Get-Convert-Currencies
8399
+
8272
8400
  :param dict [params]: extra parameters specific to the exchange API endpoint
8273
8401
  :returns dict: an associative dictionary of currencies
8274
8402
  """
@@ -8328,7 +8456,9 @@ class bitget(Exchange, ImplicitAPI):
8328
8456
  async def fetch_funding_interval(self, symbol: str, params={}) -> FundingRate:
8329
8457
  """
8330
8458
  fetch the current funding rate interval
8331
- :see: https://www.bitget.com/api-doc/contract/market/Get-Symbol-Next-Funding-Time
8459
+
8460
+ https://www.bitget.com/api-doc/contract/market/Get-Symbol-Next-Funding-Time
8461
+
8332
8462
  :param str symbol: unified market symbol
8333
8463
  :param dict [params]: extra parameters specific to the exchange API endpoint
8334
8464
  :returns dict: a `funding rate structure <https://docs.ccxt.com/#/?id=funding-rate-structure>`
@@ -8369,8 +8499,10 @@ class bitget(Exchange, ImplicitAPI):
8369
8499
  async def fetch_long_short_ratio_history(self, symbol: Str = None, timeframe: Str = None, since: Int = None, limit: Int = None, params={}) -> List[LongShortRatio]:
8370
8500
  """
8371
8501
  fetches the long short ratio history for a unified market symbol
8372
- :see: https://www.bitget.com/api-doc/common/apidata/Margin-Ls-Ratio
8373
- :see: https://www.bitget.com/api-doc/common/apidata/Account-Long-Short
8502
+
8503
+ https://www.bitget.com/api-doc/common/apidata/Margin-Ls-Ratio
8504
+ https://www.bitget.com/api-doc/common/apidata/Account-Long-Short
8505
+
8374
8506
  :param str symbol: unified symbol of the market to fetch the long short ratio for
8375
8507
  :param str [timeframe]: the period for the ratio
8376
8508
  :param int [since]: the earliest time in ms to fetch ratios for