coinex-api 0.0.70__tar.gz → 0.0.72__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 (287) hide show
  1. {coinex_api-0.0.70 → coinex_api-0.0.72}/PKG-INFO +1 -1
  2. {coinex_api-0.0.70 → coinex_api-0.0.72}/pyproject.toml +1 -1
  3. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/__init__.py +1 -1
  4. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/async_support/__init__.py +1 -1
  5. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/async_support/base/exchange.py +4 -1
  6. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/async_support/base/ws/client.py +4 -1
  7. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/async_support/coinex.py +16 -12
  8. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/base/exchange.py +69 -30
  9. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/base/types.py +1 -0
  10. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/coinex.py +16 -12
  11. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/pro/__init__.py +1 -1
  12. {coinex_api-0.0.70 → coinex_api-0.0.72}/.gitignore +0 -0
  13. {coinex_api-0.0.70 → coinex_api-0.0.72}/README.md +0 -0
  14. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/__init__.py +0 -0
  15. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/abstract/coinex.py +0 -0
  16. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/async_support/base/__init__.py +0 -0
  17. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/async_support/base/throttler.py +0 -0
  18. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/async_support/base/ws/__init__.py +0 -0
  19. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/async_support/base/ws/cache.py +0 -0
  20. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/async_support/base/ws/functions.py +0 -0
  21. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/async_support/base/ws/future.py +0 -0
  22. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/async_support/base/ws/order_book.py +0 -0
  23. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/async_support/base/ws/order_book_side.py +0 -0
  24. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/base/__init__.py +0 -0
  25. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/base/decimal_to_precision.py +0 -0
  26. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/base/errors.py +0 -0
  27. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/base/precise.py +0 -0
  28. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/pro/coinex.py +0 -0
  29. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/README.md +0 -0
  30. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/__init__.py +0 -0
  31. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/ecdsa/__init__.py +0 -0
  32. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/ecdsa/_version.py +0 -0
  33. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/ecdsa/curves.py +0 -0
  34. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/ecdsa/der.py +0 -0
  35. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/ecdsa/ecdsa.py +0 -0
  36. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/ecdsa/ellipticcurve.py +0 -0
  37. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/ecdsa/keys.py +0 -0
  38. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/ecdsa/numbertheory.py +0 -0
  39. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/ecdsa/rfc6979.py +0 -0
  40. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/ecdsa/util.py +0 -0
  41. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/ethereum/__init__.py +0 -0
  42. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/ethereum/abi/__init__.py +0 -0
  43. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/ethereum/abi/abi.py +0 -0
  44. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/ethereum/abi/base.py +0 -0
  45. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/ethereum/abi/codec.py +0 -0
  46. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/ethereum/abi/constants.py +0 -0
  47. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/ethereum/abi/decoding.py +0 -0
  48. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/ethereum/abi/encoding.py +0 -0
  49. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/ethereum/abi/exceptions.py +0 -0
  50. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/ethereum/abi/grammar.py +0 -0
  51. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/ethereum/abi/packed.py +0 -0
  52. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/ethereum/abi/py.typed +0 -0
  53. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/ethereum/abi/registry.py +0 -0
  54. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/ethereum/abi/tools/__init__.py +0 -0
  55. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/ethereum/abi/tools/_strategies.py +0 -0
  56. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/ethereum/abi/utils/__init__.py +0 -0
  57. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/ethereum/abi/utils/numeric.py +0 -0
  58. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/ethereum/abi/utils/padding.py +0 -0
  59. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/ethereum/abi/utils/string.py +0 -0
  60. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/ethereum/account/__init__.py +0 -0
  61. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/ethereum/account/encode_typed_data/__init__.py +0 -0
  62. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/ethereum/account/encode_typed_data/encoding_and_hashing.py +0 -0
  63. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/ethereum/account/encode_typed_data/helpers.py +0 -0
  64. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/ethereum/account/messages.py +0 -0
  65. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/ethereum/account/py.typed +0 -0
  66. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/ethereum/hexbytes/__init__.py +0 -0
  67. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/ethereum/hexbytes/_utils.py +0 -0
  68. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/ethereum/hexbytes/main.py +0 -0
  69. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/ethereum/hexbytes/py.typed +0 -0
  70. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/ethereum/typing/__init__.py +0 -0
  71. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/ethereum/typing/abi.py +0 -0
  72. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/ethereum/typing/bls.py +0 -0
  73. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/ethereum/typing/discovery.py +0 -0
  74. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/ethereum/typing/encoding.py +0 -0
  75. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/ethereum/typing/enums.py +0 -0
  76. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/ethereum/typing/ethpm.py +0 -0
  77. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/ethereum/typing/evm.py +0 -0
  78. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/ethereum/typing/networks.py +0 -0
  79. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/ethereum/typing/py.typed +0 -0
  80. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/ethereum/utils/__init__.py +0 -0
  81. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/ethereum/utils/abi.py +0 -0
  82. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/ethereum/utils/address.py +0 -0
  83. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/ethereum/utils/applicators.py +0 -0
  84. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/ethereum/utils/conversions.py +0 -0
  85. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/ethereum/utils/currency.py +0 -0
  86. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/ethereum/utils/curried/__init__.py +0 -0
  87. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/ethereum/utils/debug.py +0 -0
  88. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/ethereum/utils/decorators.py +0 -0
  89. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/ethereum/utils/encoding.py +0 -0
  90. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/ethereum/utils/exceptions.py +0 -0
  91. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/ethereum/utils/functional.py +0 -0
  92. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/ethereum/utils/hexadecimal.py +0 -0
  93. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/ethereum/utils/humanize.py +0 -0
  94. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/ethereum/utils/logging.py +0 -0
  95. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/ethereum/utils/module_loading.py +0 -0
  96. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/ethereum/utils/numeric.py +0 -0
  97. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/ethereum/utils/py.typed +0 -0
  98. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/ethereum/utils/toolz.py +0 -0
  99. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/ethereum/utils/types.py +0 -0
  100. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/ethereum/utils/typing/__init__.py +0 -0
  101. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/ethereum/utils/typing/misc.py +0 -0
  102. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/ethereum/utils/units.py +0 -0
  103. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/keccak/__init__.py +0 -0
  104. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/keccak/keccak.py +0 -0
  105. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/lark/__init__.py +0 -0
  106. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/lark/__pyinstaller/__init__.py +0 -0
  107. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/lark/__pyinstaller/hook-lark.py +0 -0
  108. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/lark/ast_utils.py +0 -0
  109. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/lark/common.py +0 -0
  110. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/lark/exceptions.py +0 -0
  111. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/lark/grammar.py +0 -0
  112. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/lark/grammars/__init__.py +0 -0
  113. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/lark/grammars/common.lark +0 -0
  114. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/lark/grammars/lark.lark +0 -0
  115. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/lark/grammars/python.lark +0 -0
  116. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/lark/grammars/unicode.lark +0 -0
  117. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/lark/indenter.py +0 -0
  118. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/lark/lark.py +0 -0
  119. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/lark/lexer.py +0 -0
  120. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/lark/load_grammar.py +0 -0
  121. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/lark/parse_tree_builder.py +0 -0
  122. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/lark/parser_frontends.py +0 -0
  123. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/lark/parsers/__init__.py +0 -0
  124. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/lark/parsers/cyk.py +0 -0
  125. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/lark/parsers/earley.py +0 -0
  126. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/lark/parsers/earley_common.py +0 -0
  127. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/lark/parsers/earley_forest.py +0 -0
  128. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/lark/parsers/grammar_analysis.py +0 -0
  129. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/lark/parsers/lalr_analysis.py +0 -0
  130. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/lark/parsers/lalr_interactive_parser.py +0 -0
  131. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/lark/parsers/lalr_parser.py +0 -0
  132. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/lark/parsers/lalr_parser_state.py +0 -0
  133. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/lark/parsers/xearley.py +0 -0
  134. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/lark/py.typed +0 -0
  135. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/lark/reconstruct.py +0 -0
  136. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/lark/tools/__init__.py +0 -0
  137. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/lark/tools/nearley.py +0 -0
  138. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/lark/tools/serialize.py +0 -0
  139. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/lark/tools/standalone.py +0 -0
  140. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/lark/tree.py +0 -0
  141. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/lark/tree_matcher.py +0 -0
  142. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/lark/tree_templates.py +0 -0
  143. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/lark/utils.py +0 -0
  144. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/lark/visitors.py +0 -0
  145. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/marshmallow/__init__.py +0 -0
  146. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/marshmallow/base.py +0 -0
  147. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/marshmallow/class_registry.py +0 -0
  148. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/marshmallow/decorators.py +0 -0
  149. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/marshmallow/error_store.py +0 -0
  150. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/marshmallow/exceptions.py +0 -0
  151. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/marshmallow/fields.py +0 -0
  152. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/marshmallow/orderedset.py +0 -0
  153. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/marshmallow/py.typed +0 -0
  154. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/marshmallow/schema.py +0 -0
  155. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/marshmallow/types.py +0 -0
  156. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/marshmallow/utils.py +0 -0
  157. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/marshmallow/validate.py +0 -0
  158. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/marshmallow/warnings.py +0 -0
  159. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/marshmallow_dataclass/__init__.py +0 -0
  160. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/marshmallow_dataclass/collection_field.py +0 -0
  161. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/marshmallow_dataclass/lazy_class_attribute.py +0 -0
  162. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/marshmallow_dataclass/mypy.py +0 -0
  163. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/marshmallow_dataclass/py.typed +0 -0
  164. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/marshmallow_dataclass/typing.py +0 -0
  165. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/marshmallow_dataclass/union_field.py +0 -0
  166. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/marshmallow_oneofschema/__init__.py +0 -0
  167. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/marshmallow_oneofschema/one_of_schema.py +0 -0
  168. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/marshmallow_oneofschema/py.typed +0 -0
  169. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/msgpack/__init__.py +0 -0
  170. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/msgpack/_cmsgpack.pyx +0 -0
  171. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/msgpack/_packer.pyx +0 -0
  172. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/msgpack/_unpacker.pyx +0 -0
  173. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/msgpack/buff_converter.h +0 -0
  174. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/msgpack/exceptions.py +0 -0
  175. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/msgpack/ext.py +0 -0
  176. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/msgpack/fallback.py +0 -0
  177. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/msgpack/pack.h +0 -0
  178. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/msgpack/pack_template.h +0 -0
  179. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/msgpack/sysdep.h +0 -0
  180. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/msgpack/unpack.h +0 -0
  181. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/msgpack/unpack_define.h +0 -0
  182. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/msgpack/unpack_template.h +0 -0
  183. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/parsimonious/__init__.py +0 -0
  184. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/parsimonious/exceptions.py +0 -0
  185. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/parsimonious/expressions.py +0 -0
  186. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/parsimonious/grammar.py +0 -0
  187. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/parsimonious/nodes.py +0 -0
  188. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/parsimonious/utils.py +0 -0
  189. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/starknet/__init__.py +0 -0
  190. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/starknet/abi/v0/__init__.py +0 -0
  191. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/starknet/abi/v0/model.py +0 -0
  192. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/starknet/abi/v0/parser.py +0 -0
  193. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/starknet/abi/v0/schemas.py +0 -0
  194. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/starknet/abi/v0/shape.py +0 -0
  195. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/starknet/abi/v1/__init__.py +0 -0
  196. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/starknet/abi/v1/core_structures.json +0 -0
  197. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/starknet/abi/v1/model.py +0 -0
  198. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/starknet/abi/v1/parser.py +0 -0
  199. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/starknet/abi/v1/parser_transformer.py +0 -0
  200. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/starknet/abi/v1/schemas.py +0 -0
  201. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/starknet/abi/v1/shape.py +0 -0
  202. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/starknet/abi/v2/__init__.py +0 -0
  203. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/starknet/abi/v2/model.py +0 -0
  204. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/starknet/abi/v2/parser.py +0 -0
  205. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/starknet/abi/v2/parser_transformer.py +0 -0
  206. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/starknet/abi/v2/schemas.py +0 -0
  207. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/starknet/abi/v2/shape.py +0 -0
  208. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/starknet/cairo/__init__.py +0 -0
  209. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/starknet/cairo/data_types.py +0 -0
  210. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/starknet/cairo/deprecated_parse/__init__.py +0 -0
  211. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/starknet/cairo/deprecated_parse/cairo_types.py +0 -0
  212. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/starknet/cairo/deprecated_parse/parser.py +0 -0
  213. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/starknet/cairo/deprecated_parse/parser_transformer.py +0 -0
  214. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/starknet/cairo/felt.py +0 -0
  215. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/starknet/cairo/type_parser.py +0 -0
  216. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/starknet/cairo/v1/__init__.py +0 -0
  217. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/starknet/cairo/v1/type_parser.py +0 -0
  218. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/starknet/cairo/v2/__init__.py +0 -0
  219. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/starknet/cairo/v2/type_parser.py +0 -0
  220. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/starknet/ccxt_utils.py +0 -0
  221. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/starknet/common.py +0 -0
  222. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/starknet/constants.py +0 -0
  223. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/starknet/hash/__init__.py +0 -0
  224. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/starknet/hash/address.py +0 -0
  225. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/starknet/hash/compiled_class_hash_objects.py +0 -0
  226. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/starknet/hash/selector.py +0 -0
  227. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/starknet/hash/storage.py +0 -0
  228. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/starknet/hash/utils.py +0 -0
  229. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/starknet/models/__init__.py +0 -0
  230. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/starknet/models/typed_data.py +0 -0
  231. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/starknet/serialization/__init__.py +0 -0
  232. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/starknet/serialization/_calldata_reader.py +0 -0
  233. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/starknet/serialization/_context.py +0 -0
  234. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/starknet/serialization/data_serializers/__init__.py +0 -0
  235. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/starknet/serialization/data_serializers/_common.py +0 -0
  236. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/starknet/serialization/data_serializers/array_serializer.py +0 -0
  237. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/starknet/serialization/data_serializers/bool_serializer.py +0 -0
  238. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/starknet/serialization/data_serializers/byte_array_serializer.py +0 -0
  239. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/starknet/serialization/data_serializers/cairo_data_serializer.py +0 -0
  240. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/starknet/serialization/data_serializers/enum_serializer.py +0 -0
  241. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/starknet/serialization/data_serializers/felt_serializer.py +0 -0
  242. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/starknet/serialization/data_serializers/named_tuple_serializer.py +0 -0
  243. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/starknet/serialization/data_serializers/option_serializer.py +0 -0
  244. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/starknet/serialization/data_serializers/output_serializer.py +0 -0
  245. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/starknet/serialization/data_serializers/payload_serializer.py +0 -0
  246. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/starknet/serialization/data_serializers/struct_serializer.py +0 -0
  247. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/starknet/serialization/data_serializers/tuple_serializer.py +0 -0
  248. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/starknet/serialization/data_serializers/uint256_serializer.py +0 -0
  249. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/starknet/serialization/data_serializers/uint_serializer.py +0 -0
  250. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/starknet/serialization/data_serializers/unit_serializer.py +0 -0
  251. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/starknet/serialization/errors.py +0 -0
  252. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/starknet/serialization/factory.py +0 -0
  253. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/starknet/serialization/function_serialization_adapter.py +0 -0
  254. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/starknet/serialization/tuple_dataclass.py +0 -0
  255. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/starknet/utils/__init__.py +0 -0
  256. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/starknet/utils/constructor_args_translator.py +0 -0
  257. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/starknet/utils/iterable.py +0 -0
  258. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/starknet/utils/schema.py +0 -0
  259. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/starknet/utils/typed_data.py +0 -0
  260. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/starkware/__init__.py +0 -0
  261. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/starkware/crypto/__init__.py +0 -0
  262. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/starkware/crypto/fast_pedersen_hash.py +0 -0
  263. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/starkware/crypto/math_utils.py +0 -0
  264. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/starkware/crypto/signature.py +0 -0
  265. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/starkware/crypto/utils.py +0 -0
  266. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/sympy/__init__.py +0 -0
  267. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/sympy/core/__init__.py +0 -0
  268. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/sympy/core/intfunc.py +0 -0
  269. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/sympy/external/__init__.py +0 -0
  270. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/sympy/external/gmpy.py +0 -0
  271. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/sympy/external/importtools.py +0 -0
  272. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/sympy/external/ntheory.py +0 -0
  273. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/sympy/external/pythonmpq.py +0 -0
  274. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/toolz/__init__.py +0 -0
  275. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/toolz/_signatures.py +0 -0
  276. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/toolz/_version.py +0 -0
  277. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/toolz/compatibility.py +0 -0
  278. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/toolz/curried/__init__.py +0 -0
  279. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/toolz/curried/exceptions.py +0 -0
  280. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/toolz/curried/operator.py +0 -0
  281. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/toolz/dicttoolz.py +0 -0
  282. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/toolz/functoolz.py +0 -0
  283. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/toolz/itertoolz.py +0 -0
  284. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/toolz/recipes.py +0 -0
  285. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/toolz/utils.py +0 -0
  286. {coinex_api-0.0.70 → coinex_api-0.0.72}/src/coinex/ccxt/static_dependencies/typing_inspect/__init__.py +0 -0
  287. {coinex_api-0.0.70 → coinex_api-0.0.72}/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.70
3
+ Version: 0.0.72
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.70"
14
+ version = "0.0.72"
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.91'
29
+ __version__ = '4.4.93'
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.91'
11
+ __version__ = '4.4.93'
12
12
 
13
13
  # -----------------------------------------------------------------------------
14
14
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  # -----------------------------------------------------------------------------
4
4
 
5
- __version__ = '4.4.91'
5
+ __version__ = '4.4.93'
6
6
 
7
7
  # -----------------------------------------------------------------------------
8
8
 
@@ -1573,6 +1573,9 @@ class Exchange(BaseExchange):
1573
1573
  async def fetch_greeks(self, symbol: str, params={}):
1574
1574
  raise NotSupported(self.id + ' fetchGreeks() is not supported yet')
1575
1575
 
1576
+ async def fetch_all_greeks(self, symbols: Strings = None, params={}):
1577
+ raise NotSupported(self.id + ' fetchAllGreeks() is not supported yet')
1578
+
1576
1579
  async def fetch_option_chain(self, code: str, params={}):
1577
1580
  raise NotSupported(self.id + ' fetchOptionChain() is not supported yet')
1578
1581
 
@@ -134,9 +134,12 @@ class Client(object):
134
134
  error = NetworkError(str(exception))
135
135
  if self.verbose:
136
136
  self.log(iso8601(milliseconds()), 'receive_loop', 'Exception', error)
137
- self.reset(error)
137
+ self.reject(error)
138
138
 
139
139
  task.add_done_callback(after_interrupt)
140
+ else:
141
+ # connection got terminated after the connection was made and before the receive loop ran
142
+ self.on_close(1006)
140
143
 
141
144
  async def open(self, session, backoff_delay=0):
142
145
  # exponential backoff for consequent connections if necessary
@@ -19,6 +19,7 @@ from ccxt.base.errors import InsufficientFunds
19
19
  from ccxt.base.errors import InvalidOrder
20
20
  from ccxt.base.errors import OrderNotFound
21
21
  from ccxt.base.errors import NotSupported
22
+ from ccxt.base.errors import OperationFailed
22
23
  from ccxt.base.errors import RateLimitExceeded
23
24
  from ccxt.base.errors import ExchangeNotAvailable
24
25
  from ccxt.base.errors import RequestTimeout
@@ -671,6 +672,7 @@ class coinex(Exchange, ImplicitAPI):
671
672
  'broad': {
672
673
  'ip not allow visit': PermissionDenied,
673
674
  'service too busy': ExchangeNotAvailable,
675
+ 'Service is not available during funding fee settlement': OperationFailed,
674
676
  },
675
677
  },
676
678
  })
@@ -795,7 +797,7 @@ class coinex(Exchange, ImplicitAPI):
795
797
  'max': None,
796
798
  },
797
799
  },
798
- 'networks': {},
800
+ 'networks': networks,
799
801
  'type': 'crypto',
800
802
  'info': coin,
801
803
  })
@@ -827,17 +829,19 @@ class coinex(Exchange, ImplicitAPI):
827
829
  # "code": 0,
828
830
  # "data": [
829
831
  # {
830
- # "base_ccy": "SORA",
832
+ # "market": "BTCUSDT",
833
+ # "taker_fee_rate": "0.002",
834
+ # "maker_fee_rate": "0.002",
835
+ # "min_amount": "0.0005",
836
+ # "base_ccy": "BTC",
837
+ # "quote_ccy": "USDT",
831
838
  # "base_ccy_precision": 8,
839
+ # "quote_ccy_precision": 2,
832
840
  # "is_amm_available": True,
833
- # "is_margin_available": False,
834
- # "maker_fee_rate": "0.003",
835
- # "market": "SORAUSDT",
836
- # "min_amount": "500",
837
- # "quote_ccy": "USDT",
838
- # "quote_ccy_precision": 6,
839
- # "taker_fee_rate": "0.003"
840
- # },
841
+ # "is_margin_available": True,
842
+ # "is_pre_trading_available": True,
843
+ # "is_api_trading_available": True
844
+ # }
841
845
  # ],
842
846
  # "message": "OK"
843
847
  # }
@@ -863,11 +867,11 @@ class coinex(Exchange, ImplicitAPI):
863
867
  'settleId': None,
864
868
  'type': 'spot',
865
869
  'spot': True,
866
- 'margin': None,
870
+ 'margin': self.safe_bool(market, 'is_margin_available'),
867
871
  'swap': False,
868
872
  'future': False,
869
873
  'option': False,
870
- 'active': None,
874
+ 'active': self.safe_bool(market, 'is_api_trading_available'),
871
875
  'contract': False,
872
876
  'linear': None,
873
877
  'inverse': None,
@@ -4,7 +4,7 @@
4
4
 
5
5
  # -----------------------------------------------------------------------------
6
6
 
7
- __version__ = '4.4.91'
7
+ __version__ = '4.4.93'
8
8
 
9
9
  # -----------------------------------------------------------------------------
10
10
 
@@ -1515,6 +1515,12 @@ class Exchange(object):
1515
1515
  parts = re.sub(r'0+$', '', str).split('.')
1516
1516
  return len(parts[1]) if len(parts) > 1 else 0
1517
1517
 
1518
+ def map_to_safe_map(self, dictionary):
1519
+ return dictionary # wrapper for go
1520
+
1521
+ def safe_map_to_map(self, dictionary):
1522
+ return dictionary # wrapper for go
1523
+
1518
1524
  def load_markets(self, reload=False, params={}):
1519
1525
  """
1520
1526
  Loads and prepares the markets for trading.
@@ -3222,14 +3228,14 @@ class Exchange(object):
3222
3228
  else:
3223
3229
  market['subType'] = None
3224
3230
  values.append(market)
3225
- self.markets = self.index_by(values, 'symbol')
3231
+ self.markets = self.map_to_safe_map(self.index_by(values, 'symbol'))
3226
3232
  marketsSortedBySymbol = self.keysort(self.markets)
3227
3233
  marketsSortedById = self.keysort(self.markets_by_id)
3228
3234
  self.symbols = list(marketsSortedBySymbol.keys())
3229
3235
  self.ids = list(marketsSortedById.keys())
3230
3236
  if currencies is not None:
3231
3237
  # currencies is always None when called in constructor but not when called from loadMarkets
3232
- self.currencies = self.deep_extend(self.currencies, currencies)
3238
+ self.currencies = self.map_to_safe_map(self.deep_extend(self.currencies, currencies))
3233
3239
  else:
3234
3240
  baseCurrencies = []
3235
3241
  quoteCurrencies = []
@@ -3255,8 +3261,8 @@ class Exchange(object):
3255
3261
  quoteCurrencies.append(currency)
3256
3262
  baseCurrencies = self.sort_by(baseCurrencies, 'code', False, '')
3257
3263
  quoteCurrencies = self.sort_by(quoteCurrencies, 'code', False, '')
3258
- self.baseCurrencies = self.index_by(baseCurrencies, 'code')
3259
- self.quoteCurrencies = self.index_by(quoteCurrencies, 'code')
3264
+ self.baseCurrencies = self.map_to_safe_map(self.index_by(baseCurrencies, 'code'))
3265
+ self.quoteCurrencies = self.map_to_safe_map(self.index_by(quoteCurrencies, 'code'))
3260
3266
  allCurrencies = self.array_concat(baseCurrencies, quoteCurrencies)
3261
3267
  groupedCurrencies = self.group_by(allCurrencies, 'code')
3262
3268
  codes = list(groupedCurrencies.keys())
@@ -3273,7 +3279,7 @@ class Exchange(object):
3273
3279
  highestPrecisionCurrency = currentCurrency if (currentCurrency['precision'] > highestPrecisionCurrency['precision']) else highestPrecisionCurrency
3274
3280
  resultingCurrencies.append(highestPrecisionCurrency)
3275
3281
  sortedCurrencies = self.sort_by(resultingCurrencies, 'code')
3276
- self.currencies = self.deep_extend(self.currencies, self.index_by(sortedCurrencies, 'code'))
3282
+ self.currencies = self.map_to_safe_map(self.deep_extend(self.currencies, self.index_by(sortedCurrencies, 'code')))
3277
3283
  self.currencies_by_id = self.index_by_safe(self.currencies, 'id')
3278
3284
  currenciesSortedByCode = self.keysort(self.currencies)
3279
3285
  self.codes = list(currenciesSortedByCode.keys())
@@ -4223,7 +4229,7 @@ class Exchange(object):
4223
4229
  return self.filter_by_since_limit(sorted, since, limit, 0, tail)
4224
4230
 
4225
4231
  def parse_leverage_tiers(self, response: Any, symbols: List[str] = None, marketIdKey=None):
4226
- # marketIdKey should only be None when response is a dictionary
4232
+ # marketIdKey should only be None when response is a dictionary.
4227
4233
  symbols = self.market_symbols(symbols)
4228
4234
  tiers = {}
4229
4235
  symbolsLength = 0
@@ -5444,6 +5450,9 @@ class Exchange(object):
5444
5450
  def fetch_greeks(self, symbol: str, params={}):
5445
5451
  raise NotSupported(self.id + ' fetchGreeks() is not supported yet')
5446
5452
 
5453
+ def fetch_all_greeks(self, symbols: Strings = None, params={}):
5454
+ raise NotSupported(self.id + ' fetchAllGreeks() is not supported yet')
5455
+
5447
5456
  def fetch_option_chain(self, code: str, params={}):
5448
5457
  raise NotSupported(self.id + ' fetchOptionChain() is not supported yet')
5449
5458
 
@@ -5697,10 +5706,16 @@ class Exchange(object):
5697
5706
  precisionNumber = int(precision)
5698
5707
  if precisionNumber == 0:
5699
5708
  return '1'
5700
- parsedPrecision = '0.'
5701
- for i in range(0, precisionNumber - 1):
5702
- parsedPrecision = parsedPrecision + '0'
5703
- return parsedPrecision + '1'
5709
+ if precisionNumber > 0:
5710
+ parsedPrecision = '0.'
5711
+ for i in range(0, precisionNumber - 1):
5712
+ parsedPrecision = parsedPrecision + '0'
5713
+ return parsedPrecision + '1'
5714
+ else:
5715
+ parsedPrecision = '1'
5716
+ for i in range(0, precisionNumber * -1 - 1):
5717
+ parsedPrecision = parsedPrecision + '0'
5718
+ return parsedPrecision + '0'
5704
5719
 
5705
5720
  def integer_precision_to_amount(self, precision: Str):
5706
5721
  """
@@ -6676,6 +6691,27 @@ class Exchange(object):
6676
6691
  def parse_greeks(self, greeks: dict, market: Market = None):
6677
6692
  raise NotSupported(self.id + ' parseGreeks() is not supported yet')
6678
6693
 
6694
+ def parse_all_greeks(self, greeks, symbols: Strings = None, params={}):
6695
+ #
6696
+ # the value of greeks is either a dict or a list
6697
+ #
6698
+ results = []
6699
+ if isinstance(greeks, list):
6700
+ for i in range(0, len(greeks)):
6701
+ parsedTicker = self.parse_greeks(greeks[i])
6702
+ greek = self.extend(parsedTicker, params)
6703
+ results.append(greek)
6704
+ else:
6705
+ marketIds = list(greeks.keys())
6706
+ for i in range(0, len(marketIds)):
6707
+ marketId = marketIds[i]
6708
+ market = self.safe_market(marketId)
6709
+ parsed = self.parse_greeks(greeks[marketId], market)
6710
+ greek = self.extend(parsed, params)
6711
+ results.append(greek)
6712
+ symbols = self.market_symbols(symbols)
6713
+ return self.filter_by_array(results, 'symbol', symbols)
6714
+
6679
6715
  def parse_option(self, chain: dict, currency: Currency = None, market: Market = None):
6680
6716
  raise NotSupported(self.id + ' parseOption() is not supported yet')
6681
6717
 
@@ -6792,7 +6828,7 @@ class Exchange(object):
6792
6828
  return reconstructedDate
6793
6829
 
6794
6830
  def convert_market_id_expire_date(self, date: str):
6795
- # parse 03JAN24 to 240103
6831
+ # parse 03JAN24 to 240103.
6796
6832
  monthMappping = {
6797
6833
  'JAN': '01',
6798
6834
  'FEB': '02',
@@ -6877,14 +6913,27 @@ class Exchange(object):
6877
6913
  """
6878
6914
  raise NotSupported(self.id + ' fetchTransfers() is not supported yet')
6879
6915
 
6880
- def clean_unsubscription(self, client, subHash: str, unsubHash: str):
6916
+ def clean_unsubscription(self, client, subHash: str, unsubHash: str, subHashIsPrefix=False):
6881
6917
  if unsubHash in client.subscriptions:
6882
6918
  del client.subscriptions[unsubHash]
6883
- if subHash in client.subscriptions:
6884
- del client.subscriptions[subHash]
6885
- if subHash in client.futures:
6886
- error = UnsubscribeError(self.id + ' ' + subHash)
6887
- client.reject(error, subHash)
6919
+ if not subHashIsPrefix:
6920
+ if subHash in client.subscriptions:
6921
+ del client.subscriptions[subHash]
6922
+ if subHash in client.futures:
6923
+ error = UnsubscribeError(self.id + ' ' + subHash)
6924
+ client.reject(error, subHash)
6925
+ else:
6926
+ clientSubscriptions = list(client.subscriptions.keys())
6927
+ for i in range(0, len(clientSubscriptions)):
6928
+ sub = clientSubscriptions[i]
6929
+ if sub.startswith(subHash):
6930
+ del client.subscriptions[sub]
6931
+ clientFutures = list(client.futures.keys())
6932
+ for i in range(0, len(clientFutures)):
6933
+ future = clientFutures[i]
6934
+ if future.startswith(subHash):
6935
+ error = UnsubscribeError(self.id + ' ' + future)
6936
+ client.reject(error, future)
6888
6937
  client.resolve(True, unsubHash)
6889
6938
 
6890
6939
  def clean_cache(self, subscription: dict):
@@ -6914,19 +6963,9 @@ class Exchange(object):
6914
6963
  del self.tickers[symbol]
6915
6964
  else:
6916
6965
  if topic == 'myTrades' and (self.myTrades is not None):
6917
- # don't reset self.myTrades directly here
6918
- # because in c# we need to use a different object(thread-safe dict)
6919
- keys = list(self.myTrades.keys())
6920
- for i in range(0, len(keys)):
6921
- key = keys[i]
6922
- if key in self.myTrades:
6923
- del self.myTrades[key]
6966
+ self.myTrades = None
6924
6967
  elif topic == 'orders' and (self.orders is not None):
6925
- orderSymbols = list(self.orders.keys())
6926
- for i in range(0, len(orderSymbols)):
6927
- orderSymbol = orderSymbols[i]
6928
- if orderSymbol in self.orders:
6929
- del self.orders[orderSymbol]
6968
+ self.orders = None
6930
6969
  elif topic == 'ticker' and (self.tickers is not None):
6931
6970
  tickerSymbols = list(self.tickers.keys())
6932
6971
  for i in range(0, len(tickerSymbols)):
@@ -606,3 +606,4 @@ class ConstructorArgs(TypedDict, total=False):
606
606
  hostname: str
607
607
  urls: Dict[str, Any]
608
608
  headers: Dict[str, Any]
609
+ session: Any
@@ -18,6 +18,7 @@ from ccxt.base.errors import InsufficientFunds
18
18
  from ccxt.base.errors import InvalidOrder
19
19
  from ccxt.base.errors import OrderNotFound
20
20
  from ccxt.base.errors import NotSupported
21
+ from ccxt.base.errors import OperationFailed
21
22
  from ccxt.base.errors import RateLimitExceeded
22
23
  from ccxt.base.errors import ExchangeNotAvailable
23
24
  from ccxt.base.errors import RequestTimeout
@@ -670,6 +671,7 @@ class coinex(Exchange, ImplicitAPI):
670
671
  'broad': {
671
672
  'ip not allow visit': PermissionDenied,
672
673
  'service too busy': ExchangeNotAvailable,
674
+ 'Service is not available during funding fee settlement': OperationFailed,
673
675
  },
674
676
  },
675
677
  })
@@ -794,7 +796,7 @@ class coinex(Exchange, ImplicitAPI):
794
796
  'max': None,
795
797
  },
796
798
  },
797
- 'networks': {},
799
+ 'networks': networks,
798
800
  'type': 'crypto',
799
801
  'info': coin,
800
802
  })
@@ -826,17 +828,19 @@ class coinex(Exchange, ImplicitAPI):
826
828
  # "code": 0,
827
829
  # "data": [
828
830
  # {
829
- # "base_ccy": "SORA",
831
+ # "market": "BTCUSDT",
832
+ # "taker_fee_rate": "0.002",
833
+ # "maker_fee_rate": "0.002",
834
+ # "min_amount": "0.0005",
835
+ # "base_ccy": "BTC",
836
+ # "quote_ccy": "USDT",
830
837
  # "base_ccy_precision": 8,
838
+ # "quote_ccy_precision": 2,
831
839
  # "is_amm_available": True,
832
- # "is_margin_available": False,
833
- # "maker_fee_rate": "0.003",
834
- # "market": "SORAUSDT",
835
- # "min_amount": "500",
836
- # "quote_ccy": "USDT",
837
- # "quote_ccy_precision": 6,
838
- # "taker_fee_rate": "0.003"
839
- # },
840
+ # "is_margin_available": True,
841
+ # "is_pre_trading_available": True,
842
+ # "is_api_trading_available": True
843
+ # }
840
844
  # ],
841
845
  # "message": "OK"
842
846
  # }
@@ -862,11 +866,11 @@ class coinex(Exchange, ImplicitAPI):
862
866
  'settleId': None,
863
867
  'type': 'spot',
864
868
  'spot': True,
865
- 'margin': None,
869
+ 'margin': self.safe_bool(market, 'is_margin_available'),
866
870
  'swap': False,
867
871
  'future': False,
868
872
  'option': False,
869
- 'active': None,
873
+ 'active': self.safe_bool(market, 'is_api_trading_available'),
870
874
  'contract': False,
871
875
  'linear': None,
872
876
  'inverse': None,
@@ -8,7 +8,7 @@ sys.modules['ccxt'] = ccxt_module
8
8
 
9
9
  # ----------------------------------------------------------------------------
10
10
 
11
- __version__ = '4.4.91'
11
+ __version__ = '4.4.93'
12
12
 
13
13
  # ----------------------------------------------------------------------------
14
14
 
File without changes
File without changes