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/vertex.py CHANGED
@@ -348,7 +348,9 @@ class vertex(Exchange, ImplicitAPI):
348
348
  def fetch_currencies(self, params={}) -> Currencies:
349
349
  """
350
350
  fetches all available currencies on an exchange
351
- :see: https://docs.vertexprotocol.com/developer-resources/api/v2/assets
351
+
352
+ https://docs.vertexprotocol.com/developer-resources/api/v2/assets
353
+
352
354
  :param dict [params]: extra parameters specific to the exchange API endpoint
353
355
  :returns dict: an associative dictionary of currencies
354
356
  """
@@ -507,7 +509,9 @@ class vertex(Exchange, ImplicitAPI):
507
509
  def fetch_markets(self, params={}) -> List[Market]:
508
510
  """
509
511
  retrieves data on all markets for vertex
510
- :see: https://docs.vertexprotocol.com/developer-resources/api/gateway/queries/symbols
512
+
513
+ https://docs.vertexprotocol.com/developer-resources/api/gateway/queries/symbols
514
+
511
515
  :param dict [params]: extra parameters specific to the exchange API endpoint
512
516
  :returns dict[]: an array of objects representing market data
513
517
  """
@@ -562,7 +566,9 @@ class vertex(Exchange, ImplicitAPI):
562
566
  def fetch_status(self, params={}):
563
567
  """
564
568
  the latest known information on the availability of the exchange API
565
- :see: https://docs.vertexprotocol.com/developer-resources/api/gateway/queries/status
569
+
570
+ https://docs.vertexprotocol.com/developer-resources/api/gateway/queries/status
571
+
566
572
  :param dict [params]: extra parameters specific to the exchange API endpoint
567
573
  :returns dict: a `status structure <https://docs.ccxt.com/#/?id=exchange-status-structure>`
568
574
  """
@@ -713,7 +719,9 @@ class vertex(Exchange, ImplicitAPI):
713
719
  def fetch_trades(self, symbol: str, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
714
720
  """
715
721
  get the list of most recent trades for a particular symbol
716
- :see: https://docs.vertexprotocol.com/developer-resources/api/v2/trades
722
+
723
+ https://docs.vertexprotocol.com/developer-resources/api/v2/trades
724
+
717
725
  :param str symbol: unified symbol of the market to fetch trades for
718
726
  :param int [since]: timestamp in ms of the earliest trade to fetch
719
727
  :param int [limit]: the maximum amount of trades to fetch
@@ -756,7 +764,9 @@ class vertex(Exchange, ImplicitAPI):
756
764
  def fetch_my_trades(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}):
757
765
  """
758
766
  fetch all trades made by the user
759
- :see: https://docs.vertexprotocol.com/developer-resources/api/archive-indexer/matches
767
+
768
+ https://docs.vertexprotocol.com/developer-resources/api/archive-indexer/matches
769
+
760
770
  :param str symbol: unified market symbol
761
771
  :param int [since]: the earliest time in ms to fetch trades for
762
772
  :param int [limit]: the maximum number of trades structures to retrieve
@@ -961,7 +971,9 @@ class vertex(Exchange, ImplicitAPI):
961
971
  def fetch_order_book(self, symbol: str, limit: Int = None, params={}) -> OrderBook:
962
972
  """
963
973
  fetches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
964
- :see: https://docs.vertexprotocol.com/developer-resources/api/v2/orderbook
974
+
975
+ https://docs.vertexprotocol.com/developer-resources/api/v2/orderbook
976
+
965
977
  :param str symbol: unified symbol of the market to fetch the order book for
966
978
  :param int [limit]: the maximum amount of order book entries to return
967
979
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -1021,7 +1033,9 @@ class vertex(Exchange, ImplicitAPI):
1021
1033
  def fetch_trading_fees(self, params={}) -> TradingFees:
1022
1034
  """
1023
1035
  fetch the trading fees for multiple markets
1024
- :see: https://docs.vertexprotocol.com/developer-resources/api/gateway/queries/fee-rates
1036
+
1037
+ https://docs.vertexprotocol.com/developer-resources/api/gateway/queries/fee-rates
1038
+
1025
1039
  :param dict [params]: extra parameters specific to the exchange API endpoint
1026
1040
  :param str [params.user]: user address, will default to self.walletAddress if not provided
1027
1041
  :returns dict: a dictionary of `fee structures <https://docs.ccxt.com/#/?id=fee-structure>` indexed by market symbols
@@ -1098,7 +1112,9 @@ class vertex(Exchange, ImplicitAPI):
1098
1112
 
1099
1113
  def fetch_ohlcv(self, symbol: str, timeframe='1m', since: Int = None, limit: Int = None, params={}) -> List[list]:
1100
1114
  """
1101
- :see: https://docs.vertexprotocol.com/developer-resources/api/archive-indexer/candlesticks
1115
+
1116
+ https://docs.vertexprotocol.com/developer-resources/api/archive-indexer/candlesticks
1117
+
1102
1118
  fetches historical candlestick data containing the open, high, low, and close price, and the volume of a market
1103
1119
  :param str symbol: unified symbol of the market to fetch OHLCV data for
1104
1120
  :param str timeframe: the length of time each candle represents
@@ -1214,7 +1230,9 @@ class vertex(Exchange, ImplicitAPI):
1214
1230
  def fetch_funding_rate(self, symbol: str, params={}) -> FundingRate:
1215
1231
  """
1216
1232
  fetch the current funding rate
1217
- :see: https://docs.vertexprotocol.com/developer-resources/api/archive-indexer/funding-rate
1233
+
1234
+ https://docs.vertexprotocol.com/developer-resources/api/archive-indexer/funding-rate
1235
+
1218
1236
  :param str symbol: unified market symbol
1219
1237
  :param dict [params]: extra parameters specific to the exchange API endpoint
1220
1238
  :returns dict: a `funding rate structure <https://docs.ccxt.com/#/?id=funding-rate-structure>`
@@ -1239,7 +1257,9 @@ class vertex(Exchange, ImplicitAPI):
1239
1257
  def fetch_funding_rates(self, symbols: Strings = None, params={}) -> FundingRates:
1240
1258
  """
1241
1259
  fetches funding rates for multiple markets
1242
- :see: https://docs.vertexprotocol.com/developer-resources/api/v2/contracts
1260
+
1261
+ https://docs.vertexprotocol.com/developer-resources/api/v2/contracts
1262
+
1243
1263
  :param str[] symbols: unified symbols of the markets to fetch the funding rates for, all market funding rates are returned if not assigned
1244
1264
  :param dict [params]: extra parameters specific to the exchange API endpoint
1245
1265
  :returns dict[]: an array of `funding rate structures <https://docs.ccxt.com/#/?id=funding-rate-structure>`
@@ -1320,7 +1340,9 @@ class vertex(Exchange, ImplicitAPI):
1320
1340
  def fetch_open_interest(self, symbol: str, params={}):
1321
1341
  """
1322
1342
  Retrieves the open interest of a derivative trading pair
1323
- :see: https://docs.vertexprotocol.com/developer-resources/api/v2/contracts
1343
+
1344
+ https://docs.vertexprotocol.com/developer-resources/api/v2/contracts
1345
+
1324
1346
  :param str symbol: Unified CCXT market symbol
1325
1347
  :param dict [params]: exchange specific parameters
1326
1348
  :returns dict} an open interest structure{@link https://docs.ccxt.com/#/?id=open-interest-structure:
@@ -1402,7 +1424,9 @@ class vertex(Exchange, ImplicitAPI):
1402
1424
  def fetch_tickers(self, symbols: Strings = None, params={}) -> Tickers:
1403
1425
  """
1404
1426
  fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
1405
- :see: https://docs.vertexprotocol.com/developer-resources/api/v2/tickers
1427
+
1428
+ https://docs.vertexprotocol.com/developer-resources/api/v2/tickers
1429
+
1406
1430
  :param str[] [symbols]: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
1407
1431
  :param dict [params]: extra parameters specific to the exchange API endpoint
1408
1432
  :returns dict: a dictionary of `ticker structures <https://docs.ccxt.com/#/?id=ticker-structure>`
@@ -1571,8 +1595,10 @@ class vertex(Exchange, ImplicitAPI):
1571
1595
  def create_order(self, symbol: str, type: OrderType, side: OrderSide, amount: float, price: Num = None, params={}):
1572
1596
  """
1573
1597
  create a trade order
1574
- :see: https://docs.vertexprotocol.com/developer-resources/api/gateway/executes/place-order
1575
- :see: https://docs.vertexprotocol.com/developer-resources/api/trigger/executes/place-order
1598
+
1599
+ https://docs.vertexprotocol.com/developer-resources/api/gateway/executes/place-order
1600
+ https://docs.vertexprotocol.com/developer-resources/api/trigger/executes/place-order
1601
+
1576
1602
  :param str symbol: unified symbol of the market to create an order in
1577
1603
  :param str type: 'market' or 'limit'
1578
1604
  :param str side: 'buy' or 'sell'
@@ -1666,7 +1692,9 @@ class vertex(Exchange, ImplicitAPI):
1666
1692
  def edit_order(self, id: str, symbol: str, type: OrderType, side: OrderSide, amount: Num = None, price: Num = None, params={}):
1667
1693
  """
1668
1694
  edit a trade order
1669
- :see: https://docs.vertexprotocol.com/developer-resources/api/gateway/executes/cancel-and-place
1695
+
1696
+ https://docs.vertexprotocol.com/developer-resources/api/gateway/executes/cancel-and-place
1697
+
1670
1698
  :param str id: cancel order id
1671
1699
  :param str symbol: unified symbol of the market to create an order in
1672
1700
  :param str type: 'market' or 'limit'
@@ -1886,7 +1914,9 @@ class vertex(Exchange, ImplicitAPI):
1886
1914
  def fetch_order(self, id: str, symbol: Str = None, params={}):
1887
1915
  """
1888
1916
  fetches information on an order made by the user
1889
- :see: https://docs.vertexprotocol.com/developer-resources/api/gateway/queries/order
1917
+
1918
+ https://docs.vertexprotocol.com/developer-resources/api/gateway/queries/order
1919
+
1890
1920
  :param str id: the order id
1891
1921
  :param str symbol: unified symbol of the market the order was made in
1892
1922
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -1924,8 +1954,10 @@ class vertex(Exchange, ImplicitAPI):
1924
1954
  def fetch_open_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
1925
1955
  """
1926
1956
  fetch all unfilled currently open orders
1927
- :see: https://docs.vertexprotocol.com/developer-resources/api/gateway/queries/orders
1928
- :see: https://docs.vertexprotocol.com/developer-resources/api/trigger/queries/list-trigger-orders
1957
+
1958
+ https://docs.vertexprotocol.com/developer-resources/api/gateway/queries/orders
1959
+ https://docs.vertexprotocol.com/developer-resources/api/trigger/queries/list-trigger-orders
1960
+
1929
1961
  :param str symbol: unified market symbol
1930
1962
  :param int [since]: the earliest time in ms to fetch open orders for
1931
1963
  :param int [limit]: the maximum number of open orders structures to retrieve
@@ -2035,7 +2067,9 @@ class vertex(Exchange, ImplicitAPI):
2035
2067
  def fetch_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
2036
2068
  """
2037
2069
  fetches information on multiple orders made by the user
2038
- :see: https://docs.vertexprotocol.com/developer-resources/api/trigger/queries/list-trigger-orders
2070
+
2071
+ https://docs.vertexprotocol.com/developer-resources/api/trigger/queries/list-trigger-orders
2072
+
2039
2073
  :param str symbol: unified market symbol
2040
2074
  :param int [since]: the earliest time in ms to fetch open orders for
2041
2075
  :param int [limit]: the maximum number of open orders structures to retrieve
@@ -2115,8 +2149,10 @@ class vertex(Exchange, ImplicitAPI):
2115
2149
 
2116
2150
  def cancel_all_orders(self, symbol: Str = None, params={}):
2117
2151
  """
2118
- :see: https://docs.vertexprotocol.com/developer-resources/api/gateway/executes/cancel-product-orders
2119
- :see: https://docs.vertexprotocol.com/developer-resources/api/trigger/executes/cancel-product-orders
2152
+
2153
+ https://docs.vertexprotocol.com/developer-resources/api/gateway/executes/cancel-product-orders
2154
+ https://docs.vertexprotocol.com/developer-resources/api/trigger/executes/cancel-product-orders
2155
+
2120
2156
  cancel all open orders in a market
2121
2157
  :param str symbol: unified market symbol
2122
2158
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -2194,8 +2230,10 @@ class vertex(Exchange, ImplicitAPI):
2194
2230
  def cancel_order(self, id: str, symbol: Str = None, params={}):
2195
2231
  """
2196
2232
  cancels an open order
2197
- :see: https://docs.vertexprotocol.com/developer-resources/api/gateway/executes/cancel-orders
2198
- :see: https://docs.vertexprotocol.com/developer-resources/api/trigger/executes/cancel-orders
2233
+
2234
+ https://docs.vertexprotocol.com/developer-resources/api/gateway/executes/cancel-orders
2235
+ https://docs.vertexprotocol.com/developer-resources/api/trigger/executes/cancel-orders
2236
+
2199
2237
  :param str id: order id
2200
2238
  :param str symbol: unified symbol of the market the order was made in
2201
2239
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -2206,8 +2244,10 @@ class vertex(Exchange, ImplicitAPI):
2206
2244
  def cancel_orders(self, ids: List[str], symbol: Str = None, params={}):
2207
2245
  """
2208
2246
  cancel multiple orders
2209
- :see: https://docs.vertexprotocol.com/developer-resources/api/gateway/executes/cancel-orders
2210
- :see: https://docs.vertexprotocol.com/developer-resources/api/trigger/executes/cancel-orders
2247
+
2248
+ https://docs.vertexprotocol.com/developer-resources/api/gateway/executes/cancel-orders
2249
+ https://docs.vertexprotocol.com/developer-resources/api/trigger/executes/cancel-orders
2250
+
2211
2251
  :param str[] ids: order ids
2212
2252
  :param str [symbol]: unified market symbol
2213
2253
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -2287,7 +2327,9 @@ class vertex(Exchange, ImplicitAPI):
2287
2327
  def fetch_balance(self, params={}) -> Balances:
2288
2328
  """
2289
2329
  query for balance and get the amount of funds available for trading or funds locked in orders
2290
- :see: https://docs.vertexprotocol.com/developer-resources/api/gateway/queries/subaccount-info
2330
+
2331
+ https://docs.vertexprotocol.com/developer-resources/api/gateway/queries/subaccount-info
2332
+
2291
2333
  :param dict [params]: extra parameters specific to the exchange API endpoint
2292
2334
  :param str [params.user]: user address, will default to self.walletAddress if not provided
2293
2335
  :returns dict: a `balance structure <https://docs.ccxt.com/#/?id=balance-structure>`
@@ -2692,7 +2734,9 @@ class vertex(Exchange, ImplicitAPI):
2692
2734
  def fetch_positions(self, symbols: Strings = None, params={}):
2693
2735
  """
2694
2736
  fetch all open positions
2695
- :see: https://docs.vertexprotocol.com/developer-resources/api/gateway/queries/subaccount-info
2737
+
2738
+ https://docs.vertexprotocol.com/developer-resources/api/gateway/queries/subaccount-info
2739
+
2696
2740
  :param str[] [symbols]: list of unified market symbols
2697
2741
  :param dict [params]: extra parameters specific to the exchange API endpoint
2698
2742
  :param str [params.user]: user address, will default to self.walletAddress if not provided
@@ -2738,7 +2782,9 @@ class vertex(Exchange, ImplicitAPI):
2738
2782
  def withdraw(self, code: str, amount: float, address: str, tag=None, params={}) -> Transaction:
2739
2783
  """
2740
2784
  make a withdrawal
2741
- :see: https://docs.vertexprotocol.com/developer-resources/api/withdrawing-on-chain
2785
+
2786
+ https://docs.vertexprotocol.com/developer-resources/api/withdrawing-on-chain
2787
+
2742
2788
  :param str code: unified currency code
2743
2789
  :param float amount: the amount to withdraw
2744
2790
  :param str address: the address to withdraw to
ccxt/wavesexchange.py CHANGED
@@ -607,7 +607,9 @@ class wavesexchange(Exchange, ImplicitAPI):
607
607
  def fetch_order_book(self, symbol: str, limit: Int = None, params={}) -> OrderBook:
608
608
  """
609
609
  fetches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
610
- :see: https://matcher.waves.exchange/api-docs/index.html#/markets/getOrderBook
610
+
611
+ https://matcher.waves.exchange/api-docs/index.html#/markets/getOrderBook
612
+
611
613
  :param str symbol: unified symbol of the market to fetch the order book for
612
614
  :param int [limit]: the maximum amount of order book entries to return
613
615
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -728,7 +730,9 @@ class wavesexchange(Exchange, ImplicitAPI):
728
730
  def sign_in(self, params={}):
729
731
  """
730
732
  sign in, must be called prior to using other authenticated methods
731
- :see: https://docs.wx.network/en/api/auth/oauth2-token
733
+
734
+ https://docs.wx.network/en/api/auth/oauth2-token
735
+
732
736
  :param dict [params]: extra parameters specific to the exchange API endpoint
733
737
  :returns: response from exchange
734
738
  """
@@ -839,7 +843,9 @@ class wavesexchange(Exchange, ImplicitAPI):
839
843
  def fetch_ticker(self, symbol: str, params={}) -> Ticker:
840
844
  """
841
845
  fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
842
- :see: https://api.wavesplatform.com/v0/docs/#/pairs/getPairsListAll
846
+
847
+ https://api.wavesplatform.com/v0/docs/#/pairs/getPairsListAll
848
+
843
849
  :param str symbol: unified symbol of the market to fetch the ticker for
844
850
  :param dict [params]: extra parameters specific to the exchange API endpoint
845
851
  :returns dict: a `ticker structure <https://docs.ccxt.com/#/?id=ticker-structure>`
@@ -920,7 +926,9 @@ class wavesexchange(Exchange, ImplicitAPI):
920
926
  def fetch_ohlcv(self, symbol: str, timeframe='1m', since: Int = None, limit: Int = None, params={}) -> List[list]:
921
927
  """
922
928
  fetches historical candlestick data containing the open, high, low, and close price, and the volume of a market
923
- :see: https://api.wavesplatform.com/v0/docs/#/candles/getCandles
929
+
930
+ https://api.wavesplatform.com/v0/docs/#/candles/getCandles
931
+
924
932
  :param str symbol: unified symbol of the market to fetch OHLCV data for
925
933
  :param str timeframe: the length of time each candle represents
926
934
  :param int [since]: timestamp in ms of the earliest candle to fetch
@@ -1226,7 +1234,9 @@ class wavesexchange(Exchange, ImplicitAPI):
1226
1234
  def create_order(self, symbol: str, type: OrderType, side: OrderSide, amount: float, price: Num = None, params={}):
1227
1235
  """
1228
1236
  create a trade order
1229
- :see: https://matcher.waves.exchange/api-docs/index.html#/serialize/serializeOrder
1237
+
1238
+ https://matcher.waves.exchange/api-docs/index.html#/serialize/serializeOrder
1239
+
1230
1240
  :param str symbol: unified symbol of the market to create an order in
1231
1241
  :param str type: 'market' or 'limit'
1232
1242
  :param str side: 'buy' or 'sell'
@@ -1396,6 +1406,9 @@ class wavesexchange(Exchange, ImplicitAPI):
1396
1406
  def cancel_order(self, id: str, symbol: Str = None, params={}):
1397
1407
  """
1398
1408
  cancels an open order
1409
+
1410
+ https://matcher.waves.exchange/api-docs/index.html#/cancel/cancelOrdersByIdsWithKeyOrSignature
1411
+
1399
1412
  :param str id: order id
1400
1413
  :param str symbol: unified symbol of the market the order was made in
1401
1414
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -1442,7 +1455,10 @@ class wavesexchange(Exchange, ImplicitAPI):
1442
1455
  def fetch_order(self, id: str, symbol: Str = None, params={}):
1443
1456
  """
1444
1457
  fetches information on an order made by the user
1445
- :see: https://matcher.waves.exchange/api-docs/index.html#/status/getOrderStatusByPKAndIdWithSig
1458
+
1459
+ https://matcher.waves.exchange/api-docs/index.html#/status/getOrderStatusByPKAndIdWithSig
1460
+
1461
+ :param str id: order id
1446
1462
  :param str symbol: unified symbol of the market the order was made in
1447
1463
  :param dict [params]: extra parameters specific to the exchange API endpoint
1448
1464
  :returns dict: An `order structure <https://docs.ccxt.com/#/?id=order-structure>`
@@ -1962,6 +1978,9 @@ class wavesexchange(Exchange, ImplicitAPI):
1962
1978
  def fetch_trades(self, symbol: str, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
1963
1979
  """
1964
1980
  get the list of most recent trades for a particular symbol
1981
+
1982
+ https://api.wavesplatform.com/v0/docs/#/transactions/searchTxsExchange
1983
+
1965
1984
  :param str symbol: unified symbol of the market to fetch trades for
1966
1985
  :param int [since]: timestamp in ms of the earliest trade to fetch
1967
1986
  :param int [limit]: the maximum amount of trades to fetch
@@ -2203,8 +2222,10 @@ class wavesexchange(Exchange, ImplicitAPI):
2203
2222
  def fetch_deposit_withdraw_fees(self, codes: Strings = None, params={}):
2204
2223
  """
2205
2224
  fetch deposit and withdraw fees
2206
- :see: https://docs.wx.network/en/api/gateways/deposit/currencies
2207
- :see: https://docs.wx.network/en/api/gateways/withdraw/currencies
2225
+
2226
+ https://docs.wx.network/en/api/gateways/deposit/currencies
2227
+ https://docs.wx.network/en/api/gateways/withdraw/currencies
2228
+
2208
2229
  :param str[]|None codes: list of unified currency codes
2209
2230
  :param dict [params]: extra parameters specific to the exchange API endpoint
2210
2231
  :returns dict: a list of `fee structures <https://docs.ccxt.com/#/?id=fee-structure>`
ccxt/wazirx.py CHANGED
@@ -221,7 +221,9 @@ class wazirx(Exchange, ImplicitAPI):
221
221
 
222
222
  def fetch_markets(self, params={}) -> List[Market]:
223
223
  """
224
- :see: https://docs.wazirx.com/#exchange-info
224
+
225
+ https://docs.wazirx.com/#exchange-info
226
+
225
227
  retrieves data on all markets for wazirx
226
228
  :param dict [params]: extra parameters specific to the exchange API endpoint
227
229
  :returns dict[]: an array of objects representing market data
@@ -330,7 +332,9 @@ class wazirx(Exchange, ImplicitAPI):
330
332
 
331
333
  def fetch_ohlcv(self, symbol: str, timeframe='1m', since: Int = None, limit: Int = None, params={}) -> List[list]:
332
334
  """
333
- :see: https://docs.wazirx.com/#kline-candlestick-data
335
+
336
+ https://docs.wazirx.com/#kline-candlestick-data
337
+
334
338
  fetches historical candlestick data containing the open, high, low, and close price, and the volume of a market
335
339
  :param str symbol: unified symbol of the market to fetch OHLCV data for
336
340
  :param str timeframe: the length of time each candle represents. Available values [1m,5m,15m,30m,1h,2h,4h,6h,12h,1d,1w]
@@ -378,7 +382,9 @@ class wazirx(Exchange, ImplicitAPI):
378
382
 
379
383
  def fetch_order_book(self, symbol: str, limit: Int = None, params={}) -> OrderBook:
380
384
  """
381
- :see: https://docs.wazirx.com/#order-book
385
+
386
+ https://docs.wazirx.com/#order-book
387
+
382
388
  fetches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
383
389
  :param str symbol: unified symbol of the market to fetch the order book for
384
390
  :param int [limit]: the maximum amount of order book entries to return
@@ -411,7 +417,9 @@ class wazirx(Exchange, ImplicitAPI):
411
417
 
412
418
  def fetch_ticker(self, symbol: str, params={}) -> Ticker:
413
419
  """
414
- :see: https://docs.wazirx.com/#24hr-ticker-price-change-statistics
420
+
421
+ https://docs.wazirx.com/#24hr-ticker-price-change-statistics
422
+
415
423
  fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
416
424
  :param str symbol: unified symbol of the market to fetch the ticker for
417
425
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -442,7 +450,9 @@ class wazirx(Exchange, ImplicitAPI):
442
450
 
443
451
  def fetch_tickers(self, symbols: Strings = None, params={}) -> Tickers:
444
452
  """
445
- :see: https://docs.wazirx.com/#24hr-tickers-price-change-statistics
453
+
454
+ https://docs.wazirx.com/#24hr-tickers-price-change-statistics
455
+
446
456
  fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
447
457
  :param str[]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
448
458
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -477,7 +487,9 @@ class wazirx(Exchange, ImplicitAPI):
477
487
 
478
488
  def fetch_trades(self, symbol: str, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
479
489
  """
480
- :see: https://docs.wazirx.com/#recent-trades-list
490
+
491
+ https://docs.wazirx.com/#recent-trades-list
492
+
481
493
  get the list of most recent trades for a particular symbol
482
494
  :param str symbol: unified symbol of the market to fetch trades for
483
495
  :param int [since]: timestamp in ms of the earliest trade to fetch
@@ -548,7 +560,9 @@ class wazirx(Exchange, ImplicitAPI):
548
560
 
549
561
  def fetch_status(self, params={}):
550
562
  """
551
- :see: https://docs.wazirx.com/#system-status
563
+
564
+ https://docs.wazirx.com/#system-status
565
+
552
566
  the latest known information on the availability of the exchange API
553
567
  :param dict [params]: extra parameters specific to the exchange API endpoint
554
568
  :returns dict: a `status structure <https://docs.ccxt.com/#/?id=exchange-status-structure>`
@@ -571,7 +585,9 @@ class wazirx(Exchange, ImplicitAPI):
571
585
 
572
586
  def fetch_time(self, params={}):
573
587
  """
574
- :see: https://docs.wazirx.com/#check-server-time
588
+
589
+ https://docs.wazirx.com/#check-server-time
590
+
575
591
  fetches the current integer timestamp in milliseconds from the exchange server
576
592
  :param dict [params]: extra parameters specific to the exchange API endpoint
577
593
  :returns int: the current integer timestamp in milliseconds from the exchange server
@@ -648,7 +664,9 @@ class wazirx(Exchange, ImplicitAPI):
648
664
 
649
665
  def fetch_balance(self, params={}) -> Balances:
650
666
  """
651
- :see: https://docs.wazirx.com/#fund-details-user_data
667
+
668
+ https://docs.wazirx.com/#fund-details-user_data
669
+
652
670
  query for balance and get the amount of funds available for trading or funds locked in orders
653
671
  :param dict [params]: extra parameters specific to the exchange API endpoint
654
672
  :returns dict: a `balance structure <https://docs.ccxt.com/#/?id=balance-structure>`
@@ -668,7 +686,9 @@ class wazirx(Exchange, ImplicitAPI):
668
686
 
669
687
  def fetch_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
670
688
  """
671
- :see: https://docs.wazirx.com/#all-orders-user_data
689
+
690
+ https://docs.wazirx.com/#all-orders-user_data
691
+
672
692
  fetches information on multiple orders made by the user
673
693
  :param str symbol: unified market symbol of the market orders were made in
674
694
  :param int [since]: the earliest time in ms to fetch orders for
@@ -723,7 +743,9 @@ class wazirx(Exchange, ImplicitAPI):
723
743
 
724
744
  def fetch_open_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
725
745
  """
726
- :see: https://docs.wazirx.com/#current-open-orders-user_data
746
+
747
+ https://docs.wazirx.com/#current-open-orders-user_data
748
+
727
749
  fetch all unfilled currently open orders
728
750
  :param str symbol: unified market symbol
729
751
  :param int [since]: the earliest time in ms to fetch open orders for
@@ -770,7 +792,9 @@ class wazirx(Exchange, ImplicitAPI):
770
792
 
771
793
  def cancel_all_orders(self, symbol: Str = None, params={}):
772
794
  """
773
- :see: https://docs.wazirx.com/#cancel-all-open-orders-on-a-symbol-trade
795
+
796
+ https://docs.wazirx.com/#cancel-all-open-orders-on-a-symbol-trade
797
+
774
798
  cancel all open orders in a market
775
799
  :param str symbol: unified market symbol of the market to cancel orders in
776
800
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -806,7 +830,9 @@ class wazirx(Exchange, ImplicitAPI):
806
830
 
807
831
  def cancel_order(self, id: str, symbol: Str = None, params={}):
808
832
  """
809
- :see: https://docs.wazirx.com/#cancel-order-trade
833
+
834
+ https://docs.wazirx.com/#cancel-order-trade
835
+
810
836
  cancels an open order
811
837
  :param str id: order id
812
838
  :param str symbol: unified symbol of the market the order was made in
@@ -826,7 +852,9 @@ class wazirx(Exchange, ImplicitAPI):
826
852
 
827
853
  def create_order(self, symbol: str, type: OrderType, side: OrderSide, amount: float, price: Num = None, params={}):
828
854
  """
829
- :see: https://docs.wazirx.com/#new-order-trade
855
+
856
+ https://docs.wazirx.com/#new-order-trade
857
+
830
858
  create a trade order
831
859
  :param str symbol: unified symbol of the market to create an order in
832
860
  :param str type: 'market' or 'limit'
@@ -931,7 +959,9 @@ class wazirx(Exchange, ImplicitAPI):
931
959
  def fetch_currencies(self, params={}) -> Currencies:
932
960
  """
933
961
  fetches all available currencies on an exchange
934
- :see: https://docs.wazirx.com/#all-coins-39-information-user_data
962
+
963
+ https://docs.wazirx.com/#all-coins-39-information-user_data
964
+
935
965
  :param dict [params]: extra parameters specific to the exchange API endpoint
936
966
  :returns dict: an associative dictionary of currencies
937
967
  """
@@ -1072,7 +1102,9 @@ class wazirx(Exchange, ImplicitAPI):
1072
1102
  def fetch_deposit_address(self, code: str, params={}) -> DepositAddress:
1073
1103
  """
1074
1104
  fetch the deposit address for a currency associated with self account
1075
- :see: https://docs.wazirx.com/#deposit-address-supporting-network-user_data
1105
+
1106
+ https://docs.wazirx.com/#deposit-address-supporting-network-user_data
1107
+
1076
1108
  :param str code: unified currency code of the currency for the deposit address
1077
1109
  :param dict [params]: extra parameters specific to the exchange API endpoint
1078
1110
  :param str [params.network]: unified network code, you can get network from fetchCurrencies
@@ -1107,7 +1139,9 @@ class wazirx(Exchange, ImplicitAPI):
1107
1139
  def fetch_withdrawals(self, code: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Transaction]:
1108
1140
  """
1109
1141
  fetch all withdrawals made from an account
1110
- :see: https://docs.wazirx.com/#withdraw-history-supporting-network-user_data
1142
+
1143
+ https://docs.wazirx.com/#withdraw-history-supporting-network-user_data
1144
+
1111
1145
  :param str code: unified currency code
1112
1146
  :param int [since]: the earliest time in ms to fetch withdrawals for
1113
1147
  :param int [limit]: the maximum number of withdrawals structures to retrieve