ccxt 4.1.19__py2.py3-none-any.whl → 4.1.22__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 (179) hide show
  1. ccxt/__init__.py +1 -1
  2. ccxt/abstract/okcoin.py +70 -206
  3. ccxt/ace.py +12 -12
  4. ccxt/ascendex.py +5 -5
  5. ccxt/async_support/__init__.py +1 -1
  6. ccxt/async_support/ace.py +12 -12
  7. ccxt/async_support/ascendex.py +5 -5
  8. ccxt/async_support/base/exchange.py +1 -1
  9. ccxt/async_support/bigone.py +2 -2
  10. ccxt/async_support/binance.py +184 -184
  11. ccxt/async_support/bingx.py +48 -48
  12. ccxt/async_support/bitbank.py +14 -14
  13. ccxt/async_support/bitbns.py +7 -7
  14. ccxt/async_support/bitfinex.py +2 -2
  15. ccxt/async_support/bitfinex2.py +35 -35
  16. ccxt/async_support/bitflyer.py +17 -17
  17. ccxt/async_support/bitforex.py +9 -9
  18. ccxt/async_support/bitget.py +433 -215
  19. ccxt/async_support/bitmart.py +39 -39
  20. ccxt/async_support/bitmex.py +7 -7
  21. ccxt/async_support/bitopro.py +1 -1
  22. ccxt/async_support/bitpanda.py +1 -1
  23. ccxt/async_support/bitrue.py +2 -2
  24. ccxt/async_support/bitso.py +2 -2
  25. ccxt/async_support/bitstamp.py +3 -3
  26. ccxt/async_support/bitvavo.py +2 -2
  27. ccxt/async_support/bl3p.py +1 -1
  28. ccxt/async_support/btcalpha.py +7 -7
  29. ccxt/async_support/btcturk.py +1 -1
  30. ccxt/async_support/bybit.py +58 -58
  31. ccxt/async_support/cex.py +1 -1
  32. ccxt/async_support/coinbase.py +13 -13
  33. ccxt/async_support/coinbasepro.py +15 -15
  34. ccxt/async_support/coinex.py +19 -19
  35. ccxt/async_support/coinone.py +2 -2
  36. ccxt/async_support/coinsph.py +4 -4
  37. ccxt/async_support/coinspot.py +2 -2
  38. ccxt/async_support/cryptocom.py +28 -28
  39. ccxt/async_support/currencycom.py +1 -1
  40. ccxt/async_support/delta.py +26 -26
  41. ccxt/async_support/deribit.py +9 -9
  42. ccxt/async_support/digifinex.py +38 -38
  43. ccxt/async_support/exmo.py +18 -18
  44. ccxt/async_support/gate.py +59 -59
  45. ccxt/async_support/gemini.py +4 -4
  46. ccxt/async_support/hitbtc.py +6 -6
  47. ccxt/async_support/hollaex.py +2 -2
  48. ccxt/async_support/huobi.py +70 -70
  49. ccxt/async_support/indodax.py +1 -1
  50. ccxt/async_support/kraken.py +33 -33
  51. ccxt/async_support/krakenfutures.py +6 -5
  52. ccxt/async_support/kucoin.py +74 -74
  53. ccxt/async_support/kucoinfutures.py +8 -8
  54. ccxt/async_support/latoken.py +14 -14
  55. ccxt/async_support/lbank2.py +33 -33
  56. ccxt/async_support/mexc.py +22 -22
  57. ccxt/async_support/ndax.py +1 -1
  58. ccxt/async_support/novadax.py +22 -22
  59. ccxt/async_support/oceanex.py +18 -18
  60. ccxt/async_support/okcoin.py +1950 -2758
  61. ccxt/async_support/okx.py +73 -73
  62. ccxt/async_support/paymium.py +11 -11
  63. ccxt/async_support/phemex.py +26 -26
  64. ccxt/async_support/poloniex.py +30 -30
  65. ccxt/async_support/poloniexfutures.py +25 -25
  66. ccxt/async_support/probit.py +21 -21
  67. ccxt/async_support/tokocrypto.py +22 -22
  68. ccxt/async_support/upbit.py +21 -21
  69. ccxt/async_support/wavesexchange.py +2 -2
  70. ccxt/async_support/wazirx.py +14 -14
  71. ccxt/async_support/whitebit.py +6 -6
  72. ccxt/async_support/woo.py +21 -21
  73. ccxt/async_support/yobit.py +16 -16
  74. ccxt/async_support/zaif.py +10 -10
  75. ccxt/async_support/zonda.py +15 -15
  76. ccxt/base/exchange.py +2 -1
  77. ccxt/bigone.py +2 -2
  78. ccxt/binance.py +184 -184
  79. ccxt/bingx.py +48 -48
  80. ccxt/bitbank.py +14 -14
  81. ccxt/bitbns.py +7 -7
  82. ccxt/bitfinex.py +2 -2
  83. ccxt/bitfinex2.py +35 -35
  84. ccxt/bitflyer.py +17 -17
  85. ccxt/bitforex.py +9 -9
  86. ccxt/bitget.py +433 -215
  87. ccxt/bitmart.py +39 -39
  88. ccxt/bitmex.py +7 -7
  89. ccxt/bitopro.py +1 -1
  90. ccxt/bitpanda.py +1 -1
  91. ccxt/bitrue.py +2 -2
  92. ccxt/bitso.py +2 -2
  93. ccxt/bitstamp.py +3 -3
  94. ccxt/bitvavo.py +2 -2
  95. ccxt/bl3p.py +1 -1
  96. ccxt/btcalpha.py +7 -7
  97. ccxt/btcturk.py +1 -1
  98. ccxt/bybit.py +58 -58
  99. ccxt/cex.py +1 -1
  100. ccxt/coinbase.py +13 -13
  101. ccxt/coinbasepro.py +15 -15
  102. ccxt/coinex.py +19 -19
  103. ccxt/coinone.py +2 -2
  104. ccxt/coinsph.py +4 -4
  105. ccxt/coinspot.py +2 -2
  106. ccxt/cryptocom.py +28 -28
  107. ccxt/currencycom.py +1 -1
  108. ccxt/delta.py +26 -26
  109. ccxt/deribit.py +9 -9
  110. ccxt/digifinex.py +38 -38
  111. ccxt/exmo.py +18 -18
  112. ccxt/gate.py +59 -59
  113. ccxt/gemini.py +4 -4
  114. ccxt/hitbtc.py +6 -6
  115. ccxt/hollaex.py +2 -2
  116. ccxt/huobi.py +70 -70
  117. ccxt/indodax.py +1 -1
  118. ccxt/kraken.py +33 -33
  119. ccxt/krakenfutures.py +6 -5
  120. ccxt/kucoin.py +74 -74
  121. ccxt/kucoinfutures.py +8 -8
  122. ccxt/latoken.py +14 -14
  123. ccxt/lbank2.py +33 -33
  124. ccxt/mexc.py +22 -22
  125. ccxt/ndax.py +1 -1
  126. ccxt/novadax.py +22 -22
  127. ccxt/oceanex.py +18 -18
  128. ccxt/okcoin.py +1950 -2758
  129. ccxt/okx.py +73 -73
  130. ccxt/paymium.py +11 -11
  131. ccxt/phemex.py +26 -26
  132. ccxt/poloniex.py +30 -30
  133. ccxt/poloniexfutures.py +25 -25
  134. ccxt/pro/__init__.py +1 -1
  135. ccxt/pro/ascendex.py +1 -1
  136. ccxt/pro/binance.py +9 -9
  137. ccxt/pro/bingx.py +12 -12
  138. ccxt/pro/bitget.py +2 -2
  139. ccxt/pro/bitpanda.py +7 -7
  140. ccxt/pro/bitrue.py +2 -2
  141. ccxt/pro/blockchaincom.py +6 -6
  142. ccxt/pro/bybit.py +15 -15
  143. ccxt/pro/cex.py +8 -8
  144. ccxt/pro/coinbase.py +6 -6
  145. ccxt/pro/coinbasepro.py +1 -1
  146. ccxt/pro/coinex.py +8 -8
  147. ccxt/pro/cryptocom.py +12 -12
  148. ccxt/pro/deribit.py +7 -7
  149. ccxt/pro/gemini.py +4 -4
  150. ccxt/pro/hitbtc.py +17 -17
  151. ccxt/pro/huobi.py +3 -3
  152. ccxt/pro/kraken.py +6 -6
  153. ccxt/pro/krakenfutures.py +10 -10
  154. ccxt/pro/kucoin.py +85 -42
  155. ccxt/pro/kucoinfutures.py +5 -5
  156. ccxt/pro/luno.py +1 -1
  157. ccxt/pro/mexc.py +7 -7
  158. ccxt/pro/okx.py +16 -15
  159. ccxt/pro/phemex.py +15 -15
  160. ccxt/pro/poloniex.py +9 -9
  161. ccxt/pro/poloniexfutures.py +5 -5
  162. ccxt/pro/probit.py +5 -5
  163. ccxt/pro/wazirx.py +5 -5
  164. ccxt/pro/woo.py +1 -1
  165. ccxt/probit.py +21 -21
  166. ccxt/test/base/test_shared_methods.py +1 -1
  167. ccxt/tokocrypto.py +22 -22
  168. ccxt/upbit.py +21 -21
  169. ccxt/wavesexchange.py +2 -2
  170. ccxt/wazirx.py +14 -14
  171. ccxt/whitebit.py +6 -6
  172. ccxt/woo.py +21 -21
  173. ccxt/yobit.py +16 -16
  174. ccxt/zaif.py +10 -10
  175. ccxt/zonda.py +15 -15
  176. {ccxt-4.1.19.dist-info → ccxt-4.1.22.dist-info}/METADATA +5 -9
  177. {ccxt-4.1.19.dist-info → ccxt-4.1.22.dist-info}/RECORD +179 -179
  178. {ccxt-4.1.19.dist-info → ccxt-4.1.22.dist-info}/WHEEL +0 -0
  179. {ccxt-4.1.19.dist-info → ccxt-4.1.22.dist-info}/top_level.txt +0 -0
@@ -1803,9 +1803,9 @@ class binance(Exchange, ImplicitAPI):
1803
1803
  async def fetch_time(self, params={}):
1804
1804
  """
1805
1805
  fetches the current integer timestamp in milliseconds from the exchange server
1806
- see https://binance-docs.github.io/apidocs/spot/en/#check-server-time # spot
1807
- see https://binance-docs.github.io/apidocs/futures/en/#check-server-time # swap
1808
- see https://binance-docs.github.io/apidocs/delivery/en/#check-server-time # future
1806
+ :see: https://binance-docs.github.io/apidocs/spot/en/#check-server-time # spot
1807
+ :see: https://binance-docs.github.io/apidocs/futures/en/#check-server-time # swap
1808
+ :see: https://binance-docs.github.io/apidocs/delivery/en/#check-server-time # future
1809
1809
  :param dict [params]: extra parameters specific to the binance api endpoint
1810
1810
  :returns int: the current integer timestamp in milliseconds from the exchange server
1811
1811
  """
@@ -1826,7 +1826,7 @@ class binance(Exchange, ImplicitAPI):
1826
1826
  async def fetch_currencies(self, params={}):
1827
1827
  """
1828
1828
  fetches all available currencies on an exchange
1829
- see https://binance-docs.github.io/apidocs/spot/en/#all-coins-39-information-user_data
1829
+ :see: https://binance-docs.github.io/apidocs/spot/en/#all-coins-39-information-user_data
1830
1830
  :param dict [params]: extra parameters specific to the binance api endpoint
1831
1831
  :returns dict: an associative dictionary of currencies
1832
1832
  """
@@ -1993,10 +1993,10 @@ class binance(Exchange, ImplicitAPI):
1993
1993
  async def fetch_markets(self, params={}):
1994
1994
  """
1995
1995
  retrieves data on all markets for binance
1996
- see https://binance-docs.github.io/apidocs/spot/en/#exchange-information # spot
1997
- see https://binance-docs.github.io/apidocs/futures/en/#exchange-information # swap
1998
- see https://binance-docs.github.io/apidocs/delivery/en/#exchange-information # future
1999
- see https://binance-docs.github.io/apidocs/voptions/en/#exchange-information # option
1996
+ :see: https://binance-docs.github.io/apidocs/spot/en/#exchange-information # spot
1997
+ :see: https://binance-docs.github.io/apidocs/futures/en/#exchange-information # swap
1998
+ :see: https://binance-docs.github.io/apidocs/delivery/en/#exchange-information # future
1999
+ :see: https://binance-docs.github.io/apidocs/voptions/en/#exchange-information # option
2000
2000
  :param dict [params]: extra parameters specific to the exchange api endpoint
2001
2001
  :returns dict[]: an array of objects representing market data
2002
2002
  """
@@ -2479,14 +2479,14 @@ class binance(Exchange, ImplicitAPI):
2479
2479
  async def fetch_balance(self, params={}):
2480
2480
  """
2481
2481
  query for balance and get the amount of funds available for trading or funds locked in orders
2482
- see https://binance-docs.github.io/apidocs/spot/en/#account-information-user_data # spot
2483
- see https://binance-docs.github.io/apidocs/spot/en/#query-cross-margin-account-details-user_data # cross margin
2484
- see https://binance-docs.github.io/apidocs/spot/en/#query-isolated-margin-account-info-user_data # isolated margin
2485
- see https://binance-docs.github.io/apidocs/spot/en/#lending-account-user_data # lending
2486
- see https://binance-docs.github.io/apidocs/spot/en/#funding-wallet-user_data # funding
2487
- see https://binance-docs.github.io/apidocs/futures/en/#account-information-v2-user_data # swap
2488
- see https://binance-docs.github.io/apidocs/delivery/en/#account-information-user_data # future
2489
- see https://binance-docs.github.io/apidocs/voptions/en/#option-account-information-trade # option
2482
+ :see: https://binance-docs.github.io/apidocs/spot/en/#account-information-user_data # spot
2483
+ :see: https://binance-docs.github.io/apidocs/spot/en/#query-cross-margin-account-details-user_data # cross margin
2484
+ :see: https://binance-docs.github.io/apidocs/spot/en/#query-isolated-margin-account-info-user_data # isolated margin
2485
+ :see: https://binance-docs.github.io/apidocs/spot/en/#lending-account-user_data # lending
2486
+ :see: https://binance-docs.github.io/apidocs/spot/en/#funding-wallet-user_data # funding
2487
+ :see: https://binance-docs.github.io/apidocs/futures/en/#account-information-v2-user_data # swap
2488
+ :see: https://binance-docs.github.io/apidocs/delivery/en/#account-information-user_data # future
2489
+ :see: https://binance-docs.github.io/apidocs/voptions/en/#option-account-information-trade # option
2490
2490
  :param dict [params]: extra parameters specific to the binance api endpoint
2491
2491
  :param str [params.type]: 'future', 'delivery', 'savings', 'funding', or 'spot'
2492
2492
  :param str [params.marginMode]: 'cross' or 'isolated', for margin trading, uses self.options.defaultMarginMode if not passed, defaults to None/None/None
@@ -2723,10 +2723,10 @@ class binance(Exchange, ImplicitAPI):
2723
2723
  async def fetch_order_book(self, symbol: str, limit: Optional[int] = None, params={}):
2724
2724
  """
2725
2725
  fetches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
2726
- see https://binance-docs.github.io/apidocs/spot/en/#order-book # spot
2727
- see https://binance-docs.github.io/apidocs/futures/en/#order-book # swap
2728
- see https://binance-docs.github.io/apidocs/delivery/en/#order-book # future
2729
- see https://binance-docs.github.io/apidocs/voptions/en/#order-book # option
2726
+ :see: https://binance-docs.github.io/apidocs/spot/en/#order-book # spot
2727
+ :see: https://binance-docs.github.io/apidocs/futures/en/#order-book # swap
2728
+ :see: https://binance-docs.github.io/apidocs/delivery/en/#order-book # future
2729
+ :see: https://binance-docs.github.io/apidocs/voptions/en/#order-book # option
2730
2730
  :param str symbol: unified symbol of the market to fetch the order book for
2731
2731
  :param int [limit]: the maximum amount of order book entries to return
2732
2732
  :param dict [params]: extra parameters specific to the binance api endpoint
@@ -2937,7 +2937,7 @@ class binance(Exchange, ImplicitAPI):
2937
2937
  async def fetch_status(self, params={}):
2938
2938
  """
2939
2939
  the latest known information on the availability of the exchange API
2940
- see https://binance-docs.github.io/apidocs/spot/en/#system-status-system
2940
+ :see: https://binance-docs.github.io/apidocs/spot/en/#system-status-system
2941
2941
  :param dict [params]: extra parameters specific to the binance api endpoint
2942
2942
  :returns dict: a `status structure <https://github.com/ccxt/ccxt/wiki/Manual#exchange-status-structure>`
2943
2943
  """
@@ -2960,10 +2960,10 @@ class binance(Exchange, ImplicitAPI):
2960
2960
  async def fetch_ticker(self, symbol: str, params={}):
2961
2961
  """
2962
2962
  fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
2963
- see https://binance-docs.github.io/apidocs/spot/en/#24hr-ticker-price-change-statistics # spot
2964
- see https://binance-docs.github.io/apidocs/futures/en/#24hr-ticker-price-change-statistics # swap
2965
- see https://binance-docs.github.io/apidocs/delivery/en/#24hr-ticker-price-change-statistics # future
2966
- see https://binance-docs.github.io/apidocs/voptions/en/#24hr-ticker-price-change-statistics # option
2963
+ :see: https://binance-docs.github.io/apidocs/spot/en/#24hr-ticker-price-change-statistics # spot
2964
+ :see: https://binance-docs.github.io/apidocs/futures/en/#24hr-ticker-price-change-statistics # swap
2965
+ :see: https://binance-docs.github.io/apidocs/delivery/en/#24hr-ticker-price-change-statistics # future
2966
+ :see: https://binance-docs.github.io/apidocs/voptions/en/#24hr-ticker-price-change-statistics # option
2967
2967
  :param str symbol: unified symbol of the market to fetch the ticker for
2968
2968
  :param dict [params]: extra parameters specific to the binance api endpoint
2969
2969
  :returns dict: a `ticker structure <https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure>`
@@ -2990,9 +2990,9 @@ class binance(Exchange, ImplicitAPI):
2990
2990
  async def fetch_bids_asks(self, symbols: Optional[List[str]] = None, params={}):
2991
2991
  """
2992
2992
  fetches the bid and ask price and volume for multiple markets
2993
- see https://binance-docs.github.io/apidocs/spot/en/#symbol-order-book-ticker # spot
2994
- see https://binance-docs.github.io/apidocs/futures/en/#symbol-order-book-ticker # swap
2995
- see https://binance-docs.github.io/apidocs/delivery/en/#symbol-order-book-ticker # future
2993
+ :see: https://binance-docs.github.io/apidocs/spot/en/#symbol-order-book-ticker # spot
2994
+ :see: https://binance-docs.github.io/apidocs/futures/en/#symbol-order-book-ticker # swap
2995
+ :see: https://binance-docs.github.io/apidocs/delivery/en/#symbol-order-book-ticker # future
2996
2996
  :param str[]|None symbols: unified symbols of the markets to fetch the bids and asks for, all markets are returned if not assigned
2997
2997
  :param dict [params]: extra parameters specific to the binance api endpoint
2998
2998
  :returns dict: a dictionary of `ticker structures <https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure>`
@@ -3019,9 +3019,9 @@ class binance(Exchange, ImplicitAPI):
3019
3019
  async def fetch_last_prices(self, symbols: Optional[List[str]] = None, params={}):
3020
3020
  """
3021
3021
  fetches the last price for multiple markets
3022
- see https://binance-docs.github.io/apidocs/spot/en/#symbol-price-ticker # spot
3023
- see https://binance-docs.github.io/apidocs/future/en/#symbol-price-ticker # swap
3024
- see https://binance-docs.github.io/apidocs/delivery/en/#symbol-price-ticker # future
3022
+ :see: https://binance-docs.github.io/apidocs/spot/en/#symbol-price-ticker # spot
3023
+ :see: https://binance-docs.github.io/apidocs/future/en/#symbol-price-ticker # swap
3024
+ :see: https://binance-docs.github.io/apidocs/delivery/en/#symbol-price-ticker # future
3025
3025
  :param str[]|None symbols: unified symbols of the markets to fetch the last prices
3026
3026
  :param dict [params]: extra parameters specific to the binance api endpoint
3027
3027
  :returns dict: a dictionary of `ticker structures <https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure>`
@@ -3117,10 +3117,10 @@ class binance(Exchange, ImplicitAPI):
3117
3117
  async def fetch_tickers(self, symbols: Optional[List[str]] = None, params={}):
3118
3118
  """
3119
3119
  fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
3120
- see https://binance-docs.github.io/apidocs/spot/en/#24hr-ticker-price-change-statistics # spot
3121
- see https://binance-docs.github.io/apidocs/futures/en/#24hr-ticker-price-change-statistics # swap
3122
- see https://binance-docs.github.io/apidocs/delivery/en/#24hr-ticker-price-change-statistics # future
3123
- see https://binance-docs.github.io/apidocs/voptions/en/#24hr-ticker-price-change-statistics # option
3120
+ :see: https://binance-docs.github.io/apidocs/spot/en/#24hr-ticker-price-change-statistics # spot
3121
+ :see: https://binance-docs.github.io/apidocs/futures/en/#24hr-ticker-price-change-statistics # swap
3122
+ :see: https://binance-docs.github.io/apidocs/delivery/en/#24hr-ticker-price-change-statistics # future
3123
+ :see: https://binance-docs.github.io/apidocs/voptions/en/#24hr-ticker-price-change-statistics # option
3124
3124
  :param str[]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
3125
3125
  :param dict [params]: extra parameters specific to the binance api endpoint
3126
3126
  :returns dict: a dictionary of `ticker structures <https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure>`
@@ -3214,14 +3214,14 @@ class binance(Exchange, ImplicitAPI):
3214
3214
  async def fetch_ohlcv(self, symbol: str, timeframe='1m', since: Optional[int] = None, limit: Optional[int] = None, params={}):
3215
3215
  """
3216
3216
  fetches historical candlestick data containing the open, high, low, and close price, and the volume of a market
3217
- see https://binance-docs.github.io/apidocs/spot/en/#kline-candlestick-data
3218
- see https://binance-docs.github.io/apidocs/voptions/en/#kline-candlestick-data
3219
- see https://binance-docs.github.io/apidocs/futures/en/#index-price-kline-candlestick-data
3220
- see https://binance-docs.github.io/apidocs/futures/en/#mark-price-kline-candlestick-data
3221
- see https://binance-docs.github.io/apidocs/futures/en/#kline-candlestick-data
3222
- see https://binance-docs.github.io/apidocs/delivery/en/#index-price-kline-candlestick-data
3223
- see https://binance-docs.github.io/apidocs/delivery/en/#mark-price-kline-candlestick-data
3224
- see https://binance-docs.github.io/apidocs/delivery/en/#kline-candlestick-data
3217
+ :see: https://binance-docs.github.io/apidocs/spot/en/#kline-candlestick-data
3218
+ :see: https://binance-docs.github.io/apidocs/voptions/en/#kline-candlestick-data
3219
+ :see: https://binance-docs.github.io/apidocs/futures/en/#index-price-kline-candlestick-data
3220
+ :see: https://binance-docs.github.io/apidocs/futures/en/#mark-price-kline-candlestick-data
3221
+ :see: https://binance-docs.github.io/apidocs/futures/en/#kline-candlestick-data
3222
+ :see: https://binance-docs.github.io/apidocs/delivery/en/#index-price-kline-candlestick-data
3223
+ :see: https://binance-docs.github.io/apidocs/delivery/en/#mark-price-kline-candlestick-data
3224
+ :see: https://binance-docs.github.io/apidocs/delivery/en/#kline-candlestick-data
3225
3225
  :param str symbol: unified symbol of the market to fetch OHLCV data for
3226
3226
  :param str timeframe: the length of time each candle represents
3227
3227
  :param int [since]: timestamp in ms of the earliest candle to fetch
@@ -3523,18 +3523,18 @@ class binance(Exchange, ImplicitAPI):
3523
3523
  """
3524
3524
  get the list of most recent trades for a particular symbol
3525
3525
  * Default fetchTradesMethod
3526
- see https://binance-docs.github.io/apidocs/spot/en/#compressed-aggregate-trades-list # publicGetAggTrades(spot)
3527
- see https://binance-docs.github.io/apidocs/futures/en/#compressed-aggregate-trades-list # fapiPublicGetAggTrades(swap)
3528
- see https://binance-docs.github.io/apidocs/delivery/en/#compressed-aggregate-trades-list # dapiPublicGetAggTrades(future)
3529
- see https://binance-docs.github.io/apidocs/voptions/en/#recent-trades-list # eapiPublicGetTrades(option)
3526
+ :see: https://binance-docs.github.io/apidocs/spot/en/#compressed-aggregate-trades-list # publicGetAggTrades(spot)
3527
+ :see: https://binance-docs.github.io/apidocs/futures/en/#compressed-aggregate-trades-list # fapiPublicGetAggTrades(swap)
3528
+ :see: https://binance-docs.github.io/apidocs/delivery/en/#compressed-aggregate-trades-list # dapiPublicGetAggTrades(future)
3529
+ :see: https://binance-docs.github.io/apidocs/voptions/en/#recent-trades-list # eapiPublicGetTrades(option)
3530
3530
  * Other fetchTradesMethod
3531
- see https://binance-docs.github.io/apidocs/spot/en/#recent-trades-list # publicGetTrades(spot)
3532
- see https://binance-docs.github.io/apidocs/futures/en/#recent-trades-list # fapiPublicGetTrades(swap)
3533
- see https://binance-docs.github.io/apidocs/delivery/en/#recent-trades-list # dapiPublicGetTrades(future)
3534
- see https://binance-docs.github.io/apidocs/spot/en/#old-trade-lookup-market_data # publicGetHistoricalTrades(spot)
3535
- see https://binance-docs.github.io/apidocs/future/en/#old-trade-lookup-market_data # fapiPublicGetHistoricalTrades(swap)
3536
- see https://binance-docs.github.io/apidocs/delivery/en/#old-trade-lookup-market_data # dapiPublicGetHistoricalTrades(future)
3537
- see https://binance-docs.github.io/apidocs/voptions/en/#old-trade-lookup-market_data # eapiPublicGetHistoricalTrades(option)
3531
+ :see: https://binance-docs.github.io/apidocs/spot/en/#recent-trades-list # publicGetTrades(spot)
3532
+ :see: https://binance-docs.github.io/apidocs/futures/en/#recent-trades-list # fapiPublicGetTrades(swap)
3533
+ :see: https://binance-docs.github.io/apidocs/delivery/en/#recent-trades-list # dapiPublicGetTrades(future)
3534
+ :see: https://binance-docs.github.io/apidocs/spot/en/#old-trade-lookup-market_data # publicGetHistoricalTrades(spot)
3535
+ :see: https://binance-docs.github.io/apidocs/future/en/#old-trade-lookup-market_data # fapiPublicGetHistoricalTrades(swap)
3536
+ :see: https://binance-docs.github.io/apidocs/delivery/en/#old-trade-lookup-market_data # dapiPublicGetHistoricalTrades(future)
3537
+ :see: https://binance-docs.github.io/apidocs/voptions/en/#old-trade-lookup-market_data # eapiPublicGetHistoricalTrades(option)
3538
3538
  :param str symbol: unified symbol of the market to fetch trades for
3539
3539
  :param int [since]: only used when fetchTradesMethod is 'publicGetAggTrades', 'fapiPublicGetAggTrades', or 'dapiPublicGetAggTrades'
3540
3540
  :param int [limit]: default 500, max 1000
@@ -3656,7 +3656,7 @@ class binance(Exchange, ImplicitAPI):
3656
3656
  async def edit_spot_order(self, id: str, symbol, type, side, amount, price=None, params={}):
3657
3657
  """
3658
3658
  edit a trade order
3659
- see https://binance-docs.github.io/apidocs/spot/en/#cancel-an-existing-order-and-send-a-new-order-trade
3659
+ :see: https://binance-docs.github.io/apidocs/spot/en/#cancel-an-existing-order-and-send-a-new-order-trade
3660
3660
  :param str id: cancel order id
3661
3661
  :param str symbol: unified symbol of the market to create an order in
3662
3662
  :param str type: 'market' or 'limit' or 'STOP_LOSS' or 'STOP_LOSS_LIMIT' or 'TAKE_PROFIT' or 'TAKE_PROFIT_LIMIT' or 'STOP'
@@ -3823,8 +3823,8 @@ class binance(Exchange, ImplicitAPI):
3823
3823
  async def edit_contract_order(self, id: str, symbol, type, side, amount, price=None, params={}):
3824
3824
  """
3825
3825
  edit a trade order
3826
- see https://binance-docs.github.io/apidocs/futures/en/#modify-order-trade
3827
- see https://binance-docs.github.io/apidocs/delivery/en/#modify-order-trade
3826
+ :see: https://binance-docs.github.io/apidocs/futures/en/#modify-order-trade
3827
+ :see: https://binance-docs.github.io/apidocs/delivery/en/#modify-order-trade
3828
3828
  :param str id: cancel order id
3829
3829
  :param str symbol: unified symbol of the market to create an order in
3830
3830
  :param str type: 'market' or 'limit'
@@ -3887,9 +3887,9 @@ class binance(Exchange, ImplicitAPI):
3887
3887
  async def edit_order(self, id: str, symbol, type, side, amount=None, price=None, params={}):
3888
3888
  """
3889
3889
  edit a trade order
3890
- see https://binance-docs.github.io/apidocs/spot/en/#cancel-an-existing-order-and-send-a-new-order-trade
3891
- see https://binance-docs.github.io/apidocs/futures/en/#modify-order-trade
3892
- see https://binance-docs.github.io/apidocs/delivery/en/#modify-order-trade
3890
+ :see: https://binance-docs.github.io/apidocs/spot/en/#cancel-an-existing-order-and-send-a-new-order-trade
3891
+ :see: https://binance-docs.github.io/apidocs/futures/en/#modify-order-trade
3892
+ :see: https://binance-docs.github.io/apidocs/delivery/en/#modify-order-trade
3893
3893
  :param str id: cancel order id
3894
3894
  :param str symbol: unified symbol of the market to create an order in
3895
3895
  :param str type: 'market' or 'limit'
@@ -4161,13 +4161,13 @@ class binance(Exchange, ImplicitAPI):
4161
4161
  async def create_order(self, symbol: str, type: OrderType, side: OrderSide, amount, price=None, params={}):
4162
4162
  """
4163
4163
  create a trade order
4164
- see https://binance-docs.github.io/apidocs/spot/en/#new-order-trade
4165
- see https://binance-docs.github.io/apidocs/spot/en/#test-new-order-trade
4166
- see https://binance-docs.github.io/apidocs/futures/en/#new-order-trade
4167
- see https://binance-docs.github.io/apidocs/delivery/en/#new-order-trade
4168
- see https://binance-docs.github.io/apidocs/voptions/en/#new-order-trade
4169
- see https://binance-docs.github.io/apidocs/spot/en/#new-order-using-sor-trade
4170
- see https://binance-docs.github.io/apidocs/spot/en/#test-new-order-using-sor-trade
4164
+ :see: https://binance-docs.github.io/apidocs/spot/en/#new-order-trade
4165
+ :see: https://binance-docs.github.io/apidocs/spot/en/#test-new-order-trade
4166
+ :see: https://binance-docs.github.io/apidocs/futures/en/#new-order-trade
4167
+ :see: https://binance-docs.github.io/apidocs/delivery/en/#new-order-trade
4168
+ :see: https://binance-docs.github.io/apidocs/voptions/en/#new-order-trade
4169
+ :see: https://binance-docs.github.io/apidocs/spot/en/#new-order-using-sor-trade
4170
+ :see: https://binance-docs.github.io/apidocs/spot/en/#test-new-order-using-sor-trade
4171
4171
  :param str symbol: unified symbol of the market to create an order in
4172
4172
  :param str type: 'market' or 'limit' or 'STOP_LOSS' or 'STOP_LOSS_LIMIT' or 'TAKE_PROFIT' or 'TAKE_PROFIT_LIMIT' or 'STOP'
4173
4173
  :param str side: 'buy' or 'sell'
@@ -4391,11 +4391,11 @@ class binance(Exchange, ImplicitAPI):
4391
4391
  async def fetch_order(self, id: str, symbol: Optional[str] = None, params={}):
4392
4392
  """
4393
4393
  fetches information on an order made by the user
4394
- see https://binance-docs.github.io/apidocs/spot/en/#query-order-user_data
4395
- see https://binance-docs.github.io/apidocs/futures/en/#query-order-user_data
4396
- see https://binance-docs.github.io/apidocs/delivery/en/#query-order-user_data
4397
- see https://binance-docs.github.io/apidocs/voptions/en/#query-single-order-trade
4398
- see https://binance-docs.github.io/apidocs/spot/en/#query-margin-account-39-s-order-user_data
4394
+ :see: https://binance-docs.github.io/apidocs/spot/en/#query-order-user_data
4395
+ :see: https://binance-docs.github.io/apidocs/futures/en/#query-order-user_data
4396
+ :see: https://binance-docs.github.io/apidocs/delivery/en/#query-order-user_data
4397
+ :see: https://binance-docs.github.io/apidocs/voptions/en/#query-single-order-trade
4398
+ :see: https://binance-docs.github.io/apidocs/spot/en/#query-margin-account-39-s-order-user_data
4399
4399
  :param str symbol: unified symbol of the market the order was made in
4400
4400
  :param dict [params]: extra parameters specific to the binance api endpoint
4401
4401
  :param str [params.marginMode]: 'cross' or 'isolated', for spot margin trading
@@ -4436,11 +4436,11 @@ class binance(Exchange, ImplicitAPI):
4436
4436
  async def fetch_orders(self, symbol: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
4437
4437
  """
4438
4438
  fetches information on multiple orders made by the user
4439
- see https://binance-docs.github.io/apidocs/spot/en/#all-orders-user_data
4440
- see https://binance-docs.github.io/apidocs/futures/en/#all-orders-user_data
4441
- see https://binance-docs.github.io/apidocs/delivery/en/#all-orders-user_data
4442
- see https://binance-docs.github.io/apidocs/voptions/en/#query-option-order-history-trade
4443
- see https://binance-docs.github.io/apidocs/spot/en/#query-margin-account-39-s-all-orders-user_data
4439
+ :see: https://binance-docs.github.io/apidocs/spot/en/#all-orders-user_data
4440
+ :see: https://binance-docs.github.io/apidocs/futures/en/#all-orders-user_data
4441
+ :see: https://binance-docs.github.io/apidocs/delivery/en/#all-orders-user_data
4442
+ :see: https://binance-docs.github.io/apidocs/voptions/en/#query-option-order-history-trade
4443
+ :see: https://binance-docs.github.io/apidocs/spot/en/#query-margin-account-39-s-all-orders-user_data
4444
4444
  :param str symbol: unified market symbol of the market orders were made in
4445
4445
  :param int [since]: the earliest time in ms to fetch orders for
4446
4446
  :param int [limit]: the maximum number of order structures to retrieve
@@ -4561,16 +4561,16 @@ class binance(Exchange, ImplicitAPI):
4561
4561
 
4562
4562
  async def fetch_open_orders(self, symbol: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
4563
4563
  """
4564
- see https://binance-docs.github.io/apidocs/spot/en/#cancel-an-existing-order-and-send-a-new-order-trade
4565
- see https://binance-docs.github.io/apidocs/futures/en/#current-all-open-orders-user_data
4566
- see https://binance-docs.github.io/apidocs/delivery/en/#current-all-open-orders-user_data
4567
- see https://binance-docs.github.io/apidocs/voptions/en/#query-current-open-option-orders-user_data
4564
+ :see: https://binance-docs.github.io/apidocs/spot/en/#cancel-an-existing-order-and-send-a-new-order-trade
4565
+ :see: https://binance-docs.github.io/apidocs/futures/en/#current-all-open-orders-user_data
4566
+ :see: https://binance-docs.github.io/apidocs/delivery/en/#current-all-open-orders-user_data
4567
+ :see: https://binance-docs.github.io/apidocs/voptions/en/#query-current-open-option-orders-user_data
4568
4568
  fetch all unfilled currently open orders
4569
- see https://binance-docs.github.io/apidocs/spot/en/#current-open-orders-user_data
4570
- see https://binance-docs.github.io/apidocs/futures/en/#current-all-open-orders-user_data
4571
- see https://binance-docs.github.io/apidocs/delivery/en/#current-all-open-orders-user_data
4572
- see https://binance-docs.github.io/apidocs/voptions/en/#query-current-open-option-orders-user_data
4573
- see https://binance-docs.github.io/apidocs/spot/en/#query-margin-account-39-s-open-orders-user_data
4569
+ :see: https://binance-docs.github.io/apidocs/spot/en/#current-open-orders-user_data
4570
+ :see: https://binance-docs.github.io/apidocs/futures/en/#current-all-open-orders-user_data
4571
+ :see: https://binance-docs.github.io/apidocs/delivery/en/#current-all-open-orders-user_data
4572
+ :see: https://binance-docs.github.io/apidocs/voptions/en/#query-current-open-option-orders-user_data
4573
+ :see: https://binance-docs.github.io/apidocs/spot/en/#query-margin-account-39-s-open-orders-user_data
4574
4574
  :param str symbol: unified market symbol
4575
4575
  :param int [since]: the earliest time in ms to fetch open orders for
4576
4576
  :param int [limit]: the maximum number of open orders structures to retrieve
@@ -4625,11 +4625,11 @@ class binance(Exchange, ImplicitAPI):
4625
4625
  async def fetch_closed_orders(self, symbol: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
4626
4626
  """
4627
4627
  fetches information on multiple closed orders made by the user
4628
- see https://binance-docs.github.io/apidocs/spot/en/#all-orders-user_data
4629
- see https://binance-docs.github.io/apidocs/futures/en/#all-orders-user_data
4630
- see https://binance-docs.github.io/apidocs/delivery/en/#all-orders-user_data
4631
- see https://binance-docs.github.io/apidocs/voptions/en/#query-option-order-history-trade
4632
- see https://binance-docs.github.io/apidocs/spot/en/#query-margin-account-39-s-all-orders-user_data
4628
+ :see: https://binance-docs.github.io/apidocs/spot/en/#all-orders-user_data
4629
+ :see: https://binance-docs.github.io/apidocs/futures/en/#all-orders-user_data
4630
+ :see: https://binance-docs.github.io/apidocs/delivery/en/#all-orders-user_data
4631
+ :see: https://binance-docs.github.io/apidocs/voptions/en/#query-option-order-history-trade
4632
+ :see: https://binance-docs.github.io/apidocs/spot/en/#query-margin-account-39-s-all-orders-user_data
4633
4633
  :param str symbol: unified market symbol of the market orders were made in
4634
4634
  :param int [since]: the earliest time in ms to fetch orders for
4635
4635
  :param int [limit]: the maximum number of order structures to retrieve
@@ -4643,9 +4643,9 @@ class binance(Exchange, ImplicitAPI):
4643
4643
  async def fetch_canceled_orders(self, symbol: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
4644
4644
  """
4645
4645
  fetches information on multiple canceled orders made by the user
4646
- see https://binance-docs.github.io/apidocs/spot/en/#all-orders-user_data
4647
- see https://binance-docs.github.io/apidocs/spot/en/#query-margin-account-39-s-all-orders-user_data
4648
- see https://binance-docs.github.io/apidocs/voptions/en/#query-option-order-history-trade
4646
+ :see: https://binance-docs.github.io/apidocs/spot/en/#all-orders-user_data
4647
+ :see: https://binance-docs.github.io/apidocs/spot/en/#query-margin-account-39-s-all-orders-user_data
4648
+ :see: https://binance-docs.github.io/apidocs/voptions/en/#query-option-order-history-trade
4649
4649
  :param str symbol: unified market symbol of the market the orders were made in
4650
4650
  :param int [since]: the earliest time in ms to fetch orders for
4651
4651
  :param int [limit]: the maximum number of order structures to retrieve
@@ -4666,11 +4666,11 @@ class binance(Exchange, ImplicitAPI):
4666
4666
  async def cancel_order(self, id: str, symbol: Optional[str] = None, params={}):
4667
4667
  """
4668
4668
  cancels an open order
4669
- see https://binance-docs.github.io/apidocs/spot/en/#cancel-order-trade
4670
- see https://binance-docs.github.io/apidocs/futures/en/#cancel-order-trade
4671
- see https://binance-docs.github.io/apidocs/delivery/en/#cancel-order-trade
4672
- see https://binance-docs.github.io/apidocs/voptions/en/#cancel-option-order-trade
4673
- see https://binance-docs.github.io/apidocs/spot/en/#margin-account-cancel-order-trade
4669
+ :see: https://binance-docs.github.io/apidocs/spot/en/#cancel-order-trade
4670
+ :see: https://binance-docs.github.io/apidocs/futures/en/#cancel-order-trade
4671
+ :see: https://binance-docs.github.io/apidocs/delivery/en/#cancel-order-trade
4672
+ :see: https://binance-docs.github.io/apidocs/voptions/en/#cancel-option-order-trade
4673
+ :see: https://binance-docs.github.io/apidocs/spot/en/#margin-account-cancel-order-trade
4674
4674
  :param str id: order id
4675
4675
  :param str symbol: unified symbol of the market the order was made in
4676
4676
  :param dict [params]: extra parameters specific to the binance api endpoint
@@ -4712,11 +4712,11 @@ class binance(Exchange, ImplicitAPI):
4712
4712
 
4713
4713
  async def cancel_all_orders(self, symbol: Optional[str] = None, params={}):
4714
4714
  """
4715
- see https://binance-docs.github.io/apidocs/spot/en/#cancel-all-open-orders-on-a-symbol-trade
4716
- see https://binance-docs.github.io/apidocs/futures/en/#cancel-all-open-orders-trade
4717
- see https://binance-docs.github.io/apidocs/delivery/en/#cancel-all-open-orders-trade
4718
- see https://binance-docs.github.io/apidocs/voptions/en/#cancel-all-option-orders-on-specific-symbol-trade
4719
- see https://binance-docs.github.io/apidocs/spot/en/#margin-account-cancel-order-trade
4715
+ :see: https://binance-docs.github.io/apidocs/spot/en/#cancel-all-open-orders-on-a-symbol-trade
4716
+ :see: https://binance-docs.github.io/apidocs/futures/en/#cancel-all-open-orders-trade
4717
+ :see: https://binance-docs.github.io/apidocs/delivery/en/#cancel-all-open-orders-trade
4718
+ :see: https://binance-docs.github.io/apidocs/voptions/en/#cancel-all-option-orders-on-specific-symbol-trade
4719
+ :see: https://binance-docs.github.io/apidocs/spot/en/#margin-account-cancel-order-trade
4720
4720
  cancel all open orders in a market
4721
4721
  :param str symbol: unified market symbol of the market to cancel orders in
4722
4722
  :param dict [params]: extra parameters specific to the binance api endpoint
@@ -4752,8 +4752,8 @@ class binance(Exchange, ImplicitAPI):
4752
4752
  async def cancel_orders(self, ids: List[int], symbol: Optional[str] = None, params={}):
4753
4753
  """
4754
4754
  cancel multiple orders
4755
- see https://binance-docs.github.io/apidocs/futures/en/#cancel-multiple-orders-trade
4756
- see https://binance-docs.github.io/apidocs/delivery/en/#cancel-multiple-orders-trade
4755
+ :see: https://binance-docs.github.io/apidocs/futures/en/#cancel-multiple-orders-trade
4756
+ :see: https://binance-docs.github.io/apidocs/delivery/en/#cancel-multiple-orders-trade
4757
4757
  :param [str] ids: order ids
4758
4758
  :param str [symbol]: unified market symbol
4759
4759
  :param dict [params]: extra parameters specific to the bingx api endpoint
@@ -4817,10 +4817,10 @@ class binance(Exchange, ImplicitAPI):
4817
4817
  async def fetch_order_trades(self, id: str, symbol: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
4818
4818
  """
4819
4819
  fetch all the trades made from a single order
4820
- see https://binance-docs.github.io/apidocs/spot/en/#account-trade-list-user_data
4821
- see https://binance-docs.github.io/apidocs/futures/en/#account-trade-list-user_data
4822
- see https://binance-docs.github.io/apidocs/delivery/en/#account-trade-list-user_data
4823
- see https://binance-docs.github.io/apidocs/spot/en/#query-margin-account-39-s-trade-list-user_data
4820
+ :see: https://binance-docs.github.io/apidocs/spot/en/#account-trade-list-user_data
4821
+ :see: https://binance-docs.github.io/apidocs/futures/en/#account-trade-list-user_data
4822
+ :see: https://binance-docs.github.io/apidocs/delivery/en/#account-trade-list-user_data
4823
+ :see: https://binance-docs.github.io/apidocs/spot/en/#query-margin-account-39-s-trade-list-user_data
4824
4824
  :param str id: order id
4825
4825
  :param str symbol: unified market symbol
4826
4826
  :param int [since]: the earliest time in ms to fetch trades for
@@ -4844,10 +4844,10 @@ class binance(Exchange, ImplicitAPI):
4844
4844
  async def fetch_my_trades(self, symbol: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
4845
4845
  """
4846
4846
  fetch all trades made by the user
4847
- see https://binance-docs.github.io/apidocs/spot/en/#account-trade-list-user_data
4848
- see https://binance-docs.github.io/apidocs/futures/en/#account-trade-list-user_data
4849
- see https://binance-docs.github.io/apidocs/delivery/en/#account-trade-list-user_data
4850
- see https://binance-docs.github.io/apidocs/spot/en/#query-margin-account-39-s-trade-list-user_data
4847
+ :see: https://binance-docs.github.io/apidocs/spot/en/#account-trade-list-user_data
4848
+ :see: https://binance-docs.github.io/apidocs/futures/en/#account-trade-list-user_data
4849
+ :see: https://binance-docs.github.io/apidocs/delivery/en/#account-trade-list-user_data
4850
+ :see: https://binance-docs.github.io/apidocs/spot/en/#query-margin-account-39-s-trade-list-user_data
4851
4851
  :param str symbol: unified market symbol
4852
4852
  :param int [since]: the earliest time in ms to fetch trades for
4853
4853
  :param int [limit]: the maximum number of trades structures to retrieve
@@ -4977,7 +4977,7 @@ class binance(Exchange, ImplicitAPI):
4977
4977
  async def fetch_my_dust_trades(self, symbol: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
4978
4978
  """
4979
4979
  fetch all dust trades made by the user
4980
- see https://binance-docs.github.io/apidocs/spot/en/#dustlog-user_data
4980
+ :see: https://binance-docs.github.io/apidocs/spot/en/#dustlog-user_data
4981
4981
  :param str symbol: not used by binance fetchMyDustTrades()
4982
4982
  :param int [since]: the earliest time in ms to fetch my dust trades for
4983
4983
  :param int [limit]: the maximum number of dust trades to retrieve
@@ -5105,10 +5105,10 @@ class binance(Exchange, ImplicitAPI):
5105
5105
 
5106
5106
  async def fetch_deposits(self, code: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
5107
5107
  """
5108
- see https://binance-docs.github.io/apidocs/spot/en/#get-fiat-deposit-withdraw-history-user_data
5108
+ :see: https://binance-docs.github.io/apidocs/spot/en/#get-fiat-deposit-withdraw-history-user_data
5109
5109
  fetch all deposits made to an account
5110
- see https://binance-docs.github.io/apidocs/spot/en/#get-fiat-deposit-withdraw-history-user_data
5111
- see https://binance-docs.github.io/apidocs/spot/en/#deposit-history-supporting-network-user_data
5110
+ :see: https://binance-docs.github.io/apidocs/spot/en/#get-fiat-deposit-withdraw-history-user_data
5111
+ :see: https://binance-docs.github.io/apidocs/spot/en/#deposit-history-supporting-network-user_data
5112
5112
  :param str code: unified currency code
5113
5113
  :param int [since]: the earliest time in ms to fetch deposits for
5114
5114
  :param int [limit]: the maximum number of deposits structures to retrieve
@@ -5206,11 +5206,11 @@ class binance(Exchange, ImplicitAPI):
5206
5206
 
5207
5207
  async def fetch_withdrawals(self, code: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
5208
5208
  """
5209
- see https://binance-docs.github.io/apidocs/spot/en/#get-fiat-deposit-withdraw-history-user_data
5210
- see https://binance-docs.github.io/apidocs/spot/en/#withdraw-history-supporting-network-user_data
5209
+ :see: https://binance-docs.github.io/apidocs/spot/en/#get-fiat-deposit-withdraw-history-user_data
5210
+ :see: https://binance-docs.github.io/apidocs/spot/en/#withdraw-history-supporting-network-user_data
5211
5211
  fetch all withdrawals made from an account
5212
- see https://binance-docs.github.io/apidocs/spot/en/#get-fiat-deposit-withdraw-history-user_data
5213
- see https://binance-docs.github.io/apidocs/spot/en/#withdraw-history-supporting-network-user_data
5212
+ :see: https://binance-docs.github.io/apidocs/spot/en/#get-fiat-deposit-withdraw-history-user_data
5213
+ :see: https://binance-docs.github.io/apidocs/spot/en/#withdraw-history-supporting-network-user_data
5214
5214
  :param str code: unified currency code
5215
5215
  :param int [since]: the earliest time in ms to fetch withdrawals for
5216
5216
  :param int [limit]: the maximum number of withdrawals structures to retrieve
@@ -5569,8 +5569,8 @@ class binance(Exchange, ImplicitAPI):
5569
5569
  async def transfer(self, code: str, amount, fromAccount, toAccount, params={}):
5570
5570
  """
5571
5571
  transfer currency internally between wallets on the same account
5572
- see https://binance-docs.github.io/apidocs/spot/en/#user-universal-transfer-user_data
5573
- see https://binance-docs.github.io/apidocs/spot/en/#isolated-margin-account-transfer-margin
5572
+ :see: https://binance-docs.github.io/apidocs/spot/en/#user-universal-transfer-user_data
5573
+ :see: https://binance-docs.github.io/apidocs/spot/en/#isolated-margin-account-transfer-margin
5574
5574
  :param str code: unified currency code
5575
5575
  :param float amount: amount to transfer
5576
5576
  :param str fromAccount: account to transfer from
@@ -5647,9 +5647,9 @@ class binance(Exchange, ImplicitAPI):
5647
5647
 
5648
5648
  async def fetch_transfers(self, code: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
5649
5649
  """
5650
- see https://binance-docs.github.io/apidocs/spot/en/#user-universal-transfer-user_data
5650
+ :see: https://binance-docs.github.io/apidocs/spot/en/#user-universal-transfer-user_data
5651
5651
  fetch a history of internal transfers made on an account
5652
- see https://binance-docs.github.io/apidocs/spot/en/#query-user-universal-transfer-history-user_data
5652
+ :see: https://binance-docs.github.io/apidocs/spot/en/#query-user-universal-transfer-history-user_data
5653
5653
  :param str code: unified currency code of the currency transferred
5654
5654
  :param int [since]: the earliest time in ms to fetch transfers for
5655
5655
  :param int [limit]: the maximum number of transfers structures to retrieve
@@ -5715,7 +5715,7 @@ class binance(Exchange, ImplicitAPI):
5715
5715
  async def fetch_deposit_address(self, code: str, params={}):
5716
5716
  """
5717
5717
  fetch the deposit address for a currency associated with self account
5718
- see https://binance-docs.github.io/apidocs/spot/en/#deposit-address-supporting-network-user_data
5718
+ :see: https://binance-docs.github.io/apidocs/spot/en/#deposit-address-supporting-network-user_data
5719
5719
  :param str code: unified currency code
5720
5720
  :param dict [params]: extra parameters specific to the binance api endpoint
5721
5721
  :returns dict: an `address structure <https://github.com/ccxt/ccxt/wiki/Manual#address-structure>`
@@ -5783,7 +5783,7 @@ class binance(Exchange, ImplicitAPI):
5783
5783
  """
5784
5784
  * @deprecated
5785
5785
  please use fetchDepositWithdrawFees instead
5786
- see https://binance-docs.github.io/apidocs/spot/en/#all-coins-39-information-user_data
5786
+ :see: https://binance-docs.github.io/apidocs/spot/en/#all-coins-39-information-user_data
5787
5787
  :param str[]|None codes: not used by binance fetchTransactionFees()
5788
5788
  :param dict [params]: extra parameters specific to the binance api endpoint
5789
5789
  :returns dict[]: a list of `fee structures <https://github.com/ccxt/ccxt/wiki/Manual#fee-structure>`
@@ -5893,7 +5893,7 @@ class binance(Exchange, ImplicitAPI):
5893
5893
  async def fetch_deposit_withdraw_fees(self, codes: Optional[List[str]] = None, params={}):
5894
5894
  """
5895
5895
  fetch deposit and withdraw fees
5896
- see https://binance-docs.github.io/apidocs/spot/en/#all-coins-39-information-user_data
5896
+ :see: https://binance-docs.github.io/apidocs/spot/en/#all-coins-39-information-user_data
5897
5897
  :param str[]|None codes: not used by binance fetchDepositWithdrawFees()
5898
5898
  :param dict [params]: extra parameters specific to the binance api endpoint
5899
5899
  :returns dict[]: a list of `fee structures <https://github.com/ccxt/ccxt/wiki/Manual#fee-structure>`
@@ -6013,7 +6013,7 @@ class binance(Exchange, ImplicitAPI):
6013
6013
  async def withdraw(self, code: str, amount, address, tag=None, params={}):
6014
6014
  """
6015
6015
  make a withdrawal
6016
- see https://binance-docs.github.io/apidocs/spot/en/#withdraw-user_data
6016
+ :see: https://binance-docs.github.io/apidocs/spot/en/#withdraw-user_data
6017
6017
  :param str code: unified currency code
6018
6018
  :param float amount: the amount to withdraw
6019
6019
  :param str address: the address to withdraw to
@@ -6075,9 +6075,9 @@ class binance(Exchange, ImplicitAPI):
6075
6075
  async def fetch_trading_fee(self, symbol: str, params={}):
6076
6076
  """
6077
6077
  fetch the trading fees for a market
6078
- see https://binance-docs.github.io/apidocs/spot/en/#trade-fee-user_data
6079
- see https://binance-docs.github.io/apidocs/futures/en/#user-commission-rate-user_data
6080
- see https://binance-docs.github.io/apidocs/delivery/en/#user-commission-rate-user_data
6078
+ :see: https://binance-docs.github.io/apidocs/spot/en/#trade-fee-user_data
6079
+ :see: https://binance-docs.github.io/apidocs/futures/en/#user-commission-rate-user_data
6080
+ :see: https://binance-docs.github.io/apidocs/delivery/en/#user-commission-rate-user_data
6081
6081
  :param str symbol: unified market symbol
6082
6082
  :param dict [params]: extra parameters specific to the binance api endpoint
6083
6083
  :returns dict: a `fee structure <https://github.com/ccxt/ccxt/wiki/Manual#fee-structure>`
@@ -6127,9 +6127,9 @@ class binance(Exchange, ImplicitAPI):
6127
6127
  async def fetch_trading_fees(self, params={}):
6128
6128
  """
6129
6129
  fetch the trading fees for multiple markets
6130
- see https://binance-docs.github.io/apidocs/spot/en/#trade-fee-user_data
6131
- see https://binance-docs.github.io/apidocs/futures/en/#account-information-v2-user_data
6132
- see https://binance-docs.github.io/apidocs/delivery/en/#account-information-user_data
6130
+ :see: https://binance-docs.github.io/apidocs/spot/en/#trade-fee-user_data
6131
+ :see: https://binance-docs.github.io/apidocs/futures/en/#account-information-v2-user_data
6132
+ :see: https://binance-docs.github.io/apidocs/delivery/en/#account-information-user_data
6133
6133
  :param dict [params]: extra parameters specific to the binance api endpoint
6134
6134
  :returns dict: a dictionary of `fee structures <https://github.com/ccxt/ccxt/wiki/Manual#fee-structure>` indexed by market symbols
6135
6135
  """
@@ -6293,7 +6293,7 @@ class binance(Exchange, ImplicitAPI):
6293
6293
  async def futures_transfer(self, code: str, amount, type, params={}):
6294
6294
  """
6295
6295
  transfer between futures account
6296
- see https://binance-docs.github.io/apidocs/spot/en/#new-future-account-transfer-user_data
6296
+ :see: https://binance-docs.github.io/apidocs/spot/en/#new-future-account-transfer-user_data
6297
6297
  :param str code: unified currency code
6298
6298
  :param float amount: the amount to transfer
6299
6299
  :param str type: 1 - transfer from spot account to USDT-Ⓜ futures account, 2 - transfer from USDT-Ⓜ futures account to spot account, 3 - transfer from spot account to COIN-Ⓜ futures account, 4 - transfer from COIN-Ⓜ futures account to spot account
@@ -6321,8 +6321,8 @@ class binance(Exchange, ImplicitAPI):
6321
6321
  async def fetch_funding_rate(self, symbol: str, params={}):
6322
6322
  """
6323
6323
  fetch the current funding rate
6324
- see https://binance-docs.github.io/apidocs/futures/en/#mark-price
6325
- see https://binance-docs.github.io/apidocs/delivery/en/#index-price-and-mark-price
6324
+ :see: https://binance-docs.github.io/apidocs/futures/en/#mark-price
6325
+ :see: https://binance-docs.github.io/apidocs/delivery/en/#index-price-and-mark-price
6326
6326
  :param str symbol: unified market symbol
6327
6327
  :param dict [params]: extra parameters specific to the binance api endpoint
6328
6328
  :returns dict: a `funding rate structure <https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-structure>`
@@ -6359,8 +6359,8 @@ class binance(Exchange, ImplicitAPI):
6359
6359
  async def fetch_funding_rate_history(self, symbol: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
6360
6360
  """
6361
6361
  fetches historical funding rate prices
6362
- see https://binance-docs.github.io/apidocs/futures/en/#get-funding-rate-history
6363
- see https://binance-docs.github.io/apidocs/delivery/en/#get-funding-rate-history-of-perpetual-futures
6362
+ :see: https://binance-docs.github.io/apidocs/futures/en/#get-funding-rate-history
6363
+ :see: https://binance-docs.github.io/apidocs/delivery/en/#get-funding-rate-history-of-perpetual-futures
6364
6364
  :param str symbol: unified symbol of the market to fetch the funding rate history for
6365
6365
  :param int [since]: timestamp in ms of the earliest funding rate to fetch
6366
6366
  :param int [limit]: the maximum amount of `funding rate structures <https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure>` to fetch
@@ -6426,8 +6426,8 @@ class binance(Exchange, ImplicitAPI):
6426
6426
  async def fetch_funding_rates(self, symbols: Optional[List[str]] = None, params={}):
6427
6427
  """
6428
6428
  fetch the funding rate for multiple markets
6429
- see https://binance-docs.github.io/apidocs/futures/en/#mark-price
6430
- see https://binance-docs.github.io/apidocs/delivery/en/#index-price-and-mark-price
6429
+ :see: https://binance-docs.github.io/apidocs/futures/en/#mark-price
6430
+ :see: https://binance-docs.github.io/apidocs/delivery/en/#index-price-and-mark-price
6431
6431
  :param str[]|None symbols: list of unified market symbols
6432
6432
  :param dict [params]: extra parameters specific to the binance api endpoint
6433
6433
  :returns dict: a dictionary of `funding rates structures <https://github.com/ccxt/ccxt/wiki/Manual#funding-rates-structure>`, indexe by market symbols
@@ -6908,8 +6908,8 @@ class binance(Exchange, ImplicitAPI):
6908
6908
  async def fetch_leverage_tiers(self, symbols: Optional[List[str]] = None, params={}):
6909
6909
  """
6910
6910
  retrieve information on the maximum leverage, and maintenance margin for trades of varying trade sizes
6911
- see https://binance-docs.github.io/apidocs/futures/en/#notional-and-leverage-brackets-user_data
6912
- see https://binance-docs.github.io/apidocs/delivery/en/#notional-bracket-for-symbol-user_data
6911
+ :see: https://binance-docs.github.io/apidocs/futures/en/#notional-and-leverage-brackets-user_data
6912
+ :see: https://binance-docs.github.io/apidocs/delivery/en/#notional-bracket-for-symbol-user_data
6913
6913
  :param str[]|None symbols: list of unified market symbols
6914
6914
  :param dict [params]: extra parameters specific to the binance api endpoint
6915
6915
  :returns dict: a dictionary of `leverage tiers structures <https://github.com/ccxt/ccxt/wiki/Manual#leverage-tiers-structure>`, indexed by market symbols
@@ -7007,7 +7007,7 @@ class binance(Exchange, ImplicitAPI):
7007
7007
 
7008
7008
  async def fetch_position(self, symbol: str, params={}):
7009
7009
  """
7010
- see https://binance-docs.github.io/apidocs/voptions/en/#option-position-information-user_data
7010
+ :see: https://binance-docs.github.io/apidocs/voptions/en/#option-position-information-user_data
7011
7011
  fetch data on an open position
7012
7012
  :param str symbol: unified market symbol of the market the position is held in
7013
7013
  :param dict [params]: extra parameters specific to the binance api endpoint
@@ -7048,7 +7048,7 @@ class binance(Exchange, ImplicitAPI):
7048
7048
 
7049
7049
  async def fetch_option_positions(self, symbols: Optional[List[str]] = None, params={}):
7050
7050
  """
7051
- see https://binance-docs.github.io/apidocs/voptions/en/#option-position-information-user_data
7051
+ :see: https://binance-docs.github.io/apidocs/voptions/en/#option-position-information-user_data
7052
7052
  fetch data on open options positions
7053
7053
  :param str[]|None symbols: list of unified market symbols
7054
7054
  :param dict [params]: extra parameters specific to the binance api endpoint
@@ -7174,8 +7174,8 @@ class binance(Exchange, ImplicitAPI):
7174
7174
  async def fetch_account_positions(self, symbols: Optional[List[str]] = None, params={}):
7175
7175
  """
7176
7176
  fetch account positions
7177
- see https://binance-docs.github.io/apidocs/futures/en/#account-information-v2-user_data
7178
- see https://binance-docs.github.io/apidocs/delivery/en/#account-information-user_data
7177
+ :see: https://binance-docs.github.io/apidocs/futures/en/#account-information-v2-user_data
7178
+ :see: https://binance-docs.github.io/apidocs/delivery/en/#account-information-user_data
7179
7179
  :param str[]|None symbols: list of unified market symbols
7180
7180
  :param dict [params]: extra parameters specific to the binance api endpoint
7181
7181
  :returns dict: data on account positions
@@ -7205,8 +7205,8 @@ class binance(Exchange, ImplicitAPI):
7205
7205
  async def fetch_positions_risk(self, symbols: Optional[List[str]] = None, params={}):
7206
7206
  """
7207
7207
  fetch positions risk
7208
- see https://binance-docs.github.io/apidocs/futures/en/#position-information-v2-user_data
7209
- see https://binance-docs.github.io/apidocs/delivery/en/#position-information-user_data
7208
+ :see: https://binance-docs.github.io/apidocs/futures/en/#position-information-v2-user_data
7209
+ :see: https://binance-docs.github.io/apidocs/delivery/en/#position-information-user_data
7210
7210
  :param str[]|None symbols: list of unified market symbols
7211
7211
  :param dict [params]: extra parameters specific to the binance api endpoint
7212
7212
  :returns dict: data on the positions risk
@@ -7295,8 +7295,8 @@ class binance(Exchange, ImplicitAPI):
7295
7295
  async def fetch_funding_history(self, symbol: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
7296
7296
  """
7297
7297
  fetch the history of funding payments paid and received on self account
7298
- see https://binance-docs.github.io/apidocs/futures/en/#get-income-history-user_data
7299
- see https://binance-docs.github.io/apidocs/delivery/en/#get-income-history-user_data
7298
+ :see: https://binance-docs.github.io/apidocs/futures/en/#get-income-history-user_data
7299
+ :see: https://binance-docs.github.io/apidocs/delivery/en/#get-income-history-user_data
7300
7300
  :param str symbol: unified market symbol
7301
7301
  :param int [since]: the earliest time in ms to fetch funding history for
7302
7302
  :param int [limit]: the maximum number of funding history structures to retrieve
@@ -7335,8 +7335,8 @@ class binance(Exchange, ImplicitAPI):
7335
7335
  async def set_leverage(self, leverage, symbol: Optional[str] = None, params={}):
7336
7336
  """
7337
7337
  set the level of leverage for a market
7338
- see https://binance-docs.github.io/apidocs/futures/en/#change-initial-leverage-trade
7339
- see https://binance-docs.github.io/apidocs/delivery/en/#change-initial-leverage-trade
7338
+ :see: https://binance-docs.github.io/apidocs/futures/en/#change-initial-leverage-trade
7339
+ :see: https://binance-docs.github.io/apidocs/delivery/en/#change-initial-leverage-trade
7340
7340
  :param float leverage: the rate of leverage
7341
7341
  :param str symbol: unified market symbol
7342
7342
  :param dict [params]: extra parameters specific to the binance api endpoint
@@ -7366,8 +7366,8 @@ class binance(Exchange, ImplicitAPI):
7366
7366
  async def set_margin_mode(self, marginMode: str, symbol: Optional[str] = None, params={}):
7367
7367
  """
7368
7368
  set margin mode to 'cross' or 'isolated'
7369
- see https://binance-docs.github.io/apidocs/futures/en/#change-margin-type-trade
7370
- see https://binance-docs.github.io/apidocs/delivery/en/#change-margin-type-trade
7369
+ :see: https://binance-docs.github.io/apidocs/futures/en/#change-margin-type-trade
7370
+ :see: https://binance-docs.github.io/apidocs/delivery/en/#change-margin-type-trade
7371
7371
  :param str marginMode: 'cross' or 'isolated'
7372
7372
  :param str symbol: unified market symbol
7373
7373
  :param dict [params]: extra parameters specific to the binance api endpoint
@@ -7422,8 +7422,8 @@ class binance(Exchange, ImplicitAPI):
7422
7422
  async def set_position_mode(self, hedged, symbol: Optional[str] = None, params={}):
7423
7423
  """
7424
7424
  set hedged to True or False for a market
7425
- see https://binance-docs.github.io/apidocs/futures/en/#change-position-mode-trade
7426
- see https://binance-docs.github.io/apidocs/delivery/en/#change-position-mode-trade
7425
+ :see: https://binance-docs.github.io/apidocs/futures/en/#change-position-mode-trade
7426
+ :see: https://binance-docs.github.io/apidocs/delivery/en/#change-position-mode-trade
7427
7427
  :param bool hedged: set to True to use dualSidePosition
7428
7428
  :param str symbol: not used by binance setPositionMode()
7429
7429
  :param dict [params]: extra parameters specific to the binance api endpoint
@@ -7457,7 +7457,7 @@ class binance(Exchange, ImplicitAPI):
7457
7457
  async def fetch_settlement_history(self, symbol: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
7458
7458
  """
7459
7459
  fetches historical settlement records
7460
- see https://binance-docs.github.io/apidocs/voptions/en/#historical-exercise-records
7460
+ :see: https://binance-docs.github.io/apidocs/voptions/en/#historical-exercise-records
7461
7461
  :param str symbol: unified market symbol of the settlement history
7462
7462
  :param int [since]: timestamp in ms
7463
7463
  :param int [limit]: number of records, default 100, max 100
@@ -7497,7 +7497,7 @@ class binance(Exchange, ImplicitAPI):
7497
7497
  async def fetch_my_settlement_history(self, symbol: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
7498
7498
  """
7499
7499
  fetches historical settlement records of the user
7500
- see https://binance-docs.github.io/apidocs/voptions/en/#user-exercise-record-user_data
7500
+ :see: https://binance-docs.github.io/apidocs/voptions/en/#user-exercise-record-user_data
7501
7501
  :param str symbol: unified market symbol of the settlement history
7502
7502
  :param int [since]: timestamp in ms
7503
7503
  :param int [limit]: number of records
@@ -7626,9 +7626,9 @@ class binance(Exchange, ImplicitAPI):
7626
7626
  async def fetch_ledger(self, code: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
7627
7627
  """
7628
7628
  fetch the history of changes, actions done by the user or operations that altered the balance of the user
7629
- see https://binance-docs.github.io/apidocs/voptions/en/#account-funding-flow-user_data
7630
- see https://binance-docs.github.io/apidocs/futures/en/#get-income-history-user_data
7631
- see https://binance-docs.github.io/apidocs/delivery/en/#get-income-history-user_data
7629
+ :see: https://binance-docs.github.io/apidocs/voptions/en/#account-funding-flow-user_data
7630
+ :see: https://binance-docs.github.io/apidocs/futures/en/#get-income-history-user_data
7631
+ :see: https://binance-docs.github.io/apidocs/delivery/en/#get-income-history-user_data
7632
7632
  :param str code: unified currency code
7633
7633
  :param int [since]: timestamp in ms of the earliest ledger entry
7634
7634
  :param int [limit]: max number of ledger entrys to return
@@ -8007,8 +8007,8 @@ class binance(Exchange, ImplicitAPI):
8007
8007
 
8008
8008
  async def reduce_margin(self, symbol: str, amount, params={}):
8009
8009
  """
8010
- see https://binance-docs.github.io/apidocs/delivery/en/#modify-isolated-position-margin-trade
8011
- see https://binance-docs.github.io/apidocs/futures/en/#modify-isolated-position-margin-trade
8010
+ :see: https://binance-docs.github.io/apidocs/delivery/en/#modify-isolated-position-margin-trade
8011
+ :see: https://binance-docs.github.io/apidocs/futures/en/#modify-isolated-position-margin-trade
8012
8012
  remove margin from a position
8013
8013
  :param str symbol: unified market symbol
8014
8014
  :param float amount: the amount of margin to remove
@@ -8019,8 +8019,8 @@ class binance(Exchange, ImplicitAPI):
8019
8019
 
8020
8020
  async def add_margin(self, symbol: str, amount, params={}):
8021
8021
  """
8022
- see https://binance-docs.github.io/apidocs/delivery/en/#modify-isolated-position-margin-trade
8023
- see https://binance-docs.github.io/apidocs/futures/en/#modify-isolated-position-margin-trade
8022
+ :see: https://binance-docs.github.io/apidocs/delivery/en/#modify-isolated-position-margin-trade
8023
+ :see: https://binance-docs.github.io/apidocs/futures/en/#modify-isolated-position-margin-trade
8024
8024
  add margin
8025
8025
  :param str symbol: unified market symbol
8026
8026
  :param float amount: amount of margin to add
@@ -8032,7 +8032,7 @@ class binance(Exchange, ImplicitAPI):
8032
8032
  async def fetch_borrow_rate(self, code: str, params={}):
8033
8033
  """
8034
8034
  fetch the rate of interest to borrow a currency for margin trading
8035
- see https://binance-docs.github.io/apidocs/spot/en/#query-margin-interest-rate-history-user_data
8035
+ :see: https://binance-docs.github.io/apidocs/spot/en/#query-margin-interest-rate-history-user_data
8036
8036
  :param str code: unified currency code
8037
8037
  :param dict [params]: extra parameters specific to the binance api endpoint
8038
8038
  :returns dict: a `borrow rate structure <https://github.com/ccxt/ccxt/wiki/Manual#borrow-rate-structure>`
@@ -8060,7 +8060,7 @@ class binance(Exchange, ImplicitAPI):
8060
8060
  async def fetch_borrow_rate_history(self, code: str, since: Optional[int] = None, limit: Optional[int] = None, params={}):
8061
8061
  """
8062
8062
  retrieves a history of a currencies borrow interest rate at specific time slots
8063
- see https://binance-docs.github.io/apidocs/spot/en/#query-margin-interest-rate-history-user_data
8063
+ :see: https://binance-docs.github.io/apidocs/spot/en/#query-margin-interest-rate-history-user_data
8064
8064
  :param str code: unified currency code
8065
8065
  :param int [since]: timestamp for the earliest borrow rate
8066
8066
  :param int [limit]: the maximum number of `borrow rate structures <https://github.com/ccxt/ccxt/wiki/Manual#borrow-rate-structure>` to retrieve
@@ -8128,7 +8128,7 @@ class binance(Exchange, ImplicitAPI):
8128
8128
  async def create_gift_code(self, code: str, amount, params={}):
8129
8129
  """
8130
8130
  create gift code
8131
- see https://binance-docs.github.io/apidocs/spot/en/#create-a-single-token-gift-card-user_data
8131
+ :see: https://binance-docs.github.io/apidocs/spot/en/#create-a-single-token-gift-card-user_data
8132
8132
  :param str code: gift code
8133
8133
  :param float amount: amount of currency for the gift
8134
8134
  :param dict [params]: extra parameters specific to the binance api endpoint
@@ -8164,7 +8164,7 @@ class binance(Exchange, ImplicitAPI):
8164
8164
  async def redeem_gift_code(self, giftcardCode, params={}):
8165
8165
  """
8166
8166
  redeem gift code
8167
- see https://binance-docs.github.io/apidocs/spot/en/#redeem-a-binance-gift-card-user_data
8167
+ :see: https://binance-docs.github.io/apidocs/spot/en/#redeem-a-binance-gift-card-user_data
8168
8168
  :param str giftcardCode:
8169
8169
  :param dict [params]: extra parameters specific to the binance api endpoint
8170
8170
  :returns dict: response from the exchange
@@ -8189,7 +8189,7 @@ class binance(Exchange, ImplicitAPI):
8189
8189
  async def verify_gift_code(self, id: str, params={}):
8190
8190
  """
8191
8191
  verify gift code
8192
- see https://binance-docs.github.io/apidocs/spot/en/#verify-binance-gift-card-by-gift-card-number-user_data
8192
+ :see: https://binance-docs.github.io/apidocs/spot/en/#verify-binance-gift-card-by-gift-card-number-user_data
8193
8193
  :param str id: reference number id
8194
8194
  :param dict [params]: extra parameters specific to the binance api endpoint
8195
8195
  :returns dict: response from the exchange
@@ -8211,7 +8211,7 @@ class binance(Exchange, ImplicitAPI):
8211
8211
  async def fetch_borrow_interest(self, code: Optional[str] = None, symbol: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
8212
8212
  """
8213
8213
  fetch the interest owed by the user for borrowing currency for margin trading
8214
- see https://binance-docs.github.io/apidocs/spot/en/#get-interest-history-user_data
8214
+ :see: https://binance-docs.github.io/apidocs/spot/en/#get-interest-history-user_data
8215
8215
  :param str code: unified currency code
8216
8216
  :param str symbol: unified market symbol when fetch interest in isolated markets
8217
8217
  :param int [since]: the earliest time in ms to fetch borrrow interest for
@@ -8273,7 +8273,7 @@ class binance(Exchange, ImplicitAPI):
8273
8273
  async def repay_margin(self, code: str, amount, symbol: Optional[str] = None, params={}):
8274
8274
  """
8275
8275
  repay borrowed margin and interest
8276
- see https://binance-docs.github.io/apidocs/spot/en/#margin-account-repay-margin
8276
+ :see: https://binance-docs.github.io/apidocs/spot/en/#margin-account-repay-margin
8277
8277
  :param str code: unified currency code of the currency to repay
8278
8278
  :param float amount: the amount to repay
8279
8279
  :param str symbol: unified market symbol, required for isolated margin
@@ -8304,7 +8304,7 @@ class binance(Exchange, ImplicitAPI):
8304
8304
  async def borrow_margin(self, code: str, amount, symbol: Optional[str] = None, params={}):
8305
8305
  """
8306
8306
  create a loan to borrow margin
8307
- see https://binance-docs.github.io/apidocs/spot/en/#margin-account-borrow-margin
8307
+ :see: https://binance-docs.github.io/apidocs/spot/en/#margin-account-borrow-margin
8308
8308
  :param str code: unified currency code of the currency to borrow
8309
8309
  :param float amount: the amount to borrow
8310
8310
  :param str symbol: unified market symbol, required for isolated margin
@@ -8352,8 +8352,8 @@ class binance(Exchange, ImplicitAPI):
8352
8352
  async def fetch_open_interest_history(self, symbol: str, timeframe='5m', since: Optional[int] = None, limit: Optional[int] = None, params={}):
8353
8353
  """
8354
8354
  Retrieves the open interest history of a currency
8355
- see https://binance-docs.github.io/apidocs/delivery/en/#open-interest-statistics
8356
- see https://binance-docs.github.io/apidocs/futures/en/#open-interest-statistics
8355
+ :see: https://binance-docs.github.io/apidocs/delivery/en/#open-interest-statistics
8356
+ :see: https://binance-docs.github.io/apidocs/futures/en/#open-interest-statistics
8357
8357
  :param str symbol: Unified CCXT market symbol
8358
8358
  :param str timeframe: "5m","15m","30m","1h","2h","4h","6h","12h", or "1d"
8359
8359
  :param int [since]: the time(ms) of the earliest record to retrieve unix timestamp
@@ -8411,9 +8411,9 @@ class binance(Exchange, ImplicitAPI):
8411
8411
  async def fetch_open_interest(self, symbol: str, params={}):
8412
8412
  """
8413
8413
  retrieves the open interest of a contract trading pair
8414
- see https://binance-docs.github.io/apidocs/futures/en/#open-interest
8415
- see https://binance-docs.github.io/apidocs/delivery/en/#open-interest
8416
- see https://binance-docs.github.io/apidocs/voptions/en/#open-interest
8414
+ :see: https://binance-docs.github.io/apidocs/futures/en/#open-interest
8415
+ :see: https://binance-docs.github.io/apidocs/delivery/en/#open-interest
8416
+ :see: https://binance-docs.github.io/apidocs/voptions/en/#open-interest
8417
8417
  :param str symbol: unified CCXT market symbol
8418
8418
  :param dict [params]: exchange specific parameters
8419
8419
  :returns dict} an open interest structure{@link https://github.com/ccxt/ccxt/wiki/Manual#interest-history-structure:
@@ -8492,9 +8492,9 @@ class binance(Exchange, ImplicitAPI):
8492
8492
  async def fetch_my_liquidations(self, symbol: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
8493
8493
  """
8494
8494
  retrieves the users liquidated positions
8495
- see https://binance-docs.github.io/apidocs/spot/en/#get-force-liquidation-record-user_data
8496
- see https://binance-docs.github.io/apidocs/futures/en/#user-39-s-force-orders-user_data
8497
- see https://binance-docs.github.io/apidocs/delivery/en/#user-39-s-force-orders-user_data
8495
+ :see: https://binance-docs.github.io/apidocs/spot/en/#get-force-liquidation-record-user_data
8496
+ :see: https://binance-docs.github.io/apidocs/futures/en/#user-39-s-force-orders-user_data
8497
+ :see: https://binance-docs.github.io/apidocs/delivery/en/#user-39-s-force-orders-user_data
8498
8498
  :param str [symbol]: unified CCXT market symbol
8499
8499
  :param int [since]: the earliest time in ms to fetch liquidations for
8500
8500
  :param int [limit]: the maximum number of liquidation structures to retrieve