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/digifinex.py CHANGED
@@ -2084,7 +2084,7 @@ class digifinex(Exchange, ImplicitAPI):
2084
2084
  :see: https://docs.digifinex.com/en-ww/swap/v2/rest.html#historyorder
2085
2085
  :param str symbol: unified market symbol of the market orders were made in
2086
2086
  :param int [since]: the earliest time in ms to fetch orders for
2087
- :param int [limit]: the maximum number of orde structures to retrieve
2087
+ :param int [limit]: the maximum number of order structures to retrieve
2088
2088
  :param dict [params]: extra parameters specific to the exchange API endpoint
2089
2089
  :returns Order[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
2090
2090
  """
ccxt/gate.py CHANGED
@@ -4333,7 +4333,7 @@ class gate(Exchange, ImplicitAPI):
4333
4333
  :see: https://www.gate.io/docs/developers/apiv4/en/#list-options-orders
4334
4334
  :param str symbol: unified market symbol of the market orders were made in
4335
4335
  :param int [since]: the earliest time in ms to fetch orders for
4336
- :param int [limit]: the maximum number of orde structures to retrieve
4336
+ :param int [limit]: the maximum number of order structures to retrieve
4337
4337
  :param dict [params]: extra parameters specific to the exchange API endpoint
4338
4338
  :param bool [params.stop]: True for fetching stop orders
4339
4339
  :param str [params.type]: spot, swap or future, if not provided self.options['defaultType'] is used
ccxt/hitbtc.py CHANGED
@@ -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
ccxt/hollaex.py CHANGED
@@ -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/htx.py CHANGED
@@ -3860,7 +3860,7 @@ class htx(Exchange, ImplicitAPI):
3860
3860
  fetches information on multiple closed orders made by the user
3861
3861
  :param str symbol: unified market symbol of the market orders were made in
3862
3862
  :param int [since]: the earliest time in ms to fetch orders for
3863
- :param int [limit]: the maximum number of orde structures to retrieve
3863
+ :param int [limit]: the maximum number of order structures to retrieve
3864
3864
  :param dict [params]: extra parameters specific to the exchange API endpoint
3865
3865
  :param int [params.until]: the latest time in ms to fetch entries for
3866
3866
  :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)
ccxt/huobijp.py CHANGED
@@ -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
  """
ccxt/idex.py CHANGED
@@ -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
  """
ccxt/kraken.py CHANGED
@@ -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>`
ccxt/kucoin.py CHANGED
@@ -2307,7 +2307,7 @@ class kucoin(Exchange, ImplicitAPI):
2307
2307
  :see: https://docs.kucoin.com/spot-hf/#obtain-list-of-filled-hf-orders
2308
2308
  :param str symbol: unified market symbol of the market orders were made in
2309
2309
  :param int [since]: the earliest time in ms to fetch orders for
2310
- :param int [limit]: the maximum number of orde structures to retrieve
2310
+ :param int [limit]: the maximum number of order structures to retrieve
2311
2311
  :param dict [params]: extra parameters specific to the exchange API endpoint
2312
2312
  :param int [params.till]: end time in ms
2313
2313
  :param str [params.side]: buy or sell
ccxt/kucoinfutures.py CHANGED
@@ -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
ccxt/kuna.py CHANGED
@@ -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
  *
ccxt/latoken.py CHANGED
@@ -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>`
ccxt/luno.py CHANGED
@@ -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
  """
ccxt/lykke.py CHANGED
@@ -943,7 +943,7 @@ class lykke(Exchange, ImplicitAPI):
943
943
  fetches information on multiple closed orders made by the user
944
944
  :param str symbol: unified market symbol of the market orders were made in
945
945
  :param int [since]: the earliest time in ms to fetch orders for
946
- :param int [limit]: the maximum number of orde structures to retrieve
946
+ :param int [limit]: the maximum number of order structures to retrieve
947
947
  :param dict [params]: extra parameters specific to the exchange API endpoint
948
948
  :returns Order[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
949
949
  """
ccxt/mexc.py CHANGED
@@ -2375,7 +2375,7 @@ class mexc(Exchange, ImplicitAPI):
2375
2375
  fetches information on multiple orders made by the user
2376
2376
  :param str symbol: unified market symbol of the market orders were made in
2377
2377
  :param int [since]: the earliest time in ms to fetch orders for
2378
- :param int [limit]: the maximum number of orde structures to retrieve
2378
+ :param int [limit]: the maximum number of order structures to retrieve
2379
2379
  :param dict [params]: extra parameters specific to the exchange API endpoint
2380
2380
  :param str [params.marginMode]: only 'isolated' is supported, for spot-margin trading
2381
2381
  :returns Order[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
@@ -2670,7 +2670,7 @@ class mexc(Exchange, ImplicitAPI):
2670
2670
  fetches information on multiple closed orders made by the user
2671
2671
  :param str symbol: unified market symbol of the market orders were made in
2672
2672
  :param int [since]: the earliest time in ms to fetch orders for
2673
- :param int [limit]: the maximum number of orde structures to retrieve
2673
+ :param int [limit]: the maximum number of order structures to retrieve
2674
2674
  :param dict [params]: extra parameters specific to the exchange API endpoint
2675
2675
  :returns Order[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
2676
2676
  """
ccxt/ndax.py CHANGED
@@ -1609,7 +1609,7 @@ class ndax(Exchange, ImplicitAPI):
1609
1609
  fetches information on multiple orders made by the user
1610
1610
  :param str symbol: unified market symbol of the market orders were made in
1611
1611
  :param int [since]: the earliest time in ms to fetch orders for
1612
- :param int [limit]: the maximum number of orde structures to retrieve
1612
+ :param int [limit]: the maximum number of order structures to retrieve
1613
1613
  :param dict [params]: extra parameters specific to the exchange API endpoint
1614
1614
  :returns Order[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
1615
1615
  """
ccxt/novadax.py CHANGED
@@ -872,7 +872,7 @@ class novadax(Exchange, ImplicitAPI):
872
872
  :see: https://doc.novadax.com/en-US/#get-order-history
873
873
  :param str symbol: unified market symbol of the market orders were made in
874
874
  :param int [since]: the earliest time in ms to fetch orders for
875
- :param int [limit]: the maximum number of orde structures to retrieve
875
+ :param int [limit]: the maximum number of order structures to retrieve
876
876
  :param dict [params]: extra parameters specific to the exchange API endpoint
877
877
  :returns Order[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
878
878
  """
@@ -942,7 +942,7 @@ class novadax(Exchange, ImplicitAPI):
942
942
  :see: https://doc.novadax.com/en-US/#get-order-history
943
943
  :param str symbol: unified market symbol of the market orders were made in
944
944
  :param int [since]: the earliest time in ms to fetch orders for
945
- :param int [limit]: the maximum number of orde structures to retrieve
945
+ :param int [limit]: the maximum number of order structures to retrieve
946
946
  :param dict [params]: extra parameters specific to the exchange API endpoint
947
947
  :returns Order[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
948
948
  """
ccxt/oceanex.py CHANGED
@@ -667,7 +667,7 @@ class oceanex(Exchange, ImplicitAPI):
667
667
  :see: https://api.oceanex.pro/doc/v1/#order-status-get
668
668
  :param str symbol: unified market symbol of the market orders were made in
669
669
  :param int [since]: the earliest time in ms to fetch orders for
670
- :param int [limit]: the maximum number of orde structures to retrieve
670
+ :param int [limit]: the maximum number of order structures to retrieve
671
671
  :param dict [params]: extra parameters specific to the exchange API endpoint
672
672
  :returns Order[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
673
673
  """
ccxt/okcoin.py CHANGED
@@ -1918,7 +1918,7 @@ class okcoin(Exchange, ImplicitAPI):
1918
1918
  fetches information on multiple closed orders made by the user
1919
1919
  :param str symbol: unified market symbol of the market orders were made in
1920
1920
  :param int [since]: the earliest time in ms to fetch orders for
1921
- :param int [limit]: the maximum number of orde structures to retrieve
1921
+ :param int [limit]: the maximum number of order structures to retrieve
1922
1922
  :param dict [params]: extra parameters specific to the exchange API endpoint
1923
1923
  :param bool [params.stop]: True if fetching trigger or conditional orders
1924
1924
  :param str [params.ordType]: "conditional", "oco", "trigger", "move_order_stop", "iceberg", or "twap"
ccxt/okx.py CHANGED
@@ -3675,7 +3675,7 @@ class okx(Exchange, ImplicitAPI):
3675
3675
  :see: https://www.okx.com/docs-v5/en/#order-book-trading-algo-trading-get-algo-order-history
3676
3676
  :param str symbol: unified market symbol of the market orders were made in
3677
3677
  :param int [since]: the earliest time in ms to fetch orders for
3678
- :param int [limit]: the maximum number of orde structures to retrieve
3678
+ :param int [limit]: the maximum number of order structures to retrieve
3679
3679
  :param dict [params]: extra parameters specific to the exchange API endpoint
3680
3680
  :param bool [params.stop]: True if fetching trigger or conditional orders
3681
3681
  :param str [params.ordType]: "conditional", "oco", "trigger", "move_order_stop", "iceberg", or "twap"
ccxt/poloniexfutures.py CHANGED
@@ -1301,7 +1301,7 @@ class poloniexfutures(Exchange, ImplicitAPI):
1301
1301
  :see: https://futures-docs.poloniex.com/#get-untriggered-stop-order-list
1302
1302
  :param str symbol: unified market symbol of the market orders were made in
1303
1303
  :param int [since]: the earliest time in ms to fetch orders for
1304
- :param int [limit]: the maximum number of orde structures to retrieve
1304
+ :param int [limit]: the maximum number of order structures to retrieve
1305
1305
  :param dict [params]: extra parameters specific to the exchange API endpoint
1306
1306
  :param int [params.till]: end time in ms
1307
1307
  :param str [params.side]: buy or sell
ccxt/pro/__init__.py CHANGED
@@ -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
 
ccxt/pro/alpaca.py CHANGED
@@ -332,7 +332,7 @@ class alpaca(ccxt.async_support.alpaca):
332
332
  watches information on multiple orders made by the user
333
333
  :param str symbol: unified market symbol of the market orders were made in
334
334
  :param int [since]: the earliest time in ms to fetch orders for
335
- :param int [limit]: the maximum number of orde structures to retrieve
335
+ :param int [limit]: the maximum number of order structures to retrieve
336
336
  :param dict [params]: extra parameters specific to the exchange API endpoint
337
337
  :returns dict[]: a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure
338
338
  """
ccxt/pro/ascendex.py CHANGED
@@ -450,7 +450,7 @@ class ascendex(ccxt.async_support.ascendex):
450
450
  watches information on multiple orders made by the user
451
451
  :param str symbol: unified market symbol of the market orders were made in
452
452
  :param int [since]: the earliest time in ms to fetch orders for
453
- :param int [limit]: the maximum number of orde structures to retrieve
453
+ :param int [limit]: the maximum number of order structures to retrieve
454
454
  :param dict [params]: extra parameters specific to the exchange API endpoint
455
455
  :returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
456
456
  """
ccxt/pro/binance.py CHANGED
@@ -1772,7 +1772,7 @@ class binance(ccxt.async_support.binance):
1772
1772
  watches information on multiple orders made by the user
1773
1773
  :param str symbol: unified market symbol of the market orders were made in
1774
1774
  :param int [since]: the earliest time in ms to fetch orders for
1775
- :param int [limit]: the maximum number of orde structures to retrieve
1775
+ :param int [limit]: the maximum number of order structures to retrieve
1776
1776
  :param dict [params]: extra parameters specific to the exchange API endpoint
1777
1777
  :returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
1778
1778
  """
@@ -2287,7 +2287,7 @@ class binance(ccxt.async_support.binance):
2287
2287
  watches information on multiple trades made by the user
2288
2288
  :param str symbol: unified market symbol of the market orders were made in
2289
2289
  :param int [since]: the earliest time in ms to fetch orders for
2290
- :param int [limit]: the maximum number of orde structures to retrieve
2290
+ :param int [limit]: the maximum number of order structures to retrieve
2291
2291
  :param dict [params]: extra parameters specific to the exchange API endpoint
2292
2292
  :returns dict[]: a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure
2293
2293
  """
ccxt/pro/bingx.py CHANGED
@@ -85,7 +85,7 @@ class bingx(ccxt.async_support.bingx):
85
85
  :see: https://bingx-api.github.io/docs/#/swapV2/socket/market.html#Subscribe%20the%20Latest%20Trade%20Detail
86
86
  :param str symbol: unified market symbol of the market orders were made in
87
87
  :param int [since]: the earliest time in ms to fetch orders for
88
- :param int [limit]: the maximum number of orde structures to retrieve
88
+ :param int [limit]: the maximum number of order structures to retrieve
89
89
  :param dict [params]: extra parameters specific to the exchange API endpoint
90
90
  :returns dict[]: a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure
91
91
  """
@@ -295,8 +295,11 @@ class bingx(ccxt.async_support.bingx):
295
295
  # "t": 1696687440000
296
296
  # }
297
297
  #
298
+ # for spot, opening-time(t) is used instead of closing-time(T), to be compatible with fetchOHLCV
299
+ # for swap,(T) is the opening time
300
+ timestamp = 't' if (market['spot']) else 'T'
298
301
  return [
299
- self.safe_integer(ohlcv, 't'), # needs to be opening-time(t) instead of closing-time(T), to be compatible with fetchOHLCV
302
+ self.safe_integer(ohlcv, timestamp),
300
303
  self.safe_number(ohlcv, 'o'),
301
304
  self.safe_number(ohlcv, 'h'),
302
305
  self.safe_number(ohlcv, 'l'),
@@ -413,7 +416,7 @@ class bingx(ccxt.async_support.bingx):
413
416
  watches information on multiple orders made by the user
414
417
  :param str symbol: unified market symbol of the market orders were made in
415
418
  :param int [since]: the earliest time in ms to fetch orders for
416
- :param int [limit]: the maximum number of orde structures to retrieve
419
+ :param int [limit]: the maximum number of order structures to retrieve
417
420
  :param dict [params]: extra parameters specific to the exchange API endpoint
418
421
  :returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
419
422
  """
ccxt/pro/bitfinex.py CHANGED
@@ -429,7 +429,7 @@ class bitfinex(ccxt.async_support.bitfinex):
429
429
  watches information on multiple orders made by the user
430
430
  :param str symbol: unified market symbol of the market orders were made in
431
431
  :param int [since]: the earliest time in ms to fetch orders for
432
- :param int [limit]: the maximum number of orde structures to retrieve
432
+ :param int [limit]: the maximum number of order structures to retrieve
433
433
  :param dict [params]: extra parameters specific to the exchange API endpoint
434
434
  :returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
435
435
  """
ccxt/pro/bitfinex2.py CHANGED
@@ -828,7 +828,7 @@ class bitfinex2(ccxt.async_support.bitfinex2):
828
828
  watches information on multiple orders made by the user
829
829
  :param str symbol: unified market symbol of the market orders were made in
830
830
  :param int [since]: the earliest time in ms to fetch orders for
831
- :param int [limit]: the maximum number of orde structures to retrieve
831
+ :param int [limit]: the maximum number of order structures to retrieve
832
832
  :param dict [params]: extra parameters specific to the exchange API endpoint
833
833
  :returns dict[]: a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure
834
834
  """
ccxt/pro/bitmex.py CHANGED
@@ -786,7 +786,7 @@ class bitmex(ccxt.async_support.bitmex):
786
786
  watches information on multiple orders made by the user
787
787
  :param str symbol: unified market symbol of the market orders were made in
788
788
  :param int [since]: the earliest time in ms to fetch orders for
789
- :param int [limit]: the maximum number of orde structures to retrieve
789
+ :param int [limit]: the maximum number of order structures to retrieve
790
790
  :param dict [params]: extra parameters specific to the exchange API endpoint
791
791
  :returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
792
792
  """
ccxt/pro/bitpanda.py CHANGED
@@ -406,7 +406,7 @@ class bitpanda(ccxt.async_support.bitpanda):
406
406
  watches information on multiple orders made by the user
407
407
  :param str symbol: unified market symbol of the market orders were made in
408
408
  :param int [since]: the earliest time in ms to fetch orders for
409
- :param int [limit]: the maximum number of orde structures to retrieve
409
+ :param int [limit]: the maximum number of order structures to retrieve
410
410
  :param dict [params]: extra parameters specific to the exchange API endpoint
411
411
  :param str [params.channel]: can listen to orders using ACCOUNT_HISTORY or TRADING
412
412
  :returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
ccxt/pro/blockchaincom.py CHANGED
@@ -398,7 +398,7 @@ class blockchaincom(ccxt.async_support.blockchaincom):
398
398
  :see: https://exchange.blockchain.com/api/#mass-order-status-request-ordermassstatusrequest
399
399
  :param str symbol: unified market symbol of the market orders were made in
400
400
  :param int [since]: the earliest time in ms to fetch orders for
401
- :param int [limit]: the maximum number of orde structures to retrieve
401
+ :param int [limit]: the maximum number of order structures to retrieve
402
402
  :param dict [params]: extra parameters specific to the exchange API endpoint
403
403
  :returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
404
404
  """
ccxt/pro/bybit.py CHANGED
@@ -740,7 +740,7 @@ class bybit(ccxt.async_support.bybit):
740
740
  :see: https://bybit-exchange.github.io/docs/v5/websocket/private/execution
741
741
  :param str symbol: unified market symbol of the market orders were made in
742
742
  :param int [since]: the earliest time in ms to fetch orders for
743
- :param int [limit]: the maximum number of orde structures to retrieve
743
+ :param int [limit]: the maximum number of order structures to retrieve
744
744
  :param dict [params]: extra parameters specific to the exchange API endpoint
745
745
  :param boolean [params.unifiedMargin]: use unified margin account
746
746
  :returns dict[]: a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure
@@ -982,7 +982,7 @@ class bybit(ccxt.async_support.bybit):
982
982
  :see: https://bybit-exchange.github.io/docs/v5/websocket/private/order
983
983
  :param str symbol: unified market symbol of the market orders were made in
984
984
  :param int [since]: the earliest time in ms to fetch orders for
985
- :param int [limit]: the maximum number of orde structures to retrieve
985
+ :param int [limit]: the maximum number of order structures to retrieve
986
986
  :param dict [params]: extra parameters specific to the exchange API endpoint
987
987
  :returns dict[]: a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure
988
988
  """
ccxt/pro/coinbase.py CHANGED
@@ -256,7 +256,7 @@ class coinbase(ccxt.async_support.coinbase):
256
256
  :see: https://docs.cloud.coinbase.com/advanced-trade-api/docs/ws-channels#user-channel
257
257
  :param str [symbol]: unified market symbol of the market orders were made in
258
258
  :param int [since]: the earliest time in ms to fetch orders for
259
- :param int [limit]: the maximum number of orde structures to retrieve
259
+ :param int [limit]: the maximum number of order structures to retrieve
260
260
  :param dict [params]: extra parameters specific to the exchange API endpoint
261
261
  :returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
262
262
  """
ccxt/pro/coinbasepro.py CHANGED
@@ -249,7 +249,7 @@ class coinbasepro(ccxt.async_support.coinbasepro):
249
249
  watches information on multiple orders made by the user
250
250
  :param str symbol: unified market symbol of the market orders were made in
251
251
  :param int [since]: the earliest time in ms to fetch orders for
252
- :param int [limit]: the maximum number of orde structures to retrieve
252
+ :param int [limit]: the maximum number of order structures to retrieve
253
253
  :param dict [params]: extra parameters specific to the exchange API endpoint
254
254
  :returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
255
255
  """
ccxt/pro/deribit.py CHANGED
@@ -492,7 +492,7 @@ class deribit(ccxt.async_support.deribit):
492
492
  watches information on multiple orders made by the user
493
493
  :param str symbol: unified market symbol of the market orders were made in
494
494
  :param int [since]: the earliest time in ms to fetch orders for
495
- :param int [limit]: the maximum number of orde structures to retrieve
495
+ :param int [limit]: the maximum number of order structures to retrieve
496
496
  :param dict [params]: extra parameters specific to the exchange API endpoint
497
497
  :returns dict[]: a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure
498
498
  """
ccxt/pro/gate.py CHANGED
@@ -829,7 +829,7 @@ class gate(ccxt.async_support.gate):
829
829
  watches information on multiple orders made by the user
830
830
  :param str symbol: unified market symbol of the market orders were made in
831
831
  :param int [since]: the earliest time in ms to fetch orders for
832
- :param int [limit]: the maximum number of orde structures to retrieve
832
+ :param int [limit]: the maximum number of order structures to retrieve
833
833
  :param dict [params]: extra parameters specific to the exchange API endpoint
834
834
  :param str [params.type]: spot, margin, swap, future, or option. Required if listening to all symbols.
835
835
  :param boolean [params.isInverse]: if future, listen to inverse or linear contracts
ccxt/pro/gemini.py CHANGED
@@ -364,7 +364,7 @@ class gemini(ccxt.async_support.gemini):
364
364
  :see: https://docs.gemini.com/websocket-api/#order-events
365
365
  :param str symbol: unified market symbol of the market orders were made in
366
366
  :param int [since]: the earliest time in ms to fetch orders for
367
- :param int [limit]: the maximum number of orde structures to retrieve
367
+ :param int [limit]: the maximum number of order structures to retrieve
368
368
  :param dict [params]: extra parameters specific to the exchange API endpoint
369
369
  :returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
370
370
  """
ccxt/pro/hollaex.py CHANGED
@@ -240,7 +240,7 @@ class hollaex(ccxt.async_support.hollaex):
240
240
  watches information on multiple orders made by the user
241
241
  :param str symbol: unified market symbol of the market orders were made in
242
242
  :param int [since]: the earliest time in ms to fetch orders for
243
- :param int [limit]: the maximum number of orde structures to retrieve
243
+ :param int [limit]: the maximum number of order structures to retrieve
244
244
  :param dict [params]: extra parameters specific to the exchange API endpoint
245
245
  :returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
246
246
  """
ccxt/pro/htx.py CHANGED
@@ -723,7 +723,7 @@ class htx(ccxt.async_support.htx):
723
723
  watches information on multiple orders made by the user
724
724
  :param str symbol: unified market symbol of the market orders were made in
725
725
  :param int [since]: the earliest time in ms to fetch orders for
726
- :param int [limit]: the maximum number of orde structures to retrieve
726
+ :param int [limit]: the maximum number of order structures to retrieve
727
727
  :param dict [params]: extra parameters specific to the exchange API endpoint
728
728
  :returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
729
729
  """
ccxt/pro/idex.py CHANGED
@@ -480,7 +480,7 @@ class idex(ccxt.async_support.idex):
480
480
  watches information on multiple orders made by the user
481
481
  :param str symbol: unified market symbol of the market orders were made in
482
482
  :param int [since]: the earliest time in ms to fetch orders for
483
- :param int [limit]: the maximum number of orde structures to retrieve
483
+ :param int [limit]: the maximum number of order structures to retrieve
484
484
  :param dict [params]: extra parameters specific to the exchange API endpoint
485
485
  :returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
486
486
  """
ccxt/pro/kraken.py CHANGED
@@ -940,7 +940,7 @@ class kraken(ccxt.async_support.kraken):
940
940
  :param str symbol: unified market symbol of the market orders were made in
941
941
  :param int [since]: the earliest time in ms to fetch orders for
942
942
  :param int [limit]: the maximum number of orde structures to retrieve
943
- :param dict [params]: extra parameters specific to the exchange API endpoint
943
+ :param dict [params]: maximum number of orderic to the exchange API endpoint
944
944
  :returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
945
945
  """
946
946
  return await self.watch_private('openOrders', symbol, since, limit, params)
ccxt/pro/krakenfutures.py CHANGED
@@ -352,7 +352,7 @@ class krakenfutures(ccxt.async_support.krakenfutures):
352
352
  :see: https://docs.futures.kraken.com/#websocket-api-private-feeds-fills
353
353
  :param str symbol: unified market symbol of the market orders were made in
354
354
  :param int [since]: the earliest time in ms to fetch orders for
355
- :param int [limit]: the maximum number of orde structures to retrieve
355
+ :param int [limit]: the maximum number of order structures to retrieve
356
356
  :param dict [params]: extra parameters specific to the exchange API endpoint
357
357
  :returns dict[]: a list of `trade structures <https://docs.ccxt.com/#/?id=trade-structure>`
358
358
  """
ccxt/pro/kucoinfutures.py CHANGED
@@ -628,7 +628,7 @@ class kucoinfutures(ccxt.async_support.kucoinfutures):
628
628
  :see: https://docs.kucoin.com/futures/#trade-orders-according-to-the-market
629
629
  :param str symbol: unified market symbol of the market orders were made in
630
630
  :param int [since]: the earliest time in ms to fetch orders for
631
- :param int [limit]: the maximum number of orde structures to retrieve
631
+ :param int [limit]: the maximum number of order structures to retrieve
632
632
  :param dict [params]: extra parameters specific to the exchange API endpoint
633
633
  :returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
634
634
  """
ccxt/pro/mexc.py CHANGED
@@ -696,7 +696,7 @@ class mexc(ccxt.async_support.mexc):
696
696
  watches 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
  :param str|None params['type']: the type of orders to retrieve, can be 'spot' or 'margin'
702
702
  :returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
ccxt/pro/okcoin.py CHANGED
@@ -90,7 +90,7 @@ class okcoin(ccxt.async_support.okcoin):
90
90
  watches information on multiple orders made by the user
91
91
  :param str symbol: unified market symbol of the market orders were made in
92
92
  :param int [since]: the earliest time in ms to fetch orders for
93
- :param int [limit]: the maximum number of orde structures to retrieve
93
+ :param int [limit]: the maximum number of order structures to retrieve
94
94
  :param dict [params]: extra parameters specific to the exchange API endpoint
95
95
  :returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
96
96
  """
ccxt/pro/okx.py CHANGED
@@ -908,7 +908,7 @@ class okx(ccxt.async_support.okx):
908
908
  watches information on multiple orders made by the user
909
909
  :param str [symbol]: unified market symbol of the market orders were made in
910
910
  :param int [since]: the earliest time in ms to fetch orders for
911
- :param int [limit]: the maximum number of orde structures to retrieve
911
+ :param int [limit]: the maximum number of order structures to retrieve
912
912
  :param dict [params]: extra parameters specific to the exchange API endpoint
913
913
  :param bool [params.stop]: True if fetching trigger or conditional orders
914
914
  :returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
ccxt/pro/phemex.py CHANGED
@@ -842,7 +842,7 @@ class phemex(ccxt.async_support.phemex):
842
842
  watches information on multiple orders made by the user
843
843
  :param str symbol: unified market symbol of the market orders were made in
844
844
  :param int [since]: the earliest time in ms to fetch orders for
845
- :param int [limit]: the maximum number of orde structures to retrieve
845
+ :param int [limit]: the maximum number of order structures to retrieve
846
846
  :param dict [params]: extra parameters specific to the exchange API endpoint
847
847
  :returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
848
848
  """
@@ -286,7 +286,7 @@ class poloniexfutures(ccxt.async_support.poloniexfutures):
286
286
  :see: https://futures-docs.poloniex.com/#private-messages
287
287
  :param str symbol: filter by unified market symbol of the market orders were made in
288
288
  :param int [since]: the earliest time in ms to fetch orders for
289
- :param int [limit]: the maximum number of orde structures to retrieve
289
+ :param int [limit]: the maximum number of order structures to retrieve
290
290
  :param dict [params]: extra parameters specific to the exchange API endpoint
291
291
  :param str [params.method]: the method to use will default to /contractMarket/tradeOrders. Set to /contractMarket/advancedOrders to watch stop orders
292
292
  :returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`