coinex-api 0.0.60__tar.gz → 0.0.62__tar.gz

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 (290) hide show
  1. {coinex_api-0.0.60 → coinex_api-0.0.62}/PKG-INFO +1 -1
  2. {coinex_api-0.0.60 → coinex_api-0.0.62}/pyproject.toml +1 -1
  3. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/__init__.py +1 -1
  4. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/async_support/__init__.py +1 -1
  5. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/async_support/base/exchange.py +26 -3
  6. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/base/exchange.py +20 -1
  7. coinex_api-0.0.62/src/coinex/ccxt/pro/__init__.py +89 -0
  8. coinex_api-0.0.60/src/coinex/ccxt/async_support/base/ws/fast_client.py +0 -97
  9. coinex_api-0.0.60/src/coinex/ccxt/pro/__init__.py +0 -21
  10. {coinex_api-0.0.60 → coinex_api-0.0.62}/.gitignore +0 -0
  11. {coinex_api-0.0.60 → coinex_api-0.0.62}/README.md +0 -0
  12. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/__init__.py +0 -0
  13. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/abstract/coinex.py +0 -0
  14. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/async_support/base/__init__.py +0 -0
  15. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/async_support/base/throttler.py +0 -0
  16. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/async_support/base/ws/__init__.py +0 -0
  17. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/async_support/base/ws/aiohttp_client.py +0 -0
  18. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/async_support/base/ws/cache.py +0 -0
  19. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/async_support/base/ws/client.py +0 -0
  20. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/async_support/base/ws/functions.py +0 -0
  21. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/async_support/base/ws/future.py +0 -0
  22. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/async_support/base/ws/order_book.py +0 -0
  23. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/async_support/base/ws/order_book_side.py +0 -0
  24. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/async_support/coinex.py +0 -0
  25. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/base/__init__.py +0 -0
  26. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/base/decimal_to_precision.py +0 -0
  27. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/base/errors.py +0 -0
  28. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/base/precise.py +0 -0
  29. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/base/types.py +0 -0
  30. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/coinex.py +0 -0
  31. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/pro/coinex.py +0 -0
  32. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/README.md +0 -0
  33. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/__init__.py +0 -0
  34. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/ecdsa/__init__.py +0 -0
  35. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/ecdsa/_version.py +0 -0
  36. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/ecdsa/curves.py +0 -0
  37. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/ecdsa/der.py +0 -0
  38. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/ecdsa/ecdsa.py +0 -0
  39. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/ecdsa/ellipticcurve.py +0 -0
  40. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/ecdsa/keys.py +0 -0
  41. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/ecdsa/numbertheory.py +0 -0
  42. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/ecdsa/rfc6979.py +0 -0
  43. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/ecdsa/util.py +0 -0
  44. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/ethereum/__init__.py +0 -0
  45. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/ethereum/abi/__init__.py +0 -0
  46. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/ethereum/abi/abi.py +0 -0
  47. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/ethereum/abi/base.py +0 -0
  48. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/ethereum/abi/codec.py +0 -0
  49. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/ethereum/abi/constants.py +0 -0
  50. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/ethereum/abi/decoding.py +0 -0
  51. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/ethereum/abi/encoding.py +0 -0
  52. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/ethereum/abi/exceptions.py +0 -0
  53. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/ethereum/abi/grammar.py +0 -0
  54. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/ethereum/abi/packed.py +0 -0
  55. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/ethereum/abi/py.typed +0 -0
  56. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/ethereum/abi/registry.py +0 -0
  57. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/ethereum/abi/tools/__init__.py +0 -0
  58. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/ethereum/abi/tools/_strategies.py +0 -0
  59. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/ethereum/abi/utils/__init__.py +0 -0
  60. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/ethereum/abi/utils/numeric.py +0 -0
  61. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/ethereum/abi/utils/padding.py +0 -0
  62. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/ethereum/abi/utils/string.py +0 -0
  63. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/ethereum/account/__init__.py +0 -0
  64. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/ethereum/account/encode_typed_data/__init__.py +0 -0
  65. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/ethereum/account/encode_typed_data/encoding_and_hashing.py +0 -0
  66. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/ethereum/account/encode_typed_data/helpers.py +0 -0
  67. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/ethereum/account/messages.py +0 -0
  68. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/ethereum/account/py.typed +0 -0
  69. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/ethereum/hexbytes/__init__.py +0 -0
  70. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/ethereum/hexbytes/_utils.py +0 -0
  71. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/ethereum/hexbytes/main.py +0 -0
  72. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/ethereum/hexbytes/py.typed +0 -0
  73. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/ethereum/typing/__init__.py +0 -0
  74. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/ethereum/typing/abi.py +0 -0
  75. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/ethereum/typing/bls.py +0 -0
  76. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/ethereum/typing/discovery.py +0 -0
  77. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/ethereum/typing/encoding.py +0 -0
  78. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/ethereum/typing/enums.py +0 -0
  79. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/ethereum/typing/ethpm.py +0 -0
  80. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/ethereum/typing/evm.py +0 -0
  81. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/ethereum/typing/networks.py +0 -0
  82. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/ethereum/typing/py.typed +0 -0
  83. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/ethereum/utils/__init__.py +0 -0
  84. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/ethereum/utils/abi.py +0 -0
  85. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/ethereum/utils/address.py +0 -0
  86. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/ethereum/utils/applicators.py +0 -0
  87. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/ethereum/utils/conversions.py +0 -0
  88. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/ethereum/utils/currency.py +0 -0
  89. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/ethereum/utils/curried/__init__.py +0 -0
  90. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/ethereum/utils/debug.py +0 -0
  91. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/ethereum/utils/decorators.py +0 -0
  92. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/ethereum/utils/encoding.py +0 -0
  93. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/ethereum/utils/exceptions.py +0 -0
  94. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/ethereum/utils/functional.py +0 -0
  95. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/ethereum/utils/hexadecimal.py +0 -0
  96. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/ethereum/utils/humanize.py +0 -0
  97. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/ethereum/utils/logging.py +0 -0
  98. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/ethereum/utils/module_loading.py +0 -0
  99. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/ethereum/utils/numeric.py +0 -0
  100. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/ethereum/utils/py.typed +0 -0
  101. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/ethereum/utils/toolz.py +0 -0
  102. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/ethereum/utils/types.py +0 -0
  103. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/ethereum/utils/typing/__init__.py +0 -0
  104. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/ethereum/utils/typing/misc.py +0 -0
  105. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/ethereum/utils/units.py +0 -0
  106. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/keccak/__init__.py +0 -0
  107. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/keccak/keccak.py +0 -0
  108. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/lark/__init__.py +0 -0
  109. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/lark/__pyinstaller/__init__.py +0 -0
  110. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/lark/__pyinstaller/hook-lark.py +0 -0
  111. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/lark/ast_utils.py +0 -0
  112. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/lark/common.py +0 -0
  113. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/lark/exceptions.py +0 -0
  114. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/lark/grammar.py +0 -0
  115. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/lark/grammars/__init__.py +0 -0
  116. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/lark/grammars/common.lark +0 -0
  117. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/lark/grammars/lark.lark +0 -0
  118. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/lark/grammars/python.lark +0 -0
  119. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/lark/grammars/unicode.lark +0 -0
  120. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/lark/indenter.py +0 -0
  121. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/lark/lark.py +0 -0
  122. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/lark/lexer.py +0 -0
  123. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/lark/load_grammar.py +0 -0
  124. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/lark/parse_tree_builder.py +0 -0
  125. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/lark/parser_frontends.py +0 -0
  126. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/lark/parsers/__init__.py +0 -0
  127. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/lark/parsers/cyk.py +0 -0
  128. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/lark/parsers/earley.py +0 -0
  129. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/lark/parsers/earley_common.py +0 -0
  130. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/lark/parsers/earley_forest.py +0 -0
  131. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/lark/parsers/grammar_analysis.py +0 -0
  132. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/lark/parsers/lalr_analysis.py +0 -0
  133. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/lark/parsers/lalr_interactive_parser.py +0 -0
  134. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/lark/parsers/lalr_parser.py +0 -0
  135. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/lark/parsers/lalr_parser_state.py +0 -0
  136. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/lark/parsers/xearley.py +0 -0
  137. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/lark/py.typed +0 -0
  138. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/lark/reconstruct.py +0 -0
  139. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/lark/tools/__init__.py +0 -0
  140. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/lark/tools/nearley.py +0 -0
  141. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/lark/tools/serialize.py +0 -0
  142. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/lark/tools/standalone.py +0 -0
  143. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/lark/tree.py +0 -0
  144. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/lark/tree_matcher.py +0 -0
  145. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/lark/tree_templates.py +0 -0
  146. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/lark/utils.py +0 -0
  147. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/lark/visitors.py +0 -0
  148. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/marshmallow/__init__.py +0 -0
  149. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/marshmallow/base.py +0 -0
  150. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/marshmallow/class_registry.py +0 -0
  151. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/marshmallow/decorators.py +0 -0
  152. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/marshmallow/error_store.py +0 -0
  153. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/marshmallow/exceptions.py +0 -0
  154. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/marshmallow/fields.py +0 -0
  155. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/marshmallow/orderedset.py +0 -0
  156. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/marshmallow/py.typed +0 -0
  157. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/marshmallow/schema.py +0 -0
  158. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/marshmallow/types.py +0 -0
  159. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/marshmallow/utils.py +0 -0
  160. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/marshmallow/validate.py +0 -0
  161. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/marshmallow/warnings.py +0 -0
  162. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/marshmallow_dataclass/__init__.py +0 -0
  163. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/marshmallow_dataclass/collection_field.py +0 -0
  164. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/marshmallow_dataclass/lazy_class_attribute.py +0 -0
  165. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/marshmallow_dataclass/mypy.py +0 -0
  166. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/marshmallow_dataclass/py.typed +0 -0
  167. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/marshmallow_dataclass/typing.py +0 -0
  168. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/marshmallow_dataclass/union_field.py +0 -0
  169. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/marshmallow_oneofschema/__init__.py +0 -0
  170. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/marshmallow_oneofschema/one_of_schema.py +0 -0
  171. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/marshmallow_oneofschema/py.typed +0 -0
  172. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/msgpack/__init__.py +0 -0
  173. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/msgpack/_cmsgpack.pyx +0 -0
  174. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/msgpack/_packer.pyx +0 -0
  175. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/msgpack/_unpacker.pyx +0 -0
  176. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/msgpack/buff_converter.h +0 -0
  177. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/msgpack/exceptions.py +0 -0
  178. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/msgpack/ext.py +0 -0
  179. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/msgpack/fallback.py +0 -0
  180. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/msgpack/pack.h +0 -0
  181. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/msgpack/pack_template.h +0 -0
  182. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/msgpack/sysdep.h +0 -0
  183. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/msgpack/unpack.h +0 -0
  184. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/msgpack/unpack_define.h +0 -0
  185. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/msgpack/unpack_template.h +0 -0
  186. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/parsimonious/__init__.py +0 -0
  187. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/parsimonious/exceptions.py +0 -0
  188. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/parsimonious/expressions.py +0 -0
  189. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/parsimonious/grammar.py +0 -0
  190. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/parsimonious/nodes.py +0 -0
  191. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/parsimonious/utils.py +0 -0
  192. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/starknet/__init__.py +0 -0
  193. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/starknet/abi/v0/__init__.py +0 -0
  194. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/starknet/abi/v0/model.py +0 -0
  195. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/starknet/abi/v0/parser.py +0 -0
  196. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/starknet/abi/v0/schemas.py +0 -0
  197. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/starknet/abi/v0/shape.py +0 -0
  198. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/starknet/abi/v1/__init__.py +0 -0
  199. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/starknet/abi/v1/core_structures.json +0 -0
  200. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/starknet/abi/v1/model.py +0 -0
  201. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/starknet/abi/v1/parser.py +0 -0
  202. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/starknet/abi/v1/parser_transformer.py +0 -0
  203. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/starknet/abi/v1/schemas.py +0 -0
  204. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/starknet/abi/v1/shape.py +0 -0
  205. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/starknet/abi/v2/__init__.py +0 -0
  206. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/starknet/abi/v2/model.py +0 -0
  207. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/starknet/abi/v2/parser.py +0 -0
  208. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/starknet/abi/v2/parser_transformer.py +0 -0
  209. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/starknet/abi/v2/schemas.py +0 -0
  210. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/starknet/abi/v2/shape.py +0 -0
  211. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/starknet/cairo/__init__.py +0 -0
  212. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/starknet/cairo/data_types.py +0 -0
  213. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/starknet/cairo/deprecated_parse/__init__.py +0 -0
  214. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/starknet/cairo/deprecated_parse/cairo_types.py +0 -0
  215. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/starknet/cairo/deprecated_parse/parser.py +0 -0
  216. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/starknet/cairo/deprecated_parse/parser_transformer.py +0 -0
  217. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/starknet/cairo/felt.py +0 -0
  218. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/starknet/cairo/type_parser.py +0 -0
  219. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/starknet/cairo/v1/__init__.py +0 -0
  220. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/starknet/cairo/v1/type_parser.py +0 -0
  221. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/starknet/cairo/v2/__init__.py +0 -0
  222. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/starknet/cairo/v2/type_parser.py +0 -0
  223. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/starknet/ccxt_utils.py +0 -0
  224. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/starknet/common.py +0 -0
  225. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/starknet/constants.py +0 -0
  226. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/starknet/hash/__init__.py +0 -0
  227. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/starknet/hash/address.py +0 -0
  228. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/starknet/hash/compiled_class_hash_objects.py +0 -0
  229. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/starknet/hash/selector.py +0 -0
  230. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/starknet/hash/storage.py +0 -0
  231. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/starknet/hash/utils.py +0 -0
  232. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/starknet/models/__init__.py +0 -0
  233. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/starknet/models/typed_data.py +0 -0
  234. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/starknet/serialization/__init__.py +0 -0
  235. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/starknet/serialization/_calldata_reader.py +0 -0
  236. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/starknet/serialization/_context.py +0 -0
  237. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/starknet/serialization/data_serializers/__init__.py +0 -0
  238. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/starknet/serialization/data_serializers/_common.py +0 -0
  239. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/starknet/serialization/data_serializers/array_serializer.py +0 -0
  240. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/starknet/serialization/data_serializers/bool_serializer.py +0 -0
  241. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/starknet/serialization/data_serializers/byte_array_serializer.py +0 -0
  242. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/starknet/serialization/data_serializers/cairo_data_serializer.py +0 -0
  243. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/starknet/serialization/data_serializers/enum_serializer.py +0 -0
  244. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/starknet/serialization/data_serializers/felt_serializer.py +0 -0
  245. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/starknet/serialization/data_serializers/named_tuple_serializer.py +0 -0
  246. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/starknet/serialization/data_serializers/option_serializer.py +0 -0
  247. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/starknet/serialization/data_serializers/output_serializer.py +0 -0
  248. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/starknet/serialization/data_serializers/payload_serializer.py +0 -0
  249. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/starknet/serialization/data_serializers/struct_serializer.py +0 -0
  250. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/starknet/serialization/data_serializers/tuple_serializer.py +0 -0
  251. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/starknet/serialization/data_serializers/uint256_serializer.py +0 -0
  252. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/starknet/serialization/data_serializers/uint_serializer.py +0 -0
  253. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/starknet/serialization/data_serializers/unit_serializer.py +0 -0
  254. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/starknet/serialization/errors.py +0 -0
  255. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/starknet/serialization/factory.py +0 -0
  256. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/starknet/serialization/function_serialization_adapter.py +0 -0
  257. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/starknet/serialization/tuple_dataclass.py +0 -0
  258. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/starknet/utils/__init__.py +0 -0
  259. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/starknet/utils/constructor_args_translator.py +0 -0
  260. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/starknet/utils/iterable.py +0 -0
  261. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/starknet/utils/schema.py +0 -0
  262. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/starknet/utils/typed_data.py +0 -0
  263. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/starkware/__init__.py +0 -0
  264. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/starkware/crypto/__init__.py +0 -0
  265. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/starkware/crypto/fast_pedersen_hash.py +0 -0
  266. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/starkware/crypto/math_utils.py +0 -0
  267. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/starkware/crypto/signature.py +0 -0
  268. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/starkware/crypto/utils.py +0 -0
  269. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/sympy/__init__.py +0 -0
  270. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/sympy/core/__init__.py +0 -0
  271. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/sympy/core/intfunc.py +0 -0
  272. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/sympy/external/__init__.py +0 -0
  273. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/sympy/external/gmpy.py +0 -0
  274. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/sympy/external/importtools.py +0 -0
  275. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/sympy/external/ntheory.py +0 -0
  276. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/sympy/external/pythonmpq.py +0 -0
  277. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/toolz/__init__.py +0 -0
  278. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/toolz/_signatures.py +0 -0
  279. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/toolz/_version.py +0 -0
  280. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/toolz/compatibility.py +0 -0
  281. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/toolz/curried/__init__.py +0 -0
  282. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/toolz/curried/exceptions.py +0 -0
  283. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/toolz/curried/operator.py +0 -0
  284. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/toolz/dicttoolz.py +0 -0
  285. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/toolz/functoolz.py +0 -0
  286. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/toolz/itertoolz.py +0 -0
  287. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/toolz/recipes.py +0 -0
  288. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/toolz/utils.py +0 -0
  289. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/typing_inspect/__init__.py +0 -0
  290. {coinex_api-0.0.60 → coinex_api-0.0.62}/src/coinex/ccxt/static_dependencies/typing_inspect/typing_inspect.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: coinex-api
3
- Version: 0.0.60
3
+ Version: 0.0.62
4
4
  Summary: coinex crypto exchange api client
5
5
  Project-URL: Homepage, https://github.com/ccxt/ccxt
6
6
  Project-URL: Issues, https://github.com/ccxt/ccxt
@@ -11,7 +11,7 @@ only-include = ["src/coinex"]
11
11
 
12
12
  [project]
13
13
  name = "coinex-api"
14
- version = "0.0.60"
14
+ version = "0.0.62"
15
15
  authors = [
16
16
  { name="CCXT", email="info@ccxt.trade" },
17
17
  ]
@@ -26,7 +26,7 @@ sys.modules['ccxt'] = ccxt_module
26
26
 
27
27
  # ----------------------------------------------------------------------------
28
28
 
29
- __version__ = '4.4.83'
29
+ __version__ = '4.4.85'
30
30
 
31
31
  # ----------------------------------------------------------------------------
32
32
 
@@ -8,7 +8,7 @@ sys.modules['ccxt'] = ccxt_module
8
8
 
9
9
  # -----------------------------------------------------------------------------
10
10
 
11
- __version__ = '4.4.83'
11
+ __version__ = '4.4.85'
12
12
 
13
13
  # -----------------------------------------------------------------------------
14
14
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  # -----------------------------------------------------------------------------
4
4
 
5
- __version__ = '4.4.83'
5
+ __version__ = '4.4.85'
6
6
 
7
7
  # -----------------------------------------------------------------------------
8
8
 
@@ -34,7 +34,7 @@ from ccxt.base.exchange import Exchange as BaseExchange, ArgumentsRequired
34
34
  # -----------------------------------------------------------------------------
35
35
 
36
36
  from ccxt.async_support.base.ws.functions import inflate, inflate64, gunzip
37
- from ccxt.async_support.base.ws.fast_client import FastClient
37
+ from ccxt.async_support.base.ws.aiohttp_client import AiohttpClient
38
38
  from ccxt.async_support.base.ws.future import Future
39
39
  from ccxt.async_support.base.ws.order_book import OrderBook, IndexedOrderBook, CountedOrderBook
40
40
 
@@ -279,7 +279,28 @@ class Exchange(BaseExchange):
279
279
  markets = await self.fetch_markets(params)
280
280
  return self.set_markets(markets, currencies)
281
281
 
282
+
282
283
  async def load_markets(self, reload=False, params={}):
284
+ """
285
+ Loads and prepares the markets for trading.
286
+
287
+ Args:
288
+ reload (bool): If True, the markets will be reloaded from the exchange.
289
+ params (dict): Additional exchange-specific parameters for the request.
290
+
291
+ Returns:
292
+ dict: A dictionary of markets.
293
+
294
+ Raises:
295
+ Exception: If the markets cannot be loaded or prepared.
296
+
297
+ Notes:
298
+ This method is asynchronous.
299
+ It ensures that the markets are only loaded once, even if called multiple times.
300
+ If the markets are already loaded and `reload` is False or not provided, it returns the existing markets.
301
+ If a reload is in progress, it waits for completion before returning.
302
+ If an error occurs during loading or preparation, an exception is raised.
303
+ """
283
304
  if (reload and not self.reloading_markets) or not self.markets_loading:
284
305
  self.reloading_markets = True
285
306
  coroutine = self.load_markets_helper(reload, params)
@@ -387,7 +408,9 @@ class Exchange(BaseExchange):
387
408
  'throttle': Throttler(self.tokenBucket, self.asyncio_loop),
388
409
  'asyncio_loop': self.asyncio_loop,
389
410
  }, ws_options)
390
- self.clients[url] = FastClient(url, on_message, on_error, on_close, on_connected, options)
411
+ # we use aiohttp instead of fastClient now because of this
412
+ # https://github.com/ccxt/ccxt/pull/25995
413
+ self.clients[url] = AiohttpClient(url, on_message, on_error, on_close, on_connected, options)
391
414
  self.clients[url].proxy = self.get_ws_proxy()
392
415
  return self.clients[url]
393
416
 
@@ -4,7 +4,7 @@
4
4
 
5
5
  # -----------------------------------------------------------------------------
6
6
 
7
- __version__ = '4.4.83'
7
+ __version__ = '4.4.85'
8
8
 
9
9
  # -----------------------------------------------------------------------------
10
10
 
@@ -1506,6 +1506,25 @@ class Exchange(object):
1506
1506
  return len(parts[1]) if len(parts) > 1 else 0
1507
1507
 
1508
1508
  def load_markets(self, reload=False, params={}):
1509
+ """
1510
+ Loads and prepares the markets for trading.
1511
+
1512
+ Args:
1513
+ reload (bool): If True, the markets will be reloaded from the exchange.
1514
+ params (dict): Additional exchange-specific parameters for the request.
1515
+
1516
+ Returns:
1517
+ dict: A dictionary of markets.
1518
+
1519
+ Raises:
1520
+ Exception: If the markets cannot be loaded or prepared.
1521
+
1522
+ Notes:
1523
+ It ensures that the markets are only loaded once, even if called multiple times.
1524
+ If the markets are already loaded and `reload` is False or not provided, it returns the existing markets.
1525
+ If a reload is in progress, it waits for completion before returning.
1526
+ If an error occurs during loading or preparation, an exception is raised.
1527
+ """
1509
1528
  if not reload:
1510
1529
  if self.markets:
1511
1530
  if not self.markets_by_id:
@@ -0,0 +1,89 @@
1
+ import sys
2
+ import coinex.ccxt as ccxt_module
3
+ sys.modules['ccxt'] = ccxt_module
4
+
5
+ # -*- coding: utf-8 -*-
6
+
7
+ """CCXT: CryptoCurrency eXchange Trading Library (Async)"""
8
+
9
+ # ----------------------------------------------------------------------------
10
+
11
+ __version__ = '4.4.85'
12
+
13
+ # ----------------------------------------------------------------------------
14
+
15
+ from ccxt.async_support.base.exchange import Exchange # noqa: F401
16
+
17
+ # CCXT Pro exchanges (now this is mainly used for importing exchanges in WS tests)
18
+
19
+ # DO_NOT_REMOVE__ERROR_IMPORTS_START
20
+ from ccxt.base.errors import BaseError # noqa: F401
21
+ from ccxt.base.errors import ExchangeError # noqa: F401
22
+ from ccxt.base.errors import AuthenticationError # noqa: F401
23
+ from ccxt.base.errors import PermissionDenied # noqa: F401
24
+ from ccxt.base.errors import AccountNotEnabled # noqa: F401
25
+ from ccxt.base.errors import AccountSuspended # noqa: F401
26
+ from ccxt.base.errors import ArgumentsRequired # noqa: F401
27
+ from ccxt.base.errors import BadRequest # noqa: F401
28
+ from ccxt.base.errors import BadSymbol # noqa: F401
29
+ from ccxt.base.errors import OperationRejected # noqa: F401
30
+ from ccxt.base.errors import NoChange # noqa: F401
31
+ from ccxt.base.errors import MarginModeAlreadySet # noqa: F401
32
+ from ccxt.base.errors import MarketClosed # noqa: F401
33
+ from ccxt.base.errors import ManualInteractionNeeded # noqa: F401
34
+ from ccxt.base.errors import InsufficientFunds # noqa: F401
35
+ from ccxt.base.errors import InvalidAddress # noqa: F401
36
+ from ccxt.base.errors import AddressPending # noqa: F401
37
+ from ccxt.base.errors import InvalidOrder # noqa: F401
38
+ from ccxt.base.errors import OrderNotFound # noqa: F401
39
+ from ccxt.base.errors import OrderNotCached # noqa: F401
40
+ from ccxt.base.errors import OrderImmediatelyFillable # noqa: F401
41
+ from ccxt.base.errors import OrderNotFillable # noqa: F401
42
+ from ccxt.base.errors import DuplicateOrderId # noqa: F401
43
+ from ccxt.base.errors import ContractUnavailable # noqa: F401
44
+ from ccxt.base.errors import NotSupported # noqa: F401
45
+ from ccxt.base.errors import InvalidProxySettings # noqa: F401
46
+ from ccxt.base.errors import ExchangeClosedByUser # noqa: F401
47
+ from ccxt.base.errors import OperationFailed # noqa: F401
48
+ from ccxt.base.errors import NetworkError # noqa: F401
49
+ from ccxt.base.errors import DDoSProtection # noqa: F401
50
+ from ccxt.base.errors import RateLimitExceeded # noqa: F401
51
+ from ccxt.base.errors import ExchangeNotAvailable # noqa: F401
52
+ from ccxt.base.errors import OnMaintenance # noqa: F401
53
+ from ccxt.base.errors import InvalidNonce # noqa: F401
54
+ from ccxt.base.errors import ChecksumError # noqa: F401
55
+ from ccxt.base.errors import RequestTimeout # noqa: F401
56
+ from ccxt.base.errors import BadResponse # noqa: F401
57
+ from ccxt.base.errors import NullResponse # noqa: F401
58
+ from ccxt.base.errors import CancelPending # noqa: F401
59
+ from ccxt.base.errors import UnsubscribeError # noqa: F401
60
+ from ccxt.base.errors import error_hierarchy # noqa: F401
61
+ # DO_NOT_REMOVE__ERROR_IMPORTS_END
62
+
63
+
64
+
65
+
66
+
67
+
68
+
69
+
70
+
71
+
72
+
73
+
74
+
75
+
76
+
77
+
78
+
79
+
80
+
81
+
82
+
83
+
84
+
85
+
86
+
87
+ from ccxt.pro.coinex import coinex # noqa: F401
88
+
89
+ exchanges = [ 'coinex',]
@@ -1,97 +0,0 @@
1
- """A faster version of aiohttp's websocket client that uses select and other optimizations"""
2
-
3
- import asyncio
4
- import socket
5
- import collections
6
- from ccxt.async_support.base.ws.aiohttp_client import AiohttpClient
7
- from ccxt.base.errors import NetworkError
8
-
9
-
10
- class FastClient(AiohttpClient):
11
- transport = None
12
-
13
- def __init__(self, url, on_message_callback, on_error_callback, on_close_callback, on_connected_callback, config={}):
14
- super(FastClient, self).__init__(url, on_message_callback, on_error_callback, on_close_callback, on_connected_callback, config)
15
- # instead of using the deque in aiohttp we implement our own for speed
16
- # https://github.com/aio-libs/aiohttp/blob/1d296d549050aa335ef542421b8b7dad788246d5/aiohttp/streams.py#L534
17
- self.stack = collections.deque()
18
- self.callback_scheduled = False
19
-
20
- def receive_loop(self):
21
- def handler():
22
- if not self.stack:
23
- self.callback_scheduled = False
24
- return
25
- message = self.stack.popleft()
26
- try:
27
- self.handle_message(message)
28
- except Exception as error:
29
- self.reject(error)
30
- self.asyncio_loop.call_soon(handler)
31
-
32
- def feed_data(message, size):
33
- if not self.callback_scheduled:
34
- self.callback_scheduled = True
35
- self.asyncio_loop.call_soon(handler)
36
- self.stack.append(message)
37
-
38
- def feed_eof():
39
- if self.connection._close_code == 1000: # OK close
40
- self.on_close(1000)
41
- else:
42
- self.on_error(NetworkError("Abnormal closure of client")) # ABNORMAL_CLOSURE
43
-
44
- def wrapper(func):
45
- def parse_frame(buf):
46
- while self.stack:
47
- self.handle_message(self.stack.popleft())
48
- return func(buf)
49
- return parse_frame
50
-
51
- async def close(code=1000, message=b''):
52
- # this is needed because our other wrappers break the closing process
53
- # we also don't wait for a response to the close message to speed it up
54
- # this code is adapted from aiohttp client_ws.py
55
- _self = self.connection
56
- if not _self._closed:
57
- _self._cancel_heartbeat()
58
- _self._closed = True
59
- try:
60
- await _self._writer.close(code, message)
61
- _self._response.close()
62
- _self._close_code = 1000
63
- except asyncio.CancelledError:
64
- _self._response.close()
65
- _self._close_code = 1006
66
- raise
67
- except Exception as exc:
68
- _self._close_code = 1006
69
- _self._exception = exc
70
- return True
71
-
72
- connection = self.connection._conn
73
- if connection.closed:
74
- # connection got terminated after the connection was made and before the receive loop ran
75
- self.on_close(1006)
76
- return
77
- self.transport = connection.transport
78
- # increase the RCVBUF so that the tcp window size can be larger
79
- sock = self.transport.get_extra_info('socket')
80
- current_size = sock.getsockopt(socket.SOL_SOCKET, socket.SO_RCVBUF)
81
- # 2 mebibytes is a performance value
82
- new_size = max(current_size, 2097152)
83
- sock.setsockopt(socket.SOL_SOCKET, socket.SO_RCVBUF, new_size)
84
-
85
- ws_reader = connection.protocol._payload_parser
86
- ws_reader.parse_frame = wrapper(ws_reader.parse_frame)
87
- ws_reader.queue.feed_data = feed_data
88
- ws_reader.queue.feed_eof = feed_eof
89
- self.connection.close = close
90
- # return a future so super class won't complain
91
- return asyncio.sleep(0)
92
-
93
- def reset(self, error):
94
- super(FastClient, self).reset(error)
95
- self.stack.clear()
96
- if self.transport:
97
- self.transport.abort()
@@ -1,21 +0,0 @@
1
- import sys
2
- import coinex.ccxt as ccxt_module
3
- sys.modules['ccxt'] = ccxt_module
4
-
5
- # -*- coding: utf-8 -*-
6
-
7
- """CCXT: CryptoCurrency eXchange Trading Library (Async)"""
8
-
9
- # ----------------------------------------------------------------------------
10
-
11
- __version__ = '4.4.83'
12
-
13
- # ----------------------------------------------------------------------------
14
-
15
- from ccxt.async_support.base.exchange import Exchange # noqa: F401
16
-
17
- # CCXT Pro exchanges (now this is mainly used for importing exchanges in WS tests)
18
-
19
- from ccxt.pro.coinex import coinex # noqa: F401
20
-
21
- exchanges = [ 'coinex',]
File without changes
File without changes