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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (273) hide show
  1. ccxt/__init__.py +1 -1
  2. ccxt/abstract/alpaca.py +1 -0
  3. ccxt/abstract/binance.py +9 -0
  4. ccxt/abstract/binancecoinm.py +9 -0
  5. ccxt/abstract/binanceus.py +9 -0
  6. ccxt/abstract/binanceusdm.py +9 -0
  7. ccxt/ace.py +36 -12
  8. ccxt/alpaca.py +113 -28
  9. ccxt/ascendex.py +65 -30
  10. ccxt/async_support/__init__.py +1 -1
  11. ccxt/async_support/ace.py +36 -12
  12. ccxt/async_support/alpaca.py +113 -28
  13. ccxt/async_support/ascendex.py +65 -30
  14. ccxt/async_support/base/exchange.py +3 -3
  15. ccxt/async_support/bigone.py +71 -27
  16. ccxt/async_support/binance.py +564 -323
  17. ccxt/async_support/bingx.py +208 -108
  18. ccxt/async_support/bit2c.py +34 -12
  19. ccxt/async_support/bitbank.py +42 -14
  20. ccxt/async_support/bitbns.py +29 -21
  21. ccxt/async_support/bitfinex.py +77 -33
  22. ccxt/async_support/bitfinex2.py +116 -44
  23. ccxt/async_support/bitflyer.py +54 -18
  24. ccxt/async_support/bitget.py +277 -145
  25. ccxt/async_support/bithumb.py +39 -14
  26. ccxt/async_support/bitmart.py +198 -132
  27. ccxt/async_support/bitmex.py +90 -30
  28. ccxt/async_support/bitopro.py +66 -22
  29. ccxt/async_support/bitrue.py +109 -57
  30. ccxt/async_support/bitso.py +55 -19
  31. ccxt/async_support/bitstamp.py +84 -36
  32. ccxt/async_support/bitteam.py +51 -17
  33. ccxt/async_support/bitvavo.py +57 -19
  34. ccxt/async_support/bl3p.py +26 -10
  35. ccxt/async_support/blockchaincom.py +63 -21
  36. ccxt/async_support/blofin.py +95 -38
  37. ccxt/async_support/btcalpha.py +48 -16
  38. ccxt/async_support/btcbox.py +27 -9
  39. ccxt/async_support/btcmarkets.py +57 -19
  40. ccxt/async_support/btcturk.py +36 -12
  41. ccxt/async_support/bybit.py +251 -95
  42. ccxt/async_support/cex.py +65 -22
  43. ccxt/async_support/coinbase.py +138 -56
  44. ccxt/async_support/coinbaseexchange.py +76 -28
  45. ccxt/async_support/coinbaseinternational.py +75 -27
  46. ccxt/async_support/coincatch.py +191 -97
  47. ccxt/async_support/coincheck.py +33 -11
  48. ccxt/async_support/coinex.py +212 -101
  49. ccxt/async_support/coinlist.py +87 -30
  50. ccxt/async_support/coinmate.py +55 -24
  51. ccxt/async_support/coinmetro.py +52 -18
  52. ccxt/async_support/coinone.py +27 -10
  53. ccxt/async_support/coinsph.py +73 -27
  54. ccxt/async_support/coinspot.py +25 -9
  55. ccxt/async_support/cryptocom.py +103 -38
  56. ccxt/async_support/currencycom.py +70 -23
  57. ccxt/async_support/delta.py +90 -30
  58. ccxt/async_support/deribit.py +138 -53
  59. ccxt/async_support/digifinex.py +114 -51
  60. ccxt/async_support/exmo.py +104 -45
  61. ccxt/async_support/gate.py +298 -155
  62. ccxt/async_support/gemini.py +57 -20
  63. ccxt/async_support/hashkey.py +151 -66
  64. ccxt/async_support/hitbtc.py +156 -73
  65. ccxt/async_support/hollaex.py +76 -25
  66. ccxt/async_support/htx.py +297 -240
  67. ccxt/async_support/huobijp.py +1 -0
  68. ccxt/async_support/hyperliquid.py +203 -42
  69. ccxt/async_support/idex.py +73 -24
  70. ccxt/async_support/independentreserve.py +12 -5
  71. ccxt/async_support/indodax.py +53 -16
  72. ccxt/async_support/kraken.py +107 -35
  73. ccxt/async_support/krakenfutures.py +88 -34
  74. ccxt/async_support/kucoin.py +211 -109
  75. ccxt/async_support/kucoinfutures.py +119 -42
  76. ccxt/async_support/kuna.py +80 -39
  77. ccxt/async_support/latoken.py +70 -33
  78. ccxt/async_support/lbank.py +90 -39
  79. ccxt/async_support/luno.py +54 -19
  80. ccxt/async_support/lykke.py +54 -19
  81. ccxt/async_support/mercado.py +1 -0
  82. ccxt/async_support/mexc.py +226 -108
  83. ccxt/async_support/ndax.py +58 -19
  84. ccxt/async_support/novadax.py +67 -22
  85. ccxt/async_support/oceanex.py +58 -19
  86. ccxt/async_support/okcoin.py +81 -38
  87. ccxt/async_support/okx.py +270 -109
  88. ccxt/async_support/onetrading.py +3 -1
  89. ccxt/async_support/oxfun.py +95 -36
  90. ccxt/async_support/p2b.py +49 -23
  91. ccxt/async_support/paradex.py +75 -27
  92. ccxt/async_support/paymium.py +31 -11
  93. ccxt/async_support/phemex.py +91 -41
  94. ccxt/async_support/poloniex.py +80 -30
  95. ccxt/async_support/poloniexfutures.py +72 -30
  96. ccxt/async_support/probit.py +64 -22
  97. ccxt/async_support/timex.py +58 -19
  98. ccxt/async_support/tokocrypto.py +63 -22
  99. ccxt/async_support/tradeogre.py +7 -2
  100. ccxt/async_support/upbit.py +72 -25
  101. ccxt/async_support/vertex.py +74 -28
  102. ccxt/async_support/wavesexchange.py +29 -8
  103. ccxt/async_support/wazirx.py +51 -17
  104. ccxt/async_support/whitebit.py +105 -41
  105. ccxt/async_support/woo.py +162 -65
  106. ccxt/async_support/woofipro.py +118 -49
  107. ccxt/async_support/xt.py +150 -73
  108. ccxt/async_support/yobit.py +49 -16
  109. ccxt/async_support/zaif.py +30 -10
  110. ccxt/async_support/zonda.py +46 -16
  111. ccxt/base/exchange.py +34 -34
  112. ccxt/base/types.py +1 -0
  113. ccxt/bigone.py +71 -27
  114. ccxt/binance.py +564 -323
  115. ccxt/bingx.py +208 -108
  116. ccxt/bit2c.py +34 -12
  117. ccxt/bitbank.py +42 -14
  118. ccxt/bitbns.py +29 -21
  119. ccxt/bitfinex.py +77 -33
  120. ccxt/bitfinex2.py +116 -44
  121. ccxt/bitflyer.py +54 -18
  122. ccxt/bitget.py +277 -145
  123. ccxt/bithumb.py +39 -14
  124. ccxt/bitmart.py +198 -132
  125. ccxt/bitmex.py +90 -30
  126. ccxt/bitopro.py +66 -22
  127. ccxt/bitrue.py +109 -57
  128. ccxt/bitso.py +55 -19
  129. ccxt/bitstamp.py +84 -36
  130. ccxt/bitteam.py +51 -17
  131. ccxt/bitvavo.py +57 -19
  132. ccxt/bl3p.py +26 -10
  133. ccxt/blockchaincom.py +63 -21
  134. ccxt/blofin.py +95 -38
  135. ccxt/btcalpha.py +48 -16
  136. ccxt/btcbox.py +27 -9
  137. ccxt/btcmarkets.py +57 -19
  138. ccxt/btcturk.py +36 -12
  139. ccxt/bybit.py +251 -95
  140. ccxt/cex.py +65 -22
  141. ccxt/coinbase.py +138 -56
  142. ccxt/coinbaseexchange.py +76 -28
  143. ccxt/coinbaseinternational.py +75 -27
  144. ccxt/coincatch.py +191 -97
  145. ccxt/coincheck.py +33 -11
  146. ccxt/coinex.py +212 -101
  147. ccxt/coinlist.py +87 -30
  148. ccxt/coinmate.py +55 -24
  149. ccxt/coinmetro.py +52 -18
  150. ccxt/coinone.py +27 -10
  151. ccxt/coinsph.py +73 -27
  152. ccxt/coinspot.py +25 -9
  153. ccxt/cryptocom.py +103 -38
  154. ccxt/currencycom.py +70 -23
  155. ccxt/delta.py +90 -30
  156. ccxt/deribit.py +138 -53
  157. ccxt/digifinex.py +114 -51
  158. ccxt/exmo.py +104 -45
  159. ccxt/gate.py +298 -155
  160. ccxt/gemini.py +57 -20
  161. ccxt/hashkey.py +151 -66
  162. ccxt/hitbtc.py +156 -73
  163. ccxt/hollaex.py +76 -25
  164. ccxt/htx.py +297 -240
  165. ccxt/huobijp.py +1 -0
  166. ccxt/hyperliquid.py +203 -42
  167. ccxt/idex.py +73 -24
  168. ccxt/independentreserve.py +12 -5
  169. ccxt/indodax.py +53 -16
  170. ccxt/kraken.py +107 -35
  171. ccxt/krakenfutures.py +88 -34
  172. ccxt/kucoin.py +211 -109
  173. ccxt/kucoinfutures.py +119 -42
  174. ccxt/kuna.py +80 -39
  175. ccxt/latoken.py +70 -33
  176. ccxt/lbank.py +90 -39
  177. ccxt/luno.py +54 -19
  178. ccxt/lykke.py +54 -19
  179. ccxt/mercado.py +1 -0
  180. ccxt/mexc.py +226 -108
  181. ccxt/ndax.py +58 -19
  182. ccxt/novadax.py +67 -22
  183. ccxt/oceanex.py +58 -19
  184. ccxt/okcoin.py +81 -38
  185. ccxt/okx.py +270 -109
  186. ccxt/onetrading.py +3 -1
  187. ccxt/oxfun.py +95 -36
  188. ccxt/p2b.py +49 -23
  189. ccxt/paradex.py +75 -27
  190. ccxt/paymium.py +31 -11
  191. ccxt/phemex.py +91 -41
  192. ccxt/poloniex.py +80 -30
  193. ccxt/poloniexfutures.py +72 -30
  194. ccxt/pro/__init__.py +1 -1
  195. ccxt/pro/alpaca.py +15 -5
  196. ccxt/pro/ascendex.py +18 -6
  197. ccxt/pro/binance.py +200 -119
  198. ccxt/pro/bingx.py +44 -24
  199. ccxt/pro/bitfinex.py +13 -5
  200. ccxt/pro/bitget.py +75 -36
  201. ccxt/pro/bithumb.py +12 -4
  202. ccxt/pro/bitmart.py +44 -20
  203. ccxt/pro/bitmex.py +42 -14
  204. ccxt/pro/bitopro.py +15 -5
  205. ccxt/pro/bitrue.py +7 -3
  206. ccxt/pro/bitvavo.py +51 -17
  207. ccxt/pro/blockchaincom.py +18 -6
  208. ccxt/pro/blofin.py +38 -13
  209. ccxt/pro/bybit.py +100 -42
  210. ccxt/pro/cex.py +48 -16
  211. ccxt/pro/coinbase.py +32 -12
  212. ccxt/pro/coinbaseexchange.py +1 -1
  213. ccxt/pro/coinbaseinternational.py +34 -14
  214. ccxt/pro/coincatch.py +54 -19
  215. ccxt/pro/coincheck.py +6 -2
  216. ccxt/pro/coinex.py +40 -20
  217. ccxt/pro/coinone.py +9 -3
  218. ccxt/pro/cryptocom.py +70 -26
  219. ccxt/pro/deribit.py +36 -12
  220. ccxt/pro/exmo.py +10 -4
  221. ccxt/pro/gate.py +64 -30
  222. ccxt/pro/gemini.py +21 -7
  223. ccxt/pro/hashkey.py +26 -8
  224. ccxt/pro/hitbtc.py +61 -37
  225. ccxt/pro/hollaex.py +15 -5
  226. ccxt/pro/htx.py +39 -21
  227. ccxt/pro/hyperliquid.py +41 -14
  228. ccxt/pro/kraken.py +49 -17
  229. ccxt/pro/krakenfutures.py +47 -24
  230. ccxt/pro/kucoin.py +60 -31
  231. ccxt/pro/kucoinfutures.py +41 -19
  232. ccxt/pro/lbank.py +27 -9
  233. ccxt/pro/luno.py +3 -1
  234. ccxt/pro/mexc.py +35 -17
  235. ccxt/pro/ndax.py +12 -4
  236. ccxt/pro/okcoin.py +18 -6
  237. ccxt/pro/okx.py +76 -28
  238. ccxt/pro/onetrading.py +21 -7
  239. ccxt/pro/oxfun.py +54 -20
  240. ccxt/pro/p2b.py +23 -11
  241. ccxt/pro/paradex.py +12 -4
  242. ccxt/pro/phemex.py +31 -19
  243. ccxt/pro/poloniex.py +50 -22
  244. ccxt/pro/poloniexfutures.py +17 -7
  245. ccxt/pro/probit.py +18 -6
  246. ccxt/pro/upbit.py +25 -9
  247. ccxt/pro/vertex.py +20 -6
  248. ccxt/pro/wazirx.py +21 -7
  249. ccxt/pro/whitebit.py +25 -9
  250. ccxt/pro/woo.py +32 -12
  251. ccxt/pro/woofipro.py +35 -13
  252. ccxt/pro/xt.py +46 -26
  253. ccxt/probit.py +64 -22
  254. ccxt/test/tests_helpers.py +2 -2
  255. ccxt/timex.py +58 -19
  256. ccxt/tokocrypto.py +63 -22
  257. ccxt/tradeogre.py +7 -2
  258. ccxt/upbit.py +72 -25
  259. ccxt/vertex.py +74 -28
  260. ccxt/wavesexchange.py +29 -8
  261. ccxt/wazirx.py +51 -17
  262. ccxt/whitebit.py +105 -41
  263. ccxt/woo.py +162 -65
  264. ccxt/woofipro.py +118 -49
  265. ccxt/xt.py +150 -73
  266. ccxt/yobit.py +49 -16
  267. ccxt/zaif.py +30 -10
  268. ccxt/zonda.py +46 -16
  269. {ccxt-4.4.29.dist-info → ccxt-4.4.31.dist-info}/METADATA +5 -5
  270. {ccxt-4.4.29.dist-info → ccxt-4.4.31.dist-info}/RECORD +273 -273
  271. {ccxt-4.4.29.dist-info → ccxt-4.4.31.dist-info}/LICENSE.txt +0 -0
  272. {ccxt-4.4.29.dist-info → ccxt-4.4.31.dist-info}/WHEEL +0 -0
  273. {ccxt-4.4.29.dist-info → ccxt-4.4.31.dist-info}/top_level.txt +0 -0
ccxt/tokocrypto.py CHANGED
@@ -626,7 +626,9 @@ class tokocrypto(Exchange, ImplicitAPI):
626
626
 
627
627
  def fetch_time(self, params={}):
628
628
  """
629
- :see: https://www.tokocrypto.com/apidocs/#check-server-time
629
+
630
+ https://www.tokocrypto.com/apidocs/#check-server-time
631
+
630
632
  fetches the current integer timestamp in milliseconds from the exchange server
631
633
  :param dict [params]: extra parameters specific to the exchange API endpoint
632
634
  :returns int: the current integer timestamp in milliseconds from the exchange server
@@ -639,7 +641,9 @@ class tokocrypto(Exchange, ImplicitAPI):
639
641
 
640
642
  def fetch_markets(self, params={}) -> List[Market]:
641
643
  """
642
- :see: https://www.tokocrypto.com/apidocs/#get-all-supported-trading-symbol
644
+
645
+ https://www.tokocrypto.com/apidocs/#get-all-supported-trading-symbol
646
+
643
647
  retrieves data on all markets for tokocrypto
644
648
  :param dict [params]: extra parameters specific to the exchange API endpoint
645
649
  :returns dict[]: an array of objects representing market data
@@ -793,7 +797,9 @@ class tokocrypto(Exchange, ImplicitAPI):
793
797
 
794
798
  def fetch_order_book(self, symbol: str, limit: Int = None, params={}) -> OrderBook:
795
799
  """
796
- :see: https://www.tokocrypto.com/apidocs/#order-book
800
+
801
+ https://www.tokocrypto.com/apidocs/#order-book
802
+
797
803
  fetches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
798
804
  :param str symbol: unified symbol of the market to fetch the order book for
799
805
  :param int [limit]: the maximum amount of order book entries to return
@@ -989,8 +995,10 @@ class tokocrypto(Exchange, ImplicitAPI):
989
995
 
990
996
  def fetch_trades(self, symbol: str, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
991
997
  """
992
- :see: https://www.tokocrypto.com/apidocs/#recent-trades-list
993
- :see: https://www.tokocrypto.com/apidocs/#compressedaggregate-trades-list
998
+
999
+ https://www.tokocrypto.com/apidocs/#recent-trades-list
1000
+ https://www.tokocrypto.com/apidocs/#compressedaggregate-trades-list
1001
+
994
1002
  get the list of most recent trades for a particular symbol
995
1003
  :param str symbol: unified symbol of the market to fetch trades for
996
1004
  :param int [since]: timestamp in ms of the earliest trade to fetch
@@ -1171,7 +1179,9 @@ class tokocrypto(Exchange, ImplicitAPI):
1171
1179
 
1172
1180
  def fetch_tickers(self, symbols: Strings = None, params={}) -> Tickers:
1173
1181
  """
1174
- :see: https://binance-docs.github.io/apidocs/spot/en/#24hr-ticker-price-change-statistics
1182
+
1183
+ https://binance-docs.github.io/apidocs/spot/en/#24hr-ticker-price-change-statistics
1184
+
1175
1185
  fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
1176
1186
  :param str[]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
1177
1187
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -1188,7 +1198,9 @@ class tokocrypto(Exchange, ImplicitAPI):
1188
1198
 
1189
1199
  def fetch_ticker(self, symbol: str, params={}) -> Ticker:
1190
1200
  """
1191
- :see: https://binance-docs.github.io/apidocs/spot/en/#24hr-ticker-price-change-statistics
1201
+
1202
+ https://binance-docs.github.io/apidocs/spot/en/#24hr-ticker-price-change-statistics
1203
+
1192
1204
  fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
1193
1205
  :param str symbol: unified symbol of the market to fetch the ticker for
1194
1206
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -1207,7 +1219,9 @@ class tokocrypto(Exchange, ImplicitAPI):
1207
1219
 
1208
1220
  def fetch_bids_asks(self, symbols: Strings = None, params={}):
1209
1221
  """
1210
- :see: https://binance-docs.github.io/apidocs/spot/en/#symbol-order-book-ticker
1222
+
1223
+ https://binance-docs.github.io/apidocs/spot/en/#symbol-order-book-ticker
1224
+
1211
1225
  fetches the bid and ask price and volume for multiple markets
1212
1226
  :param str[]|None symbols: unified symbols of the markets to fetch the bids and asks for, all markets are returned if not assigned
1213
1227
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -1263,7 +1277,9 @@ class tokocrypto(Exchange, ImplicitAPI):
1263
1277
 
1264
1278
  def fetch_ohlcv(self, symbol: str, timeframe='1m', since: Int = None, limit: Int = None, params={}) -> List[list]:
1265
1279
  """
1266
- :see: https://binance-docs.github.io/apidocs/spot/en/#kline-candlestick-data
1280
+
1281
+ https://binance-docs.github.io/apidocs/spot/en/#kline-candlestick-data
1282
+
1267
1283
  fetches historical candlestick data containing the open, high, low, and close price, and the volume of a market
1268
1284
  :param str symbol: unified symbol of the market to fetch OHLCV data for
1269
1285
  :param str timeframe: the length of time each candle represents
@@ -1314,7 +1330,9 @@ class tokocrypto(Exchange, ImplicitAPI):
1314
1330
 
1315
1331
  def fetch_balance(self, params={}) -> Balances:
1316
1332
  """
1317
- :see: https://www.tokocrypto.com/apidocs/#account-information-signed
1333
+
1334
+ https://www.tokocrypto.com/apidocs/#account-information-signed
1335
+
1318
1336
  query for balance and get the amount of funds available for trading or funds locked in orders
1319
1337
  :param dict [params]: extra parameters specific to the exchange API endpoint
1320
1338
  :param str [params.type]: 'future', 'delivery', 'savings', 'funding', or 'spot'
@@ -1558,8 +1576,10 @@ class tokocrypto(Exchange, ImplicitAPI):
1558
1576
  def create_order(self, symbol: str, type: OrderType, side: OrderSide, amount: float, price: Num = None, params={}):
1559
1577
  """
1560
1578
  create a trade order
1561
- :see: https://www.tokocrypto.com/apidocs/#new-order--signed
1562
- :see: https://www.tokocrypto.com/apidocs/#account-trade-list-signed
1579
+
1580
+ https://www.tokocrypto.com/apidocs/#new-order--signed
1581
+ https://www.tokocrypto.com/apidocs/#account-trade-list-signed
1582
+
1563
1583
  :param str symbol: unified symbol of the market to create an order in
1564
1584
  :param str type: 'market' or 'limit'
1565
1585
  :param str side: 'buy' or 'sell'
@@ -1715,8 +1735,11 @@ class tokocrypto(Exchange, ImplicitAPI):
1715
1735
 
1716
1736
  def fetch_order(self, id: str, symbol: Str = None, params={}):
1717
1737
  """
1718
- :see: https://www.tokocrypto.com/apidocs/#all-orders-signed
1738
+
1739
+ https://www.tokocrypto.com/apidocs/#all-orders-signed
1740
+
1719
1741
  fetches information on an order made by the user
1742
+ :param str id: order id
1720
1743
  :param str symbol: unified symbol of the market the order was made in
1721
1744
  :param dict [params]: extra parameters specific to the exchange API endpoint
1722
1745
  :returns dict: An `order structure <https://docs.ccxt.com/#/?id=order-structure>`
@@ -1762,7 +1785,9 @@ class tokocrypto(Exchange, ImplicitAPI):
1762
1785
 
1763
1786
  def fetch_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
1764
1787
  """
1765
- :see: https://www.tokocrypto.com/apidocs/#all-orders-signed
1788
+
1789
+ https://www.tokocrypto.com/apidocs/#all-orders-signed
1790
+
1766
1791
  fetches information on multiple orders made by the user
1767
1792
  :param str symbol: unified market symbol of the market orders were made in
1768
1793
  :param int [since]: the earliest time in ms to fetch orders for
@@ -1828,7 +1853,9 @@ class tokocrypto(Exchange, ImplicitAPI):
1828
1853
 
1829
1854
  def fetch_open_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
1830
1855
  """
1831
- :see: https://www.tokocrypto.com/apidocs/#all-orders-signed
1856
+
1857
+ https://www.tokocrypto.com/apidocs/#all-orders-signed
1858
+
1832
1859
  fetch all unfilled currently open orders
1833
1860
  :param str symbol: unified market symbol
1834
1861
  :param int [since]: the earliest time in ms to fetch open orders for
@@ -1841,7 +1868,9 @@ class tokocrypto(Exchange, ImplicitAPI):
1841
1868
 
1842
1869
  def fetch_closed_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
1843
1870
  """
1844
- :see: https://www.tokocrypto.com/apidocs/#all-orders-signed
1871
+
1872
+ https://www.tokocrypto.com/apidocs/#all-orders-signed
1873
+
1845
1874
  fetches information on multiple closed orders made by the user
1846
1875
  :param str symbol: unified market symbol of the market orders were made in
1847
1876
  :param int [since]: the earliest time in ms to fetch orders for
@@ -1854,7 +1883,9 @@ class tokocrypto(Exchange, ImplicitAPI):
1854
1883
 
1855
1884
  def cancel_order(self, id: str, symbol: Str = None, params={}):
1856
1885
  """
1857
- :see: https://www.tokocrypto.com/apidocs/#cancel-order-signed
1886
+
1887
+ https://www.tokocrypto.com/apidocs/#cancel-order-signed
1888
+
1858
1889
  cancels an open order
1859
1890
  :param str id: order id
1860
1891
  :param str symbol: unified symbol of the market the order was made in
@@ -1897,7 +1928,9 @@ class tokocrypto(Exchange, ImplicitAPI):
1897
1928
 
1898
1929
  def fetch_my_trades(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}):
1899
1930
  """
1900
- :see: https://www.tokocrypto.com/apidocs/#account-trade-list-signed
1931
+
1932
+ https://www.tokocrypto.com/apidocs/#account-trade-list-signed
1933
+
1901
1934
  fetch all trades made by the user
1902
1935
  :param str symbol: unified market symbol
1903
1936
  :param int [since]: the earliest time in ms to fetch trades for
@@ -1953,7 +1986,9 @@ class tokocrypto(Exchange, ImplicitAPI):
1953
1986
  def fetch_deposit_address(self, code: str, params={}) -> DepositAddress:
1954
1987
  """
1955
1988
  fetch the deposit address for a currency associated with self account
1956
- :see: https://www.tokocrypto.com/apidocs/#deposit-address-signed
1989
+
1990
+ https://www.tokocrypto.com/apidocs/#deposit-address-signed
1991
+
1957
1992
  :param str code: unified currency code
1958
1993
  :param dict [params]: extra parameters specific to the exchange API endpoint
1959
1994
  :returns dict: an `address structure <https://docs.ccxt.com/#/?id=address-structure>`
@@ -2004,7 +2039,9 @@ class tokocrypto(Exchange, ImplicitAPI):
2004
2039
 
2005
2040
  def fetch_deposits(self, code: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Transaction]:
2006
2041
  """
2007
- :see: https://www.tokocrypto.com/apidocs/#deposit-history-signed
2042
+
2043
+ https://www.tokocrypto.com/apidocs/#deposit-history-signed
2044
+
2008
2045
  fetch all deposits made to an account
2009
2046
  :param str code: unified currency code
2010
2047
  :param int [since]: the earliest time in ms to fetch deposits for
@@ -2059,7 +2096,9 @@ class tokocrypto(Exchange, ImplicitAPI):
2059
2096
 
2060
2097
  def fetch_withdrawals(self, code: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Transaction]:
2061
2098
  """
2062
- :see: https://www.tokocrypto.com/apidocs/#withdraw-signed
2099
+
2100
+ https://www.tokocrypto.com/apidocs/#withdraw-signed
2101
+
2063
2102
  fetch all withdrawals made from an account
2064
2103
  :param str code: unified currency code
2065
2104
  :param int [since]: the earliest time in ms to fetch withdrawals for
@@ -2237,7 +2276,9 @@ class tokocrypto(Exchange, ImplicitAPI):
2237
2276
 
2238
2277
  def withdraw(self, code: str, amount: float, address: str, tag=None, params={}) -> Transaction:
2239
2278
  """
2240
- :see: https://www.tokocrypto.com/apidocs/#withdraw-signed
2279
+
2280
+ https://www.tokocrypto.com/apidocs/#withdraw-signed
2281
+
2241
2282
  make a withdrawal
2242
2283
  :param str code: unified currency code
2243
2284
  :param float amount: the amount to withdraw
ccxt/tradeogre.py CHANGED
@@ -169,7 +169,9 @@ class tradeogre(Exchange, ImplicitAPI):
169
169
  def fetch_markets(self, params={}) -> List[Market]:
170
170
  """
171
171
  retrieves data on all markets for bigone
172
- :see: https://github.com/P2B-team/p2b-api-docs/blob/master/api-doc.md#markets
172
+
173
+ https://github.com/P2B-team/p2b-api-docs/blob/master/api-doc.md#markets
174
+
173
175
  :param dict [params]: extra parameters specific to the exchange API endpoint
174
176
  :returns dict[]: an array of objects representing market data
175
177
  """
@@ -516,7 +518,10 @@ class tradeogre(Exchange, ImplicitAPI):
516
518
  def fetch_order(self, id: str, symbol: Str = None, params={}):
517
519
  """
518
520
  fetches information on an order made by the user
519
- :see: https://github.com/ace-exchange/ace-official-api-docs/blob/master/api_v2.md#open-api---order-status
521
+
522
+ https://github.com/ace-exchange/ace-official-api-docs/blob/master/api_v2.md#open-api---order-status
523
+
524
+ :param str id: order id
520
525
  :param str symbol: unified symbol of the market the order was made in
521
526
  :param dict [params]: extra parameters specific to the exchange API endpoint
522
527
  :returns dict: An `order structure <https://docs.ccxt.com/#/?id=order-structure>`
ccxt/upbit.py CHANGED
@@ -409,7 +409,9 @@ class upbit(Exchange, ImplicitAPI):
409
409
 
410
410
  def fetch_markets(self, params={}) -> List[Market]:
411
411
  """
412
- :see: https://docs.upbit.com/reference/%EB%A7%88%EC%BC%93-%EC%BD%94%EB%93%9C-%EC%A1%B0%ED%9A%8C
412
+
413
+ https://docs.upbit.com/reference/%EB%A7%88%EC%BC%93-%EC%BD%94%EB%93%9C-%EC%A1%B0%ED%9A%8C
414
+
413
415
  retrieves data on all markets for upbit
414
416
  :param dict [params]: extra parameters specific to the exchange API endpoint
415
417
  :returns dict[]: an array of objects representing market data
@@ -502,7 +504,9 @@ class upbit(Exchange, ImplicitAPI):
502
504
 
503
505
  def fetch_balance(self, params={}) -> Balances:
504
506
  """
505
- :see: https://docs.upbit.com/reference/%EC%A0%84%EC%B2%B4-%EA%B3%84%EC%A2%8C-%EC%A1%B0%ED%9A%8C
507
+
508
+ https://docs.upbit.com/reference/%EC%A0%84%EC%B2%B4-%EA%B3%84%EC%A2%8C-%EC%A1%B0%ED%9A%8C
509
+
506
510
  query for balance and get the amount of funds available for trading or funds locked in orders
507
511
  :param dict [params]: extra parameters specific to the exchange API endpoint
508
512
  :returns dict: a `balance structure <https://docs.ccxt.com/#/?id=balance-structure>`
@@ -525,7 +529,9 @@ class upbit(Exchange, ImplicitAPI):
525
529
 
526
530
  def fetch_order_books(self, symbols: Strings = None, limit: Int = None, params={}):
527
531
  """
528
- :see: https://docs.upbit.com/reference/%ED%98%B8%EA%B0%80-%EC%A0%95%EB%B3%B4-%EC%A1%B0%ED%9A%8C
532
+
533
+ https://docs.upbit.com/reference/%ED%98%B8%EA%B0%80-%EC%A0%95%EB%B3%B4-%EC%A1%B0%ED%9A%8C
534
+
529
535
  fetches information on open orders with bid(buy) and ask(sell) prices, volumes and other data for multiple markets
530
536
  :param str[]|None symbols: list of unified market symbols, all symbols fetched if None, default is None
531
537
  :param int [limit]: not used by upbit fetchOrderBooks()
@@ -593,7 +599,9 @@ class upbit(Exchange, ImplicitAPI):
593
599
 
594
600
  def fetch_order_book(self, symbol: str, limit: Int = None, params={}) -> OrderBook:
595
601
  """
596
- :see: https://docs.upbit.com/reference/%ED%98%B8%EA%B0%80-%EC%A0%95%EB%B3%B4-%EC%A1%B0%ED%9A%8C
602
+
603
+ https://docs.upbit.com/reference/%ED%98%B8%EA%B0%80-%EC%A0%95%EB%B3%B4-%EC%A1%B0%ED%9A%8C
604
+
597
605
  fetches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
598
606
  :param str symbol: unified symbol of the market to fetch the order book for
599
607
  :param int [limit]: the maximum amount of order book entries to return
@@ -661,7 +669,9 @@ class upbit(Exchange, ImplicitAPI):
661
669
 
662
670
  def fetch_tickers(self, symbols: Strings = None, params={}) -> Tickers:
663
671
  """
664
- :see: https://docs.upbit.com/reference/ticker%ED%98%84%EC%9E%AC%EA%B0%80-%EC%A0%95%EB%B3%B4
672
+
673
+ https://docs.upbit.com/reference/ticker%ED%98%84%EC%9E%AC%EA%B0%80-%EC%A0%95%EB%B3%B4
674
+
665
675
  fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
666
676
  :param str[]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
667
677
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -720,7 +730,9 @@ class upbit(Exchange, ImplicitAPI):
720
730
 
721
731
  def fetch_ticker(self, symbol: str, params={}) -> Ticker:
722
732
  """
723
- :see: https://docs.upbit.com/reference/ticker%ED%98%84%EC%9E%AC%EA%B0%80-%EC%A0%95%EB%B3%B4
733
+
734
+ https://docs.upbit.com/reference/ticker%ED%98%84%EC%9E%AC%EA%B0%80-%EC%A0%95%EB%B3%B4
735
+
724
736
  fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
725
737
  :param str symbol: unified symbol of the market to fetch the ticker for
726
738
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -799,7 +811,9 @@ class upbit(Exchange, ImplicitAPI):
799
811
 
800
812
  def fetch_trades(self, symbol: str, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
801
813
  """
802
- :see: https://docs.upbit.com/reference/%EC%B5%9C%EA%B7%BC-%EC%B2%B4%EA%B2%B0-%EB%82%B4%EC%97%AD
814
+
815
+ https://docs.upbit.com/reference/%EC%B5%9C%EA%B7%BC-%EC%B2%B4%EA%B2%B0-%EB%82%B4%EC%97%AD
816
+
803
817
  get the list of most recent trades for a particular symbol
804
818
  :param str symbol: unified symbol of the market to fetch trades for
805
819
  :param int [since]: timestamp in ms of the earliest trade to fetch
@@ -842,7 +856,9 @@ class upbit(Exchange, ImplicitAPI):
842
856
 
843
857
  def fetch_trading_fee(self, symbol: str, params={}) -> TradingFeeInterface:
844
858
  """
845
- :see: https://docs.upbit.com/reference/%EC%A3%BC%EB%AC%B8-%EA%B0%80%EB%8A%A5-%EC%A0%95%EB%B3%B4
859
+
860
+ https://docs.upbit.com/reference/%EC%A3%BC%EB%AC%B8-%EA%B0%80%EB%8A%A5-%EC%A0%95%EB%B3%B4
861
+
846
862
  fetch the trading fees for a market
847
863
  :param str symbol: unified market symbol
848
864
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -930,7 +946,9 @@ class upbit(Exchange, ImplicitAPI):
930
946
 
931
947
  def fetch_ohlcv(self, symbol: str, timeframe='1m', since: Int = None, limit: Int = None, params={}) -> List[list]:
932
948
  """
933
- :see: https://docs.upbit.com/reference/%EB%B6%84minute-%EC%BA%94%EB%93%A4-1
949
+
950
+ https://docs.upbit.com/reference/%EB%B6%84minute-%EC%BA%94%EB%93%A4-1
951
+
934
952
  fetches historical candlestick data containing the open, high, low, and close price, and the volume of a market
935
953
  :param str symbol: unified symbol of the market to fetch OHLCV data for
936
954
  :param str timeframe: the length of time each candle represents
@@ -995,8 +1013,10 @@ class upbit(Exchange, ImplicitAPI):
995
1013
  def create_order(self, symbol: str, type: OrderType, side: OrderSide, amount: float, price: Num = None, params={}):
996
1014
  """
997
1015
  create a trade order
998
- :see: https://docs.upbit.com/reference/%EC%A3%BC%EB%AC%B8%ED%95%98%EA%B8%B0
999
- :see: https://global-docs.upbit.com/reference/order
1016
+
1017
+ https://docs.upbit.com/reference/%EC%A3%BC%EB%AC%B8%ED%95%98%EA%B8%B0
1018
+ https://global-docs.upbit.com/reference/order
1019
+
1000
1020
  :param str symbol: unified symbol of the market to create an order in
1001
1021
  :param str type: 'market' or 'limit'
1002
1022
  :param str side: 'buy' or 'sell'
@@ -1080,7 +1100,9 @@ class upbit(Exchange, ImplicitAPI):
1080
1100
 
1081
1101
  def cancel_order(self, id: str, symbol: Str = None, params={}):
1082
1102
  """
1083
- :see: https://docs.upbit.com/reference/%EC%A3%BC%EB%AC%B8-%EC%B7%A8%EC%86%8C
1103
+
1104
+ https://docs.upbit.com/reference/%EC%A3%BC%EB%AC%B8-%EC%B7%A8%EC%86%8C
1105
+
1084
1106
  cancels an open order
1085
1107
  :param str id: order id
1086
1108
  :param str symbol: not used by upbit cancelOrder()
@@ -1115,7 +1137,9 @@ class upbit(Exchange, ImplicitAPI):
1115
1137
 
1116
1138
  def fetch_deposits(self, code: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Transaction]:
1117
1139
  """
1118
- :see: https://docs.upbit.com/reference/%EC%9E%85%EA%B8%88-%EB%A6%AC%EC%8A%A4%ED%8A%B8-%EC%A1%B0%ED%9A%8C
1140
+
1141
+ https://docs.upbit.com/reference/%EC%9E%85%EA%B8%88-%EB%A6%AC%EC%8A%A4%ED%8A%B8-%EC%A1%B0%ED%9A%8C
1142
+
1119
1143
  fetch all deposits made to an account
1120
1144
  :param str code: unified currency code
1121
1145
  :param int [since]: the earliest time in ms to fetch deposits for
@@ -1156,7 +1180,9 @@ class upbit(Exchange, ImplicitAPI):
1156
1180
  def fetch_deposit(self, id: str, code: Str = None, params={}):
1157
1181
  """
1158
1182
  fetch information on a deposit
1159
- :see: https://global-docs.upbit.com/reference/individual-deposit-inquiry
1183
+
1184
+ https://global-docs.upbit.com/reference/individual-deposit-inquiry
1185
+
1160
1186
  :param str id: the unique id for the deposit
1161
1187
  :param str [code]: unified currency code of the currency deposited
1162
1188
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -1191,7 +1217,9 @@ class upbit(Exchange, ImplicitAPI):
1191
1217
 
1192
1218
  def fetch_withdrawals(self, code: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Transaction]:
1193
1219
  """
1194
- :see: https://docs.upbit.com/reference/%EC%A0%84%EC%B2%B4-%EC%B6%9C%EA%B8%88-%EC%A1%B0%ED%9A%8C
1220
+
1221
+ https://docs.upbit.com/reference/%EC%A0%84%EC%B2%B4-%EC%B6%9C%EA%B8%88-%EC%A1%B0%ED%9A%8C
1222
+
1195
1223
  fetch all withdrawals made from an account
1196
1224
  :param str code: unified currency code
1197
1225
  :param int [since]: the earliest time in ms to fetch withdrawals for
@@ -1232,7 +1260,9 @@ class upbit(Exchange, ImplicitAPI):
1232
1260
  def fetch_withdrawal(self, id: str, code: Str = None, params={}):
1233
1261
  """
1234
1262
  fetch data on a currency withdrawal via the withdrawal id
1235
- :see: https://global-docs.upbit.com/reference/individual-withdrawal-inquiry
1263
+
1264
+ https://global-docs.upbit.com/reference/individual-withdrawal-inquiry
1265
+
1236
1266
  :param str id: the unique id for the withdrawal
1237
1267
  :param str [code]: unified currency code of the currency withdrawn
1238
1268
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -1498,7 +1528,9 @@ class upbit(Exchange, ImplicitAPI):
1498
1528
  def fetch_open_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
1499
1529
  """
1500
1530
  fetch all unfilled currently open orders
1501
- :see: https://global-docs.upbit.com/reference/open-order
1531
+
1532
+ https://global-docs.upbit.com/reference/open-order
1533
+
1502
1534
  :param str symbol: unified market symbol
1503
1535
  :param int [since]: the earliest time in ms to fetch open orders for
1504
1536
  :param int [limit]: the maximum number of open order structures to retrieve
@@ -1542,7 +1574,9 @@ class upbit(Exchange, ImplicitAPI):
1542
1574
  def fetch_closed_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
1543
1575
  """
1544
1576
  fetches information on multiple closed orders made by the user
1545
- :see: https://global-docs.upbit.com/reference/closed-order
1577
+
1578
+ https://global-docs.upbit.com/reference/closed-order
1579
+
1546
1580
  :param str symbol: unified market symbol of the market orders were made in
1547
1581
  :param int [since]: the earliest time in ms to fetch orders for
1548
1582
  :param int [limit]: the maximum number of order structures to retrieve
@@ -1592,7 +1626,9 @@ class upbit(Exchange, ImplicitAPI):
1592
1626
  def fetch_canceled_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}):
1593
1627
  """
1594
1628
  fetches information on multiple canceled orders made by the user
1595
- :see: https://global-docs.upbit.com/reference/closed-order
1629
+
1630
+ https://global-docs.upbit.com/reference/closed-order
1631
+
1596
1632
  :param str symbol: unified market symbol of the market orders were made in
1597
1633
  :param int [since]: timestamp in ms of the earliest order, default is None
1598
1634
  :param int [limit]: max number of orders to return, default is None
@@ -1641,8 +1677,11 @@ class upbit(Exchange, ImplicitAPI):
1641
1677
 
1642
1678
  def fetch_order(self, id: str, symbol: Str = None, params={}):
1643
1679
  """
1644
- :see: https://docs.upbit.com/reference/%EA%B0%9C%EB%B3%84-%EC%A3%BC%EB%AC%B8-%EC%A1%B0%ED%9A%8C
1680
+
1681
+ https://docs.upbit.com/reference/%EA%B0%9C%EB%B3%84-%EC%A3%BC%EB%AC%B8-%EC%A1%B0%ED%9A%8C
1682
+
1645
1683
  fetches information on an order made by the user
1684
+ :param str id: order id
1646
1685
  :param str symbol: not used by upbit fetchOrder
1647
1686
  :param dict [params]: extra parameters specific to the exchange API endpoint
1648
1687
  :returns dict: An `order structure <https://docs.ccxt.com/#/?id=order-structure>`
@@ -1699,7 +1738,9 @@ class upbit(Exchange, ImplicitAPI):
1699
1738
 
1700
1739
  def fetch_deposit_addresses(self, codes: Strings = None, params={}) -> List[DepositAddress]:
1701
1740
  """
1702
- :see: https://docs.upbit.com/reference/%EC%A0%84%EC%B2%B4-%EC%9E%85%EA%B8%88-%EC%A3%BC%EC%86%8C-%EC%A1%B0%ED%9A%8C
1741
+
1742
+ https://docs.upbit.com/reference/%EC%A0%84%EC%B2%B4-%EC%9E%85%EA%B8%88-%EC%A3%BC%EC%86%8C-%EC%A1%B0%ED%9A%8C
1743
+
1703
1744
  fetch deposit addresses for multiple currencies and chain types
1704
1745
  :param str[]|None codes: list of unified currency codes, default is None
1705
1746
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -1753,7 +1794,9 @@ class upbit(Exchange, ImplicitAPI):
1753
1794
 
1754
1795
  def fetch_deposit_address(self, code: str, params={}) -> DepositAddress:
1755
1796
  """
1756
- :see: https://docs.upbit.com/reference/%EC%A0%84%EC%B2%B4-%EC%9E%85%EA%B8%88-%EC%A3%BC%EC%86%8C-%EC%A1%B0%ED%9A%8C
1797
+
1798
+ https://docs.upbit.com/reference/%EC%A0%84%EC%B2%B4-%EC%9E%85%EA%B8%88-%EC%A3%BC%EC%86%8C-%EC%A1%B0%ED%9A%8C
1799
+
1757
1800
  fetch the deposit address for a currency associated with self account
1758
1801
  :param str code: unified currency code
1759
1802
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -1782,7 +1825,9 @@ class upbit(Exchange, ImplicitAPI):
1782
1825
 
1783
1826
  def create_deposit_address(self, code: str, params={}):
1784
1827
  """
1785
- :see: https://docs.upbit.com/reference/%EC%9E%85%EA%B8%88-%EC%A3%BC%EC%86%8C-%EC%83%9D%EC%84%B1-%EC%9A%94%EC%B2%AD
1828
+
1829
+ https://docs.upbit.com/reference/%EC%9E%85%EA%B8%88-%EC%A3%BC%EC%86%8C-%EC%83%9D%EC%84%B1-%EC%9A%94%EC%B2%AD
1830
+
1786
1831
  create a currency deposit address
1787
1832
  :param str code: unified currency code of the currency for the deposit address
1788
1833
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -1817,8 +1862,10 @@ class upbit(Exchange, ImplicitAPI):
1817
1862
 
1818
1863
  def withdraw(self, code: str, amount: float, address: str, tag=None, params={}) -> Transaction:
1819
1864
  """
1820
- :see: https://docs.upbit.com/reference/디지털자산-출금하기
1821
- :see: https://docs.upbit.com/reference/%EC%9B%90%ED%99%94-%EC%B6%9C%EA%B8%88%ED%95%98%EA%B8%B0
1865
+
1866
+ https://docs.upbit.com/reference/디지털자산-출금하기
1867
+ https://docs.upbit.com/reference/%EC%9B%90%ED%99%94-%EC%B6%9C%EA%B8%88%ED%95%98%EA%B8%B0
1868
+
1822
1869
  make a withdrawal
1823
1870
  :param str code: unified currency code
1824
1871
  :param float amount: the amount to withdraw