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/woofipro.py CHANGED
@@ -349,7 +349,9 @@ class woofipro(Exchange, ImplicitAPI):
349
349
  def fetch_status(self, params={}):
350
350
  """
351
351
  the latest known information on the availability of the exchange API
352
- :see: https://orderly.network/docs/build-on-evm/evm-api/restful-api/public/get-system-maintenance-status
352
+
353
+ https://orderly.network/docs/build-on-evm/evm-api/restful-api/public/get-system-maintenance-status
354
+
353
355
  :param dict [params]: extra parameters specific to the exchange API endpoint
354
356
  :returns dict: a `status structure <https://docs.ccxt.com/#/?id=exchange-status-structure>`
355
357
  """
@@ -383,7 +385,9 @@ class woofipro(Exchange, ImplicitAPI):
383
385
  def fetch_time(self, params={}):
384
386
  """
385
387
  fetches the current integer timestamp in milliseconds from the exchange server
386
- :see: https://orderly.network/docs/build-on-evm/evm-api/restful-api/public/get-system-maintenance-status
388
+
389
+ https://orderly.network/docs/build-on-evm/evm-api/restful-api/public/get-system-maintenance-status
390
+
387
391
  :param dict [params]: extra parameters specific to the exchange API endpoint
388
392
  :returns int: the current integer timestamp in milliseconds from the exchange server
389
393
  """
@@ -491,7 +495,9 @@ class woofipro(Exchange, ImplicitAPI):
491
495
  def fetch_markets(self, params={}) -> List[Market]:
492
496
  """
493
497
  retrieves data on all markets for woofipro
494
- :see: https://orderly.network/docs/build-on-evm/evm-api/restful-api/public/get-available-symbols
498
+
499
+ https://orderly.network/docs/build-on-evm/evm-api/restful-api/public/get-available-symbols
500
+
495
501
  :param dict [params]: extra parameters specific to the exchange API endpoint
496
502
  :returns dict[]: an array of objects representing market data
497
503
  """
@@ -538,7 +544,9 @@ class woofipro(Exchange, ImplicitAPI):
538
544
  def fetch_currencies(self, params={}) -> Currencies:
539
545
  """
540
546
  fetches all available currencies on an exchange
541
- :see: https://orderly.network/docs/build-on-evm/evm-api/restful-api/public/get-token-info
547
+
548
+ https://orderly.network/docs/build-on-evm/evm-api/restful-api/public/get-token-info
549
+
542
550
  :param dict [params]: extra parameters specific to the exchange API endpoint
543
551
  :returns dict: an associative dictionary of currencies
544
552
  """
@@ -704,7 +712,9 @@ class woofipro(Exchange, ImplicitAPI):
704
712
  def fetch_trades(self, symbol: str, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
705
713
  """
706
714
  get the list of most recent trades for a particular symbol
707
- :see: https://orderly.network/docs/build-on-evm/evm-api/restful-api/public/get-market-trades
715
+
716
+ https://orderly.network/docs/build-on-evm/evm-api/restful-api/public/get-market-trades
717
+
708
718
  :param str symbol: unified symbol of the market to fetch trades for
709
719
  :param int [since]: timestamp in ms of the earliest trade to fetch
710
720
  :param int [limit]: the maximum amount of trades to fetch
@@ -792,7 +802,9 @@ class woofipro(Exchange, ImplicitAPI):
792
802
  def fetch_funding_interval(self, symbol: str, params={}) -> FundingRate:
793
803
  """
794
804
  fetch the current funding rate interval
795
- :see: https://orderly.network/docs/build-on-evm/evm-api/restful-api/public/get-predicted-funding-rate-for-one-market
805
+
806
+ https://orderly.network/docs/build-on-evm/evm-api/restful-api/public/get-predicted-funding-rate-for-one-market
807
+
796
808
  :param str symbol: unified market symbol
797
809
  :param dict [params]: extra parameters specific to the exchange API endpoint
798
810
  :returns dict: a `funding rate structure <https://docs.ccxt.com/#/?id=funding-rate-structure>`
@@ -802,7 +814,9 @@ class woofipro(Exchange, ImplicitAPI):
802
814
  def fetch_funding_rate(self, symbol: str, params={}) -> FundingRate:
803
815
  """
804
816
  fetch the current funding rate
805
- :see: https://orderly.network/docs/build-on-evm/evm-api/restful-api/public/get-predicted-funding-rate-for-one-market
817
+
818
+ https://orderly.network/docs/build-on-evm/evm-api/restful-api/public/get-predicted-funding-rate-for-one-market
819
+
806
820
  :param str symbol: unified market symbol
807
821
  :param dict [params]: extra parameters specific to the exchange API endpoint
808
822
  :returns dict: a `funding rate structure <https://docs.ccxt.com/#/?id=funding-rate-structure>`
@@ -834,7 +848,9 @@ class woofipro(Exchange, ImplicitAPI):
834
848
  def fetch_funding_rates(self, symbols: Strings = None, params={}) -> FundingRates:
835
849
  """
836
850
  fetch the current funding rate for multiple markets
837
- :see: https://orderly.network/docs/build-on-evm/evm-api/restful-api/public/get-predicted-funding-rates-for-all-markets
851
+
852
+ https://orderly.network/docs/build-on-evm/evm-api/restful-api/public/get-predicted-funding-rates-for-all-markets
853
+
838
854
  :param str[] symbols: unified market symbols
839
855
  :param dict [params]: extra parameters specific to the exchange API endpoint
840
856
  :returns dict[]: an array of `funding rate structures <https://docs.ccxt.com/#/?id=funding-rate-structure>`
@@ -867,7 +883,9 @@ class woofipro(Exchange, ImplicitAPI):
867
883
  def fetch_funding_rate_history(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}):
868
884
  """
869
885
  fetches historical funding rate prices
870
- :see: https://orderly.network/docs/build-on-evm/evm-api/restful-api/public/get-funding-rate-history-for-one-market
886
+
887
+ https://orderly.network/docs/build-on-evm/evm-api/restful-api/public/get-funding-rate-history-for-one-market
888
+
871
889
  :param str symbol: unified symbol of the market to fetch the funding rate history for
872
890
  :param int [since]: timestamp in ms of the earliest funding rate to fetch
873
891
  :param int [limit]: the maximum amount of `funding rate structures <https://docs.ccxt.com/#/?id=funding-rate-history-structure>` to fetch
@@ -929,7 +947,9 @@ class woofipro(Exchange, ImplicitAPI):
929
947
  def fetch_trading_fees(self, params={}) -> TradingFees:
930
948
  """
931
949
  fetch the trading fees for multiple markets
932
- :see: https://orderly.network/docs/build-on-evm/evm-api/restful-api/private/get-account-information
950
+
951
+ https://orderly.network/docs/build-on-evm/evm-api/restful-api/private/get-account-information
952
+
933
953
  :param dict [params]: extra parameters specific to the exchange API endpoint
934
954
  :returns dict: a dictionary of `fee structures <https://docs.ccxt.com/#/?id=fee-structure>` indexed by market symbols
935
955
  """
@@ -981,7 +1001,9 @@ class woofipro(Exchange, ImplicitAPI):
981
1001
  def fetch_order_book(self, symbol: str, limit: Int = None, params={}) -> OrderBook:
982
1002
  """
983
1003
  fetches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
984
- :see: https://orderly.network/docs/build-on-evm/evm-api/restful-api/private/orderbook-snapshot
1004
+
1005
+ https://orderly.network/docs/build-on-evm/evm-api/restful-api/private/orderbook-snapshot
1006
+
985
1007
  :param str symbol: unified symbol of the market to fetch the order book for
986
1008
  :param int [limit]: the maximum amount of order book entries to return
987
1009
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -1029,7 +1051,9 @@ class woofipro(Exchange, ImplicitAPI):
1029
1051
 
1030
1052
  def fetch_ohlcv(self, symbol: str, timeframe='1m', since: Int = None, limit: Int = None, params={}) -> List[list]:
1031
1053
  """
1032
- :see: https://orderly.network/docs/build-on-evm/evm-api/restful-api/private/get-kline
1054
+
1055
+ https://orderly.network/docs/build-on-evm/evm-api/restful-api/private/get-kline
1056
+
1033
1057
  fetches historical candlestick data containing the open, high, low, and close price, and the volume of a market
1034
1058
  :param str symbol: unified symbol of the market to fetch OHLCV data for
1035
1059
  :param str timeframe: the length of time each candle represents
@@ -1218,7 +1242,7 @@ class woofipro(Exchange, ImplicitAPI):
1218
1242
 
1219
1243
  def create_order_request(self, symbol: str, type: OrderType, side: OrderSide, amount: float, price: Num = None, params={}):
1220
1244
  """
1221
- * @ignore
1245
+ @ignore
1222
1246
  helper function to build the request
1223
1247
  :param str symbol: unified symbol of the market to create an order in
1224
1248
  :param str type: 'market' or 'limit'
@@ -1305,8 +1329,10 @@ class woofipro(Exchange, ImplicitAPI):
1305
1329
  def create_order(self, symbol: str, type: OrderType, side: OrderSide, amount: float, price: Num = None, params={}):
1306
1330
  """
1307
1331
  create a trade order
1308
- :see: https://orderly.network/docs/build-on-evm/evm-api/restful-api/private/create-order
1309
- :see: https://orderly.network/docs/build-on-evm/evm-api/restful-api/private/create-algo-order
1332
+
1333
+ https://orderly.network/docs/build-on-evm/evm-api/restful-api/private/create-order
1334
+ https://orderly.network/docs/build-on-evm/evm-api/restful-api/private/create-algo-order
1335
+
1310
1336
  :param str symbol: unified symbol of the market to create an order in
1311
1337
  :param str type: 'market' or 'limit'
1312
1338
  :param str side: 'buy' or 'sell'
@@ -1371,8 +1397,11 @@ class woofipro(Exchange, ImplicitAPI):
1371
1397
  def create_orders(self, orders: List[OrderRequest], params={}):
1372
1398
  """
1373
1399
  *contract only* create a list of trade orders
1374
- :see: https://orderly.network/docs/build-on-evm/evm-api/restful-api/private/batch-create-order
1400
+
1401
+ https://orderly.network/docs/build-on-evm/evm-api/restful-api/private/batch-create-order
1402
+
1375
1403
  :param Array orders: list of orders to create, each object should contain the parameters required by createOrder, namely symbol, type, side, amount, price and params
1404
+ :param dict [params]: extra parameters specific to the exchange API endpoint
1376
1405
  :returns dict: an `order structure <https://docs.ccxt.com/#/?id=order-structure>`
1377
1406
  """
1378
1407
  self.load_markets()
@@ -1421,8 +1450,10 @@ class woofipro(Exchange, ImplicitAPI):
1421
1450
  def edit_order(self, id: str, symbol: str, type: OrderType, side: OrderSide, amount: Num = None, price: Num = None, params={}):
1422
1451
  """
1423
1452
  edit a trade order
1424
- :see: https://orderly.network/docs/build-on-evm/evm-api/restful-api/private/edit-order
1425
- :see: https://orderly.network/docs/build-on-evm/evm-api/restful-api/private/edit-algo-order
1453
+
1454
+ https://orderly.network/docs/build-on-evm/evm-api/restful-api/private/edit-order
1455
+ https://orderly.network/docs/build-on-evm/evm-api/restful-api/private/edit-algo-order
1456
+
1426
1457
  :param str id: order id
1427
1458
  :param str symbol: unified symbol of the market to create an order in
1428
1459
  :param str type: 'market' or 'limit'
@@ -1491,10 +1522,12 @@ class woofipro(Exchange, ImplicitAPI):
1491
1522
 
1492
1523
  def cancel_order(self, id: str, symbol: Str = None, params={}):
1493
1524
  """
1494
- :see: https://orderly.network/docs/build-on-evm/evm-api/restful-api/private/cancel-order
1495
- :see: https://orderly.network/docs/build-on-evm/evm-api/restful-api/private/cancel-order-by-client_order_id
1496
- :see: https://orderly.network/docs/build-on-evm/evm-api/restful-api/private/cancel-algo-order
1497
- :see: https://orderly.network/docs/build-on-evm/evm-api/restful-api/private/cancel-algo-order-by-client_order_id
1525
+
1526
+ https://orderly.network/docs/build-on-evm/evm-api/restful-api/private/cancel-order
1527
+ https://orderly.network/docs/build-on-evm/evm-api/restful-api/private/cancel-order-by-client_order_id
1528
+ https://orderly.network/docs/build-on-evm/evm-api/restful-api/private/cancel-algo-order
1529
+ https://orderly.network/docs/build-on-evm/evm-api/restful-api/private/cancel-algo-order-by-client_order_id
1530
+
1498
1531
  cancels an open order
1499
1532
  :param str id: order id
1500
1533
  :param str symbol: unified symbol of the market the order was made in
@@ -1562,8 +1595,10 @@ class woofipro(Exchange, ImplicitAPI):
1562
1595
  def cancel_orders(self, ids: List[str], symbol: Str = None, params={}):
1563
1596
  """
1564
1597
  cancel multiple orders
1565
- :see: https://orderly.network/docs/build-on-evm/evm-api/restful-api/private/batch-cancel-orders
1566
- :see: https://orderly.network/docs/build-on-evm/evm-api/restful-api/private/batch-cancel-orders-by-client_order_id
1598
+
1599
+ https://orderly.network/docs/build-on-evm/evm-api/restful-api/private/batch-cancel-orders
1600
+ https://orderly.network/docs/build-on-evm/evm-api/restful-api/private/batch-cancel-orders-by-client_order_id
1601
+
1567
1602
  :param str[] ids: order ids
1568
1603
  :param str [symbol]: unified market symbol
1569
1604
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -1596,8 +1631,10 @@ class woofipro(Exchange, ImplicitAPI):
1596
1631
 
1597
1632
  def cancel_all_orders(self, symbol: Str = None, params={}):
1598
1633
  """
1599
- :see: https://orderly.network/docs/build-on-evm/evm-api/restful-api/private/cancel-all-pending-algo-orders
1600
- :see: https://orderly.network/docs/build-on-evm/evm-api/restful-api/private/cancel-orders-in-bulk
1634
+
1635
+ https://orderly.network/docs/build-on-evm/evm-api/restful-api/private/cancel-all-pending-algo-orders
1636
+ https://orderly.network/docs/build-on-evm/evm-api/restful-api/private/cancel-orders-in-bulk
1637
+
1601
1638
  cancel all open orders in a market
1602
1639
  :param str symbol: unified market symbol
1603
1640
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -1639,10 +1676,12 @@ class woofipro(Exchange, ImplicitAPI):
1639
1676
 
1640
1677
  def fetch_order(self, id: str, symbol: Str = None, params={}):
1641
1678
  """
1642
- :see: https://orderly.network/docs/build-on-evm/evm-api/restful-api/private/get-order-by-order_id
1643
- :see: https://orderly.network/docs/build-on-evm/evm-api/restful-api/private/get-order-by-client_order_id
1644
- :see: https://orderly.network/docs/build-on-evm/evm-api/restful-api/private/get-algo-order-by-order_id
1645
- :see: https://orderly.network/docs/build-on-evm/evm-api/restful-api/private/get-algo-order-by-client_order_id
1679
+
1680
+ https://orderly.network/docs/build-on-evm/evm-api/restful-api/private/get-order-by-order_id
1681
+ https://orderly.network/docs/build-on-evm/evm-api/restful-api/private/get-order-by-client_order_id
1682
+ https://orderly.network/docs/build-on-evm/evm-api/restful-api/private/get-algo-order-by-order_id
1683
+ https://orderly.network/docs/build-on-evm/evm-api/restful-api/private/get-algo-order-by-client_order_id
1684
+
1646
1685
  fetches information on an order made by the user
1647
1686
  :param str id: the order id
1648
1687
  :param str symbol: unified symbol of the market the order was made in
@@ -1705,8 +1744,10 @@ class woofipro(Exchange, ImplicitAPI):
1705
1744
  def fetch_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
1706
1745
  """
1707
1746
  fetches information on multiple orders made by the user
1708
- :see: https://orderly.network/docs/build-on-evm/evm-api/restful-api/private/get-orders
1709
- :see: https://orderly.network/docs/build-on-evm/evm-api/restful-api/private/get-algo-orders
1747
+
1748
+ https://orderly.network/docs/build-on-evm/evm-api/restful-api/private/get-orders
1749
+ https://orderly.network/docs/build-on-evm/evm-api/restful-api/private/get-algo-orders
1750
+
1710
1751
  :param str symbol: unified market symbol of the market orders were made in
1711
1752
  :param int [since]: the earliest time in ms to fetch orders for
1712
1753
  :param int [limit]: the maximum number of order structures to retrieve
@@ -1786,8 +1827,10 @@ class woofipro(Exchange, ImplicitAPI):
1786
1827
  def fetch_open_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
1787
1828
  """
1788
1829
  fetches information on multiple orders made by the user
1789
- :see: https://orderly.network/docs/build-on-evm/evm-api/restful-api/private/get-orders
1790
- :see: https://orderly.network/docs/build-on-evm/evm-api/restful-api/private/get-algo-orders
1830
+
1831
+ https://orderly.network/docs/build-on-evm/evm-api/restful-api/private/get-orders
1832
+ https://orderly.network/docs/build-on-evm/evm-api/restful-api/private/get-algo-orders
1833
+
1791
1834
  :param str symbol: unified market symbol of the market orders were made in
1792
1835
  :param int [since]: the earliest time in ms to fetch orders for
1793
1836
  :param int [limit]: the maximum number of order structures to retrieve
@@ -1806,8 +1849,10 @@ class woofipro(Exchange, ImplicitAPI):
1806
1849
  def fetch_closed_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
1807
1850
  """
1808
1851
  fetches information on multiple orders made by the user
1809
- :see: https://orderly.network/docs/build-on-evm/evm-api/restful-api/private/get-orders
1810
- :see: https://orderly.network/docs/build-on-evm/evm-api/restful-api/private/get-algo-orders
1852
+
1853
+ https://orderly.network/docs/build-on-evm/evm-api/restful-api/private/get-orders
1854
+ https://orderly.network/docs/build-on-evm/evm-api/restful-api/private/get-algo-orders
1855
+
1811
1856
  :param str symbol: unified market symbol of the market orders were made in
1812
1857
  :param int [since]: the earliest time in ms to fetch orders for
1813
1858
  :param int [limit]: the maximum number of order structures to retrieve
@@ -1826,7 +1871,9 @@ class woofipro(Exchange, ImplicitAPI):
1826
1871
  def fetch_order_trades(self, id: str, symbol: Str = None, since: Int = None, limit: Int = None, params={}):
1827
1872
  """
1828
1873
  fetch all the trades made from a single order
1829
- :see: https://orderly.network/docs/build-on-evm/evm-api/restful-api/private/get-all-trades-of-specific-order
1874
+
1875
+ https://orderly.network/docs/build-on-evm/evm-api/restful-api/private/get-all-trades-of-specific-order
1876
+
1830
1877
  :param str id: order id
1831
1878
  :param str symbol: unified market symbol
1832
1879
  :param int [since]: the earliest time in ms to fetch trades for
@@ -1869,7 +1916,9 @@ class woofipro(Exchange, ImplicitAPI):
1869
1916
 
1870
1917
  def fetch_my_trades(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}):
1871
1918
  """
1872
- :see: https://orderly.network/docs/build-on-evm/evm-api/restful-api/private/get-trades
1919
+
1920
+ https://orderly.network/docs/build-on-evm/evm-api/restful-api/private/get-trades
1921
+
1873
1922
  fetch all trades made by the user
1874
1923
  :param str symbol: unified market symbol
1875
1924
  :param int [since]: the earliest time in ms to fetch trades for
@@ -1944,7 +1993,9 @@ class woofipro(Exchange, ImplicitAPI):
1944
1993
  def fetch_balance(self, params={}) -> Balances:
1945
1994
  """
1946
1995
  query for balance and get the amount of funds available for trading or funds locked in orders
1947
- :see: https://orderly.network/docs/build-on-evm/evm-api/restful-api/private/get-current-holding
1996
+
1997
+ https://orderly.network/docs/build-on-evm/evm-api/restful-api/private/get-current-holding
1998
+
1948
1999
  :param dict [params]: extra parameters specific to the exchange API endpoint
1949
2000
  :returns dict: a `balance structure <https://docs.ccxt.com/#/?id=balance-structure>`
1950
2001
  """
@@ -2049,7 +2100,9 @@ class woofipro(Exchange, ImplicitAPI):
2049
2100
  def fetch_ledger(self, code: Str = None, since: Int = None, limit: Int = None, params={}) -> List[LedgerEntry]:
2050
2101
  """
2051
2102
  fetch the history of changes, actions done by the user or operations that altered the balance of the user
2052
- :see: https://orderly.network/docs/build-on-evm/evm-api/restful-api/private/get-asset-history
2103
+
2104
+ https://orderly.network/docs/build-on-evm/evm-api/restful-api/private/get-asset-history
2105
+
2053
2106
  :param str [code]: unified currency code, default is None
2054
2107
  :param int [since]: timestamp in ms of the earliest ledger entry, default is None
2055
2108
  :param int [limit]: max number of ledger entries to return, default is None
@@ -2105,7 +2158,9 @@ class woofipro(Exchange, ImplicitAPI):
2105
2158
  def fetch_deposits(self, code: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Transaction]:
2106
2159
  """
2107
2160
  fetch all deposits made to an account
2108
- :see: https://orderly.network/docs/build-on-evm/evm-api/restful-api/private/get-asset-history
2161
+
2162
+ https://orderly.network/docs/build-on-evm/evm-api/restful-api/private/get-asset-history
2163
+
2109
2164
  :param str code: unified currency code
2110
2165
  :param int [since]: the earliest time in ms to fetch deposits for
2111
2166
  :param int [limit]: the maximum number of deposits structures to retrieve
@@ -2120,7 +2175,9 @@ class woofipro(Exchange, ImplicitAPI):
2120
2175
  def fetch_withdrawals(self, code: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Transaction]:
2121
2176
  """
2122
2177
  fetch all withdrawals made from an account
2123
- :see: https://orderly.network/docs/build-on-evm/evm-api/restful-api/private/get-asset-history
2178
+
2179
+ https://orderly.network/docs/build-on-evm/evm-api/restful-api/private/get-asset-history
2180
+
2124
2181
  :param str code: unified currency code
2125
2182
  :param int [since]: the earliest time in ms to fetch withdrawals for
2126
2183
  :param int [limit]: the maximum number of withdrawals structures to retrieve
@@ -2135,7 +2192,9 @@ class woofipro(Exchange, ImplicitAPI):
2135
2192
  def fetch_deposits_withdrawals(self, code: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Transaction]:
2136
2193
  """
2137
2194
  fetch history of deposits and withdrawals
2138
- :see: https://orderly.network/docs/build-on-evm/evm-api/restful-api/private/get-asset-history
2195
+
2196
+ https://orderly.network/docs/build-on-evm/evm-api/restful-api/private/get-asset-history
2197
+
2139
2198
  :param str [code]: unified currency code for the currency of the deposit/withdrawals, default is None
2140
2199
  :param int [since]: timestamp in ms of the earliest deposit/withdrawal, default is None
2141
2200
  :param int [limit]: max number of deposit/withdrawals to return, default is None
@@ -2187,7 +2246,9 @@ class woofipro(Exchange, ImplicitAPI):
2187
2246
  def withdraw(self, code: str, amount: float, address: str, tag=None, params={}) -> Transaction:
2188
2247
  """
2189
2248
  make a withdrawal
2190
- :see: https://orderly.network/docs/build-on-evm/evm-api/restful-api/private/create-withdraw-request
2249
+
2250
+ https://orderly.network/docs/build-on-evm/evm-api/restful-api/private/create-withdraw-request
2251
+
2191
2252
  :param str code: unified currency code
2192
2253
  :param float amount: the amount to withdraw
2193
2254
  :param str address: the address to withdraw to
@@ -2272,7 +2333,9 @@ class woofipro(Exchange, ImplicitAPI):
2272
2333
  def fetch_leverage(self, symbol: str, params={}) -> Leverage:
2273
2334
  """
2274
2335
  fetch the set leverage for a market
2275
- :see: https://orderly.network/docs/build-on-evm/evm-api/restful-api/private/get-account-information
2336
+
2337
+ https://orderly.network/docs/build-on-evm/evm-api/restful-api/private/get-account-information
2338
+
2276
2339
  :param str symbol: unified market symbol
2277
2340
  :param dict [params]: extra parameters specific to the exchange API endpoint
2278
2341
  :returns dict: a `leverage structure <https://docs.ccxt.com/#/?id=leverage-structure>`
@@ -2313,7 +2376,10 @@ class woofipro(Exchange, ImplicitAPI):
2313
2376
  def set_leverage(self, leverage: Int, symbol: Str = None, params={}):
2314
2377
  """
2315
2378
  set the level of leverage for a market
2316
- :see: https://orderly.network/docs/build-on-evm/evm-api/restful-api/private/update-leverage-setting
2379
+
2380
+ https://orderly.network/docs/build-on-evm/evm-api/restful-api/private/update-leverage-setting
2381
+
2382
+ @param leverage
2317
2383
  :param str symbol: unified market symbol
2318
2384
  :param dict [params]: extra parameters specific to the exchange API endpoint
2319
2385
  :returns dict: response from the exchange
@@ -2397,7 +2463,9 @@ class woofipro(Exchange, ImplicitAPI):
2397
2463
 
2398
2464
  def fetch_position(self, symbol: Str = None, params={}):
2399
2465
  """
2400
- :see: https://orderly.network/docs/build-on-evm/evm-api/restful-api/private/get-one-position-info
2466
+
2467
+ https://orderly.network/docs/build-on-evm/evm-api/restful-api/private/get-one-position-info
2468
+
2401
2469
  fetch data on an open position
2402
2470
  :param str symbol: unified market symbol of the market the position is held in
2403
2471
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -2441,10 +2509,11 @@ class woofipro(Exchange, ImplicitAPI):
2441
2509
  def fetch_positions(self, symbols: Strings = None, params={}):
2442
2510
  """
2443
2511
  fetch all open positions
2444
- :see: https://orderly.network/docs/build-on-evm/evm-api/restful-api/private/get-all-positions-info
2512
+
2513
+ https://orderly.network/docs/build-on-evm/evm-api/restful-api/private/get-all-positions-info
2514
+
2445
2515
  :param str[] [symbols]: list of unified market symbols
2446
2516
  :param dict [params]: extra parameters specific to the exchange API endpoint
2447
- :param str [method]: method name to call, "positionRisk", "account" or "option", default is "positionRisk"
2448
2517
  :returns dict[]: a list of `position structure <https://docs.ccxt.com/#/?id=position-structure>`
2449
2518
  """
2450
2519
  self.load_markets()