mexc-exchange-api 0.0.85__tar.gz → 0.0.87__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.

Potentially problematic release.


This version of mexc-exchange-api might be problematic. Click here for more details.

Files changed (287) hide show
  1. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/PKG-INFO +1 -1
  2. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/pyproject.toml +1 -1
  3. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/__init__.py +1 -1
  4. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/async_support/__init__.py +1 -1
  5. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/async_support/base/exchange.py +10 -7
  6. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/async_support/mexc.py +28 -1
  7. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/base/exchange.py +88 -14
  8. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/mexc.py +28 -1
  9. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/pro/__init__.py +1 -1
  10. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/pro/mexc.py +6 -3
  11. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/.gitignore +0 -0
  12. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/README.md +0 -0
  13. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/__init__.py +0 -0
  14. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/abstract/mexc.py +0 -0
  15. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/async_support/base/__init__.py +0 -0
  16. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/async_support/base/throttler.py +0 -0
  17. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/async_support/base/ws/__init__.py +0 -0
  18. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/async_support/base/ws/cache.py +0 -0
  19. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/async_support/base/ws/client.py +0 -0
  20. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/async_support/base/ws/functions.py +0 -0
  21. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/async_support/base/ws/future.py +0 -0
  22. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/async_support/base/ws/order_book.py +0 -0
  23. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/async_support/base/ws/order_book_side.py +0 -0
  24. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/base/__init__.py +0 -0
  25. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/base/decimal_to_precision.py +0 -0
  26. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/base/errors.py +0 -0
  27. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/base/precise.py +0 -0
  28. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/base/types.py +0 -0
  29. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/README.md +0 -0
  30. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/__init__.py +0 -0
  31. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/ecdsa/__init__.py +0 -0
  32. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/ecdsa/_version.py +0 -0
  33. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/ecdsa/curves.py +0 -0
  34. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/ecdsa/der.py +0 -0
  35. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/ecdsa/ecdsa.py +0 -0
  36. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/ecdsa/ellipticcurve.py +0 -0
  37. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/ecdsa/keys.py +0 -0
  38. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/ecdsa/numbertheory.py +0 -0
  39. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/ecdsa/rfc6979.py +0 -0
  40. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/ecdsa/util.py +0 -0
  41. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/ethereum/__init__.py +0 -0
  42. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/ethereum/abi/__init__.py +0 -0
  43. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/ethereum/abi/abi.py +0 -0
  44. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/ethereum/abi/base.py +0 -0
  45. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/ethereum/abi/codec.py +0 -0
  46. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/ethereum/abi/constants.py +0 -0
  47. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/ethereum/abi/decoding.py +0 -0
  48. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/ethereum/abi/encoding.py +0 -0
  49. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/ethereum/abi/exceptions.py +0 -0
  50. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/ethereum/abi/grammar.py +0 -0
  51. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/ethereum/abi/packed.py +0 -0
  52. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/ethereum/abi/py.typed +0 -0
  53. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/ethereum/abi/registry.py +0 -0
  54. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/ethereum/abi/tools/__init__.py +0 -0
  55. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/ethereum/abi/tools/_strategies.py +0 -0
  56. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/ethereum/abi/utils/__init__.py +0 -0
  57. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/ethereum/abi/utils/numeric.py +0 -0
  58. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/ethereum/abi/utils/padding.py +0 -0
  59. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/ethereum/abi/utils/string.py +0 -0
  60. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/ethereum/account/__init__.py +0 -0
  61. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/ethereum/account/encode_typed_data/__init__.py +0 -0
  62. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/ethereum/account/encode_typed_data/encoding_and_hashing.py +0 -0
  63. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/ethereum/account/encode_typed_data/helpers.py +0 -0
  64. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/ethereum/account/messages.py +0 -0
  65. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/ethereum/account/py.typed +0 -0
  66. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/ethereum/hexbytes/__init__.py +0 -0
  67. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/ethereum/hexbytes/_utils.py +0 -0
  68. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/ethereum/hexbytes/main.py +0 -0
  69. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/ethereum/hexbytes/py.typed +0 -0
  70. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/ethereum/typing/__init__.py +0 -0
  71. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/ethereum/typing/abi.py +0 -0
  72. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/ethereum/typing/bls.py +0 -0
  73. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/ethereum/typing/discovery.py +0 -0
  74. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/ethereum/typing/encoding.py +0 -0
  75. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/ethereum/typing/enums.py +0 -0
  76. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/ethereum/typing/ethpm.py +0 -0
  77. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/ethereum/typing/evm.py +0 -0
  78. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/ethereum/typing/networks.py +0 -0
  79. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/ethereum/typing/py.typed +0 -0
  80. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/ethereum/utils/__init__.py +0 -0
  81. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/ethereum/utils/abi.py +0 -0
  82. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/ethereum/utils/address.py +0 -0
  83. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/ethereum/utils/applicators.py +0 -0
  84. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/ethereum/utils/conversions.py +0 -0
  85. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/ethereum/utils/currency.py +0 -0
  86. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/ethereum/utils/curried/__init__.py +0 -0
  87. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/ethereum/utils/debug.py +0 -0
  88. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/ethereum/utils/decorators.py +0 -0
  89. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/ethereum/utils/encoding.py +0 -0
  90. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/ethereum/utils/exceptions.py +0 -0
  91. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/ethereum/utils/functional.py +0 -0
  92. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/ethereum/utils/hexadecimal.py +0 -0
  93. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/ethereum/utils/humanize.py +0 -0
  94. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/ethereum/utils/logging.py +0 -0
  95. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/ethereum/utils/module_loading.py +0 -0
  96. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/ethereum/utils/numeric.py +0 -0
  97. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/ethereum/utils/py.typed +0 -0
  98. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/ethereum/utils/toolz.py +0 -0
  99. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/ethereum/utils/types.py +0 -0
  100. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/ethereum/utils/typing/__init__.py +0 -0
  101. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/ethereum/utils/typing/misc.py +0 -0
  102. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/ethereum/utils/units.py +0 -0
  103. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/keccak/__init__.py +0 -0
  104. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/keccak/keccak.py +0 -0
  105. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/lark/__init__.py +0 -0
  106. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/lark/__pyinstaller/__init__.py +0 -0
  107. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/lark/__pyinstaller/hook-lark.py +0 -0
  108. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/lark/ast_utils.py +0 -0
  109. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/lark/common.py +0 -0
  110. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/lark/exceptions.py +0 -0
  111. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/lark/grammar.py +0 -0
  112. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/lark/grammars/__init__.py +0 -0
  113. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/lark/grammars/common.lark +0 -0
  114. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/lark/grammars/lark.lark +0 -0
  115. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/lark/grammars/python.lark +0 -0
  116. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/lark/grammars/unicode.lark +0 -0
  117. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/lark/indenter.py +0 -0
  118. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/lark/lark.py +0 -0
  119. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/lark/lexer.py +0 -0
  120. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/lark/load_grammar.py +0 -0
  121. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/lark/parse_tree_builder.py +0 -0
  122. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/lark/parser_frontends.py +0 -0
  123. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/lark/parsers/__init__.py +0 -0
  124. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/lark/parsers/cyk.py +0 -0
  125. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/lark/parsers/earley.py +0 -0
  126. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/lark/parsers/earley_common.py +0 -0
  127. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/lark/parsers/earley_forest.py +0 -0
  128. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/lark/parsers/grammar_analysis.py +0 -0
  129. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/lark/parsers/lalr_analysis.py +0 -0
  130. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/lark/parsers/lalr_interactive_parser.py +0 -0
  131. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/lark/parsers/lalr_parser.py +0 -0
  132. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/lark/parsers/lalr_parser_state.py +0 -0
  133. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/lark/parsers/xearley.py +0 -0
  134. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/lark/py.typed +0 -0
  135. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/lark/reconstruct.py +0 -0
  136. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/lark/tools/__init__.py +0 -0
  137. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/lark/tools/nearley.py +0 -0
  138. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/lark/tools/serialize.py +0 -0
  139. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/lark/tools/standalone.py +0 -0
  140. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/lark/tree.py +0 -0
  141. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/lark/tree_matcher.py +0 -0
  142. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/lark/tree_templates.py +0 -0
  143. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/lark/utils.py +0 -0
  144. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/lark/visitors.py +0 -0
  145. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/marshmallow/__init__.py +0 -0
  146. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/marshmallow/base.py +0 -0
  147. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/marshmallow/class_registry.py +0 -0
  148. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/marshmallow/decorators.py +0 -0
  149. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/marshmallow/error_store.py +0 -0
  150. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/marshmallow/exceptions.py +0 -0
  151. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/marshmallow/fields.py +0 -0
  152. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/marshmallow/orderedset.py +0 -0
  153. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/marshmallow/py.typed +0 -0
  154. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/marshmallow/schema.py +0 -0
  155. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/marshmallow/types.py +0 -0
  156. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/marshmallow/utils.py +0 -0
  157. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/marshmallow/validate.py +0 -0
  158. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/marshmallow/warnings.py +0 -0
  159. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/marshmallow_dataclass/__init__.py +0 -0
  160. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/marshmallow_dataclass/collection_field.py +0 -0
  161. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/marshmallow_dataclass/lazy_class_attribute.py +0 -0
  162. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/marshmallow_dataclass/mypy.py +0 -0
  163. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/marshmallow_dataclass/py.typed +0 -0
  164. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/marshmallow_dataclass/typing.py +0 -0
  165. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/marshmallow_dataclass/union_field.py +0 -0
  166. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/marshmallow_oneofschema/__init__.py +0 -0
  167. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/marshmallow_oneofschema/one_of_schema.py +0 -0
  168. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/marshmallow_oneofschema/py.typed +0 -0
  169. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/msgpack/__init__.py +0 -0
  170. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/msgpack/_cmsgpack.pyx +0 -0
  171. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/msgpack/_packer.pyx +0 -0
  172. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/msgpack/_unpacker.pyx +0 -0
  173. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/msgpack/buff_converter.h +0 -0
  174. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/msgpack/exceptions.py +0 -0
  175. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/msgpack/ext.py +0 -0
  176. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/msgpack/fallback.py +0 -0
  177. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/msgpack/pack.h +0 -0
  178. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/msgpack/pack_template.h +0 -0
  179. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/msgpack/sysdep.h +0 -0
  180. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/msgpack/unpack.h +0 -0
  181. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/msgpack/unpack_define.h +0 -0
  182. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/msgpack/unpack_template.h +0 -0
  183. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/parsimonious/__init__.py +0 -0
  184. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/parsimonious/exceptions.py +0 -0
  185. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/parsimonious/expressions.py +0 -0
  186. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/parsimonious/grammar.py +0 -0
  187. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/parsimonious/nodes.py +0 -0
  188. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/parsimonious/utils.py +0 -0
  189. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/starknet/__init__.py +0 -0
  190. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/starknet/abi/v0/__init__.py +0 -0
  191. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/starknet/abi/v0/model.py +0 -0
  192. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/starknet/abi/v0/parser.py +0 -0
  193. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/starknet/abi/v0/schemas.py +0 -0
  194. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/starknet/abi/v0/shape.py +0 -0
  195. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/starknet/abi/v1/__init__.py +0 -0
  196. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/starknet/abi/v1/core_structures.json +0 -0
  197. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/starknet/abi/v1/model.py +0 -0
  198. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/starknet/abi/v1/parser.py +0 -0
  199. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/starknet/abi/v1/parser_transformer.py +0 -0
  200. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/starknet/abi/v1/schemas.py +0 -0
  201. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/starknet/abi/v1/shape.py +0 -0
  202. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/starknet/abi/v2/__init__.py +0 -0
  203. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/starknet/abi/v2/model.py +0 -0
  204. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/starknet/abi/v2/parser.py +0 -0
  205. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/starknet/abi/v2/parser_transformer.py +0 -0
  206. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/starknet/abi/v2/schemas.py +0 -0
  207. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/starknet/abi/v2/shape.py +0 -0
  208. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/starknet/cairo/__init__.py +0 -0
  209. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/starknet/cairo/data_types.py +0 -0
  210. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/starknet/cairo/deprecated_parse/__init__.py +0 -0
  211. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/starknet/cairo/deprecated_parse/cairo_types.py +0 -0
  212. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/starknet/cairo/deprecated_parse/parser.py +0 -0
  213. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/starknet/cairo/deprecated_parse/parser_transformer.py +0 -0
  214. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/starknet/cairo/felt.py +0 -0
  215. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/starknet/cairo/type_parser.py +0 -0
  216. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/starknet/cairo/v1/__init__.py +0 -0
  217. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/starknet/cairo/v1/type_parser.py +0 -0
  218. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/starknet/cairo/v2/__init__.py +0 -0
  219. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/starknet/cairo/v2/type_parser.py +0 -0
  220. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/starknet/ccxt_utils.py +0 -0
  221. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/starknet/common.py +0 -0
  222. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/starknet/constants.py +0 -0
  223. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/starknet/hash/__init__.py +0 -0
  224. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/starknet/hash/address.py +0 -0
  225. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/starknet/hash/compiled_class_hash_objects.py +0 -0
  226. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/starknet/hash/selector.py +0 -0
  227. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/starknet/hash/storage.py +0 -0
  228. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/starknet/hash/utils.py +0 -0
  229. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/starknet/models/__init__.py +0 -0
  230. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/starknet/models/typed_data.py +0 -0
  231. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/starknet/serialization/__init__.py +0 -0
  232. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/starknet/serialization/_calldata_reader.py +0 -0
  233. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/starknet/serialization/_context.py +0 -0
  234. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/starknet/serialization/data_serializers/__init__.py +0 -0
  235. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/starknet/serialization/data_serializers/_common.py +0 -0
  236. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/starknet/serialization/data_serializers/array_serializer.py +0 -0
  237. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/starknet/serialization/data_serializers/bool_serializer.py +0 -0
  238. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/starknet/serialization/data_serializers/byte_array_serializer.py +0 -0
  239. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/starknet/serialization/data_serializers/cairo_data_serializer.py +0 -0
  240. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/starknet/serialization/data_serializers/enum_serializer.py +0 -0
  241. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/starknet/serialization/data_serializers/felt_serializer.py +0 -0
  242. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/starknet/serialization/data_serializers/named_tuple_serializer.py +0 -0
  243. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/starknet/serialization/data_serializers/option_serializer.py +0 -0
  244. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/starknet/serialization/data_serializers/output_serializer.py +0 -0
  245. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/starknet/serialization/data_serializers/payload_serializer.py +0 -0
  246. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/starknet/serialization/data_serializers/struct_serializer.py +0 -0
  247. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/starknet/serialization/data_serializers/tuple_serializer.py +0 -0
  248. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/starknet/serialization/data_serializers/uint256_serializer.py +0 -0
  249. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/starknet/serialization/data_serializers/uint_serializer.py +0 -0
  250. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/starknet/serialization/data_serializers/unit_serializer.py +0 -0
  251. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/starknet/serialization/errors.py +0 -0
  252. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/starknet/serialization/factory.py +0 -0
  253. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/starknet/serialization/function_serialization_adapter.py +0 -0
  254. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/starknet/serialization/tuple_dataclass.py +0 -0
  255. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/starknet/utils/__init__.py +0 -0
  256. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/starknet/utils/constructor_args_translator.py +0 -0
  257. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/starknet/utils/iterable.py +0 -0
  258. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/starknet/utils/schema.py +0 -0
  259. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/starknet/utils/typed_data.py +0 -0
  260. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/starkware/__init__.py +0 -0
  261. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/starkware/crypto/__init__.py +0 -0
  262. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/starkware/crypto/fast_pedersen_hash.py +0 -0
  263. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/starkware/crypto/math_utils.py +0 -0
  264. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/starkware/crypto/signature.py +0 -0
  265. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/starkware/crypto/utils.py +0 -0
  266. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/sympy/__init__.py +0 -0
  267. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/sympy/core/__init__.py +0 -0
  268. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/sympy/core/intfunc.py +0 -0
  269. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/sympy/external/__init__.py +0 -0
  270. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/sympy/external/gmpy.py +0 -0
  271. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/sympy/external/importtools.py +0 -0
  272. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/sympy/external/ntheory.py +0 -0
  273. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/sympy/external/pythonmpq.py +0 -0
  274. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/toolz/__init__.py +0 -0
  275. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/toolz/_signatures.py +0 -0
  276. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/toolz/_version.py +0 -0
  277. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/toolz/compatibility.py +0 -0
  278. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/toolz/curried/__init__.py +0 -0
  279. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/toolz/curried/exceptions.py +0 -0
  280. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/toolz/curried/operator.py +0 -0
  281. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/toolz/dicttoolz.py +0 -0
  282. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/toolz/functoolz.py +0 -0
  283. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/toolz/itertoolz.py +0 -0
  284. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/toolz/recipes.py +0 -0
  285. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/toolz/utils.py +0 -0
  286. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/typing_inspect/__init__.py +0 -0
  287. {mexc_exchange_api-0.0.85 → mexc_exchange_api-0.0.87}/src/mexc/ccxt/static_dependencies/typing_inspect/typing_inspect.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mexc-exchange-api
3
- Version: 0.0.85
3
+ Version: 0.0.87
4
4
  Summary: mexc 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/mexc"]
11
11
 
12
12
  [project]
13
13
  name = "mexc-exchange-api"
14
- version = "0.0.85"
14
+ version = "0.0.87"
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.5.2'
29
+ __version__ = '4.5.4'
30
30
 
31
31
  # ----------------------------------------------------------------------------
32
32
 
@@ -8,7 +8,7 @@ sys.modules['ccxt'] = ccxt_module
8
8
 
9
9
  # -----------------------------------------------------------------------------
10
10
 
11
- __version__ = '4.5.2'
11
+ __version__ = '4.5.4'
12
12
 
13
13
  # -----------------------------------------------------------------------------
14
14
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  # -----------------------------------------------------------------------------
4
4
 
5
- __version__ = '4.5.2'
5
+ __version__ = '4.5.4'
6
6
 
7
7
  # -----------------------------------------------------------------------------
8
8
 
@@ -708,6 +708,9 @@ class Exchange(BaseExchange):
708
708
  async def un_watch_positions(self, symbols: Strings = None, params={}):
709
709
  raise NotSupported(self.id + ' unWatchPositions() is not supported yet')
710
710
 
711
+ async def un_watch_ticker(self, symbol: str, params={}):
712
+ raise NotSupported(self.id + ' unWatchTicker() is not supported yet')
713
+
711
714
  async def fetch_deposit_addresses(self, codes: Strings = None, params={}):
712
715
  raise NotSupported(self.id + ' fetchDepositAddresses() is not supported yet')
713
716
 
@@ -868,19 +871,19 @@ class Exchange(BaseExchange):
868
871
  async def repay_margin(self, code: str, amount: float, symbol: Str = None, params={}):
869
872
  raise NotSupported(self.id + ' repayMargin is deprecated, please use repayCrossMargin or repayIsolatedMargin instead')
870
873
 
871
- async def fetch_ohlcv(self, symbol: str, timeframe='1m', since: Int = None, limit: Int = None, params={}):
874
+ async def fetch_ohlcv(self, symbol: str, timeframe: str = '1m', since: Int = None, limit: Int = None, params={}):
872
875
  message = ''
873
876
  if self.has['fetchTrades']:
874
877
  message = '. If you want to build OHLCV candles from trade executions data, visit https://github.com/ccxt/ccxt/tree/master/examples/ and see "build-ohlcv-bars" file'
875
878
  raise NotSupported(self.id + ' fetchOHLCV() is not supported yet' + message)
876
879
 
877
- async def fetch_ohlcv_ws(self, symbol: str, timeframe='1m', since: Int = None, limit: Int = None, params={}):
880
+ async def fetch_ohlcv_ws(self, symbol: str, timeframe: str = '1m', since: Int = None, limit: Int = None, params={}):
878
881
  message = ''
879
882
  if self.has['fetchTradesWs']:
880
883
  message = '. If you want to build OHLCV candles from trade executions data, visit https://github.com/ccxt/ccxt/tree/master/examples/ and see "build-ohlcv-bars" file'
881
884
  raise NotSupported(self.id + ' fetchOHLCVWs() is not supported yet. Try using fetchOHLCV instead.' + message)
882
885
 
883
- async def watch_ohlcv(self, symbol: str, timeframe='1m', since: Int = None, limit: Int = None, params={}):
886
+ async def watch_ohlcv(self, symbol: str, timeframe: str = '1m', since: Int = None, limit: Int = None, params={}):
884
887
  raise NotSupported(self.id + ' watchOHLCV() is not supported yet')
885
888
 
886
889
  async def fetch_web_endpoint(self, method, endpointMethod, returnAsJson, startRegex=None, endRegex=None):
@@ -1850,7 +1853,7 @@ class Exchange(BaseExchange):
1850
1853
  else:
1851
1854
  raise NotSupported(self.id + ' fetchFundingInterval() is not supported yet')
1852
1855
 
1853
- async def fetch_mark_ohlcv(self, symbol: str, timeframe='1m', since: Int = None, limit: Int = None, params={}):
1856
+ async def fetch_mark_ohlcv(self, symbol: str, timeframe: str = '1m', since: Int = None, limit: Int = None, params={}):
1854
1857
  """
1855
1858
  fetches historical mark price candlestick data containing the open, high, low, and close price of a market
1856
1859
  :param str symbol: unified symbol of the market to fetch OHLCV data for
@@ -1868,7 +1871,7 @@ class Exchange(BaseExchange):
1868
1871
  else:
1869
1872
  raise NotSupported(self.id + ' fetchMarkOHLCV() is not supported yet')
1870
1873
 
1871
- async def fetch_index_ohlcv(self, symbol: str, timeframe='1m', since: Int = None, limit: Int = None, params={}):
1874
+ async def fetch_index_ohlcv(self, symbol: str, timeframe: str = '1m', since: Int = None, limit: Int = None, params={}):
1872
1875
  """
1873
1876
  fetches historical index price candlestick data containing the open, high, low, and close price of a market
1874
1877
  :param str symbol: unified symbol of the market to fetch OHLCV data for
@@ -1886,7 +1889,7 @@ class Exchange(BaseExchange):
1886
1889
  else:
1887
1890
  raise NotSupported(self.id + ' fetchIndexOHLCV() is not supported yet')
1888
1891
 
1889
- async def fetch_premium_index_ohlcv(self, symbol: str, timeframe='1m', since: Int = None, limit: Int = None, params={}):
1892
+ async def fetch_premium_index_ohlcv(self, symbol: str, timeframe: str = '1m', since: Int = None, limit: Int = None, params={}):
1890
1893
  """
1891
1894
  fetches historical premium index price candlestick data containing the open, high, low, and close price of a market
1892
1895
  :param str symbol: unified symbol of the market to fetch OHLCV data for
@@ -4761,7 +4761,13 @@ class mexc(Exchange, ImplicitAPI):
4761
4761
  # "id":"25fb2831fb6d4fc7aa4094612a26c81d"
4762
4762
  # }
4763
4763
  #
4764
- id = self.safe_string(transaction, 'id')
4764
+ # internal withdraw(aka internal-transfer)
4765
+ #
4766
+ # {
4767
+ # "tranId":"ad36f0e9c9a24ae794b36fa4f152e471"
4768
+ # }
4769
+ #
4770
+ id = self.safe_string_2(transaction, 'id', 'tranId')
4765
4771
  type = 'deposit' if (id is None) else 'withdrawal'
4766
4772
  timestamp = self.safe_integer_2(transaction, 'insertTime', 'applyTime')
4767
4773
  updated = self.safe_integer(transaction, 'updateTime')
@@ -5255,17 +5261,38 @@ class mexc(Exchange, ImplicitAPI):
5255
5261
  make a withdrawal
5256
5262
 
5257
5263
  https://mexcdevelop.github.io/apidocs/spot_v3_en/#withdraw-new
5264
+ https://www.mexc.com/api-docs/spot-v3/wallet-endpoints#internal-transfer
5258
5265
 
5259
5266
  :param str code: unified currency code
5260
5267
  :param float amount: the amount to withdraw
5261
5268
  :param str address: the address to withdraw to
5262
5269
  :param str tag:
5263
5270
  :param dict [params]: extra parameters specific to the exchange API endpoint
5271
+ :param dict [params.internal]: False by default, set to True for an "internal transfer"
5272
+ :param dict [params.toAccountType]: skipped by default, set to 'EMAIL|UID|MOBILE' when making an "internal transfer"
5264
5273
  :returns dict: a `transaction structure <https://docs.ccxt.com/#/?id=transaction-structure>`
5265
5274
  """
5266
5275
  await self.load_markets()
5267
5276
  currency = self.currency(code)
5268
5277
  tag, params = self.handle_withdraw_tag_and_params(tag, params)
5278
+ internal = self.safe_bool(params, 'internal', False)
5279
+ if internal:
5280
+ params = self.omit(params, 'internal')
5281
+ requestForInternal = {
5282
+ 'asset': currency['id'],
5283
+ 'amount': amount,
5284
+ 'toAccount': address,
5285
+ }
5286
+ toAccountType = self.safe_string(params, 'toAccountType')
5287
+ if toAccountType is None:
5288
+ raise ArgumentsRequired(self.id + ' withdraw() requires a toAccountType parameter for internal transfer to be of: EMAIL | UID | MOBILE')
5289
+ responseForInternal = await self.spotPrivatePostCapitalTransferInternal(self.extend(requestForInternal, params))
5290
+ #
5291
+ # {
5292
+ # "id":"7213fea8e94b4a5593d507237e5a555b"
5293
+ # }
5294
+ #
5295
+ return self.parse_transaction(responseForInternal, currency)
5269
5296
  networks = self.safe_dict(self.options, 'networks', {})
5270
5297
  network = self.safe_string_2(params, 'network', 'netWork') # self line allows the user to specify either ERC20 or ETH
5271
5298
  network = self.safe_string(networks, network, network) # handle ETH > ERC-20 alias
@@ -4,7 +4,7 @@
4
4
 
5
5
  # -----------------------------------------------------------------------------
6
6
 
7
- __version__ = '4.5.2'
7
+ __version__ = '4.5.4'
8
8
 
9
9
  # -----------------------------------------------------------------------------
10
10
 
@@ -1309,6 +1309,10 @@ class Exchange(object):
1309
1309
  elif algoType == 'ES':
1310
1310
  rawSignature = Exchange.ecdsa(token, secret, 'p256', algorithm)
1311
1311
  signature = Exchange.base16_to_binary(rawSignature['r'].rjust(64, "0") + rawSignature['s'].rjust(64, "0"))
1312
+ elif algoType == 'Ed':
1313
+ signature = Exchange.eddsa(token.encode('utf-8'), secret, 'ed25519', True)
1314
+ # here the signature is already a urlencoded base64-encoded string
1315
+ return token + '.' + signature
1312
1316
  else:
1313
1317
  signature = Exchange.hmac(Exchange.encode(token), secret, algos[algorithm], 'binary')
1314
1318
  return token + '.' + Exchange.urlencode_base64(signature)
@@ -1442,12 +1446,22 @@ class Exchange(object):
1442
1446
  'v': v,
1443
1447
  }
1444
1448
 
1449
+
1450
+ @staticmethod
1451
+ def binary_to_urlencoded_base64(data: bytes) -> str:
1452
+ encoded = base64.urlsafe_b64encode(data).decode("utf-8")
1453
+ return encoded.rstrip("=")
1454
+
1445
1455
  @staticmethod
1446
- def eddsa(request, secret, curve='ed25519'):
1456
+ def eddsa(request, secret, curve='ed25519', url_encode=False):
1447
1457
  if isinstance(secret, str):
1448
1458
  secret = Exchange.encode(secret)
1449
1459
  private_key = ed25519.Ed25519PrivateKey.from_private_bytes(secret) if len(secret) == 32 else load_pem_private_key(secret, None)
1450
- return Exchange.binary_to_base64(private_key.sign(request))
1460
+ signature = private_key.sign(request)
1461
+ if url_encode:
1462
+ return Exchange.binary_to_urlencoded_base64(signature)
1463
+
1464
+ return Exchange.binary_to_base64(signature)
1451
1465
 
1452
1466
  @staticmethod
1453
1467
  def axolotl(request, secret, curve='ed25519'):
@@ -2641,6 +2655,9 @@ class Exchange(object):
2641
2655
  def un_watch_positions(self, symbols: Strings = None, params={}):
2642
2656
  raise NotSupported(self.id + ' unWatchPositions() is not supported yet')
2643
2657
 
2658
+ def un_watch_ticker(self, symbol: str, params={}):
2659
+ raise NotSupported(self.id + ' unWatchTicker() is not supported yet')
2660
+
2644
2661
  def fetch_deposit_addresses(self, codes: Strings = None, params={}):
2645
2662
  raise NotSupported(self.id + ' fetchDepositAddresses() is not supported yet')
2646
2663
 
@@ -2862,9 +2879,9 @@ class Exchange(object):
2862
2879
  def parse_to_numeric(self, number):
2863
2880
  stringVersion = self.number_to_string(number) # self will convert 1.0 and 1 to "1" and 1.1 to "1.1"
2864
2881
  # keep self in mind:
2865
- # in JS: 1 == 1.0 is True; 1 == 1.0 is True
2882
+ # in JS: 1 == 1.0 is True
2866
2883
  # in Python: 1 == 1.0 is True
2867
- # in PHP 1 == 1.0 is True, but 1 == 1.0 is False.
2884
+ # in PHP: 1 == 1.0 is True, but 1 == 1.0 is False.
2868
2885
  if stringVersion.find('.') >= 0:
2869
2886
  return float(stringVersion)
2870
2887
  return int(stringVersion)
@@ -3310,6 +3327,24 @@ class Exchange(object):
3310
3327
  self.codes = list(currenciesSortedByCode.keys())
3311
3328
  return self.markets
3312
3329
 
3330
+ def set_markets_from_exchange(self, sourceExchange):
3331
+ # Validate that both exchanges are of the same type
3332
+ if self.id != sourceExchange.id:
3333
+ raise ArgumentsRequired(self.id + ' shareMarkets() can only share markets with exchanges of the same type(got ' + sourceExchange['id'] + ')')
3334
+ # Validate that source exchange has loaded markets
3335
+ if not sourceExchange.markets:
3336
+ raise ExchangeError('setMarketsFromExchange() source exchange must have loaded markets first. Can call by using loadMarkets function')
3337
+ # Set all market-related data
3338
+ self.markets = sourceExchange.markets
3339
+ self.markets_by_id = sourceExchange.markets_by_id
3340
+ self.symbols = sourceExchange.symbols
3341
+ self.ids = sourceExchange.ids
3342
+ self.currencies = sourceExchange.currencies
3343
+ self.baseCurrencies = sourceExchange.baseCurrencies
3344
+ self.quoteCurrencies = sourceExchange.quoteCurrencies
3345
+ self.codes = sourceExchange.codes
3346
+ return self
3347
+
3313
3348
  def get_describe_for_extended_ws_exchange(self, currentRestInstance: Any, parentRestInstance: Any, wsBaseDescribe: dict):
3314
3349
  extendedRestDescribe = self.deep_extend(parentRestInstance.describe(), currentRestInstance.describe())
3315
3350
  superWithRestDescribe = self.deep_extend(extendedRestDescribe, wsBaseDescribe)
@@ -3948,19 +3983,19 @@ class Exchange(object):
3948
3983
  def repay_margin(self, code: str, amount: float, symbol: Str = None, params={}):
3949
3984
  raise NotSupported(self.id + ' repayMargin is deprecated, please use repayCrossMargin or repayIsolatedMargin instead')
3950
3985
 
3951
- def fetch_ohlcv(self, symbol: str, timeframe='1m', since: Int = None, limit: Int = None, params={}):
3986
+ def fetch_ohlcv(self, symbol: str, timeframe: str = '1m', since: Int = None, limit: Int = None, params={}):
3952
3987
  message = ''
3953
3988
  if self.has['fetchTrades']:
3954
3989
  message = '. If you want to build OHLCV candles from trade executions data, visit https://github.com/ccxt/ccxt/tree/master/examples/ and see "build-ohlcv-bars" file'
3955
3990
  raise NotSupported(self.id + ' fetchOHLCV() is not supported yet' + message)
3956
3991
 
3957
- def fetch_ohlcv_ws(self, symbol: str, timeframe='1m', since: Int = None, limit: Int = None, params={}):
3992
+ def fetch_ohlcv_ws(self, symbol: str, timeframe: str = '1m', since: Int = None, limit: Int = None, params={}):
3958
3993
  message = ''
3959
3994
  if self.has['fetchTradesWs']:
3960
3995
  message = '. If you want to build OHLCV candles from trade executions data, visit https://github.com/ccxt/ccxt/tree/master/examples/ and see "build-ohlcv-bars" file'
3961
3996
  raise NotSupported(self.id + ' fetchOHLCVWs() is not supported yet. Try using fetchOHLCV instead.' + message)
3962
3997
 
3963
- def watch_ohlcv(self, symbol: str, timeframe='1m', since: Int = None, limit: Int = None, params={}):
3998
+ def watch_ohlcv(self, symbol: str, timeframe: str = '1m', since: Int = None, limit: Int = None, params={}):
3964
3999
  raise NotSupported(self.id + ' watchOHLCV() is not supported yet')
3965
4000
 
3966
4001
  def convert_trading_view_to_ohlcv(self, ohlcvs: List[List[float]], timestamp='t', open='o', high='h', low='l', close='c', volume='v', ms=False):
@@ -4372,16 +4407,27 @@ class Exchange(object):
4372
4407
  result.append(account)
4373
4408
  return result
4374
4409
 
4375
- def parse_trades(self, trades: List[Any], market: Market = None, since: Int = None, limit: Int = None, params={}):
4410
+ def parse_trades_helper(self, isWs: bool, trades: List[Any], market: Market = None, since: Int = None, limit: Int = None, params={}):
4376
4411
  trades = self.to_array(trades)
4377
4412
  result = []
4378
4413
  for i in range(0, len(trades)):
4379
- trade = self.extend(self.parse_trade(trades[i], market), params)
4414
+ parsed = None
4415
+ if isWs:
4416
+ parsed = self.parse_ws_trade(trades[i], market)
4417
+ else:
4418
+ parsed = self.parse_trade(trades[i], market)
4419
+ trade = self.extend(parsed, params)
4380
4420
  result.append(trade)
4381
4421
  result = self.sort_by_2(result, 'timestamp', 'id')
4382
4422
  symbol = market['symbol'] if (market is not None) else None
4383
4423
  return self.filter_by_symbol_since_limit(result, symbol, since, limit)
4384
4424
 
4425
+ def parse_trades(self, trades: List[Any], market: Market = None, since: Int = None, limit: Int = None, params={}):
4426
+ return self.parse_trades_helper(False, trades, market, since, limit, params)
4427
+
4428
+ def parse_ws_trades(self, trades: List[Any], market: Market = None, since: Int = None, limit: Int = None, params={}):
4429
+ return self.parse_trades_helper(True, trades, market, since, limit, params)
4430
+
4385
4431
  def parse_transactions(self, transactions: List[Any], currency: Currency = None, since: Int = None, limit: Int = None, params={}):
4386
4432
  transactions = self.to_array(transactions)
4387
4433
  result = []
@@ -4763,6 +4809,11 @@ class Exchange(object):
4763
4809
  return market
4764
4810
  return result
4765
4811
 
4812
+ def market_or_null(self, symbol: str):
4813
+ if symbol is None:
4814
+ return None
4815
+ return self.market(symbol)
4816
+
4766
4817
  def check_required_credentials(self, error=True):
4767
4818
  """
4768
4819
  @ignore
@@ -6048,6 +6099,29 @@ class Exchange(object):
6048
6099
  symbol = None if (market is None) else market['symbol']
6049
6100
  return self.filter_by_symbol_since_limit(sorted, symbol, since, limit)
6050
6101
 
6102
+ def handle_trigger_prices_and_params(self, symbol, params, omitParams=True):
6103
+ #
6104
+ triggerPrice = self.safe_string_2(params, 'triggerPrice', 'stopPrice')
6105
+ triggerPriceStr: Str = None
6106
+ stopLossPrice = self.safe_string(params, 'stopLossPrice')
6107
+ stopLossPriceStr: Str = None
6108
+ takeProfitPrice = self.safe_string(params, 'takeProfitPrice')
6109
+ takeProfitPriceStr: Str = None
6110
+ #
6111
+ if triggerPrice is not None:
6112
+ if omitParams:
6113
+ params = self.omit(params, ['triggerPrice', 'stopPrice'])
6114
+ triggerPriceStr = self.price_to_precision(symbol, float(triggerPrice))
6115
+ if stopLossPrice is not None:
6116
+ if omitParams:
6117
+ params = self.omit(params, 'stopLossPrice')
6118
+ stopLossPriceStr = self.price_to_precision(symbol, float(stopLossPrice))
6119
+ if takeProfitPrice is not None:
6120
+ if omitParams:
6121
+ params = self.omit(params, 'takeProfitPrice')
6122
+ takeProfitPriceStr = self.price_to_precision(symbol, float(takeProfitPrice))
6123
+ return [triggerPriceStr, stopLossPriceStr, takeProfitPriceStr, params]
6124
+
6051
6125
  def handle_trigger_direction_and_params(self, params, exchangeSpecificKey: Str = None, allowEmpty: Bool = False):
6052
6126
  """
6053
6127
  @ignore
@@ -6201,7 +6275,7 @@ class Exchange(object):
6201
6275
  else:
6202
6276
  raise NotSupported(self.id + ' fetchFundingInterval() is not supported yet')
6203
6277
 
6204
- def fetch_mark_ohlcv(self, symbol: str, timeframe='1m', since: Int = None, limit: Int = None, params={}):
6278
+ def fetch_mark_ohlcv(self, symbol: str, timeframe: str = '1m', since: Int = None, limit: Int = None, params={}):
6205
6279
  """
6206
6280
  fetches historical mark price candlestick data containing the open, high, low, and close price of a market
6207
6281
  :param str symbol: unified symbol of the market to fetch OHLCV data for
@@ -6219,7 +6293,7 @@ class Exchange(object):
6219
6293
  else:
6220
6294
  raise NotSupported(self.id + ' fetchMarkOHLCV() is not supported yet')
6221
6295
 
6222
- def fetch_index_ohlcv(self, symbol: str, timeframe='1m', since: Int = None, limit: Int = None, params={}):
6296
+ def fetch_index_ohlcv(self, symbol: str, timeframe: str = '1m', since: Int = None, limit: Int = None, params={}):
6223
6297
  """
6224
6298
  fetches historical index price candlestick data containing the open, high, low, and close price of a market
6225
6299
  :param str symbol: unified symbol of the market to fetch OHLCV data for
@@ -6237,7 +6311,7 @@ class Exchange(object):
6237
6311
  else:
6238
6312
  raise NotSupported(self.id + ' fetchIndexOHLCV() is not supported yet')
6239
6313
 
6240
- def fetch_premium_index_ohlcv(self, symbol: str, timeframe='1m', since: Int = None, limit: Int = None, params={}):
6314
+ def fetch_premium_index_ohlcv(self, symbol: str, timeframe: str = '1m', since: Int = None, limit: Int = None, params={}):
6241
6315
  """
6242
6316
  fetches historical premium index price candlestick data containing the open, high, low, and close price of a market
6243
6317
  :param str symbol: unified symbol of the market to fetch OHLCV data for
@@ -7036,7 +7110,7 @@ class Exchange(object):
7036
7110
  clients = list(self.clients.values())
7037
7111
  for i in range(0, len(clients)):
7038
7112
  client = clients[i]
7039
- futures = self.safe_dict(client, 'futures')
7113
+ futures = client.futures
7040
7114
  if (futures is not None) and ('fetchPositionsSnapshot' in futures):
7041
7115
  del futures['fetchPositionsSnapshot']
7042
7116
  elif topic == 'ticker' and (self.tickers is not None):
@@ -4760,7 +4760,13 @@ class mexc(Exchange, ImplicitAPI):
4760
4760
  # "id":"25fb2831fb6d4fc7aa4094612a26c81d"
4761
4761
  # }
4762
4762
  #
4763
- id = self.safe_string(transaction, 'id')
4763
+ # internal withdraw(aka internal-transfer)
4764
+ #
4765
+ # {
4766
+ # "tranId":"ad36f0e9c9a24ae794b36fa4f152e471"
4767
+ # }
4768
+ #
4769
+ id = self.safe_string_2(transaction, 'id', 'tranId')
4764
4770
  type = 'deposit' if (id is None) else 'withdrawal'
4765
4771
  timestamp = self.safe_integer_2(transaction, 'insertTime', 'applyTime')
4766
4772
  updated = self.safe_integer(transaction, 'updateTime')
@@ -5254,17 +5260,38 @@ class mexc(Exchange, ImplicitAPI):
5254
5260
  make a withdrawal
5255
5261
 
5256
5262
  https://mexcdevelop.github.io/apidocs/spot_v3_en/#withdraw-new
5263
+ https://www.mexc.com/api-docs/spot-v3/wallet-endpoints#internal-transfer
5257
5264
 
5258
5265
  :param str code: unified currency code
5259
5266
  :param float amount: the amount to withdraw
5260
5267
  :param str address: the address to withdraw to
5261
5268
  :param str tag:
5262
5269
  :param dict [params]: extra parameters specific to the exchange API endpoint
5270
+ :param dict [params.internal]: False by default, set to True for an "internal transfer"
5271
+ :param dict [params.toAccountType]: skipped by default, set to 'EMAIL|UID|MOBILE' when making an "internal transfer"
5263
5272
  :returns dict: a `transaction structure <https://docs.ccxt.com/#/?id=transaction-structure>`
5264
5273
  """
5265
5274
  self.load_markets()
5266
5275
  currency = self.currency(code)
5267
5276
  tag, params = self.handle_withdraw_tag_and_params(tag, params)
5277
+ internal = self.safe_bool(params, 'internal', False)
5278
+ if internal:
5279
+ params = self.omit(params, 'internal')
5280
+ requestForInternal = {
5281
+ 'asset': currency['id'],
5282
+ 'amount': amount,
5283
+ 'toAccount': address,
5284
+ }
5285
+ toAccountType = self.safe_string(params, 'toAccountType')
5286
+ if toAccountType is None:
5287
+ raise ArgumentsRequired(self.id + ' withdraw() requires a toAccountType parameter for internal transfer to be of: EMAIL | UID | MOBILE')
5288
+ responseForInternal = self.spotPrivatePostCapitalTransferInternal(self.extend(requestForInternal, params))
5289
+ #
5290
+ # {
5291
+ # "id":"7213fea8e94b4a5593d507237e5a555b"
5292
+ # }
5293
+ #
5294
+ return self.parse_transaction(responseForInternal, currency)
5268
5295
  networks = self.safe_dict(self.options, 'networks', {})
5269
5296
  network = self.safe_string_2(params, 'network', 'netWork') # self line allows the user to specify either ERC20 or ETH
5270
5297
  network = self.safe_string(networks, network, network) # handle ETH > ERC-20 alias
@@ -8,7 +8,7 @@ sys.modules['ccxt'] = ccxt_module
8
8
 
9
9
  # ----------------------------------------------------------------------------
10
10
 
11
- __version__ = '4.5.2'
11
+ __version__ = '4.5.4'
12
12
 
13
13
  # ----------------------------------------------------------------------------
14
14
 
@@ -184,7 +184,7 @@ class mexc(mexcAsync):
184
184
  self.handle_bid_ask(client, message)
185
185
  rawTicker = self.safe_dict_n(message, ['d', 'data', 'publicAggreBookTicker'])
186
186
  marketId = self.safe_string_2(message, 's', 'symbol')
187
- timestamp = self.safe_integer_2(message, 't', 'sendtime')
187
+ timestamp = self.safe_integer_2(message, 't', 'sendTime')
188
188
  market = self.safe_market(marketId)
189
189
  symbol = market['symbol']
190
190
  ticker = None
@@ -1480,7 +1480,7 @@ class mexc(mexcAsync):
1480
1480
  # "ts": 1680059188190
1481
1481
  # }
1482
1482
  #
1483
- c = self.safe_string_2(message, 'c', 'channel')
1483
+ c = self.safe_string(message, 'c') # do not add 'channel' here, self is especially for spot
1484
1484
  type = 'swap' if (c is None) else 'spot'
1485
1485
  messageHash = 'balance:' + type
1486
1486
  data = self.safe_dict_n(message, ['d', 'data', 'privateAccount'])
@@ -1494,7 +1494,10 @@ class mexc(mexcAsync):
1494
1494
  currencyId = self.safe_string_n(data, ['a', 'currency', 'vcoinName'])
1495
1495
  code = self.safe_currency_code(currencyId)
1496
1496
  account = self.account()
1497
- account['total'] = self.safe_string_n(data, ['f', 'availableBalance', 'balanceAmount'])
1497
+ balanceAmount = self.safe_string(data, 'balanceAmount')
1498
+ if balanceAmount is not None:
1499
+ account['free'] = balanceAmount
1500
+ account['total'] = self.safe_string_n(data, ['f', 'availableBalance'])
1498
1501
  account['used'] = self.safe_string_n(data, ['l', 'frozenBalance', 'frozenAmount'])
1499
1502
  self.balance[type][code] = account
1500
1503
  self.balance[type] = self.safe_balance(self.balance[type])