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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (267) hide show
  1. ccxt/__init__.py +1 -1
  2. ccxt/ace.py +36 -12
  3. ccxt/alpaca.py +62 -22
  4. ccxt/ascendex.py +65 -30
  5. ccxt/async_support/__init__.py +1 -1
  6. ccxt/async_support/ace.py +36 -12
  7. ccxt/async_support/alpaca.py +62 -22
  8. ccxt/async_support/ascendex.py +65 -30
  9. ccxt/async_support/base/exchange.py +3 -3
  10. ccxt/async_support/bigone.py +71 -27
  11. ccxt/async_support/binance.py +555 -323
  12. ccxt/async_support/bingx.py +208 -108
  13. ccxt/async_support/bit2c.py +34 -12
  14. ccxt/async_support/bitbank.py +42 -14
  15. ccxt/async_support/bitbns.py +17 -9
  16. ccxt/async_support/bitfinex.py +68 -24
  17. ccxt/async_support/bitfinex2.py +116 -44
  18. ccxt/async_support/bitflyer.py +54 -18
  19. ccxt/async_support/bitget.py +277 -145
  20. ccxt/async_support/bithumb.py +39 -14
  21. ccxt/async_support/bitmart.py +145 -79
  22. ccxt/async_support/bitmex.py +90 -30
  23. ccxt/async_support/bitopro.py +66 -22
  24. ccxt/async_support/bitrue.py +109 -57
  25. ccxt/async_support/bitso.py +55 -19
  26. ccxt/async_support/bitstamp.py +84 -36
  27. ccxt/async_support/bitteam.py +51 -17
  28. ccxt/async_support/bitvavo.py +57 -19
  29. ccxt/async_support/bl3p.py +26 -10
  30. ccxt/async_support/blockchaincom.py +63 -21
  31. ccxt/async_support/blofin.py +95 -38
  32. ccxt/async_support/btcalpha.py +48 -16
  33. ccxt/async_support/btcbox.py +27 -9
  34. ccxt/async_support/btcmarkets.py +57 -19
  35. ccxt/async_support/btcturk.py +36 -12
  36. ccxt/async_support/bybit.py +251 -95
  37. ccxt/async_support/cex.py +65 -22
  38. ccxt/async_support/coinbase.py +138 -56
  39. ccxt/async_support/coinbaseexchange.py +76 -28
  40. ccxt/async_support/coinbaseinternational.py +75 -27
  41. ccxt/async_support/coincatch.py +191 -97
  42. ccxt/async_support/coincheck.py +33 -11
  43. ccxt/async_support/coinex.py +212 -101
  44. ccxt/async_support/coinlist.py +87 -30
  45. ccxt/async_support/coinmate.py +55 -24
  46. ccxt/async_support/coinmetro.py +52 -18
  47. ccxt/async_support/coinone.py +27 -10
  48. ccxt/async_support/coinsph.py +73 -27
  49. ccxt/async_support/coinspot.py +25 -9
  50. ccxt/async_support/cryptocom.py +103 -38
  51. ccxt/async_support/currencycom.py +70 -23
  52. ccxt/async_support/delta.py +90 -30
  53. ccxt/async_support/deribit.py +131 -50
  54. ccxt/async_support/digifinex.py +114 -51
  55. ccxt/async_support/exmo.py +104 -45
  56. ccxt/async_support/gate.py +298 -155
  57. ccxt/async_support/gemini.py +57 -20
  58. ccxt/async_support/hashkey.py +151 -66
  59. ccxt/async_support/hitbtc.py +156 -73
  60. ccxt/async_support/hollaex.py +76 -25
  61. ccxt/async_support/htx.py +297 -240
  62. ccxt/async_support/huobijp.py +1 -0
  63. ccxt/async_support/hyperliquid.py +94 -38
  64. ccxt/async_support/idex.py +73 -24
  65. ccxt/async_support/independentreserve.py +12 -5
  66. ccxt/async_support/indodax.py +53 -16
  67. ccxt/async_support/kraken.py +107 -35
  68. ccxt/async_support/krakenfutures.py +88 -34
  69. ccxt/async_support/kucoin.py +211 -109
  70. ccxt/async_support/kucoinfutures.py +119 -42
  71. ccxt/async_support/kuna.py +80 -39
  72. ccxt/async_support/latoken.py +70 -33
  73. ccxt/async_support/lbank.py +89 -38
  74. ccxt/async_support/luno.py +54 -19
  75. ccxt/async_support/lykke.py +54 -19
  76. ccxt/async_support/mercado.py +1 -0
  77. ccxt/async_support/mexc.py +226 -108
  78. ccxt/async_support/ndax.py +58 -19
  79. ccxt/async_support/novadax.py +67 -22
  80. ccxt/async_support/oceanex.py +58 -19
  81. ccxt/async_support/okcoin.py +81 -38
  82. ccxt/async_support/okx.py +270 -109
  83. ccxt/async_support/onetrading.py +3 -1
  84. ccxt/async_support/oxfun.py +95 -36
  85. ccxt/async_support/p2b.py +49 -23
  86. ccxt/async_support/paradex.py +75 -27
  87. ccxt/async_support/paymium.py +31 -11
  88. ccxt/async_support/phemex.py +91 -41
  89. ccxt/async_support/poloniex.py +80 -30
  90. ccxt/async_support/poloniexfutures.py +72 -30
  91. ccxt/async_support/probit.py +64 -22
  92. ccxt/async_support/timex.py +58 -19
  93. ccxt/async_support/tokocrypto.py +63 -22
  94. ccxt/async_support/tradeogre.py +7 -2
  95. ccxt/async_support/upbit.py +72 -25
  96. ccxt/async_support/vertex.py +74 -28
  97. ccxt/async_support/wavesexchange.py +29 -8
  98. ccxt/async_support/wazirx.py +51 -17
  99. ccxt/async_support/whitebit.py +105 -41
  100. ccxt/async_support/woo.py +162 -65
  101. ccxt/async_support/woofipro.py +118 -49
  102. ccxt/async_support/xt.py +150 -73
  103. ccxt/async_support/yobit.py +49 -16
  104. ccxt/async_support/zaif.py +30 -10
  105. ccxt/async_support/zonda.py +46 -16
  106. ccxt/base/exchange.py +34 -34
  107. ccxt/base/types.py +1 -0
  108. ccxt/bigone.py +71 -27
  109. ccxt/binance.py +555 -323
  110. ccxt/bingx.py +208 -108
  111. ccxt/bit2c.py +34 -12
  112. ccxt/bitbank.py +42 -14
  113. ccxt/bitbns.py +17 -9
  114. ccxt/bitfinex.py +68 -24
  115. ccxt/bitfinex2.py +116 -44
  116. ccxt/bitflyer.py +54 -18
  117. ccxt/bitget.py +277 -145
  118. ccxt/bithumb.py +39 -14
  119. ccxt/bitmart.py +145 -79
  120. ccxt/bitmex.py +90 -30
  121. ccxt/bitopro.py +66 -22
  122. ccxt/bitrue.py +109 -57
  123. ccxt/bitso.py +55 -19
  124. ccxt/bitstamp.py +84 -36
  125. ccxt/bitteam.py +51 -17
  126. ccxt/bitvavo.py +57 -19
  127. ccxt/bl3p.py +26 -10
  128. ccxt/blockchaincom.py +63 -21
  129. ccxt/blofin.py +95 -38
  130. ccxt/btcalpha.py +48 -16
  131. ccxt/btcbox.py +27 -9
  132. ccxt/btcmarkets.py +57 -19
  133. ccxt/btcturk.py +36 -12
  134. ccxt/bybit.py +251 -95
  135. ccxt/cex.py +65 -22
  136. ccxt/coinbase.py +138 -56
  137. ccxt/coinbaseexchange.py +76 -28
  138. ccxt/coinbaseinternational.py +75 -27
  139. ccxt/coincatch.py +191 -97
  140. ccxt/coincheck.py +33 -11
  141. ccxt/coinex.py +212 -101
  142. ccxt/coinlist.py +87 -30
  143. ccxt/coinmate.py +55 -24
  144. ccxt/coinmetro.py +52 -18
  145. ccxt/coinone.py +27 -10
  146. ccxt/coinsph.py +73 -27
  147. ccxt/coinspot.py +25 -9
  148. ccxt/cryptocom.py +103 -38
  149. ccxt/currencycom.py +70 -23
  150. ccxt/delta.py +90 -30
  151. ccxt/deribit.py +131 -50
  152. ccxt/digifinex.py +114 -51
  153. ccxt/exmo.py +104 -45
  154. ccxt/gate.py +298 -155
  155. ccxt/gemini.py +57 -20
  156. ccxt/hashkey.py +151 -66
  157. ccxt/hitbtc.py +156 -73
  158. ccxt/hollaex.py +76 -25
  159. ccxt/htx.py +297 -240
  160. ccxt/huobijp.py +1 -0
  161. ccxt/hyperliquid.py +94 -38
  162. ccxt/idex.py +73 -24
  163. ccxt/independentreserve.py +12 -5
  164. ccxt/indodax.py +53 -16
  165. ccxt/kraken.py +107 -35
  166. ccxt/krakenfutures.py +88 -34
  167. ccxt/kucoin.py +211 -109
  168. ccxt/kucoinfutures.py +119 -42
  169. ccxt/kuna.py +80 -39
  170. ccxt/latoken.py +70 -33
  171. ccxt/lbank.py +89 -38
  172. ccxt/luno.py +54 -19
  173. ccxt/lykke.py +54 -19
  174. ccxt/mercado.py +1 -0
  175. ccxt/mexc.py +226 -108
  176. ccxt/ndax.py +58 -19
  177. ccxt/novadax.py +67 -22
  178. ccxt/oceanex.py +58 -19
  179. ccxt/okcoin.py +81 -38
  180. ccxt/okx.py +270 -109
  181. ccxt/onetrading.py +3 -1
  182. ccxt/oxfun.py +95 -36
  183. ccxt/p2b.py +49 -23
  184. ccxt/paradex.py +75 -27
  185. ccxt/paymium.py +31 -11
  186. ccxt/phemex.py +91 -41
  187. ccxt/poloniex.py +80 -30
  188. ccxt/poloniexfutures.py +72 -30
  189. ccxt/pro/__init__.py +1 -1
  190. ccxt/pro/alpaca.py +15 -5
  191. ccxt/pro/ascendex.py +18 -6
  192. ccxt/pro/binance.py +200 -119
  193. ccxt/pro/bingx.py +44 -24
  194. ccxt/pro/bitfinex.py +13 -5
  195. ccxt/pro/bitget.py +75 -36
  196. ccxt/pro/bithumb.py +12 -4
  197. ccxt/pro/bitmart.py +44 -20
  198. ccxt/pro/bitmex.py +42 -14
  199. ccxt/pro/bitopro.py +15 -5
  200. ccxt/pro/bitrue.py +7 -3
  201. ccxt/pro/bitvavo.py +51 -17
  202. ccxt/pro/blockchaincom.py +18 -6
  203. ccxt/pro/blofin.py +36 -12
  204. ccxt/pro/bybit.py +100 -42
  205. ccxt/pro/cex.py +48 -16
  206. ccxt/pro/coinbase.py +32 -12
  207. ccxt/pro/coinbaseexchange.py +1 -1
  208. ccxt/pro/coinbaseinternational.py +34 -14
  209. ccxt/pro/coincatch.py +54 -19
  210. ccxt/pro/coincheck.py +6 -2
  211. ccxt/pro/coinex.py +40 -20
  212. ccxt/pro/coinone.py +9 -3
  213. ccxt/pro/cryptocom.py +70 -26
  214. ccxt/pro/deribit.py +36 -12
  215. ccxt/pro/exmo.py +10 -4
  216. ccxt/pro/gate.py +64 -30
  217. ccxt/pro/gemini.py +21 -7
  218. ccxt/pro/hashkey.py +26 -8
  219. ccxt/pro/hitbtc.py +61 -37
  220. ccxt/pro/hollaex.py +15 -5
  221. ccxt/pro/htx.py +39 -21
  222. ccxt/pro/hyperliquid.py +41 -14
  223. ccxt/pro/kraken.py +49 -17
  224. ccxt/pro/krakenfutures.py +47 -24
  225. ccxt/pro/kucoin.py +60 -31
  226. ccxt/pro/kucoinfutures.py +41 -19
  227. ccxt/pro/lbank.py +27 -9
  228. ccxt/pro/luno.py +3 -1
  229. ccxt/pro/mexc.py +35 -17
  230. ccxt/pro/ndax.py +12 -4
  231. ccxt/pro/okcoin.py +18 -6
  232. ccxt/pro/okx.py +76 -28
  233. ccxt/pro/onetrading.py +21 -7
  234. ccxt/pro/oxfun.py +54 -20
  235. ccxt/pro/p2b.py +23 -11
  236. ccxt/pro/paradex.py +12 -4
  237. ccxt/pro/phemex.py +31 -19
  238. ccxt/pro/poloniex.py +50 -22
  239. ccxt/pro/poloniexfutures.py +17 -7
  240. ccxt/pro/probit.py +18 -6
  241. ccxt/pro/upbit.py +25 -9
  242. ccxt/pro/vertex.py +20 -6
  243. ccxt/pro/wazirx.py +21 -7
  244. ccxt/pro/whitebit.py +25 -9
  245. ccxt/pro/woo.py +32 -12
  246. ccxt/pro/woofipro.py +35 -13
  247. ccxt/pro/xt.py +46 -26
  248. ccxt/probit.py +64 -22
  249. ccxt/timex.py +58 -19
  250. ccxt/tokocrypto.py +63 -22
  251. ccxt/tradeogre.py +7 -2
  252. ccxt/upbit.py +72 -25
  253. ccxt/vertex.py +74 -28
  254. ccxt/wavesexchange.py +29 -8
  255. ccxt/wazirx.py +51 -17
  256. ccxt/whitebit.py +105 -41
  257. ccxt/woo.py +162 -65
  258. ccxt/woofipro.py +118 -49
  259. ccxt/xt.py +150 -73
  260. ccxt/yobit.py +49 -16
  261. ccxt/zaif.py +30 -10
  262. ccxt/zonda.py +46 -16
  263. {ccxt-4.4.30.dist-info → ccxt-4.4.31.dist-info}/METADATA +5 -5
  264. {ccxt-4.4.30.dist-info → ccxt-4.4.31.dist-info}/RECORD +267 -267
  265. {ccxt-4.4.30.dist-info → ccxt-4.4.31.dist-info}/LICENSE.txt +0 -0
  266. {ccxt-4.4.30.dist-info → ccxt-4.4.31.dist-info}/WHEEL +0 -0
  267. {ccxt-4.4.30.dist-info → ccxt-4.4.31.dist-info}/top_level.txt +0 -0
ccxt/okcoin.py CHANGED
@@ -637,7 +637,9 @@ class okcoin(Exchange, ImplicitAPI):
637
637
 
638
638
  def fetch_markets(self, params={}) -> List[Market]:
639
639
  """
640
- :see: https://www.okcoin.com/docs-v5/en/#rest-api-public-data-get-instruments
640
+
641
+ https://www.okcoin.com/docs-v5/en/#rest-api-public-data-get-instruments
642
+
641
643
  retrieves data on all markets for okcoin
642
644
  :param dict [params]: extra parameters specific to the exchange API endpoint
643
645
  :returns dict[]: an array of objects representing market data
@@ -815,7 +817,9 @@ class okcoin(Exchange, ImplicitAPI):
815
817
 
816
818
  def fetch_order_book(self, symbol: str, limit: Int = None, params={}) -> OrderBook:
817
819
  """
818
- :see: https://www.okcoin.com/docs-v5/en/#rest-api-market-data-get-order-book
820
+
821
+ https://www.okcoin.com/docs-v5/en/#rest-api-market-data-get-order-book
822
+
819
823
  fetches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
820
824
  :param str symbol: unified symbol of the market to fetch the order book for
821
825
  :param int [limit]: the maximum amount of order book entries to return
@@ -914,7 +918,9 @@ class okcoin(Exchange, ImplicitAPI):
914
918
 
915
919
  def fetch_ticker(self, symbol: str, params={}) -> Ticker:
916
920
  """
917
- :see: https://www.okcoin.com/docs-v5/en/#rest-api-market-data-get-ticker
921
+
922
+ https://www.okcoin.com/docs-v5/en/#rest-api-market-data-get-ticker
923
+
918
924
  fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
919
925
  :param str symbol: unified symbol of the market to fetch the ticker for
920
926
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -958,7 +964,9 @@ class okcoin(Exchange, ImplicitAPI):
958
964
 
959
965
  def fetch_tickers(self, symbols: Strings = None, params={}) -> Tickers:
960
966
  """
961
- :see: https://www.okcoin.com/docs-v5/en/#rest-api-market-data-get-tickers
967
+
968
+ https://www.okcoin.com/docs-v5/en/#rest-api-market-data-get-tickers
969
+
962
970
  fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
963
971
  :param str[]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
964
972
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -1047,8 +1055,10 @@ class okcoin(Exchange, ImplicitAPI):
1047
1055
 
1048
1056
  def fetch_trades(self, symbol: str, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
1049
1057
  """
1050
- :see: https://www.okcoin.com/docs-v5/en/#rest-api-market-data-get-trades
1051
- :see: https://www.okcoin.com/docs-v5/en/#rest-api-market-data-get-trades-history
1058
+
1059
+ https://www.okcoin.com/docs-v5/en/#rest-api-market-data-get-trades
1060
+ https://www.okcoin.com/docs-v5/en/#rest-api-market-data-get-trades-history
1061
+
1052
1062
  get the list of most recent trades for a particular symbol
1053
1063
  :param str symbol: unified symbol of the market to fetch trades for
1054
1064
  :param int [since]: timestamp in ms of the earliest trade to fetch
@@ -1098,8 +1108,10 @@ class okcoin(Exchange, ImplicitAPI):
1098
1108
 
1099
1109
  def fetch_ohlcv(self, symbol: str, timeframe='1m', since: Int = None, limit: Int = None, params={}) -> List[list]:
1100
1110
  """
1101
- :see: https://www.okcoin.com/docs-v5/en/#rest-api-market-data-get-candlesticks
1102
- :see: https://www.okcoin.com/docs-v5/en/#rest-api-market-data-get-candlesticks-history
1111
+
1112
+ https://www.okcoin.com/docs-v5/en/#rest-api-market-data-get-candlesticks
1113
+ https://www.okcoin.com/docs-v5/en/#rest-api-market-data-get-candlesticks-history
1114
+
1103
1115
  fetches historical candlestick data containing the open, high, low, and close price, and the volume of a market
1104
1116
  :param str symbol: unified symbol of the market to fetch OHLCV data for
1105
1117
  :param str timeframe: the length of time each candle represents
@@ -1272,7 +1284,9 @@ class okcoin(Exchange, ImplicitAPI):
1272
1284
  def create_market_buy_order_with_cost(self, symbol: str, cost: float, params={}):
1273
1285
  """
1274
1286
  create a market buy order by providing the symbol and cost
1275
- :see: https://www.okcoin.com/docs-v5/en/#rest-api-trade-place-order
1287
+
1288
+ https://www.okcoin.com/docs-v5/en/#rest-api-trade-place-order
1289
+
1276
1290
  :param str symbol: unified symbol of the market to create an order in
1277
1291
  :param float cost: how much you want to trade in units of the quote currency
1278
1292
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -1288,10 +1302,12 @@ class okcoin(Exchange, ImplicitAPI):
1288
1302
 
1289
1303
  def create_order(self, symbol: str, type: OrderType, side: OrderSide, amount: float, price: Num = None, params={}):
1290
1304
  """
1291
- :see: https://www.okcoin.com/docs-v5/en/#rest-api-trade-place-order
1292
- :see: https://www.okcoin.com/docs-v5/en/#rest-api-trade-place-algo-order
1293
- :see: https://www.okcoin.com/docs-v5/en/#rest-api-trade-place-multiple-orders
1294
- :see: https://www.okcoin.com/docs-v5/en/#rest-api-trade-cancel-advance-algo-order
1305
+
1306
+ https://www.okcoin.com/docs-v5/en/#rest-api-trade-place-order
1307
+ https://www.okcoin.com/docs-v5/en/#rest-api-trade-place-algo-order
1308
+ https://www.okcoin.com/docs-v5/en/#rest-api-trade-place-multiple-orders
1309
+ https://www.okcoin.com/docs-v5/en/#rest-api-trade-cancel-advance-algo-order
1310
+
1295
1311
  create a trade order
1296
1312
  :param str symbol: unified symbol of the market to create an order in
1297
1313
  :param str type: 'market' or 'limit'
@@ -1536,9 +1552,11 @@ class okcoin(Exchange, ImplicitAPI):
1536
1552
 
1537
1553
  def cancel_order(self, id: str, symbol: Str = None, params={}):
1538
1554
  """
1539
- :see: https://www.okcoin.com/docs-v5/en/#rest-api-trade-cancel-order
1540
- :see: https://www.okcoin.com/docs-v5/en/#rest-api-trade-cancel-algo-order
1541
- :see: https://www.okcoin.com/docs-v5/en/#rest-api-trade-cancel-advance-algo-order
1555
+
1556
+ https://www.okcoin.com/docs-v5/en/#rest-api-trade-cancel-order
1557
+ https://www.okcoin.com/docs-v5/en/#rest-api-trade-cancel-algo-order
1558
+ https://www.okcoin.com/docs-v5/en/#rest-api-trade-cancel-advance-algo-order
1559
+
1542
1560
  cancels an open order
1543
1561
  :param str id: order id
1544
1562
  :param str symbol: unified symbol of the market the order was made in
@@ -1575,7 +1593,7 @@ class okcoin(Exchange, ImplicitAPI):
1575
1593
 
1576
1594
  def parse_ids(self, ids):
1577
1595
  """
1578
- * @ignore
1596
+ @ignore
1579
1597
  :param string[]|str ids: order ids
1580
1598
  :returns str[]: list of order ids
1581
1599
  """
@@ -1587,9 +1605,11 @@ class okcoin(Exchange, ImplicitAPI):
1587
1605
  def cancel_orders(self, ids, symbol: Str = None, params={}):
1588
1606
  """
1589
1607
  cancel multiple orders
1590
- :see: https://www.okcoin.com/docs-v5/en/#rest-api-trade-cancel-multiple-orders
1591
- :see: https://www.okcoin.com/docs-v5/en/#rest-api-trade-cancel-algo-order
1592
- :see: https://www.okcoin.com/docs-v5/en/#rest-api-trade-cancel-advance-algo-order
1608
+
1609
+ https://www.okcoin.com/docs-v5/en/#rest-api-trade-cancel-multiple-orders
1610
+ https://www.okcoin.com/docs-v5/en/#rest-api-trade-cancel-algo-order
1611
+ https://www.okcoin.com/docs-v5/en/#rest-api-trade-cancel-advance-algo-order
1612
+
1593
1613
  :param str[] ids: order ids
1594
1614
  :param str symbol: unified market symbol
1595
1615
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -1859,9 +1879,12 @@ class okcoin(Exchange, ImplicitAPI):
1859
1879
 
1860
1880
  def fetch_order(self, id: str, symbol: Str = None, params={}):
1861
1881
  """
1862
- :see: https://www.okcoin.com/docs-v5/en/#rest-api-trade-get-order-details
1863
- :see: https://www.okcoin.com/docs-v5/en/#rest-api-trade-get-algo-order-list
1882
+
1883
+ https://www.okcoin.com/docs-v5/en/#rest-api-trade-get-order-details
1884
+ https://www.okcoin.com/docs-v5/en/#rest-api-trade-get-algo-order-list
1885
+
1864
1886
  fetches information on an order made by the user
1887
+ :param str id: order id
1865
1888
  :param str symbol: unified symbol of the market the order was made in
1866
1889
  :param dict [params]: extra parameters specific to the exchange API endpoint
1867
1890
  :returns dict: An `order structure <https://docs.ccxt.com/#/?id=order-structure>`
@@ -1899,8 +1922,10 @@ class okcoin(Exchange, ImplicitAPI):
1899
1922
 
1900
1923
  def fetch_open_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
1901
1924
  """
1902
- :see: https://www.okcoin.com/docs-v5/en/#rest-api-trade-get-order-list
1903
- :see: https://www.okcoin.com/docs-v5/en/#rest-api-trade-get-algo-order-list
1925
+
1926
+ https://www.okcoin.com/docs-v5/en/#rest-api-trade-get-order-list
1927
+ https://www.okcoin.com/docs-v5/en/#rest-api-trade-get-algo-order-list
1928
+
1904
1929
  fetch all unfilled currently open orders
1905
1930
  :param str symbol: unified market symbol
1906
1931
  :param int [since]: the earliest time in ms to fetch open orders for
@@ -1940,9 +1965,11 @@ class okcoin(Exchange, ImplicitAPI):
1940
1965
 
1941
1966
  def fetch_closed_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
1942
1967
  """
1943
- :see: https://www.okcoin.com/docs-v5/en/#rest-api-trade-get-algo-order-history
1944
- :see: https://www.okcoin.com/docs-v5/en/#rest-api-trade-get-order-history-last-3-months
1945
- :see: https://www.okcoin.com/docs-v5/en/#rest-api-trade-get-order-history-last-7-days
1968
+
1969
+ https://www.okcoin.com/docs-v5/en/#rest-api-trade-get-algo-order-history
1970
+ https://www.okcoin.com/docs-v5/en/#rest-api-trade-get-order-history-last-3-months
1971
+ https://www.okcoin.com/docs-v5/en/#rest-api-trade-get-order-history-last-7-days
1972
+
1946
1973
  fetches information on multiple closed orders made by the user
1947
1974
  :param str symbol: unified market symbol of the market orders were made in
1948
1975
  :param int [since]: the earliest time in ms to fetch orders for
@@ -2112,7 +2139,9 @@ class okcoin(Exchange, ImplicitAPI):
2112
2139
  def fetch_deposit_address(self, code: str, params={}) -> DepositAddress:
2113
2140
  """
2114
2141
  fetch the deposit address for a currency associated with self account
2115
- :see: https://www.okx.com/docs-v5/en/#funding-account-rest-api-get-deposit-address
2142
+
2143
+ https://www.okx.com/docs-v5/en/#funding-account-rest-api-get-deposit-address
2144
+
2116
2145
  :param str code: unified currency code
2117
2146
  :param dict [params]: extra parameters specific to the exchange API endpoint
2118
2147
  :returns dict: an `address structure <https://docs.ccxt.com/#/?id=address-structure>`
@@ -2131,7 +2160,9 @@ class okcoin(Exchange, ImplicitAPI):
2131
2160
  def fetch_deposit_addresses_by_network(self, code: str, params={}) -> List[DepositAddress]:
2132
2161
  """
2133
2162
  fetch a dictionary of addresses for a currency, indexed by network
2134
- :see: https://www.okx.com/docs-v5/en/#funding-account-rest-api-get-deposit-address
2163
+
2164
+ https://www.okx.com/docs-v5/en/#funding-account-rest-api-get-deposit-address
2165
+
2135
2166
  :param str code: unified currency code of the currency for the deposit address
2136
2167
  :param dict [params]: extra parameters specific to the exchange API endpoint
2137
2168
  :returns dict: a dictionary of `address structures <https://docs.ccxt.com/#/?id=address-structure>` indexed by the network
@@ -2170,7 +2201,9 @@ class okcoin(Exchange, ImplicitAPI):
2170
2201
 
2171
2202
  def transfer(self, code: str, amount: float, fromAccount: str, toAccount: str, params={}) -> TransferEntry:
2172
2203
  """
2173
- :see: https://www.okcoin.com/docs-v5/en/#rest-api-funding-funds-transfer
2204
+
2205
+ https://www.okcoin.com/docs-v5/en/#rest-api-funding-funds-transfer
2206
+
2174
2207
  transfer currency internally between wallets on the same account
2175
2208
  :param str code: unified currency code
2176
2209
  :param float amount: amount to transfer
@@ -2309,7 +2342,9 @@ class okcoin(Exchange, ImplicitAPI):
2309
2342
 
2310
2343
  def withdraw(self, code: str, amount: float, address: str, tag=None, params={}) -> Transaction:
2311
2344
  """
2312
- :see: https://www.okcoin.com/docs-v5/en/#rest-api-funding-withdrawal
2345
+
2346
+ https://www.okcoin.com/docs-v5/en/#rest-api-funding-withdrawal
2347
+
2313
2348
  make a withdrawal
2314
2349
  :param str code: unified currency code
2315
2350
  :param float amount: the amount to withdraw
@@ -2363,7 +2398,9 @@ class okcoin(Exchange, ImplicitAPI):
2363
2398
 
2364
2399
  def fetch_deposits(self, code: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Transaction]:
2365
2400
  """
2366
- :see: https://www.okcoin.com/docs-v5/en/#rest-api-funding-get-deposit-history
2401
+
2402
+ https://www.okcoin.com/docs-v5/en/#rest-api-funding-get-deposit-history
2403
+
2367
2404
  fetch all deposits made to an account
2368
2405
  :param str code: unified currency code
2369
2406
  :param int [since]: the earliest time in ms to fetch deposits for
@@ -2432,7 +2469,9 @@ class okcoin(Exchange, ImplicitAPI):
2432
2469
 
2433
2470
  def fetch_withdrawals(self, code: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Transaction]:
2434
2471
  """
2435
- :see: https://www.okcoin.com/docs-v5/en/#rest-api-funding-get-withdrawal-history
2472
+
2473
+ https://www.okcoin.com/docs-v5/en/#rest-api-funding-get-withdrawal-history
2474
+
2436
2475
  fetch all withdrawals made from an account
2437
2476
  :param str code: unified currency code
2438
2477
  :param int [since]: the earliest time in ms to fetch withdrawals for
@@ -2623,8 +2662,10 @@ class okcoin(Exchange, ImplicitAPI):
2623
2662
 
2624
2663
  def fetch_my_trades(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}):
2625
2664
  """
2626
- :see: https://www.okcoin.com/docs-v5/en/#rest-api-trade-get-transaction-details-last-3-days
2627
- :see: https://www.okcoin.com/docs-v5/en/#rest-api-trade-get-transaction-details-last-3-months
2665
+
2666
+ https://www.okcoin.com/docs-v5/en/#rest-api-trade-get-transaction-details-last-3-days
2667
+ https://www.okcoin.com/docs-v5/en/#rest-api-trade-get-transaction-details-last-3-months
2668
+
2628
2669
  fetch all trades made by the user
2629
2670
  :param str symbol: unified market symbol
2630
2671
  :param int [since]: the earliest time in ms to fetch trades for
@@ -2674,9 +2715,11 @@ class okcoin(Exchange, ImplicitAPI):
2674
2715
  def fetch_ledger(self, code: Str = None, since: Int = None, limit: Int = None, params={}) -> List[LedgerEntry]:
2675
2716
  """
2676
2717
  fetch the history of changes, actions done by the user or operations that altered the balance of the user
2677
- :see: https://www.okcoin.com/docs-v5/en/#rest-api-funding-asset-bills-details
2678
- :see: https://www.okcoin.com/docs-v5/en/#rest-api-account-get-bills-details-last-7-days
2679
- :see: https://www.okcoin.com/docs-v5/en/#rest-api-account-get-bills-details-last-3-months
2718
+
2719
+ https://www.okcoin.com/docs-v5/en/#rest-api-funding-asset-bills-details
2720
+ https://www.okcoin.com/docs-v5/en/#rest-api-account-get-bills-details-last-7-days
2721
+ https://www.okcoin.com/docs-v5/en/#rest-api-account-get-bills-details-last-3-months
2722
+
2680
2723
  :param str [code]: unified currency code, default is None
2681
2724
  :param int [since]: timestamp in ms of the earliest ledger entry, default is None
2682
2725
  :param int [limit]: max number of ledger entries to return, default is None