bitmart 0.0.71__tar.gz → 0.0.72__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of bitmart might be problematic. Click here for more details.

Files changed (287) hide show
  1. {bitmart-0.0.71 → bitmart-0.0.72}/PKG-INFO +1 -1
  2. {bitmart-0.0.71 → bitmart-0.0.72}/pyproject.toml +1 -1
  3. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/__init__.py +1 -1
  4. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/async_support/__init__.py +1 -1
  5. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/async_support/base/exchange.py +1 -1
  6. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/async_support/base/ws/client.py +1 -1
  7. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/async_support/bitmart.py +7 -0
  8. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/base/exchange.py +15 -19
  9. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/base/types.py +1 -0
  10. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/bitmart.py +7 -0
  11. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/pro/__init__.py +1 -1
  12. {bitmart-0.0.71 → bitmart-0.0.72}/.gitignore +0 -0
  13. {bitmart-0.0.71 → bitmart-0.0.72}/README.md +0 -0
  14. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/__init__.py +0 -0
  15. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/abstract/bitmart.py +0 -0
  16. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/async_support/base/__init__.py +0 -0
  17. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/async_support/base/throttler.py +0 -0
  18. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/async_support/base/ws/__init__.py +0 -0
  19. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/async_support/base/ws/cache.py +0 -0
  20. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/async_support/base/ws/functions.py +0 -0
  21. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/async_support/base/ws/future.py +0 -0
  22. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/async_support/base/ws/order_book.py +0 -0
  23. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/async_support/base/ws/order_book_side.py +0 -0
  24. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/base/__init__.py +0 -0
  25. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/base/decimal_to_precision.py +0 -0
  26. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/base/errors.py +0 -0
  27. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/base/precise.py +0 -0
  28. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/pro/bitmart.py +0 -0
  29. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/README.md +0 -0
  30. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/__init__.py +0 -0
  31. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/ecdsa/__init__.py +0 -0
  32. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/ecdsa/_version.py +0 -0
  33. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/ecdsa/curves.py +0 -0
  34. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/ecdsa/der.py +0 -0
  35. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/ecdsa/ecdsa.py +0 -0
  36. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/ecdsa/ellipticcurve.py +0 -0
  37. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/ecdsa/keys.py +0 -0
  38. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/ecdsa/numbertheory.py +0 -0
  39. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/ecdsa/rfc6979.py +0 -0
  40. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/ecdsa/util.py +0 -0
  41. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/ethereum/__init__.py +0 -0
  42. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/ethereum/abi/__init__.py +0 -0
  43. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/ethereum/abi/abi.py +0 -0
  44. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/ethereum/abi/base.py +0 -0
  45. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/ethereum/abi/codec.py +0 -0
  46. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/ethereum/abi/constants.py +0 -0
  47. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/ethereum/abi/decoding.py +0 -0
  48. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/ethereum/abi/encoding.py +0 -0
  49. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/ethereum/abi/exceptions.py +0 -0
  50. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/ethereum/abi/grammar.py +0 -0
  51. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/ethereum/abi/packed.py +0 -0
  52. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/ethereum/abi/py.typed +0 -0
  53. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/ethereum/abi/registry.py +0 -0
  54. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/ethereum/abi/tools/__init__.py +0 -0
  55. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/ethereum/abi/tools/_strategies.py +0 -0
  56. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/ethereum/abi/utils/__init__.py +0 -0
  57. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/ethereum/abi/utils/numeric.py +0 -0
  58. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/ethereum/abi/utils/padding.py +0 -0
  59. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/ethereum/abi/utils/string.py +0 -0
  60. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/ethereum/account/__init__.py +0 -0
  61. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/ethereum/account/encode_typed_data/__init__.py +0 -0
  62. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/ethereum/account/encode_typed_data/encoding_and_hashing.py +0 -0
  63. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/ethereum/account/encode_typed_data/helpers.py +0 -0
  64. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/ethereum/account/messages.py +0 -0
  65. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/ethereum/account/py.typed +0 -0
  66. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/ethereum/hexbytes/__init__.py +0 -0
  67. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/ethereum/hexbytes/_utils.py +0 -0
  68. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/ethereum/hexbytes/main.py +0 -0
  69. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/ethereum/hexbytes/py.typed +0 -0
  70. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/ethereum/typing/__init__.py +0 -0
  71. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/ethereum/typing/abi.py +0 -0
  72. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/ethereum/typing/bls.py +0 -0
  73. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/ethereum/typing/discovery.py +0 -0
  74. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/ethereum/typing/encoding.py +0 -0
  75. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/ethereum/typing/enums.py +0 -0
  76. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/ethereum/typing/ethpm.py +0 -0
  77. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/ethereum/typing/evm.py +0 -0
  78. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/ethereum/typing/networks.py +0 -0
  79. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/ethereum/typing/py.typed +0 -0
  80. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/ethereum/utils/__init__.py +0 -0
  81. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/ethereum/utils/abi.py +0 -0
  82. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/ethereum/utils/address.py +0 -0
  83. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/ethereum/utils/applicators.py +0 -0
  84. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/ethereum/utils/conversions.py +0 -0
  85. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/ethereum/utils/currency.py +0 -0
  86. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/ethereum/utils/curried/__init__.py +0 -0
  87. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/ethereum/utils/debug.py +0 -0
  88. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/ethereum/utils/decorators.py +0 -0
  89. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/ethereum/utils/encoding.py +0 -0
  90. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/ethereum/utils/exceptions.py +0 -0
  91. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/ethereum/utils/functional.py +0 -0
  92. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/ethereum/utils/hexadecimal.py +0 -0
  93. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/ethereum/utils/humanize.py +0 -0
  94. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/ethereum/utils/logging.py +0 -0
  95. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/ethereum/utils/module_loading.py +0 -0
  96. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/ethereum/utils/numeric.py +0 -0
  97. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/ethereum/utils/py.typed +0 -0
  98. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/ethereum/utils/toolz.py +0 -0
  99. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/ethereum/utils/types.py +0 -0
  100. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/ethereum/utils/typing/__init__.py +0 -0
  101. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/ethereum/utils/typing/misc.py +0 -0
  102. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/ethereum/utils/units.py +0 -0
  103. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/keccak/__init__.py +0 -0
  104. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/keccak/keccak.py +0 -0
  105. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/lark/__init__.py +0 -0
  106. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/lark/__pyinstaller/__init__.py +0 -0
  107. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/lark/__pyinstaller/hook-lark.py +0 -0
  108. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/lark/ast_utils.py +0 -0
  109. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/lark/common.py +0 -0
  110. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/lark/exceptions.py +0 -0
  111. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/lark/grammar.py +0 -0
  112. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/lark/grammars/__init__.py +0 -0
  113. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/lark/grammars/common.lark +0 -0
  114. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/lark/grammars/lark.lark +0 -0
  115. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/lark/grammars/python.lark +0 -0
  116. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/lark/grammars/unicode.lark +0 -0
  117. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/lark/indenter.py +0 -0
  118. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/lark/lark.py +0 -0
  119. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/lark/lexer.py +0 -0
  120. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/lark/load_grammar.py +0 -0
  121. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/lark/parse_tree_builder.py +0 -0
  122. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/lark/parser_frontends.py +0 -0
  123. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/lark/parsers/__init__.py +0 -0
  124. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/lark/parsers/cyk.py +0 -0
  125. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/lark/parsers/earley.py +0 -0
  126. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/lark/parsers/earley_common.py +0 -0
  127. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/lark/parsers/earley_forest.py +0 -0
  128. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/lark/parsers/grammar_analysis.py +0 -0
  129. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/lark/parsers/lalr_analysis.py +0 -0
  130. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/lark/parsers/lalr_interactive_parser.py +0 -0
  131. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/lark/parsers/lalr_parser.py +0 -0
  132. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/lark/parsers/lalr_parser_state.py +0 -0
  133. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/lark/parsers/xearley.py +0 -0
  134. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/lark/py.typed +0 -0
  135. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/lark/reconstruct.py +0 -0
  136. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/lark/tools/__init__.py +0 -0
  137. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/lark/tools/nearley.py +0 -0
  138. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/lark/tools/serialize.py +0 -0
  139. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/lark/tools/standalone.py +0 -0
  140. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/lark/tree.py +0 -0
  141. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/lark/tree_matcher.py +0 -0
  142. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/lark/tree_templates.py +0 -0
  143. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/lark/utils.py +0 -0
  144. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/lark/visitors.py +0 -0
  145. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/marshmallow/__init__.py +0 -0
  146. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/marshmallow/base.py +0 -0
  147. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/marshmallow/class_registry.py +0 -0
  148. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/marshmallow/decorators.py +0 -0
  149. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/marshmallow/error_store.py +0 -0
  150. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/marshmallow/exceptions.py +0 -0
  151. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/marshmallow/fields.py +0 -0
  152. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/marshmallow/orderedset.py +0 -0
  153. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/marshmallow/py.typed +0 -0
  154. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/marshmallow/schema.py +0 -0
  155. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/marshmallow/types.py +0 -0
  156. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/marshmallow/utils.py +0 -0
  157. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/marshmallow/validate.py +0 -0
  158. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/marshmallow/warnings.py +0 -0
  159. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/marshmallow_dataclass/__init__.py +0 -0
  160. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/marshmallow_dataclass/collection_field.py +0 -0
  161. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/marshmallow_dataclass/lazy_class_attribute.py +0 -0
  162. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/marshmallow_dataclass/mypy.py +0 -0
  163. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/marshmallow_dataclass/py.typed +0 -0
  164. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/marshmallow_dataclass/typing.py +0 -0
  165. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/marshmallow_dataclass/union_field.py +0 -0
  166. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/marshmallow_oneofschema/__init__.py +0 -0
  167. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/marshmallow_oneofschema/one_of_schema.py +0 -0
  168. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/marshmallow_oneofschema/py.typed +0 -0
  169. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/msgpack/__init__.py +0 -0
  170. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/msgpack/_cmsgpack.pyx +0 -0
  171. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/msgpack/_packer.pyx +0 -0
  172. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/msgpack/_unpacker.pyx +0 -0
  173. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/msgpack/buff_converter.h +0 -0
  174. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/msgpack/exceptions.py +0 -0
  175. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/msgpack/ext.py +0 -0
  176. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/msgpack/fallback.py +0 -0
  177. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/msgpack/pack.h +0 -0
  178. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/msgpack/pack_template.h +0 -0
  179. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/msgpack/sysdep.h +0 -0
  180. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/msgpack/unpack.h +0 -0
  181. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/msgpack/unpack_define.h +0 -0
  182. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/msgpack/unpack_template.h +0 -0
  183. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/parsimonious/__init__.py +0 -0
  184. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/parsimonious/exceptions.py +0 -0
  185. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/parsimonious/expressions.py +0 -0
  186. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/parsimonious/grammar.py +0 -0
  187. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/parsimonious/nodes.py +0 -0
  188. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/parsimonious/utils.py +0 -0
  189. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/starknet/__init__.py +0 -0
  190. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/starknet/abi/v0/__init__.py +0 -0
  191. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/starknet/abi/v0/model.py +0 -0
  192. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/starknet/abi/v0/parser.py +0 -0
  193. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/starknet/abi/v0/schemas.py +0 -0
  194. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/starknet/abi/v0/shape.py +0 -0
  195. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/starknet/abi/v1/__init__.py +0 -0
  196. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/starknet/abi/v1/core_structures.json +0 -0
  197. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/starknet/abi/v1/model.py +0 -0
  198. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/starknet/abi/v1/parser.py +0 -0
  199. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/starknet/abi/v1/parser_transformer.py +0 -0
  200. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/starknet/abi/v1/schemas.py +0 -0
  201. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/starknet/abi/v1/shape.py +0 -0
  202. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/starknet/abi/v2/__init__.py +0 -0
  203. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/starknet/abi/v2/model.py +0 -0
  204. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/starknet/abi/v2/parser.py +0 -0
  205. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/starknet/abi/v2/parser_transformer.py +0 -0
  206. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/starknet/abi/v2/schemas.py +0 -0
  207. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/starknet/abi/v2/shape.py +0 -0
  208. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/starknet/cairo/__init__.py +0 -0
  209. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/starknet/cairo/data_types.py +0 -0
  210. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/starknet/cairo/deprecated_parse/__init__.py +0 -0
  211. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/starknet/cairo/deprecated_parse/cairo_types.py +0 -0
  212. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/starknet/cairo/deprecated_parse/parser.py +0 -0
  213. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/starknet/cairo/deprecated_parse/parser_transformer.py +0 -0
  214. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/starknet/cairo/felt.py +0 -0
  215. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/starknet/cairo/type_parser.py +0 -0
  216. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/starknet/cairo/v1/__init__.py +0 -0
  217. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/starknet/cairo/v1/type_parser.py +0 -0
  218. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/starknet/cairo/v2/__init__.py +0 -0
  219. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/starknet/cairo/v2/type_parser.py +0 -0
  220. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/starknet/ccxt_utils.py +0 -0
  221. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/starknet/common.py +0 -0
  222. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/starknet/constants.py +0 -0
  223. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/starknet/hash/__init__.py +0 -0
  224. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/starknet/hash/address.py +0 -0
  225. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/starknet/hash/compiled_class_hash_objects.py +0 -0
  226. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/starknet/hash/selector.py +0 -0
  227. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/starknet/hash/storage.py +0 -0
  228. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/starknet/hash/utils.py +0 -0
  229. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/starknet/models/__init__.py +0 -0
  230. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/starknet/models/typed_data.py +0 -0
  231. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/starknet/serialization/__init__.py +0 -0
  232. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/starknet/serialization/_calldata_reader.py +0 -0
  233. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/starknet/serialization/_context.py +0 -0
  234. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/starknet/serialization/data_serializers/__init__.py +0 -0
  235. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/starknet/serialization/data_serializers/_common.py +0 -0
  236. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/starknet/serialization/data_serializers/array_serializer.py +0 -0
  237. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/starknet/serialization/data_serializers/bool_serializer.py +0 -0
  238. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/starknet/serialization/data_serializers/byte_array_serializer.py +0 -0
  239. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/starknet/serialization/data_serializers/cairo_data_serializer.py +0 -0
  240. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/starknet/serialization/data_serializers/enum_serializer.py +0 -0
  241. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/starknet/serialization/data_serializers/felt_serializer.py +0 -0
  242. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/starknet/serialization/data_serializers/named_tuple_serializer.py +0 -0
  243. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/starknet/serialization/data_serializers/option_serializer.py +0 -0
  244. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/starknet/serialization/data_serializers/output_serializer.py +0 -0
  245. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/starknet/serialization/data_serializers/payload_serializer.py +0 -0
  246. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/starknet/serialization/data_serializers/struct_serializer.py +0 -0
  247. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/starknet/serialization/data_serializers/tuple_serializer.py +0 -0
  248. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/starknet/serialization/data_serializers/uint256_serializer.py +0 -0
  249. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/starknet/serialization/data_serializers/uint_serializer.py +0 -0
  250. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/starknet/serialization/data_serializers/unit_serializer.py +0 -0
  251. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/starknet/serialization/errors.py +0 -0
  252. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/starknet/serialization/factory.py +0 -0
  253. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/starknet/serialization/function_serialization_adapter.py +0 -0
  254. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/starknet/serialization/tuple_dataclass.py +0 -0
  255. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/starknet/utils/__init__.py +0 -0
  256. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/starknet/utils/constructor_args_translator.py +0 -0
  257. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/starknet/utils/iterable.py +0 -0
  258. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/starknet/utils/schema.py +0 -0
  259. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/starknet/utils/typed_data.py +0 -0
  260. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/starkware/__init__.py +0 -0
  261. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/starkware/crypto/__init__.py +0 -0
  262. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/starkware/crypto/fast_pedersen_hash.py +0 -0
  263. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/starkware/crypto/math_utils.py +0 -0
  264. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/starkware/crypto/signature.py +0 -0
  265. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/starkware/crypto/utils.py +0 -0
  266. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/sympy/__init__.py +0 -0
  267. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/sympy/core/__init__.py +0 -0
  268. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/sympy/core/intfunc.py +0 -0
  269. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/sympy/external/__init__.py +0 -0
  270. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/sympy/external/gmpy.py +0 -0
  271. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/sympy/external/importtools.py +0 -0
  272. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/sympy/external/ntheory.py +0 -0
  273. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/sympy/external/pythonmpq.py +0 -0
  274. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/toolz/__init__.py +0 -0
  275. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/toolz/_signatures.py +0 -0
  276. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/toolz/_version.py +0 -0
  277. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/toolz/compatibility.py +0 -0
  278. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/toolz/curried/__init__.py +0 -0
  279. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/toolz/curried/exceptions.py +0 -0
  280. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/toolz/curried/operator.py +0 -0
  281. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/toolz/dicttoolz.py +0 -0
  282. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/toolz/functoolz.py +0 -0
  283. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/toolz/itertoolz.py +0 -0
  284. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/toolz/recipes.py +0 -0
  285. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/toolz/utils.py +0 -0
  286. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/typing_inspect/__init__.py +0 -0
  287. {bitmart-0.0.71 → bitmart-0.0.72}/src/bitmart/ccxt/static_dependencies/typing_inspect/typing_inspect.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bitmart
3
- Version: 0.0.71
3
+ Version: 0.0.72
4
4
  Summary: bitmart 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/bitmart"]
11
11
 
12
12
  [project]
13
13
  name = "bitmart"
14
- version = "0.0.71"
14
+ version = "0.0.72"
15
15
  authors = [
16
16
  { name="CCXT", email="info@ccxt.trade" },
17
17
  ]
@@ -26,7 +26,7 @@ sys.modules['ccxt'] = ccxt_module
26
26
 
27
27
  # ----------------------------------------------------------------------------
28
28
 
29
- __version__ = '4.4.91'
29
+ __version__ = '4.4.92'
30
30
 
31
31
  # ----------------------------------------------------------------------------
32
32
 
@@ -8,7 +8,7 @@ sys.modules['ccxt'] = ccxt_module
8
8
 
9
9
  # -----------------------------------------------------------------------------
10
10
 
11
- __version__ = '4.4.91'
11
+ __version__ = '4.4.92'
12
12
 
13
13
  # -----------------------------------------------------------------------------
14
14
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  # -----------------------------------------------------------------------------
4
4
 
5
- __version__ = '4.4.91'
5
+ __version__ = '4.4.92'
6
6
 
7
7
  # -----------------------------------------------------------------------------
8
8
 
@@ -134,7 +134,7 @@ class Client(object):
134
134
  error = NetworkError(str(exception))
135
135
  if self.verbose:
136
136
  self.log(iso8601(milliseconds()), 'receive_loop', 'Exception', error)
137
- self.reset(error)
137
+ self.reject(error)
138
138
 
139
139
  task.add_done_callback(after_interrupt)
140
140
 
@@ -2160,6 +2160,7 @@ class bitmart(Exchange, ImplicitAPI):
2160
2160
  :param dict [params]: extra parameters specific to the exchange API endpoint
2161
2161
  :param int [params.until]: the latest time in ms to fetch trades for
2162
2162
  :param boolean [params.marginMode]: *spot* whether to fetch trades for margin orders or spot orders, defaults to spot orders(only isolated margin orders are supported)
2163
+ :param str [params.stpMode]: self-trade prevention only for spot, defaults to none, ['none', 'cancel_maker', 'cancel_taker', 'cancel_both']
2163
2164
  :returns Trade[]: a list of `trade structures <https://docs.ccxt.com/#/?id=trade-structure>`
2164
2165
  """
2165
2166
  await self.load_markets()
@@ -2264,6 +2265,7 @@ class bitmart(Exchange, ImplicitAPI):
2264
2265
  :param int [since]: the earliest time in ms to fetch trades for
2265
2266
  :param int [limit]: the maximum number of trades to retrieve
2266
2267
  :param dict [params]: extra parameters specific to the exchange API endpoint
2268
+ :param str [params.stpMode]: self-trade prevention only for spot, defaults to none, ['none', 'cancel_maker', 'cancel_taker', 'cancel_both']
2267
2269
  :returns dict[]: a list of `trade structures <https://docs.ccxt.com/#/?id=trade-structure>`
2268
2270
  """
2269
2271
  await self.load_markets()
@@ -2706,6 +2708,7 @@ class bitmart(Exchange, ImplicitAPI):
2706
2708
  :param str [params.stopLossPrice]: *swap only* the price to trigger a stop-loss order
2707
2709
  :param str [params.takeProfitPrice]: *swap only* the price to trigger a take-profit order
2708
2710
  :param int [params.plan_category]: *swap tp/sl only* 1: tp/sl, 2: position tp/sl, default is 1
2711
+ :param str [params.stpMode]: self-trade prevention only for spot, defaults to none, ['none', 'cancel_maker', 'cancel_taker', 'cancel_both']
2709
2712
  :returns dict: an `order structure <https://docs.ccxt.com/#/?id=order-structure>`
2710
2713
  """
2711
2714
  await self.load_markets()
@@ -2768,6 +2771,7 @@ class bitmart(Exchange, ImplicitAPI):
2768
2771
 
2769
2772
  :param Array orders: list of orders to create, each object should contain the parameters required by createOrder, namely symbol, type, side, amount, price and params
2770
2773
  :param dict [params]: extra parameters specific to the exchange API endpoint
2774
+ :param str [params.stpMode]: self-trade prevention only for spot, defaults to none, ['none', 'cancel_maker', 'cancel_taker', 'cancel_both']
2771
2775
  :returns dict: an `order structure <https://docs.ccxt.com/#/?id=order-structure>`
2772
2776
  """
2773
2777
  await self.load_markets()
@@ -3270,6 +3274,7 @@ class bitmart(Exchange, ImplicitAPI):
3270
3274
  :param str [params.orderType]: *swap only* 'limit', 'market', or 'trailing'
3271
3275
  :param boolean [params.trailing]: *swap only* set to True if you want to fetch trailing orders
3272
3276
  :param boolean [params.trigger]: *swap only* set to True if you want to fetch trigger orders
3277
+ :param str [params.stpMode]: self-trade prevention only for spot, defaults to none, ['none', 'cancel_maker', 'cancel_taker', 'cancel_both']
3273
3278
  :returns Order[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
3274
3279
  """
3275
3280
  await self.load_markets()
@@ -3383,6 +3388,7 @@ class bitmart(Exchange, ImplicitAPI):
3383
3388
  :param dict [params]: extra parameters specific to the exchange API endpoint
3384
3389
  :param int [params.until]: timestamp in ms of the latest entry
3385
3390
  :param str [params.marginMode]: *spot only* 'cross' or 'isolated', for margin trading
3391
+ :param str [params.stpMode]: self-trade prevention only for spot, defaults to none, ['none', 'cancel_maker', 'cancel_taker', 'cancel_both']
3386
3392
  :returns Order[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
3387
3393
  """
3388
3394
  await self.load_markets()
@@ -3441,6 +3447,7 @@ class bitmart(Exchange, ImplicitAPI):
3441
3447
  :param str [params.clientOrderId]: *spot* fetch the order by client order id instead of order id
3442
3448
  :param str [params.orderType]: *swap only* 'limit', 'market', 'liquidate', 'bankruptcy', 'adl' or 'trailing'
3443
3449
  :param boolean [params.trailing]: *swap only* set to True if you want to fetch a trailing order
3450
+ :param str [params.stpMode]: self-trade prevention only for spot, defaults to none, ['none', 'cancel_maker', 'cancel_taker', 'cancel_both']
3444
3451
  :returns dict: An `order structure <https://docs.ccxt.com/#/?id=order-structure>`
3445
3452
  """
3446
3453
  await self.load_markets()
@@ -4,7 +4,7 @@
4
4
 
5
5
  # -----------------------------------------------------------------------------
6
6
 
7
- __version__ = '4.4.91'
7
+ __version__ = '4.4.92'
8
8
 
9
9
  # -----------------------------------------------------------------------------
10
10
 
@@ -1515,6 +1515,12 @@ class Exchange(object):
1515
1515
  parts = re.sub(r'0+$', '', str).split('.')
1516
1516
  return len(parts[1]) if len(parts) > 1 else 0
1517
1517
 
1518
+ def map_to_safe_map(self, dictionary):
1519
+ return dictionary # wrapper for go
1520
+
1521
+ def safe_map_to_map(self, dictionary):
1522
+ return dictionary # wrapper for go
1523
+
1518
1524
  def load_markets(self, reload=False, params={}):
1519
1525
  """
1520
1526
  Loads and prepares the markets for trading.
@@ -3222,14 +3228,14 @@ class Exchange(object):
3222
3228
  else:
3223
3229
  market['subType'] = None
3224
3230
  values.append(market)
3225
- self.markets = self.index_by(values, 'symbol')
3231
+ self.markets = self.map_to_safe_map(self.index_by(values, 'symbol'))
3226
3232
  marketsSortedBySymbol = self.keysort(self.markets)
3227
3233
  marketsSortedById = self.keysort(self.markets_by_id)
3228
3234
  self.symbols = list(marketsSortedBySymbol.keys())
3229
3235
  self.ids = list(marketsSortedById.keys())
3230
3236
  if currencies is not None:
3231
3237
  # currencies is always None when called in constructor but not when called from loadMarkets
3232
- self.currencies = self.deep_extend(self.currencies, currencies)
3238
+ self.currencies = self.map_to_safe_map(self.deep_extend(self.currencies, currencies))
3233
3239
  else:
3234
3240
  baseCurrencies = []
3235
3241
  quoteCurrencies = []
@@ -3255,8 +3261,8 @@ class Exchange(object):
3255
3261
  quoteCurrencies.append(currency)
3256
3262
  baseCurrencies = self.sort_by(baseCurrencies, 'code', False, '')
3257
3263
  quoteCurrencies = self.sort_by(quoteCurrencies, 'code', False, '')
3258
- self.baseCurrencies = self.index_by(baseCurrencies, 'code')
3259
- self.quoteCurrencies = self.index_by(quoteCurrencies, 'code')
3264
+ self.baseCurrencies = self.map_to_safe_map(self.index_by(baseCurrencies, 'code'))
3265
+ self.quoteCurrencies = self.map_to_safe_map(self.index_by(quoteCurrencies, 'code'))
3260
3266
  allCurrencies = self.array_concat(baseCurrencies, quoteCurrencies)
3261
3267
  groupedCurrencies = self.group_by(allCurrencies, 'code')
3262
3268
  codes = list(groupedCurrencies.keys())
@@ -3273,7 +3279,7 @@ class Exchange(object):
3273
3279
  highestPrecisionCurrency = currentCurrency if (currentCurrency['precision'] > highestPrecisionCurrency['precision']) else highestPrecisionCurrency
3274
3280
  resultingCurrencies.append(highestPrecisionCurrency)
3275
3281
  sortedCurrencies = self.sort_by(resultingCurrencies, 'code')
3276
- self.currencies = self.deep_extend(self.currencies, self.index_by(sortedCurrencies, 'code'))
3282
+ self.currencies = self.map_to_safe_map(self.deep_extend(self.currencies, self.index_by(sortedCurrencies, 'code')))
3277
3283
  self.currencies_by_id = self.index_by_safe(self.currencies, 'id')
3278
3284
  currenciesSortedByCode = self.keysort(self.currencies)
3279
3285
  self.codes = list(currenciesSortedByCode.keys())
@@ -6792,7 +6798,7 @@ class Exchange(object):
6792
6798
  return reconstructedDate
6793
6799
 
6794
6800
  def convert_market_id_expire_date(self, date: str):
6795
- # parse 03JAN24 to 240103
6801
+ # parse 03JAN24 to 240103.
6796
6802
  monthMappping = {
6797
6803
  'JAN': '01',
6798
6804
  'FEB': '02',
@@ -6914,19 +6920,9 @@ class Exchange(object):
6914
6920
  del self.tickers[symbol]
6915
6921
  else:
6916
6922
  if topic == 'myTrades' and (self.myTrades is not None):
6917
- # don't reset self.myTrades directly here
6918
- # because in c# we need to use a different object(thread-safe dict)
6919
- keys = list(self.myTrades.keys())
6920
- for i in range(0, len(keys)):
6921
- key = keys[i]
6922
- if key in self.myTrades:
6923
- del self.myTrades[key]
6923
+ self.myTrades = None
6924
6924
  elif topic == 'orders' and (self.orders is not None):
6925
- orderSymbols = list(self.orders.keys())
6926
- for i in range(0, len(orderSymbols)):
6927
- orderSymbol = orderSymbols[i]
6928
- if orderSymbol in self.orders:
6929
- del self.orders[orderSymbol]
6925
+ self.orders = None
6930
6926
  elif topic == 'ticker' and (self.tickers is not None):
6931
6927
  tickerSymbols = list(self.tickers.keys())
6932
6928
  for i in range(0, len(tickerSymbols)):
@@ -606,3 +606,4 @@ class ConstructorArgs(TypedDict, total=False):
606
606
  hostname: str
607
607
  urls: Dict[str, Any]
608
608
  headers: Dict[str, Any]
609
+ session: Any
@@ -2160,6 +2160,7 @@ class bitmart(Exchange, ImplicitAPI):
2160
2160
  :param dict [params]: extra parameters specific to the exchange API endpoint
2161
2161
  :param int [params.until]: the latest time in ms to fetch trades for
2162
2162
  :param boolean [params.marginMode]: *spot* whether to fetch trades for margin orders or spot orders, defaults to spot orders(only isolated margin orders are supported)
2163
+ :param str [params.stpMode]: self-trade prevention only for spot, defaults to none, ['none', 'cancel_maker', 'cancel_taker', 'cancel_both']
2163
2164
  :returns Trade[]: a list of `trade structures <https://docs.ccxt.com/#/?id=trade-structure>`
2164
2165
  """
2165
2166
  self.load_markets()
@@ -2264,6 +2265,7 @@ class bitmart(Exchange, ImplicitAPI):
2264
2265
  :param int [since]: the earliest time in ms to fetch trades for
2265
2266
  :param int [limit]: the maximum number of trades to retrieve
2266
2267
  :param dict [params]: extra parameters specific to the exchange API endpoint
2268
+ :param str [params.stpMode]: self-trade prevention only for spot, defaults to none, ['none', 'cancel_maker', 'cancel_taker', 'cancel_both']
2267
2269
  :returns dict[]: a list of `trade structures <https://docs.ccxt.com/#/?id=trade-structure>`
2268
2270
  """
2269
2271
  self.load_markets()
@@ -2706,6 +2708,7 @@ class bitmart(Exchange, ImplicitAPI):
2706
2708
  :param str [params.stopLossPrice]: *swap only* the price to trigger a stop-loss order
2707
2709
  :param str [params.takeProfitPrice]: *swap only* the price to trigger a take-profit order
2708
2710
  :param int [params.plan_category]: *swap tp/sl only* 1: tp/sl, 2: position tp/sl, default is 1
2711
+ :param str [params.stpMode]: self-trade prevention only for spot, defaults to none, ['none', 'cancel_maker', 'cancel_taker', 'cancel_both']
2709
2712
  :returns dict: an `order structure <https://docs.ccxt.com/#/?id=order-structure>`
2710
2713
  """
2711
2714
  self.load_markets()
@@ -2768,6 +2771,7 @@ class bitmart(Exchange, ImplicitAPI):
2768
2771
 
2769
2772
  :param Array orders: list of orders to create, each object should contain the parameters required by createOrder, namely symbol, type, side, amount, price and params
2770
2773
  :param dict [params]: extra parameters specific to the exchange API endpoint
2774
+ :param str [params.stpMode]: self-trade prevention only for spot, defaults to none, ['none', 'cancel_maker', 'cancel_taker', 'cancel_both']
2771
2775
  :returns dict: an `order structure <https://docs.ccxt.com/#/?id=order-structure>`
2772
2776
  """
2773
2777
  self.load_markets()
@@ -3270,6 +3274,7 @@ class bitmart(Exchange, ImplicitAPI):
3270
3274
  :param str [params.orderType]: *swap only* 'limit', 'market', or 'trailing'
3271
3275
  :param boolean [params.trailing]: *swap only* set to True if you want to fetch trailing orders
3272
3276
  :param boolean [params.trigger]: *swap only* set to True if you want to fetch trigger orders
3277
+ :param str [params.stpMode]: self-trade prevention only for spot, defaults to none, ['none', 'cancel_maker', 'cancel_taker', 'cancel_both']
3273
3278
  :returns Order[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
3274
3279
  """
3275
3280
  self.load_markets()
@@ -3383,6 +3388,7 @@ class bitmart(Exchange, ImplicitAPI):
3383
3388
  :param dict [params]: extra parameters specific to the exchange API endpoint
3384
3389
  :param int [params.until]: timestamp in ms of the latest entry
3385
3390
  :param str [params.marginMode]: *spot only* 'cross' or 'isolated', for margin trading
3391
+ :param str [params.stpMode]: self-trade prevention only for spot, defaults to none, ['none', 'cancel_maker', 'cancel_taker', 'cancel_both']
3386
3392
  :returns Order[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
3387
3393
  """
3388
3394
  self.load_markets()
@@ -3441,6 +3447,7 @@ class bitmart(Exchange, ImplicitAPI):
3441
3447
  :param str [params.clientOrderId]: *spot* fetch the order by client order id instead of order id
3442
3448
  :param str [params.orderType]: *swap only* 'limit', 'market', 'liquidate', 'bankruptcy', 'adl' or 'trailing'
3443
3449
  :param boolean [params.trailing]: *swap only* set to True if you want to fetch a trailing order
3450
+ :param str [params.stpMode]: self-trade prevention only for spot, defaults to none, ['none', 'cancel_maker', 'cancel_taker', 'cancel_both']
3444
3451
  :returns dict: An `order structure <https://docs.ccxt.com/#/?id=order-structure>`
3445
3452
  """
3446
3453
  self.load_markets()
@@ -8,7 +8,7 @@ sys.modules['ccxt'] = ccxt_module
8
8
 
9
9
  # ----------------------------------------------------------------------------
10
10
 
11
- __version__ = '4.4.91'
11
+ __version__ = '4.4.92'
12
12
 
13
13
  # ----------------------------------------------------------------------------
14
14
 
File without changes
File without changes