coinex-api 0.0.78__tar.gz → 0.0.80__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.78 → coinex_api-0.0.80}/PKG-INFO +2 -1
  2. {coinex_api-0.0.78 → coinex_api-0.0.80}/README.md +1 -0
  3. {coinex_api-0.0.78 → coinex_api-0.0.80}/pyproject.toml +1 -1
  4. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/__init__.py +2 -1
  5. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/async_support/__init__.py +2 -1
  6. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/async_support/base/exchange.py +1 -1
  7. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/async_support/coinex.py +64 -3
  8. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/base/decimal_to_precision.py +7 -9
  9. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/base/errors.py +6 -6
  10. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/base/exchange.py +1 -1
  11. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/coinex.py +64 -3
  12. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/pro/__init__.py +2 -1
  13. {coinex_api-0.0.78 → coinex_api-0.0.80}/.gitignore +0 -0
  14. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/__init__.py +0 -0
  15. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/abstract/coinex.py +0 -0
  16. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/async_support/base/__init__.py +0 -0
  17. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/async_support/base/throttler.py +0 -0
  18. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/async_support/base/ws/__init__.py +0 -0
  19. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/async_support/base/ws/cache.py +0 -0
  20. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/async_support/base/ws/client.py +0 -0
  21. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/async_support/base/ws/functions.py +0 -0
  22. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/async_support/base/ws/future.py +0 -0
  23. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/async_support/base/ws/order_book.py +0 -0
  24. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/async_support/base/ws/order_book_side.py +0 -0
  25. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/base/__init__.py +0 -0
  26. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/base/precise.py +0 -0
  27. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/base/types.py +0 -0
  28. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/pro/coinex.py +0 -0
  29. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/README.md +0 -0
  30. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/__init__.py +0 -0
  31. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/ecdsa/__init__.py +0 -0
  32. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/ecdsa/_version.py +0 -0
  33. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/ecdsa/curves.py +0 -0
  34. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/ecdsa/der.py +0 -0
  35. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/ecdsa/ecdsa.py +0 -0
  36. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/ecdsa/ellipticcurve.py +0 -0
  37. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/ecdsa/keys.py +0 -0
  38. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/ecdsa/numbertheory.py +0 -0
  39. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/ecdsa/rfc6979.py +0 -0
  40. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/ecdsa/util.py +0 -0
  41. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/ethereum/__init__.py +0 -0
  42. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/ethereum/abi/__init__.py +0 -0
  43. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/ethereum/abi/abi.py +0 -0
  44. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/ethereum/abi/base.py +0 -0
  45. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/ethereum/abi/codec.py +0 -0
  46. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/ethereum/abi/constants.py +0 -0
  47. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/ethereum/abi/decoding.py +0 -0
  48. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/ethereum/abi/encoding.py +0 -0
  49. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/ethereum/abi/exceptions.py +0 -0
  50. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/ethereum/abi/grammar.py +0 -0
  51. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/ethereum/abi/packed.py +0 -0
  52. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/ethereum/abi/py.typed +0 -0
  53. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/ethereum/abi/registry.py +0 -0
  54. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/ethereum/abi/tools/__init__.py +0 -0
  55. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/ethereum/abi/tools/_strategies.py +0 -0
  56. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/ethereum/abi/utils/__init__.py +0 -0
  57. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/ethereum/abi/utils/numeric.py +0 -0
  58. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/ethereum/abi/utils/padding.py +0 -0
  59. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/ethereum/abi/utils/string.py +0 -0
  60. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/ethereum/account/__init__.py +0 -0
  61. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/ethereum/account/encode_typed_data/__init__.py +0 -0
  62. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/ethereum/account/encode_typed_data/encoding_and_hashing.py +0 -0
  63. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/ethereum/account/encode_typed_data/helpers.py +0 -0
  64. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/ethereum/account/messages.py +0 -0
  65. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/ethereum/account/py.typed +0 -0
  66. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/ethereum/hexbytes/__init__.py +0 -0
  67. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/ethereum/hexbytes/_utils.py +0 -0
  68. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/ethereum/hexbytes/main.py +0 -0
  69. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/ethereum/hexbytes/py.typed +0 -0
  70. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/ethereum/typing/__init__.py +0 -0
  71. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/ethereum/typing/abi.py +0 -0
  72. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/ethereum/typing/bls.py +0 -0
  73. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/ethereum/typing/discovery.py +0 -0
  74. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/ethereum/typing/encoding.py +0 -0
  75. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/ethereum/typing/enums.py +0 -0
  76. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/ethereum/typing/ethpm.py +0 -0
  77. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/ethereum/typing/evm.py +0 -0
  78. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/ethereum/typing/networks.py +0 -0
  79. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/ethereum/typing/py.typed +0 -0
  80. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/ethereum/utils/__init__.py +0 -0
  81. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/ethereum/utils/abi.py +0 -0
  82. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/ethereum/utils/address.py +0 -0
  83. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/ethereum/utils/applicators.py +0 -0
  84. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/ethereum/utils/conversions.py +0 -0
  85. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/ethereum/utils/currency.py +0 -0
  86. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/ethereum/utils/curried/__init__.py +0 -0
  87. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/ethereum/utils/debug.py +0 -0
  88. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/ethereum/utils/decorators.py +0 -0
  89. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/ethereum/utils/encoding.py +0 -0
  90. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/ethereum/utils/exceptions.py +0 -0
  91. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/ethereum/utils/functional.py +0 -0
  92. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/ethereum/utils/hexadecimal.py +0 -0
  93. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/ethereum/utils/humanize.py +0 -0
  94. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/ethereum/utils/logging.py +0 -0
  95. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/ethereum/utils/module_loading.py +0 -0
  96. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/ethereum/utils/numeric.py +0 -0
  97. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/ethereum/utils/py.typed +0 -0
  98. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/ethereum/utils/toolz.py +0 -0
  99. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/ethereum/utils/types.py +0 -0
  100. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/ethereum/utils/typing/__init__.py +0 -0
  101. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/ethereum/utils/typing/misc.py +0 -0
  102. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/ethereum/utils/units.py +0 -0
  103. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/keccak/__init__.py +0 -0
  104. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/keccak/keccak.py +0 -0
  105. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/lark/__init__.py +0 -0
  106. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/lark/__pyinstaller/__init__.py +0 -0
  107. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/lark/__pyinstaller/hook-lark.py +0 -0
  108. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/lark/ast_utils.py +0 -0
  109. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/lark/common.py +0 -0
  110. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/lark/exceptions.py +0 -0
  111. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/lark/grammar.py +0 -0
  112. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/lark/grammars/__init__.py +0 -0
  113. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/lark/grammars/common.lark +0 -0
  114. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/lark/grammars/lark.lark +0 -0
  115. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/lark/grammars/python.lark +0 -0
  116. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/lark/grammars/unicode.lark +0 -0
  117. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/lark/indenter.py +0 -0
  118. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/lark/lark.py +0 -0
  119. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/lark/lexer.py +0 -0
  120. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/lark/load_grammar.py +0 -0
  121. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/lark/parse_tree_builder.py +0 -0
  122. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/lark/parser_frontends.py +0 -0
  123. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/lark/parsers/__init__.py +0 -0
  124. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/lark/parsers/cyk.py +0 -0
  125. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/lark/parsers/earley.py +0 -0
  126. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/lark/parsers/earley_common.py +0 -0
  127. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/lark/parsers/earley_forest.py +0 -0
  128. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/lark/parsers/grammar_analysis.py +0 -0
  129. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/lark/parsers/lalr_analysis.py +0 -0
  130. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/lark/parsers/lalr_interactive_parser.py +0 -0
  131. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/lark/parsers/lalr_parser.py +0 -0
  132. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/lark/parsers/lalr_parser_state.py +0 -0
  133. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/lark/parsers/xearley.py +0 -0
  134. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/lark/py.typed +0 -0
  135. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/lark/reconstruct.py +0 -0
  136. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/lark/tools/__init__.py +0 -0
  137. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/lark/tools/nearley.py +0 -0
  138. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/lark/tools/serialize.py +0 -0
  139. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/lark/tools/standalone.py +0 -0
  140. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/lark/tree.py +0 -0
  141. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/lark/tree_matcher.py +0 -0
  142. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/lark/tree_templates.py +0 -0
  143. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/lark/utils.py +0 -0
  144. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/lark/visitors.py +0 -0
  145. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/marshmallow/__init__.py +0 -0
  146. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/marshmallow/base.py +0 -0
  147. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/marshmallow/class_registry.py +0 -0
  148. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/marshmallow/decorators.py +0 -0
  149. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/marshmallow/error_store.py +0 -0
  150. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/marshmallow/exceptions.py +0 -0
  151. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/marshmallow/fields.py +0 -0
  152. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/marshmallow/orderedset.py +0 -0
  153. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/marshmallow/py.typed +0 -0
  154. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/marshmallow/schema.py +0 -0
  155. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/marshmallow/types.py +0 -0
  156. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/marshmallow/utils.py +0 -0
  157. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/marshmallow/validate.py +0 -0
  158. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/marshmallow/warnings.py +0 -0
  159. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/marshmallow_dataclass/__init__.py +0 -0
  160. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/marshmallow_dataclass/collection_field.py +0 -0
  161. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/marshmallow_dataclass/lazy_class_attribute.py +0 -0
  162. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/marshmallow_dataclass/mypy.py +0 -0
  163. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/marshmallow_dataclass/py.typed +0 -0
  164. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/marshmallow_dataclass/typing.py +0 -0
  165. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/marshmallow_dataclass/union_field.py +0 -0
  166. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/marshmallow_oneofschema/__init__.py +0 -0
  167. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/marshmallow_oneofschema/one_of_schema.py +0 -0
  168. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/marshmallow_oneofschema/py.typed +0 -0
  169. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/msgpack/__init__.py +0 -0
  170. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/msgpack/_cmsgpack.pyx +0 -0
  171. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/msgpack/_packer.pyx +0 -0
  172. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/msgpack/_unpacker.pyx +0 -0
  173. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/msgpack/buff_converter.h +0 -0
  174. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/msgpack/exceptions.py +0 -0
  175. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/msgpack/ext.py +0 -0
  176. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/msgpack/fallback.py +0 -0
  177. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/msgpack/pack.h +0 -0
  178. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/msgpack/pack_template.h +0 -0
  179. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/msgpack/sysdep.h +0 -0
  180. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/msgpack/unpack.h +0 -0
  181. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/msgpack/unpack_define.h +0 -0
  182. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/msgpack/unpack_template.h +0 -0
  183. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/parsimonious/__init__.py +0 -0
  184. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/parsimonious/exceptions.py +0 -0
  185. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/parsimonious/expressions.py +0 -0
  186. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/parsimonious/grammar.py +0 -0
  187. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/parsimonious/nodes.py +0 -0
  188. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/parsimonious/utils.py +0 -0
  189. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/starknet/__init__.py +0 -0
  190. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/starknet/abi/v0/__init__.py +0 -0
  191. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/starknet/abi/v0/model.py +0 -0
  192. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/starknet/abi/v0/parser.py +0 -0
  193. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/starknet/abi/v0/schemas.py +0 -0
  194. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/starknet/abi/v0/shape.py +0 -0
  195. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/starknet/abi/v1/__init__.py +0 -0
  196. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/starknet/abi/v1/core_structures.json +0 -0
  197. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/starknet/abi/v1/model.py +0 -0
  198. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/starknet/abi/v1/parser.py +0 -0
  199. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/starknet/abi/v1/parser_transformer.py +0 -0
  200. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/starknet/abi/v1/schemas.py +0 -0
  201. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/starknet/abi/v1/shape.py +0 -0
  202. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/starknet/abi/v2/__init__.py +0 -0
  203. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/starknet/abi/v2/model.py +0 -0
  204. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/starknet/abi/v2/parser.py +0 -0
  205. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/starknet/abi/v2/parser_transformer.py +0 -0
  206. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/starknet/abi/v2/schemas.py +0 -0
  207. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/starknet/abi/v2/shape.py +0 -0
  208. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/starknet/cairo/__init__.py +0 -0
  209. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/starknet/cairo/data_types.py +0 -0
  210. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/starknet/cairo/deprecated_parse/__init__.py +0 -0
  211. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/starknet/cairo/deprecated_parse/cairo_types.py +0 -0
  212. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/starknet/cairo/deprecated_parse/parser.py +0 -0
  213. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/starknet/cairo/deprecated_parse/parser_transformer.py +0 -0
  214. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/starknet/cairo/felt.py +0 -0
  215. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/starknet/cairo/type_parser.py +0 -0
  216. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/starknet/cairo/v1/__init__.py +0 -0
  217. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/starknet/cairo/v1/type_parser.py +0 -0
  218. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/starknet/cairo/v2/__init__.py +0 -0
  219. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/starknet/cairo/v2/type_parser.py +0 -0
  220. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/starknet/ccxt_utils.py +0 -0
  221. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/starknet/common.py +0 -0
  222. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/starknet/constants.py +0 -0
  223. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/starknet/hash/__init__.py +0 -0
  224. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/starknet/hash/address.py +0 -0
  225. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/starknet/hash/compiled_class_hash_objects.py +0 -0
  226. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/starknet/hash/selector.py +0 -0
  227. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/starknet/hash/storage.py +0 -0
  228. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/starknet/hash/utils.py +0 -0
  229. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/starknet/models/__init__.py +0 -0
  230. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/starknet/models/typed_data.py +0 -0
  231. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/starknet/serialization/__init__.py +0 -0
  232. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/starknet/serialization/_calldata_reader.py +0 -0
  233. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/starknet/serialization/_context.py +0 -0
  234. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/starknet/serialization/data_serializers/__init__.py +0 -0
  235. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/starknet/serialization/data_serializers/_common.py +0 -0
  236. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/starknet/serialization/data_serializers/array_serializer.py +0 -0
  237. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/starknet/serialization/data_serializers/bool_serializer.py +0 -0
  238. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/starknet/serialization/data_serializers/byte_array_serializer.py +0 -0
  239. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/starknet/serialization/data_serializers/cairo_data_serializer.py +0 -0
  240. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/starknet/serialization/data_serializers/enum_serializer.py +0 -0
  241. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/starknet/serialization/data_serializers/felt_serializer.py +0 -0
  242. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/starknet/serialization/data_serializers/named_tuple_serializer.py +0 -0
  243. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/starknet/serialization/data_serializers/option_serializer.py +0 -0
  244. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/starknet/serialization/data_serializers/output_serializer.py +0 -0
  245. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/starknet/serialization/data_serializers/payload_serializer.py +0 -0
  246. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/starknet/serialization/data_serializers/struct_serializer.py +0 -0
  247. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/starknet/serialization/data_serializers/tuple_serializer.py +0 -0
  248. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/starknet/serialization/data_serializers/uint256_serializer.py +0 -0
  249. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/starknet/serialization/data_serializers/uint_serializer.py +0 -0
  250. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/starknet/serialization/data_serializers/unit_serializer.py +0 -0
  251. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/starknet/serialization/errors.py +0 -0
  252. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/starknet/serialization/factory.py +0 -0
  253. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/starknet/serialization/function_serialization_adapter.py +0 -0
  254. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/starknet/serialization/tuple_dataclass.py +0 -0
  255. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/starknet/utils/__init__.py +0 -0
  256. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/starknet/utils/constructor_args_translator.py +0 -0
  257. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/starknet/utils/iterable.py +0 -0
  258. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/starknet/utils/schema.py +0 -0
  259. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/starknet/utils/typed_data.py +0 -0
  260. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/starkware/__init__.py +0 -0
  261. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/starkware/crypto/__init__.py +0 -0
  262. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/starkware/crypto/fast_pedersen_hash.py +0 -0
  263. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/starkware/crypto/math_utils.py +0 -0
  264. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/starkware/crypto/signature.py +0 -0
  265. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/starkware/crypto/utils.py +0 -0
  266. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/sympy/__init__.py +0 -0
  267. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/sympy/core/__init__.py +0 -0
  268. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/sympy/core/intfunc.py +0 -0
  269. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/sympy/external/__init__.py +0 -0
  270. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/sympy/external/gmpy.py +0 -0
  271. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/sympy/external/importtools.py +0 -0
  272. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/sympy/external/ntheory.py +0 -0
  273. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/sympy/external/pythonmpq.py +0 -0
  274. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/toolz/__init__.py +0 -0
  275. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/toolz/_signatures.py +0 -0
  276. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/toolz/_version.py +0 -0
  277. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/toolz/compatibility.py +0 -0
  278. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/toolz/curried/__init__.py +0 -0
  279. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/toolz/curried/exceptions.py +0 -0
  280. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/toolz/curried/operator.py +0 -0
  281. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/toolz/dicttoolz.py +0 -0
  282. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/toolz/functoolz.py +0 -0
  283. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/toolz/itertoolz.py +0 -0
  284. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/toolz/recipes.py +0 -0
  285. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/toolz/utils.py +0 -0
  286. {coinex_api-0.0.78 → coinex_api-0.0.80}/src/coinex/ccxt/static_dependencies/typing_inspect/__init__.py +0 -0
  287. {coinex_api-0.0.78 → coinex_api-0.0.80}/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.78
3
+ Version: 0.0.80
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
@@ -138,6 +138,7 @@ You can also construct custom requests to available "implicit" endpoints
138
138
  - `fetch_currencies(self, params={})`
139
139
  - `fetch_deposit_address(self, code: str, params={})`
140
140
  - `fetch_deposit_withdraw_fee(self, code: str, params={})`
141
+ - `fetch_deposit_withdraw_fees(self, codes: Strings = None, params={})`
141
142
  - `fetch_deposits(self, code: Str = None, since: Int = None, limit: Int = None, params={})`
142
143
  - `fetch_financial_balance(self, params={})`
143
144
  - `fetch_funding_history(self, symbol: Str = None, since: Int = None, limit: Int = None, params={})`
@@ -119,6 +119,7 @@ You can also construct custom requests to available "implicit" endpoints
119
119
  - `fetch_currencies(self, params={})`
120
120
  - `fetch_deposit_address(self, code: str, params={})`
121
121
  - `fetch_deposit_withdraw_fee(self, code: str, params={})`
122
+ - `fetch_deposit_withdraw_fees(self, codes: Strings = None, params={})`
122
123
  - `fetch_deposits(self, code: Str = None, since: Int = None, limit: Int = None, params={})`
123
124
  - `fetch_financial_balance(self, params={})`
124
125
  - `fetch_funding_history(self, symbol: Str = None, since: Int = None, limit: Int = None, params={})`
@@ -11,7 +11,7 @@ only-include = ["src/coinex"]
11
11
 
12
12
  [project]
13
13
  name = "coinex-api"
14
- version = "0.0.78"
14
+ version = "0.0.80"
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.97'
29
+ __version__ = '4.4.99'
30
30
 
31
31
  # ----------------------------------------------------------------------------
32
32
 
@@ -59,6 +59,7 @@ from ccxt.base.errors import NoChange # noqa: F4
59
59
  from ccxt.base.errors import MarginModeAlreadySet # noqa: F401
60
60
  from ccxt.base.errors import MarketClosed # noqa: F401
61
61
  from ccxt.base.errors import ManualInteractionNeeded # noqa: F401
62
+ from ccxt.base.errors import RestrictedLocation # noqa: F401
62
63
  from ccxt.base.errors import InsufficientFunds # noqa: F401
63
64
  from ccxt.base.errors import InvalidAddress # noqa: F401
64
65
  from ccxt.base.errors import AddressPending # noqa: F401
@@ -8,7 +8,7 @@ sys.modules['ccxt'] = ccxt_module
8
8
 
9
9
  # -----------------------------------------------------------------------------
10
10
 
11
- __version__ = '4.4.97'
11
+ __version__ = '4.4.99'
12
12
 
13
13
  # -----------------------------------------------------------------------------
14
14
 
@@ -38,6 +38,7 @@ from ccxt.base.errors import NoChange # noqa: F4
38
38
  from ccxt.base.errors import MarginModeAlreadySet # noqa: F401
39
39
  from ccxt.base.errors import MarketClosed # noqa: F401
40
40
  from ccxt.base.errors import ManualInteractionNeeded # noqa: F401
41
+ from ccxt.base.errors import RestrictedLocation # noqa: F401
41
42
  from ccxt.base.errors import InsufficientFunds # noqa: F401
42
43
  from ccxt.base.errors import InvalidAddress # noqa: F401
43
44
  from ccxt.base.errors import AddressPending # noqa: F401
@@ -2,7 +2,7 @@
2
2
 
3
3
  # -----------------------------------------------------------------------------
4
4
 
5
- __version__ = '4.4.97'
5
+ __version__ = '4.4.99'
6
6
 
7
7
  # -----------------------------------------------------------------------------
8
8
 
@@ -87,7 +87,7 @@ class coinex(Exchange, ImplicitAPI):
87
87
  'fetchDepositAddressesByNetwork': False,
88
88
  'fetchDeposits': True,
89
89
  'fetchDepositWithdrawFee': True,
90
- 'fetchDepositWithdrawFees': False,
90
+ 'fetchDepositWithdrawFees': True,
91
91
  'fetchFundingHistory': True,
92
92
  'fetchFundingInterval': True,
93
93
  'fetchFundingIntervals': False,
@@ -740,6 +740,7 @@ class coinex(Exchange, ImplicitAPI):
740
740
  for j in range(0, len(chains)):
741
741
  chain = chains[j]
742
742
  networkId = self.safe_string(chain, 'chain')
743
+ networkCode = self.network_id_to_code(networkId, code)
743
744
  if networkId is None:
744
745
  continue
745
746
  precisionString = self.parse_precision(self.safe_string(chain, 'withdrawal_precision'))
@@ -750,7 +751,7 @@ class coinex(Exchange, ImplicitAPI):
750
751
  canWithdrawChain = self.safe_bool(chain, 'withdraw_enabled')
751
752
  network: dict = {
752
753
  'id': networkId,
753
- 'network': networkId,
754
+ 'network': networkCode,
754
755
  'name': None,
755
756
  'active': canDepositChain and canWithdrawChain,
756
757
  'deposit': canDepositChain,
@@ -773,7 +774,7 @@ class coinex(Exchange, ImplicitAPI):
773
774
  },
774
775
  'info': chain,
775
776
  }
776
- networks[networkId] = network
777
+ networks[networkCode] = network
777
778
  result[code] = self.safe_currency_structure({
778
779
  'id': currencyId,
779
780
  'code': code,
@@ -5393,6 +5394,66 @@ class coinex(Exchange, ImplicitAPI):
5393
5394
  data = self.safe_dict(response, 'data', {})
5394
5395
  return self.parse_deposit_withdraw_fee(data, currency)
5395
5396
 
5397
+ async def fetch_deposit_withdraw_fees(self, codes: Strings = None, params={}):
5398
+ """
5399
+ fetch the fees for deposits and withdrawals
5400
+
5401
+ https://docs.coinex.com/api/v2/assets/deposit-withdrawal/http/list-all-deposit-withdrawal-config
5402
+
5403
+ @param codes
5404
+ :param dict [params]: extra parameters specific to the exchange API endpoint
5405
+ :returns dict: a dictionary of `fee structures <https://docs.ccxt.com/#/?id=fee-structure>`
5406
+ """
5407
+ await self.load_markets()
5408
+ response = await self.v2PublicGetAssetsAllDepositWithdrawConfig(params)
5409
+ #
5410
+ # {
5411
+ # "code": 0,
5412
+ # "data": [
5413
+ # {
5414
+ # "asset": {
5415
+ # "ccy": "CET",
5416
+ # "deposit_enabled": True,
5417
+ # "withdraw_enabled": True,
5418
+ # "inter_transfer_enabled": True,
5419
+ # "is_st": False
5420
+ # },
5421
+ # "chains": [
5422
+ # {
5423
+ # "chain": "CSC",
5424
+ # "min_deposit_amount": "0.8",
5425
+ # "min_withdraw_amount": "8",
5426
+ # "deposit_enabled": True,
5427
+ # "withdraw_enabled": True,
5428
+ # "deposit_delay_minutes": 0,
5429
+ # "safe_confirmations": 10,
5430
+ # "irreversible_confirmations": 20,
5431
+ # "deflation_rate": "0",
5432
+ # "withdrawal_fee": "0.026",
5433
+ # "withdrawal_precision": 8,
5434
+ # "memo": "",
5435
+ # "is_memo_required_for_deposit": False,
5436
+ # "explorer_asset_url": ""
5437
+ # },
5438
+ # ]
5439
+ # }
5440
+ # ],
5441
+ # "message": "OK"
5442
+ # }
5443
+ #
5444
+ data = self.safe_list(response, 'data', [])
5445
+ result: dict = {}
5446
+ for i in range(0, len(data)):
5447
+ item = data[i]
5448
+ asset = self.safe_dict(item, 'asset', {})
5449
+ currencyId = self.safe_string(asset, 'ccy')
5450
+ if currencyId is None:
5451
+ continue
5452
+ code = self.safe_currency_code(currencyId)
5453
+ if codes is None or self.in_array(code, codes):
5454
+ result[code] = self.parse_deposit_withdraw_fee(item)
5455
+ return result
5456
+
5396
5457
  def parse_deposit_withdraw_fee(self, fee, currency: Currency = None):
5397
5458
  #
5398
5459
  # {
@@ -33,25 +33,23 @@ NO_PADDING = 5
33
33
  PAD_WITH_ZERO = 6
34
34
 
35
35
 
36
- def decimal_to_precision(n, rounding_mode=ROUND, numPrecisionDigits=None, counting_mode=DECIMAL_PLACES, padding_mode=NO_PADDING):
37
- assert numPrecisionDigits is not None, 'numPrecisionDigits should not be None'
36
+ def decimal_to_precision(n, rounding_mode=ROUND, precision=None, counting_mode=DECIMAL_PLACES, padding_mode=NO_PADDING):
37
+ assert precision is not None, 'precision should not be None'
38
38
 
39
- if isinstance(numPrecisionDigits, str):
40
- numPrecisionDigits = float(numPrecisionDigits)
41
- assert isinstance(numPrecisionDigits, float) or isinstance(numPrecisionDigits, decimal.Decimal) or isinstance(numPrecisionDigits, numbers.Integral), 'numPrecisionDigits has an invalid number'
39
+ if isinstance(precision, str):
40
+ precision = float(precision)
41
+ assert isinstance(precision, float) or isinstance(precision, decimal.Decimal) or isinstance(precision, numbers.Integral), 'precision has an invalid number'
42
42
 
43
43
  if counting_mode == TICK_SIZE:
44
- assert numPrecisionDigits > 0, 'negative or zero numPrecisionDigits can not be used with TICK_SIZE precisionMode'
44
+ assert precision > 0, 'negative or zero precision can not be used with TICK_SIZE precisionMode'
45
45
  else:
46
- assert isinstance(numPrecisionDigits, numbers.Integral)
46
+ assert isinstance(precision, numbers.Integral)
47
47
 
48
48
  assert rounding_mode in [TRUNCATE, ROUND]
49
49
  assert counting_mode in [DECIMAL_PLACES, SIGNIFICANT_DIGITS, TICK_SIZE]
50
50
  assert padding_mode in [NO_PADDING, PAD_WITH_ZERO]
51
51
  # end of checks
52
52
 
53
- precision = numPrecisionDigits # "precision" variable name was in signature, but to make function signature similar to php/js, I had to change the argument name to "numPrecisionDigits". however, the below codes use "precision" variable name, so we have to assign that name here (you can change the usage of 'precision' variable name below everywhere, but i've refrained to do that to avoid many changes)
54
-
55
53
  context = decimal.getcontext()
56
54
 
57
55
  if counting_mode != TICK_SIZE:
@@ -1,9 +1,3 @@
1
- # ----------------------------------------------------------------------------
2
-
3
- # PLEASE DO NOT EDIT THIS FILE, IT IS GENERATED AND WILL BE OVERWRITTEN:
4
- # https://github.com/ccxt/ccxt/blob/master/CONTRIBUTING.md#how-to-contribute-code
5
- # EDIT THE CORRESPONDENT .ts FILE INSTEAD
6
-
7
1
  error_hierarchy = {
8
2
  'BaseError': {
9
3
  'ExchangeError': {
@@ -23,6 +17,7 @@ error_hierarchy = {
23
17
  },
24
18
  'MarketClosed': {},
25
19
  'ManualInteractionNeeded': {},
20
+ 'RestrictedLocation': {},
26
21
  },
27
22
  'InsufficientFunds': {},
28
23
  'InvalidAddress': {
@@ -118,6 +113,10 @@ class ManualInteractionNeeded(OperationRejected):
118
113
  pass
119
114
 
120
115
 
116
+ class RestrictedLocation(OperationRejected):
117
+ pass
118
+
119
+
121
120
  class InsufficientFunds(ExchangeError):
122
121
  pass
123
122
 
@@ -238,6 +237,7 @@ __all__ = [
238
237
  'MarginModeAlreadySet',
239
238
  'MarketClosed',
240
239
  'ManualInteractionNeeded',
240
+ 'RestrictedLocation',
241
241
  'InsufficientFunds',
242
242
  'InvalidAddress',
243
243
  'AddressPending',
@@ -4,7 +4,7 @@
4
4
 
5
5
  # -----------------------------------------------------------------------------
6
6
 
7
- __version__ = '4.4.97'
7
+ __version__ = '4.4.99'
8
8
 
9
9
  # -----------------------------------------------------------------------------
10
10
 
@@ -86,7 +86,7 @@ class coinex(Exchange, ImplicitAPI):
86
86
  'fetchDepositAddressesByNetwork': False,
87
87
  'fetchDeposits': True,
88
88
  'fetchDepositWithdrawFee': True,
89
- 'fetchDepositWithdrawFees': False,
89
+ 'fetchDepositWithdrawFees': True,
90
90
  'fetchFundingHistory': True,
91
91
  'fetchFundingInterval': True,
92
92
  'fetchFundingIntervals': False,
@@ -739,6 +739,7 @@ class coinex(Exchange, ImplicitAPI):
739
739
  for j in range(0, len(chains)):
740
740
  chain = chains[j]
741
741
  networkId = self.safe_string(chain, 'chain')
742
+ networkCode = self.network_id_to_code(networkId, code)
742
743
  if networkId is None:
743
744
  continue
744
745
  precisionString = self.parse_precision(self.safe_string(chain, 'withdrawal_precision'))
@@ -749,7 +750,7 @@ class coinex(Exchange, ImplicitAPI):
749
750
  canWithdrawChain = self.safe_bool(chain, 'withdraw_enabled')
750
751
  network: dict = {
751
752
  'id': networkId,
752
- 'network': networkId,
753
+ 'network': networkCode,
753
754
  'name': None,
754
755
  'active': canDepositChain and canWithdrawChain,
755
756
  'deposit': canDepositChain,
@@ -772,7 +773,7 @@ class coinex(Exchange, ImplicitAPI):
772
773
  },
773
774
  'info': chain,
774
775
  }
775
- networks[networkId] = network
776
+ networks[networkCode] = network
776
777
  result[code] = self.safe_currency_structure({
777
778
  'id': currencyId,
778
779
  'code': code,
@@ -5392,6 +5393,66 @@ class coinex(Exchange, ImplicitAPI):
5392
5393
  data = self.safe_dict(response, 'data', {})
5393
5394
  return self.parse_deposit_withdraw_fee(data, currency)
5394
5395
 
5396
+ def fetch_deposit_withdraw_fees(self, codes: Strings = None, params={}):
5397
+ """
5398
+ fetch the fees for deposits and withdrawals
5399
+
5400
+ https://docs.coinex.com/api/v2/assets/deposit-withdrawal/http/list-all-deposit-withdrawal-config
5401
+
5402
+ @param codes
5403
+ :param dict [params]: extra parameters specific to the exchange API endpoint
5404
+ :returns dict: a dictionary of `fee structures <https://docs.ccxt.com/#/?id=fee-structure>`
5405
+ """
5406
+ self.load_markets()
5407
+ response = self.v2PublicGetAssetsAllDepositWithdrawConfig(params)
5408
+ #
5409
+ # {
5410
+ # "code": 0,
5411
+ # "data": [
5412
+ # {
5413
+ # "asset": {
5414
+ # "ccy": "CET",
5415
+ # "deposit_enabled": True,
5416
+ # "withdraw_enabled": True,
5417
+ # "inter_transfer_enabled": True,
5418
+ # "is_st": False
5419
+ # },
5420
+ # "chains": [
5421
+ # {
5422
+ # "chain": "CSC",
5423
+ # "min_deposit_amount": "0.8",
5424
+ # "min_withdraw_amount": "8",
5425
+ # "deposit_enabled": True,
5426
+ # "withdraw_enabled": True,
5427
+ # "deposit_delay_minutes": 0,
5428
+ # "safe_confirmations": 10,
5429
+ # "irreversible_confirmations": 20,
5430
+ # "deflation_rate": "0",
5431
+ # "withdrawal_fee": "0.026",
5432
+ # "withdrawal_precision": 8,
5433
+ # "memo": "",
5434
+ # "is_memo_required_for_deposit": False,
5435
+ # "explorer_asset_url": ""
5436
+ # },
5437
+ # ]
5438
+ # }
5439
+ # ],
5440
+ # "message": "OK"
5441
+ # }
5442
+ #
5443
+ data = self.safe_list(response, 'data', [])
5444
+ result: dict = {}
5445
+ for i in range(0, len(data)):
5446
+ item = data[i]
5447
+ asset = self.safe_dict(item, 'asset', {})
5448
+ currencyId = self.safe_string(asset, 'ccy')
5449
+ if currencyId is None:
5450
+ continue
5451
+ code = self.safe_currency_code(currencyId)
5452
+ if codes is None or self.in_array(code, codes):
5453
+ result[code] = self.parse_deposit_withdraw_fee(item)
5454
+ return result
5455
+
5395
5456
  def parse_deposit_withdraw_fee(self, fee, currency: Currency = None):
5396
5457
  #
5397
5458
  # {
@@ -8,7 +8,7 @@ sys.modules['ccxt'] = ccxt_module
8
8
 
9
9
  # ----------------------------------------------------------------------------
10
10
 
11
- __version__ = '4.4.97'
11
+ __version__ = '4.4.99'
12
12
 
13
13
  # ----------------------------------------------------------------------------
14
14
 
@@ -31,6 +31,7 @@ from ccxt.base.errors import NoChange # noqa: F4
31
31
  from ccxt.base.errors import MarginModeAlreadySet # noqa: F401
32
32
  from ccxt.base.errors import MarketClosed # noqa: F401
33
33
  from ccxt.base.errors import ManualInteractionNeeded # noqa: F401
34
+ from ccxt.base.errors import RestrictedLocation # noqa: F401
34
35
  from ccxt.base.errors import InsufficientFunds # noqa: F401
35
36
  from ccxt.base.errors import InvalidAddress # noqa: F401
36
37
  from ccxt.base.errors import AddressPending # noqa: F401
File without changes