ccxt 4.1.96__py2.py3-none-any.whl → 4.1.97__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.

Potentially problematic release.


This version of ccxt might be problematic. Click here for more details.

Files changed (145) hide show
  1. ccxt/__init__.py +2 -1
  2. ccxt/abstract/bingx.py +2 -0
  3. ccxt/ace.py +1 -1
  4. ccxt/ascendex.py +1 -1
  5. ccxt/async_support/__init__.py +2 -1
  6. ccxt/async_support/ace.py +1 -1
  7. ccxt/async_support/ascendex.py +1 -1
  8. ccxt/async_support/base/exchange.py +1 -1
  9. ccxt/async_support/bigone.py +2 -2
  10. ccxt/async_support/bingx.py +38 -1
  11. ccxt/async_support/bitfinex.py +1 -1
  12. ccxt/async_support/bitfinex2.py +1 -1
  13. ccxt/async_support/bitflyer.py +2 -2
  14. ccxt/async_support/bitmart.py +1 -1
  15. ccxt/async_support/bitmex.py +2 -2
  16. ccxt/async_support/bitopro.py +1 -1
  17. ccxt/async_support/bitpanda.py +1 -1
  18. ccxt/async_support/bitvavo.py +1 -1
  19. ccxt/async_support/blockchaincom.py +1 -1
  20. ccxt/async_support/btcalpha.py +2 -2
  21. ccxt/async_support/btcbox.py +1 -1
  22. ccxt/async_support/btcmarkets.py +2 -2
  23. ccxt/async_support/btcturk.py +1 -1
  24. ccxt/async_support/bybit.py +2 -2
  25. ccxt/async_support/cex.py +1 -1
  26. ccxt/async_support/coinbasepro.py +2 -2
  27. ccxt/async_support/coinex.py +1 -1
  28. ccxt/async_support/coinlist.py +1 -1
  29. ccxt/async_support/deribit.py +1 -1
  30. ccxt/async_support/digifinex.py +1 -1
  31. ccxt/async_support/gate.py +1 -1
  32. ccxt/async_support/hitbtc.py +1 -1
  33. ccxt/async_support/hollaex.py +2 -2
  34. ccxt/async_support/htx.py +1 -1
  35. ccxt/async_support/huobijp.py +2 -2
  36. ccxt/async_support/idex.py +1 -1
  37. ccxt/async_support/independentreserve.py +1 -1
  38. ccxt/async_support/kraken.py +1 -1
  39. ccxt/async_support/kucoin.py +1 -1
  40. ccxt/async_support/kucoinfutures.py +1 -1
  41. ccxt/async_support/kuna.py +1 -1
  42. ccxt/async_support/latoken.py +1 -1
  43. ccxt/async_support/luno.py +2 -2
  44. ccxt/async_support/lykke.py +1 -1
  45. ccxt/async_support/mexc.py +2 -2
  46. ccxt/async_support/ndax.py +1 -1
  47. ccxt/async_support/novadax.py +2 -2
  48. ccxt/async_support/oceanex.py +1 -1
  49. ccxt/async_support/okcoin.py +1 -1
  50. ccxt/async_support/okx.py +1 -1
  51. ccxt/async_support/poloniexfutures.py +1 -1
  52. ccxt/async_support/probit.py +1 -1
  53. ccxt/async_support/timex.py +1 -1
  54. ccxt/async_support/tokocrypto.py +1 -1
  55. ccxt/async_support/upbit.py +1 -1
  56. ccxt/async_support/wavesexchange.py +1 -1
  57. ccxt/async_support/whitebit.py +1 -1
  58. ccxt/async_support/woo.py +1 -1
  59. ccxt/async_support/zaif.py +1 -1
  60. ccxt/base/errors.py +6 -0
  61. ccxt/base/exchange.py +8 -6
  62. ccxt/bigone.py +2 -2
  63. ccxt/bingx.py +38 -1
  64. ccxt/bitfinex.py +1 -1
  65. ccxt/bitfinex2.py +1 -1
  66. ccxt/bitflyer.py +2 -2
  67. ccxt/bitmart.py +1 -1
  68. ccxt/bitmex.py +2 -2
  69. ccxt/bitopro.py +1 -1
  70. ccxt/bitpanda.py +1 -1
  71. ccxt/bitvavo.py +1 -1
  72. ccxt/blockchaincom.py +1 -1
  73. ccxt/btcalpha.py +2 -2
  74. ccxt/btcbox.py +1 -1
  75. ccxt/btcmarkets.py +2 -2
  76. ccxt/btcturk.py +1 -1
  77. ccxt/bybit.py +2 -2
  78. ccxt/cex.py +1 -1
  79. ccxt/coinbasepro.py +2 -2
  80. ccxt/coinex.py +1 -1
  81. ccxt/coinlist.py +1 -1
  82. ccxt/deribit.py +1 -1
  83. ccxt/digifinex.py +1 -1
  84. ccxt/gate.py +1 -1
  85. ccxt/hitbtc.py +1 -1
  86. ccxt/hollaex.py +2 -2
  87. ccxt/htx.py +1 -1
  88. ccxt/huobijp.py +2 -2
  89. ccxt/idex.py +1 -1
  90. ccxt/independentreserve.py +1 -1
  91. ccxt/kraken.py +1 -1
  92. ccxt/kucoin.py +1 -1
  93. ccxt/kucoinfutures.py +1 -1
  94. ccxt/kuna.py +1 -1
  95. ccxt/latoken.py +1 -1
  96. ccxt/luno.py +2 -2
  97. ccxt/lykke.py +1 -1
  98. ccxt/mexc.py +2 -2
  99. ccxt/ndax.py +1 -1
  100. ccxt/novadax.py +2 -2
  101. ccxt/oceanex.py +1 -1
  102. ccxt/okcoin.py +1 -1
  103. ccxt/okx.py +1 -1
  104. ccxt/poloniexfutures.py +1 -1
  105. ccxt/pro/__init__.py +1 -1
  106. ccxt/pro/alpaca.py +1 -1
  107. ccxt/pro/ascendex.py +1 -1
  108. ccxt/pro/binance.py +2 -2
  109. ccxt/pro/bingx.py +6 -3
  110. ccxt/pro/bitfinex.py +1 -1
  111. ccxt/pro/bitfinex2.py +1 -1
  112. ccxt/pro/bitmex.py +1 -1
  113. ccxt/pro/bitpanda.py +1 -1
  114. ccxt/pro/blockchaincom.py +1 -1
  115. ccxt/pro/bybit.py +2 -2
  116. ccxt/pro/coinbase.py +1 -1
  117. ccxt/pro/coinbasepro.py +1 -1
  118. ccxt/pro/deribit.py +1 -1
  119. ccxt/pro/gate.py +1 -1
  120. ccxt/pro/gemini.py +1 -1
  121. ccxt/pro/hollaex.py +1 -1
  122. ccxt/pro/htx.py +1 -1
  123. ccxt/pro/idex.py +1 -1
  124. ccxt/pro/kraken.py +1 -1
  125. ccxt/pro/krakenfutures.py +1 -1
  126. ccxt/pro/kucoinfutures.py +1 -1
  127. ccxt/pro/mexc.py +1 -1
  128. ccxt/pro/okcoin.py +1 -1
  129. ccxt/pro/okx.py +1 -1
  130. ccxt/pro/phemex.py +1 -1
  131. ccxt/pro/poloniexfutures.py +1 -1
  132. ccxt/probit.py +1 -1
  133. ccxt/test/test_async.py +3 -1
  134. ccxt/test/test_sync.py +3 -1
  135. ccxt/timex.py +1 -1
  136. ccxt/tokocrypto.py +1 -1
  137. ccxt/upbit.py +1 -1
  138. ccxt/wavesexchange.py +1 -1
  139. ccxt/whitebit.py +1 -1
  140. ccxt/woo.py +1 -1
  141. ccxt/zaif.py +1 -1
  142. {ccxt-4.1.96.dist-info → ccxt-4.1.97.dist-info}/METADATA +4 -4
  143. {ccxt-4.1.96.dist-info → ccxt-4.1.97.dist-info}/RECORD +145 -145
  144. {ccxt-4.1.96.dist-info → ccxt-4.1.97.dist-info}/WHEEL +0 -0
  145. {ccxt-4.1.96.dist-info → ccxt-4.1.97.dist-info}/top_level.txt +0 -0
ccxt/__init__.py CHANGED
@@ -22,7 +22,7 @@
22
22
 
23
23
  # ----------------------------------------------------------------------------
24
24
 
25
- __version__ = '4.1.96'
25
+ __version__ = '4.1.97'
26
26
 
27
27
  # ----------------------------------------------------------------------------
28
28
 
@@ -67,6 +67,7 @@ from ccxt.base.errors import OrderNotFillable # noqa: F4
67
67
  from ccxt.base.errors import DuplicateOrderId # noqa: F401
68
68
  from ccxt.base.errors import ContractUnavailable # noqa: F401
69
69
  from ccxt.base.errors import NotSupported # noqa: F401
70
+ from ccxt.base.errors import ProxyError # noqa: F401
70
71
  from ccxt.base.errors import OperationFailed # noqa: F401
71
72
  from ccxt.base.errors import NetworkError # noqa: F401
72
73
  from ccxt.base.errors import DDoSProtection # noqa: F401
ccxt/abstract/bingx.py CHANGED
@@ -20,6 +20,8 @@ class ImplicitAPI:
20
20
  spot_v3_private_get_capital_deposit_hisrec = spotV3PrivateGetCapitalDepositHisrec = Entry('capital/deposit/hisrec', ['spot', 'v3', 'private'], 'GET', {'cost': 3})
21
21
  spot_v3_private_get_capital_withdraw_history = spotV3PrivateGetCapitalWithdrawHistory = Entry('capital/withdraw/history', ['spot', 'v3', 'private'], 'GET', {'cost': 3})
22
22
  spot_v3_private_post_post_asset_transfer = spotV3PrivatePostPostAssetTransfer = Entry('post/asset/transfer', ['spot', 'v3', 'private'], 'POST', {'cost': 3})
23
+ swap_v1_private_get_positionside_dual = swapV1PrivateGetPositionSideDual = Entry('positionSide/dual', ['swap', 'v1', 'private'], 'GET', {'cost': 1})
24
+ swap_v1_private_post_positionside_dual = swapV1PrivatePostPositionSideDual = Entry('positionSide/dual', ['swap', 'v1', 'private'], 'POST', {'cost': 1})
23
25
  swap_v2_public_get_server_time = swapV2PublicGetServerTime = Entry('server/time', ['swap', 'v2', 'public'], 'GET', {'cost': 3})
24
26
  swap_v2_public_get_quote_contracts = swapV2PublicGetQuoteContracts = Entry('quote/contracts', ['swap', 'v2', 'public'], 'GET', {'cost': 1})
25
27
  swap_v2_public_get_quote_price = swapV2PublicGetQuotePrice = Entry('quote/price', ['swap', 'v2', 'public'], 'GET', {'cost': 1})
ccxt/ace.py CHANGED
@@ -673,7 +673,7 @@ class ace(Exchange, ImplicitAPI):
673
673
  :see: https://github.com/ace-exchange/ace-official-api-docs/blob/master/api_v2.md#open-api---order-list
674
674
  :param str symbol: unified market symbol of the market orders were made in
675
675
  :param int [since]: the earliest time in ms to fetch orders for
676
- :param int [limit]: the maximum number of orde structures to retrieve
676
+ :param int [limit]: the maximum number of order structures to retrieve
677
677
  :param dict [params]: extra parameters specific to the exchange API endpoint
678
678
  :returns Order[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
679
679
  """
ccxt/ascendex.py CHANGED
@@ -1894,7 +1894,7 @@ class ascendex(Exchange, ImplicitAPI):
1894
1894
  :see: https://ascendex.github.io/ascendex-futures-pro-api-v2/#list-current-history-orders
1895
1895
  :param str symbol: unified market symbol of the market orders were made in
1896
1896
  :param int [since]: the earliest time in ms to fetch orders for
1897
- :param int [limit]: the maximum number of orde structures to retrieve
1897
+ :param int [limit]: the maximum number of order structures to retrieve
1898
1898
  :param dict [params]: extra parameters specific to the exchange API endpoint
1899
1899
  :param int [params.until]: the latest time in ms to fetch orders for
1900
1900
  :returns Order[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
@@ -4,7 +4,7 @@
4
4
 
5
5
  # -----------------------------------------------------------------------------
6
6
 
7
- __version__ = '4.1.96'
7
+ __version__ = '4.1.97'
8
8
 
9
9
  # -----------------------------------------------------------------------------
10
10
 
@@ -46,6 +46,7 @@ from ccxt.base.errors import OrderNotFillable # noqa: F4
46
46
  from ccxt.base.errors import DuplicateOrderId # noqa: F401
47
47
  from ccxt.base.errors import ContractUnavailable # noqa: F401
48
48
  from ccxt.base.errors import NotSupported # noqa: F401
49
+ from ccxt.base.errors import ProxyError # noqa: F401
49
50
  from ccxt.base.errors import OperationFailed # noqa: F401
50
51
  from ccxt.base.errors import NetworkError # noqa: F401
51
52
  from ccxt.base.errors import DDoSProtection # noqa: F401
ccxt/async_support/ace.py CHANGED
@@ -673,7 +673,7 @@ class ace(Exchange, ImplicitAPI):
673
673
  :see: https://github.com/ace-exchange/ace-official-api-docs/blob/master/api_v2.md#open-api---order-list
674
674
  :param str symbol: unified market symbol of the market orders were made in
675
675
  :param int [since]: the earliest time in ms to fetch orders for
676
- :param int [limit]: the maximum number of orde structures to retrieve
676
+ :param int [limit]: the maximum number of order structures to retrieve
677
677
  :param dict [params]: extra parameters specific to the exchange API endpoint
678
678
  :returns Order[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
679
679
  """
@@ -1894,7 +1894,7 @@ class ascendex(Exchange, ImplicitAPI):
1894
1894
  :see: https://ascendex.github.io/ascendex-futures-pro-api-v2/#list-current-history-orders
1895
1895
  :param str symbol: unified market symbol of the market orders were made in
1896
1896
  :param int [since]: the earliest time in ms to fetch orders for
1897
- :param int [limit]: the maximum number of orde structures to retrieve
1897
+ :param int [limit]: the maximum number of order structures to retrieve
1898
1898
  :param dict [params]: extra parameters specific to the exchange API endpoint
1899
1899
  :param int [params.until]: the latest time in ms to fetch orders for
1900
1900
  :returns Order[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
@@ -2,7 +2,7 @@
2
2
 
3
3
  # -----------------------------------------------------------------------------
4
4
 
5
- __version__ = '4.1.96'
5
+ __version__ = '4.1.97'
6
6
 
7
7
  # -----------------------------------------------------------------------------
8
8
 
@@ -1289,7 +1289,7 @@ class bigone(Exchange, ImplicitAPI):
1289
1289
  fetches information on multiple orders made by the user
1290
1290
  :param str symbol: unified market symbol of the market orders were made in
1291
1291
  :param int [since]: the earliest time in ms to fetch orders for
1292
- :param int [limit]: the maximum number of orde structures to retrieve
1292
+ :param int [limit]: the maximum number of order structures to retrieve
1293
1293
  :param dict [params]: extra parameters specific to the exchange API endpoint
1294
1294
  :returns Order[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
1295
1295
  """
@@ -1414,7 +1414,7 @@ class bigone(Exchange, ImplicitAPI):
1414
1414
  fetches information on multiple closed orders made by the user
1415
1415
  :param str symbol: unified market symbol of the market orders were made in
1416
1416
  :param int [since]: the earliest time in ms to fetch orders for
1417
- :param int [limit]: the maximum number of orde structures to retrieve
1417
+ :param int [limit]: the maximum number of order structures to retrieve
1418
1418
  :param dict [params]: extra parameters specific to the exchange API endpoint
1419
1419
  :returns Order[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
1420
1420
  """
@@ -158,6 +158,16 @@ class bingx(Exchange, ImplicitAPI):
158
158
  },
159
159
  },
160
160
  'swap': {
161
+ 'v1': {
162
+ 'private': {
163
+ 'get': {
164
+ 'positionSide/dual': 1,
165
+ },
166
+ 'post': {
167
+ 'positionSide/dual': 1,
168
+ },
169
+ },
170
+ },
161
171
  'v2': {
162
172
  'public': {
163
173
  'get': {
@@ -2337,7 +2347,7 @@ class bingx(Exchange, ImplicitAPI):
2337
2347
  :see: https://bingx-api.github.io/docs/#/standard/contract-interface.html#Historical%20order
2338
2348
  :param str [symbol]: unified market symbol of the market orders were made in
2339
2349
  :param int [since]: the earliest time in ms to fetch orders for
2340
- :param int [limit]: the maximum number of orde structures to retrieve
2350
+ :param int [limit]: the maximum number of order structures to retrieve
2341
2351
  :param dict [params]: extra parameters specific to the exchange API endpoint
2342
2352
  :param int [params.until]: the latest time in ms to fetch orders for
2343
2353
  :param boolean [params.standard]: whether to fetch standard contract orders
@@ -3212,6 +3222,33 @@ class bingx(Exchange, ImplicitAPI):
3212
3222
  positions.append(position)
3213
3223
  return positions
3214
3224
 
3225
+ async def set_position_mode(self, hedged, symbol: Str = None, params={}):
3226
+ """
3227
+ set hedged to True or False for a market
3228
+ :see: https://bingx-api.github.io/docs/#/en-us/swapV2/trade-api.html#Set%20Position%20Mode
3229
+ :param bool hedged: set to True to use dualSidePosition
3230
+ :param str symbol: not used by bingx setPositionMode()
3231
+ :param dict [params]: extra parameters specific to the exchange API endpoint
3232
+ :returns dict: response from the exchange
3233
+ """
3234
+ dualSidePosition = None
3235
+ if hedged:
3236
+ dualSidePosition = 'true'
3237
+ else:
3238
+ dualSidePosition = 'false'
3239
+ request = {
3240
+ 'dualSidePosition': dualSidePosition,
3241
+ }
3242
+ #
3243
+ # {
3244
+ # code: '0',
3245
+ # msg: '',
3246
+ # timeStamp: '1703327432734',
3247
+ # data: {dualSidePosition: 'false'}
3248
+ # }
3249
+ #
3250
+ return await self.swapV1PrivatePostPositionSideDual(self.extend(request, params))
3251
+
3215
3252
  def sign(self, path, section='public', method='GET', params={}, headers=None, body=None):
3216
3253
  type = section[0]
3217
3254
  version = section[1]
@@ -1181,7 +1181,7 @@ class bitfinex(Exchange, ImplicitAPI):
1181
1181
  fetches information on multiple closed orders made by the user
1182
1182
  :param str symbol: unified market symbol of the market orders were made in
1183
1183
  :param int [since]: the earliest time in ms to fetch orders for
1184
- :param int [limit]: the maximum number of orde structures to retrieve
1184
+ :param int [limit]: the maximum number of order structures to retrieve
1185
1185
  :param dict [params]: extra parameters specific to the exchange API endpoint
1186
1186
  :returns Order[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
1187
1187
  """
@@ -1735,7 +1735,7 @@ class bitfinex2(Exchange, ImplicitAPI):
1735
1735
  :see: https://docs.bitfinex.com/reference/rest-auth-retrieve-orders-by-symbol
1736
1736
  :param str symbol: unified market symbol of the market orders were made in
1737
1737
  :param int [since]: the earliest time in ms to fetch orders for
1738
- :param int [limit]: the maximum number of orde structures to retrieve
1738
+ :param int [limit]: the maximum number of order structures to retrieve
1739
1739
  :param dict [params]: extra parameters specific to the exchange API endpoint
1740
1740
  :param int [params.until]: the latest time in ms to fetch entries for
1741
1741
  :param boolean [params.paginate]: default False, when True will automatically paginate by calling self endpoint multiple times. See in the docs all the [availble parameters](https://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
@@ -620,7 +620,7 @@ class bitflyer(Exchange, ImplicitAPI):
620
620
  :see: https://lightning.bitflyer.com/docs?lang=en#list-orders
621
621
  :param str symbol: unified market symbol of the market orders were made in
622
622
  :param int [since]: the earliest time in ms to fetch orders for
623
- :param int [limit]: the maximum number of orde structures to retrieve
623
+ :param int [limit]: the maximum number of order structures to retrieve
624
624
  :param dict [params]: extra parameters specific to the exchange API endpoint
625
625
  :returns Order[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
626
626
  """
@@ -659,7 +659,7 @@ class bitflyer(Exchange, ImplicitAPI):
659
659
  :see: https://lightning.bitflyer.com/docs?lang=en#list-orders
660
660
  :param str symbol: unified market symbol of the market orders were made in
661
661
  :param int [since]: the earliest time in ms to fetch orders for
662
- :param int [limit]: the maximum number of orde structures to retrieve
662
+ :param int [limit]: the maximum number of order structures to retrieve
663
663
  :param dict [params]: extra parameters specific to the exchange API endpoint
664
664
  :returns Order[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
665
665
  """
@@ -2589,7 +2589,7 @@ class bitmart(Exchange, ImplicitAPI):
2589
2589
  fetches information on multiple closed orders made by the user
2590
2590
  :param str symbol: unified market symbol of the market orders were made in
2591
2591
  :param int [since]: the earliest time in ms to fetch orders for
2592
- :param int [limit]: the maximum number of orde structures to retrieve
2592
+ :param int [limit]: the maximum number of order structures to retrieve
2593
2593
  :param dict [params]: extra parameters specific to the exchange API endpoint
2594
2594
  :param int [params.until]: timestamp in ms of the latest entry
2595
2595
  :param str [params.marginMode]: *spot only* 'cross' or 'isolated', for margin trading
@@ -847,7 +847,7 @@ class bitmex(Exchange, ImplicitAPI):
847
847
  fetches information on multiple orders made by the user
848
848
  :param str symbol: unified market symbol of the market orders were made in
849
849
  :param int [since]: the earliest time in ms to fetch orders for
850
- :param int [limit]: the maximum number of orde structures to retrieve
850
+ :param int [limit]: the maximum number of order structures to retrieve
851
851
  :param dict [params]: extra parameters specific to the exchange API endpoint
852
852
  :param int [params.until]: the earliest time in ms to fetch orders for
853
853
  :param boolean [params.paginate]: default False, when True will automatically paginate by calling self endpoint multiple times. See in the docs all the [availble parameters](https://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
@@ -901,7 +901,7 @@ class bitmex(Exchange, ImplicitAPI):
901
901
  fetches information on multiple closed orders made by the user
902
902
  :param str symbol: unified market symbol of the market orders were made in
903
903
  :param int [since]: the earliest time in ms to fetch orders for
904
- :param int [limit]: the maximum number of orde structures to retrieve
904
+ :param int [limit]: the maximum number of order structures to retrieve
905
905
  :param dict [params]: extra parameters specific to the exchange API endpoint
906
906
  :returns Order[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
907
907
  """
@@ -1203,7 +1203,7 @@ class bitopro(Exchange, ImplicitAPI):
1203
1203
  :see: https://github.com/bitoex/bitopro-offical-api-docs/blob/master/api/v3/private/get_orders_data.md
1204
1204
  :param str symbol: unified market symbol of the market orders were made in
1205
1205
  :param int [since]: the earliest time in ms to fetch orders for
1206
- :param int [limit]: the maximum number of orde structures to retrieve
1206
+ :param int [limit]: the maximum number of order structures to retrieve
1207
1207
  :param dict [params]: extra parameters specific to the exchange API endpoint
1208
1208
  :returns Order[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
1209
1209
  """
@@ -1745,7 +1745,7 @@ class bitpanda(Exchange, ImplicitAPI):
1745
1745
  fetches information on multiple closed orders made by the user
1746
1746
  :param str symbol: unified market symbol of the market orders were made in
1747
1747
  :param int [since]: the earliest time in ms to fetch orders for
1748
- :param int [limit]: the maximum number of orde structures to retrieve
1748
+ :param int [limit]: the maximum number of order structures to retrieve
1749
1749
  :param dict [params]: extra parameters specific to the exchange API endpoint
1750
1750
  :returns Order[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
1751
1751
  """
@@ -1208,7 +1208,7 @@ class bitvavo(Exchange, ImplicitAPI):
1208
1208
  fetches information on multiple orders made by the user
1209
1209
  :param str symbol: unified market symbol of the market orders were made in
1210
1210
  :param int [since]: the earliest time in ms to fetch orders for
1211
- :param int [limit]: the maximum number of orde structures to retrieve
1211
+ :param int [limit]: the maximum number of order structures to retrieve
1212
1212
  :param dict [params]: extra parameters specific to the exchange API endpoint
1213
1213
  :param boolean [params.paginate]: default False, when True will automatically paginate by calling self endpoint multiple times. See in the docs all the [availble parameters](https://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
1214
1214
  :param int [params.until]: the latest time in ms to fetch entries for
@@ -654,7 +654,7 @@ class blockchaincom(Exchange, ImplicitAPI):
654
654
  fetches information on multiple closed orders made by the user
655
655
  :param str symbol: unified market symbol of the market orders were made in
656
656
  :param int [since]: the earliest time in ms to fetch orders for
657
- :param int [limit]: the maximum number of orde structures to retrieve
657
+ :param int [limit]: the maximum number of order structures to retrieve
658
658
  :param dict [params]: extra parameters specific to the exchange API endpoint
659
659
  :returns Order[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
660
660
  """
@@ -761,7 +761,7 @@ class btcalpha(Exchange, ImplicitAPI):
761
761
  fetches information on multiple orders made by the user
762
762
  :param str symbol: unified market symbol of the market orders were made in
763
763
  :param int [since]: the earliest time in ms to fetch orders for
764
- :param int [limit]: the maximum number of orde structures to retrieve
764
+ :param int [limit]: the maximum number of order structures to retrieve
765
765
  :param dict [params]: extra parameters specific to the exchange API endpoint
766
766
  :returns Order[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
767
767
  """
@@ -795,7 +795,7 @@ class btcalpha(Exchange, ImplicitAPI):
795
795
  fetches information on multiple closed orders made by the user
796
796
  :param str symbol: unified market symbol of the market orders were made in
797
797
  :param int [since]: the earliest time in ms to fetch orders for
798
- :param int [limit]: the maximum number of orde structures to retrieve
798
+ :param int [limit]: the maximum number of order structures to retrieve
799
799
  :param dict [params]: extra parameters specific to the exchange API endpoint
800
800
  :returns Order[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
801
801
  """
@@ -466,7 +466,7 @@ class btcbox(Exchange, ImplicitAPI):
466
466
  fetches information on multiple orders made by the user
467
467
  :param str symbol: unified market symbol of the market orders were made in
468
468
  :param int [since]: the earliest time in ms to fetch orders for
469
- :param int [limit]: the maximum number of orde structures to retrieve
469
+ :param int [limit]: the maximum number of order structures to retrieve
470
470
  :param dict [params]: extra parameters specific to the exchange API endpoint
471
471
  :returns Order[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
472
472
  """
@@ -970,7 +970,7 @@ class btcmarkets(Exchange, ImplicitAPI):
970
970
  fetches information on multiple orders made by the user
971
971
  :param str symbol: unified market symbol of the market orders were made in
972
972
  :param int [since]: the earliest time in ms to fetch orders for
973
- :param int [limit]: the maximum number of orde structures to retrieve
973
+ :param int [limit]: the maximum number of order structures to retrieve
974
974
  :param dict [params]: extra parameters specific to the exchange API endpoint
975
975
  :returns Order[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
976
976
  """
@@ -1006,7 +1006,7 @@ class btcmarkets(Exchange, ImplicitAPI):
1006
1006
  fetches information on multiple closed orders made by the user
1007
1007
  :param str symbol: unified market symbol of the market orders were made in
1008
1008
  :param int [since]: the earliest time in ms to fetch orders for
1009
- :param int [limit]: the maximum number of orde structures to retrieve
1009
+ :param int [limit]: the maximum number of order structures to retrieve
1010
1010
  :param dict [params]: extra parameters specific to the exchange API endpoint
1011
1011
  :returns Order[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
1012
1012
  """
@@ -696,7 +696,7 @@ class btcturk(Exchange, ImplicitAPI):
696
696
  fetches information on multiple orders made by the user
697
697
  :param str symbol: unified market symbol of the market orders were made in
698
698
  :param int [since]: the earliest time in ms to fetch orders for
699
- :param int [limit]: the maximum number of orde structures to retrieve
699
+ :param int [limit]: the maximum number of order structures to retrieve
700
700
  :param dict [params]: extra parameters specific to the exchange API endpoint
701
701
  :returns Order[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
702
702
  """
@@ -4141,7 +4141,7 @@ class bybit(Exchange, ImplicitAPI):
4141
4141
  :see: https://bybit-exchange.github.io/docs/v5/order/order-list
4142
4142
  :param str symbol: unified market symbol of the market orders were made in
4143
4143
  :param int [since]: the earliest time in ms to fetch orders for
4144
- :param int [limit]: the maximum number of orde structures to retrieve
4144
+ :param int [limit]: the maximum number of order structures to retrieve
4145
4145
  :param dict [params]: extra parameters specific to the exchange API endpoint
4146
4146
  :param boolean [params.stop]: True if stop order
4147
4147
  :param str [params.type]: market type, ['swap', 'option', 'spot']
@@ -4246,7 +4246,7 @@ class bybit(Exchange, ImplicitAPI):
4246
4246
  :see: https://bybit-exchange.github.io/docs/v5/order/order-list
4247
4247
  :param str symbol: unified market symbol of the market orders were made in
4248
4248
  :param int [since]: the earliest time in ms to fetch orders for
4249
- :param int [limit]: the maximum number of orde structures to retrieve
4249
+ :param int [limit]: the maximum number of order structures to retrieve
4250
4250
  :param dict [params]: extra parameters specific to the exchange API endpoint
4251
4251
  :returns Order[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
4252
4252
  """
ccxt/async_support/cex.py CHANGED
@@ -1261,7 +1261,7 @@ class cex(Exchange, ImplicitAPI):
1261
1261
  fetches information on multiple orders made by the user
1262
1262
  :param str symbol: unified market symbol of the market orders were made in
1263
1263
  :param int [since]: the earliest time in ms to fetch orders for
1264
- :param int [limit]: the maximum number of orde structures to retrieve
1264
+ :param int [limit]: the maximum number of order structures to retrieve
1265
1265
  :param dict [params]: extra parameters specific to the exchange API endpoint
1266
1266
  :returns Order[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
1267
1267
  """
@@ -1083,7 +1083,7 @@ class coinbasepro(Exchange, ImplicitAPI):
1083
1083
  fetches information on multiple orders made by the user
1084
1084
  :param str symbol: unified market symbol of the market orders were made in
1085
1085
  :param int [since]: the earliest time in ms to fetch orders for
1086
- :param int [limit]: the maximum number of orde structures to retrieve
1086
+ :param int [limit]: the maximum number of order structures to retrieve
1087
1087
  :param dict [params]: extra parameters specific to the exchange API endpoint
1088
1088
  :param int [params.until]: the latest time in ms to fetch open orders for
1089
1089
  :returns Order[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
@@ -1132,7 +1132,7 @@ class coinbasepro(Exchange, ImplicitAPI):
1132
1132
  fetches information on multiple closed orders made by the user
1133
1133
  :param str symbol: unified market symbol of the market orders were made in
1134
1134
  :param int [since]: the earliest time in ms to fetch orders for
1135
- :param int [limit]: the maximum number of orde structures to retrieve
1135
+ :param int [limit]: the maximum number of order structures to retrieve
1136
1136
  :param dict [params]: extra parameters specific to the exchange API endpoint
1137
1137
  :param int [params.until]: the latest time in ms to fetch open orders for
1138
1138
  :returns Order[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
@@ -2990,7 +2990,7 @@ class coinex(Exchange, ImplicitAPI):
2990
2990
  :see: https://viabtc.github.io/coinex_api_en_doc/spot/#docsspot003_trade012_finished_order
2991
2991
  :param str symbol: unified market symbol of the market orders were made in
2992
2992
  :param int [since]: the earliest time in ms to fetch orders for
2993
- :param int [limit]: the maximum number of orde structures to retrieve
2993
+ :param int [limit]: the maximum number of order structures to retrieve
2994
2994
  :param dict [params]: extra parameters specific to the exchange API endpoint
2995
2995
  :returns Order[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
2996
2996
  """
@@ -1179,7 +1179,7 @@ class coinlist(Exchange, ImplicitAPI):
1179
1179
  :see: https://trade-docs.coinlist.co/?javascript--nodejs#list-orders
1180
1180
  :param str symbol: unified market symbol of the market orders were made in
1181
1181
  :param int [since]: the earliest time in ms to fetch orders for
1182
- :param int [limit]: the maximum number of orde structures to retrieve(default 200, max 500)
1182
+ :param int [limit]: the maximum number of order structures to retrieve(default 200, max 500)
1183
1183
  :param dict [params]: extra parameters specific to the exchange API endpoint
1184
1184
  :param int [params.until]: the latest time in ms to fetch entries for
1185
1185
  :param string|str[] [params.status]: the status of the order - 'accepted', 'done', 'canceled', 'rejected', 'pending'(default ['accepted', 'done', 'canceled', 'rejected', 'pending'])
@@ -1898,7 +1898,7 @@ class deribit(Exchange, ImplicitAPI):
1898
1898
  fetches information on multiple closed orders made by the user
1899
1899
  :param str symbol: unified market symbol of the market orders were made in
1900
1900
  :param int [since]: the earliest time in ms to fetch orders for
1901
- :param int [limit]: the maximum number of orde structures to retrieve
1901
+ :param int [limit]: the maximum number of order structures to retrieve
1902
1902
  :param dict [params]: extra parameters specific to the exchange API endpoint
1903
1903
  :returns Order[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
1904
1904
  """
@@ -2085,7 +2085,7 @@ class digifinex(Exchange, ImplicitAPI):
2085
2085
  :see: https://docs.digifinex.com/en-ww/swap/v2/rest.html#historyorder
2086
2086
  :param str symbol: unified market symbol of the market orders were made in
2087
2087
  :param int [since]: the earliest time in ms to fetch orders for
2088
- :param int [limit]: the maximum number of orde structures to retrieve
2088
+ :param int [limit]: the maximum number of order structures to retrieve
2089
2089
  :param dict [params]: extra parameters specific to the exchange API endpoint
2090
2090
  :returns Order[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
2091
2091
  """
@@ -4334,7 +4334,7 @@ class gate(Exchange, ImplicitAPI):
4334
4334
  :see: https://www.gate.io/docs/developers/apiv4/en/#list-options-orders
4335
4335
  :param str symbol: unified market symbol of the market orders were made in
4336
4336
  :param int [since]: the earliest time in ms to fetch orders for
4337
- :param int [limit]: the maximum number of orde structures to retrieve
4337
+ :param int [limit]: the maximum number of order structures to retrieve
4338
4338
  :param dict [params]: extra parameters specific to the exchange API endpoint
4339
4339
  :param bool [params.stop]: True for fetching stop orders
4340
4340
  :param str [params.type]: spot, swap or future, if not provided self.options['defaultType'] is used
@@ -1729,7 +1729,7 @@ class hitbtc(Exchange, ImplicitAPI):
1729
1729
  :see: https://api.hitbtc.com/#margin-orders-history
1730
1730
  :param str symbol: unified market symbol of the market orders were made in
1731
1731
  :param int [since]: the earliest time in ms to fetch orders for
1732
- :param int [limit]: the maximum number of orde structures to retrieve
1732
+ :param int [limit]: the maximum number of order structures to retrieve
1733
1733
  :param dict [params]: extra parameters specific to the exchange API endpoint
1734
1734
  :param str [params.marginMode]: 'cross' or 'isolated' only 'isolated' is supported
1735
1735
  :param bool [params.margin]: True for fetching margin orders
@@ -892,7 +892,7 @@ class hollaex(Exchange, ImplicitAPI):
892
892
  fetches information on multiple closed orders made by the user
893
893
  :param str symbol: unified market symbol of the market orders were made in
894
894
  :param int [since]: the earliest time in ms to fetch orders for
895
- :param int [limit]: the maximum number of orde structures to retrieve
895
+ :param int [limit]: the maximum number of order structures to retrieve
896
896
  :param dict [params]: extra parameters specific to the exchange API endpoint
897
897
  :returns Order[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
898
898
  """
@@ -945,7 +945,7 @@ class hollaex(Exchange, ImplicitAPI):
945
945
  fetches information on multiple orders made by the user
946
946
  :param str symbol: unified market symbol of the market orders were made in
947
947
  :param int [since]: the earliest time in ms to fetch orders for
948
- :param int [limit]: the maximum number of orde structures to retrieve
948
+ :param int [limit]: the maximum number of order structures to retrieve
949
949
  :param dict [params]: extra parameters specific to the exchange API endpoint
950
950
  :returns Order[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
951
951
  """
ccxt/async_support/htx.py CHANGED
@@ -3861,7 +3861,7 @@ class htx(Exchange, ImplicitAPI):
3861
3861
  fetches information on multiple closed orders made by the user
3862
3862
  :param str symbol: unified market symbol of the market orders were made in
3863
3863
  :param int [since]: the earliest time in ms to fetch orders for
3864
- :param int [limit]: the maximum number of orde structures to retrieve
3864
+ :param int [limit]: the maximum number of order structures to retrieve
3865
3865
  :param dict [params]: extra parameters specific to the exchange API endpoint
3866
3866
  :param int [params.until]: the latest time in ms to fetch entries for
3867
3867
  :param boolean [params.paginate]: default False, when True will automatically paginate by calling self endpoint multiple times. See in the docs all the [availble parameters](https://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
@@ -1133,7 +1133,7 @@ class huobijp(Exchange, ImplicitAPI):
1133
1133
  fetches information on multiple orders made by the user
1134
1134
  :param str symbol: unified market symbol of the market orders were made in
1135
1135
  :param int [since]: the earliest time in ms to fetch orders for
1136
- :param int [limit]: the maximum number of orde structures to retrieve
1136
+ :param int [limit]: the maximum number of order structures to retrieve
1137
1137
  :param dict [params]: extra parameters specific to the exchange API endpoint
1138
1138
  :returns Order[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
1139
1139
  """
@@ -1161,7 +1161,7 @@ class huobijp(Exchange, ImplicitAPI):
1161
1161
  fetches information on multiple closed orders made by the user
1162
1162
  :param str symbol: unified market symbol of the market orders were made in
1163
1163
  :param int [since]: the earliest time in ms to fetch orders for
1164
- :param int [limit]: the maximum number of orde structures to retrieve
1164
+ :param int [limit]: the maximum number of order structures to retrieve
1165
1165
  :param dict [params]: extra parameters specific to the exchange API endpoint
1166
1166
  :returns Order[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
1167
1167
  """
@@ -885,7 +885,7 @@ class idex(Exchange, ImplicitAPI):
885
885
  fetches information on multiple closed orders made by the user
886
886
  :param str symbol: unified market symbol of the market orders were made in
887
887
  :param int [since]: the earliest time in ms to fetch orders for
888
- :param int [limit]: the maximum number of orde structures to retrieve
888
+ :param int [limit]: the maximum number of order structures to retrieve
889
889
  :param dict [params]: extra parameters specific to the exchange API endpoint
890
890
  :returns Order[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
891
891
  """
@@ -485,7 +485,7 @@ class independentreserve(Exchange, ImplicitAPI):
485
485
  fetches information on multiple closed orders made by the user
486
486
  :param str symbol: unified market symbol of the market orders were made in
487
487
  :param int [since]: the earliest time in ms to fetch orders for
488
- :param int [limit]: the maximum number of orde structures to retrieve
488
+ :param int [limit]: the maximum number of order structures to retrieve
489
489
  :param dict [params]: extra parameters specific to the exchange API endpoint
490
490
  :returns Order[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
491
491
  """
@@ -1954,7 +1954,7 @@ class kraken(Exchange, ImplicitAPI):
1954
1954
  :see: https://docs.kraken.com/rest/#tag/Account-Data/operation/getClosedOrders
1955
1955
  :param str symbol: unified market symbol of the market orders were made in
1956
1956
  :param int [since]: the earliest time in ms to fetch orders for
1957
- :param int [limit]: the maximum number of orde structures to retrieve
1957
+ :param int [limit]: the maximum number of order structures to retrieve
1958
1958
  :param dict [params]: extra parameters specific to the exchange API endpoint
1959
1959
  :param int [params.until]: timestamp in ms of the latest entry
1960
1960
  :returns Order[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
@@ -2308,7 +2308,7 @@ class kucoin(Exchange, ImplicitAPI):
2308
2308
  :see: https://docs.kucoin.com/spot-hf/#obtain-list-of-filled-hf-orders
2309
2309
  :param str symbol: unified market symbol of the market orders were made in
2310
2310
  :param int [since]: the earliest time in ms to fetch orders for
2311
- :param int [limit]: the maximum number of orde structures to retrieve
2311
+ :param int [limit]: the maximum number of order structures to retrieve
2312
2312
  :param dict [params]: extra parameters specific to the exchange API endpoint
2313
2313
  :param int [params.till]: end time in ms
2314
2314
  :param str [params.side]: buy or sell
@@ -1497,7 +1497,7 @@ class kucoinfutures(kucoin, ImplicitAPI):
1497
1497
  :see: https://docs.kucoin.com/futures/#get-order-list
1498
1498
  :param str symbol: unified market symbol of the market orders were made in
1499
1499
  :param int [since]: the earliest time in ms to fetch orders for
1500
- :param int [limit]: the maximum number of orde structures to retrieve
1500
+ :param int [limit]: the maximum number of order structures to retrieve
1501
1501
  :param dict [params]: extra parameters specific to the exchange API endpoint
1502
1502
  :param int [params.till]: end time in ms
1503
1503
  :param str [params.side]: buy or sell
@@ -1225,7 +1225,7 @@ class kuna(Exchange, ImplicitAPI):
1225
1225
  :see: https://docs.kuna.io/docs/get-private-orders-history
1226
1226
  :param str symbol: unified market symbol of the market orders were made in
1227
1227
  :param int [since]: the earliest time in ms to fetch orders for
1228
- :param int [limit]: the maximum number of orde structures to retrieve
1228
+ :param int [limit]: the maximum number of order structures to retrieve
1229
1229
  :param dict [params]: extra parameters specific to the exchange API endpoint
1230
1230
  :param int [params.until]: the latest time in ms to fetch orders for
1231
1231
  *
@@ -1094,7 +1094,7 @@ class latoken(Exchange, ImplicitAPI):
1094
1094
  :see: https://api.latoken.com/doc/v2/#tag/StopOrder/operation/getMyStopOrdersByPair # stop
1095
1095
  :param str symbol: unified market symbol of the market orders were made in
1096
1096
  :param int [since]: the earliest time in ms to fetch orders for
1097
- :param int [limit]: the maximum number of orde structures to retrieve
1097
+ :param int [limit]: the maximum number of order structures to retrieve
1098
1098
  :param dict [params]: extra parameters specific to the exchange API endpoint
1099
1099
  :param boolean [params.trigger]: True if fetching trigger orders
1100
1100
  :returns Order[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
@@ -449,7 +449,7 @@ class luno(Exchange, ImplicitAPI):
449
449
  fetches information on multiple orders made by the user
450
450
  :param str symbol: unified market symbol of the market orders were made in
451
451
  :param int [since]: the earliest time in ms to fetch orders for
452
- :param int [limit]: the maximum number of orde structures to retrieve
452
+ :param int [limit]: the maximum number of order structures to retrieve
453
453
  :param dict [params]: extra parameters specific to the exchange API endpoint
454
454
  :returns Order[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
455
455
  """
@@ -471,7 +471,7 @@ class luno(Exchange, ImplicitAPI):
471
471
  fetches information on multiple closed orders made by the user
472
472
  :param str symbol: unified market symbol of the market orders were made in
473
473
  :param int [since]: the earliest time in ms to fetch orders for
474
- :param int [limit]: the maximum number of orde structures to retrieve
474
+ :param int [limit]: the maximum number of order structures to retrieve
475
475
  :param dict [params]: extra parameters specific to the exchange API endpoint
476
476
  :returns Order[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
477
477
  """