bitmart 0.0.1__tar.gz → 0.0.2__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 (292) hide show
  1. bitmart-0.0.2/.gitignore +176 -0
  2. bitmart-0.0.2/PKG-INFO +62 -0
  3. bitmart-0.0.2/README.md +49 -0
  4. {bitmart-0.0.1 → bitmart-0.0.2}/pyproject.toml +25 -23
  5. bitmart-0.0.2/src/bitmart/__init__.py +7 -0
  6. bitmart-0.0.2/src/bitmart/ccxt/__init__.py +101 -0
  7. bitmart-0.0.2/src/bitmart/ccxt/abstract/bitmart.py +113 -0
  8. bitmart-0.0.2/src/bitmart/ccxt/async_support/__init__.py +80 -0
  9. bitmart-0.0.2/src/bitmart/ccxt/async_support/base/__init__.py +1 -0
  10. bitmart-0.0.2/src/bitmart/ccxt/async_support/base/exchange.py +2100 -0
  11. bitmart-0.0.2/src/bitmart/ccxt/async_support/base/throttler.py +50 -0
  12. bitmart-0.0.2/src/bitmart/ccxt/async_support/base/ws/__init__.py +38 -0
  13. bitmart-0.0.2/src/bitmart/ccxt/async_support/base/ws/aiohttp_client.py +147 -0
  14. bitmart-0.0.2/src/bitmart/ccxt/async_support/base/ws/cache.py +213 -0
  15. bitmart-0.0.2/src/bitmart/ccxt/async_support/base/ws/client.py +214 -0
  16. bitmart-0.0.2/src/bitmart/ccxt/async_support/base/ws/fast_client.py +97 -0
  17. bitmart-0.0.2/src/bitmart/ccxt/async_support/base/ws/functions.py +59 -0
  18. bitmart-0.0.2/src/bitmart/ccxt/async_support/base/ws/future.py +69 -0
  19. bitmart-0.0.2/src/bitmart/ccxt/async_support/base/ws/order_book.py +78 -0
  20. bitmart-0.0.2/src/bitmart/ccxt/async_support/base/ws/order_book_side.py +174 -0
  21. bitmart-0.0.2/src/bitmart/ccxt/async_support/bitmart.py +5266 -0
  22. bitmart-0.0.2/src/bitmart/ccxt/base/__init__.py +27 -0
  23. bitmart-0.0.2/src/bitmart/ccxt/base/decimal_to_precision.py +174 -0
  24. bitmart-0.0.2/src/bitmart/ccxt/base/errors.py +267 -0
  25. bitmart-0.0.2/src/bitmart/ccxt/base/exchange.py +6770 -0
  26. bitmart-0.0.2/src/bitmart/ccxt/base/precise.py +297 -0
  27. bitmart-0.0.2/src/bitmart/ccxt/base/types.py +577 -0
  28. bitmart-0.0.2/src/bitmart/ccxt/bitmart.py +5266 -0
  29. bitmart-0.0.2/src/bitmart/ccxt/pro/__init__.py +21 -0
  30. bitmart-0.0.2/src/bitmart/ccxt/pro/bitmart.py +1565 -0
  31. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/README.md +1 -0
  32. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/__init__.py +1 -0
  33. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/ecdsa/__init__.py +14 -0
  34. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/ecdsa/_version.py +520 -0
  35. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/ecdsa/curves.py +56 -0
  36. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/ecdsa/der.py +221 -0
  37. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/ecdsa/ecdsa.py +310 -0
  38. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/ecdsa/ellipticcurve.py +197 -0
  39. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/ecdsa/keys.py +332 -0
  40. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/ecdsa/numbertheory.py +531 -0
  41. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/ecdsa/rfc6979.py +100 -0
  42. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/ecdsa/util.py +266 -0
  43. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/ethereum/__init__.py +7 -0
  44. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/ethereum/abi/__init__.py +16 -0
  45. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/ethereum/abi/abi.py +19 -0
  46. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/ethereum/abi/base.py +152 -0
  47. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/ethereum/abi/codec.py +217 -0
  48. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/ethereum/abi/constants.py +3 -0
  49. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/ethereum/abi/decoding.py +565 -0
  50. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/ethereum/abi/encoding.py +720 -0
  51. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/ethereum/abi/exceptions.py +139 -0
  52. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/ethereum/abi/grammar.py +443 -0
  53. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/ethereum/abi/packed.py +13 -0
  54. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/ethereum/abi/registry.py +643 -0
  55. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/ethereum/abi/tools/__init__.py +3 -0
  56. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/ethereum/abi/tools/_strategies.py +230 -0
  57. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/ethereum/abi/utils/__init__.py +0 -0
  58. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/ethereum/abi/utils/numeric.py +83 -0
  59. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/ethereum/abi/utils/padding.py +27 -0
  60. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/ethereum/abi/utils/string.py +19 -0
  61. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/ethereum/account/__init__.py +3 -0
  62. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/ethereum/account/encode_typed_data/__init__.py +4 -0
  63. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/ethereum/account/encode_typed_data/encoding_and_hashing.py +239 -0
  64. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/ethereum/account/encode_typed_data/helpers.py +40 -0
  65. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/ethereum/account/messages.py +263 -0
  66. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/ethereum/account/py.typed +0 -0
  67. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/ethereum/hexbytes/__init__.py +5 -0
  68. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/ethereum/hexbytes/_utils.py +54 -0
  69. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/ethereum/hexbytes/main.py +65 -0
  70. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/ethereum/hexbytes/py.typed +0 -0
  71. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/ethereum/typing/__init__.py +63 -0
  72. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/ethereum/typing/abi.py +6 -0
  73. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/ethereum/typing/bls.py +7 -0
  74. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/ethereum/typing/discovery.py +5 -0
  75. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/ethereum/typing/encoding.py +7 -0
  76. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/ethereum/typing/enums.py +17 -0
  77. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/ethereum/typing/ethpm.py +9 -0
  78. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/ethereum/typing/evm.py +20 -0
  79. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/ethereum/typing/networks.py +1122 -0
  80. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/ethereum/typing/py.typed +0 -0
  81. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/ethereum/utils/__init__.py +115 -0
  82. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/ethereum/utils/abi.py +72 -0
  83. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/ethereum/utils/address.py +171 -0
  84. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/ethereum/utils/applicators.py +151 -0
  85. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/ethereum/utils/conversions.py +190 -0
  86. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/ethereum/utils/currency.py +107 -0
  87. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/ethereum/utils/curried/__init__.py +269 -0
  88. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/ethereum/utils/debug.py +20 -0
  89. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/ethereum/utils/decorators.py +132 -0
  90. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/ethereum/utils/encoding.py +6 -0
  91. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/ethereum/utils/exceptions.py +4 -0
  92. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/ethereum/utils/functional.py +75 -0
  93. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/ethereum/utils/hexadecimal.py +74 -0
  94. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/ethereum/utils/humanize.py +188 -0
  95. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/ethereum/utils/logging.py +159 -0
  96. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/ethereum/utils/module_loading.py +31 -0
  97. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/ethereum/utils/numeric.py +43 -0
  98. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/ethereum/utils/py.typed +0 -0
  99. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/ethereum/utils/toolz.py +76 -0
  100. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/ethereum/utils/types.py +54 -0
  101. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/ethereum/utils/typing/__init__.py +18 -0
  102. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/ethereum/utils/typing/misc.py +14 -0
  103. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/ethereum/utils/units.py +31 -0
  104. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/keccak/__init__.py +3 -0
  105. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/keccak/keccak.py +197 -0
  106. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/lark/__init__.py +38 -0
  107. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/lark/__pyinstaller/__init__.py +6 -0
  108. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/lark/__pyinstaller/hook-lark.py +14 -0
  109. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/lark/ast_utils.py +59 -0
  110. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/lark/common.py +86 -0
  111. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/lark/exceptions.py +292 -0
  112. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/lark/grammar.py +130 -0
  113. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/lark/grammars/__init__.py +0 -0
  114. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/lark/grammars/common.lark +59 -0
  115. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/lark/grammars/lark.lark +62 -0
  116. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/lark/grammars/python.lark +302 -0
  117. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/lark/grammars/unicode.lark +7 -0
  118. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/lark/indenter.py +143 -0
  119. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/lark/lark.py +658 -0
  120. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/lark/lexer.py +678 -0
  121. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/lark/load_grammar.py +1428 -0
  122. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/lark/parse_tree_builder.py +391 -0
  123. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/lark/parser_frontends.py +257 -0
  124. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/lark/parsers/__init__.py +0 -0
  125. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/lark/parsers/cyk.py +340 -0
  126. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/lark/parsers/earley.py +314 -0
  127. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/lark/parsers/earley_common.py +42 -0
  128. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/lark/parsers/earley_forest.py +801 -0
  129. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/lark/parsers/grammar_analysis.py +203 -0
  130. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/lark/parsers/lalr_analysis.py +332 -0
  131. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/lark/parsers/lalr_interactive_parser.py +158 -0
  132. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/lark/parsers/lalr_parser.py +122 -0
  133. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/lark/parsers/lalr_parser_state.py +110 -0
  134. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/lark/parsers/xearley.py +165 -0
  135. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/lark/py.typed +0 -0
  136. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/lark/reconstruct.py +107 -0
  137. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/lark/tools/__init__.py +70 -0
  138. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/lark/tools/nearley.py +202 -0
  139. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/lark/tools/serialize.py +32 -0
  140. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/lark/tools/standalone.py +196 -0
  141. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/lark/tree.py +267 -0
  142. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/lark/tree_matcher.py +186 -0
  143. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/lark/tree_templates.py +180 -0
  144. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/lark/utils.py +343 -0
  145. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/lark/visitors.py +596 -0
  146. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/marshmallow/__init__.py +81 -0
  147. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/marshmallow/base.py +65 -0
  148. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/marshmallow/class_registry.py +94 -0
  149. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/marshmallow/decorators.py +231 -0
  150. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/marshmallow/error_store.py +60 -0
  151. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/marshmallow/exceptions.py +71 -0
  152. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/marshmallow/fields.py +2114 -0
  153. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/marshmallow/orderedset.py +89 -0
  154. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/marshmallow/py.typed +0 -0
  155. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/marshmallow/schema.py +1228 -0
  156. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/marshmallow/types.py +12 -0
  157. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/marshmallow/utils.py +378 -0
  158. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/marshmallow/validate.py +678 -0
  159. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/marshmallow/warnings.py +2 -0
  160. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/marshmallow_dataclass/__init__.py +1047 -0
  161. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/marshmallow_dataclass/collection_field.py +51 -0
  162. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/marshmallow_dataclass/lazy_class_attribute.py +45 -0
  163. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/marshmallow_dataclass/mypy.py +71 -0
  164. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/marshmallow_dataclass/py.typed +0 -0
  165. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/marshmallow_dataclass/typing.py +14 -0
  166. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/marshmallow_dataclass/union_field.py +82 -0
  167. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/marshmallow_oneofschema/__init__.py +1 -0
  168. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/marshmallow_oneofschema/one_of_schema.py +193 -0
  169. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/marshmallow_oneofschema/py.typed +0 -0
  170. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/msgpack/__init__.py +55 -0
  171. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/msgpack/_cmsgpack.pyx +11 -0
  172. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/msgpack/_packer.pyx +374 -0
  173. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/msgpack/_unpacker.pyx +547 -0
  174. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/msgpack/buff_converter.h +8 -0
  175. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/msgpack/exceptions.py +48 -0
  176. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/msgpack/ext.py +168 -0
  177. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/msgpack/fallback.py +951 -0
  178. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/msgpack/pack.h +89 -0
  179. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/msgpack/pack_template.h +820 -0
  180. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/msgpack/sysdep.h +194 -0
  181. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/msgpack/unpack.h +391 -0
  182. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/msgpack/unpack_define.h +95 -0
  183. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/msgpack/unpack_template.h +464 -0
  184. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/parsimonious/__init__.py +10 -0
  185. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/parsimonious/exceptions.py +105 -0
  186. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/parsimonious/expressions.py +479 -0
  187. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/parsimonious/grammar.py +487 -0
  188. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/parsimonious/nodes.py +325 -0
  189. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/parsimonious/utils.py +40 -0
  190. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/starknet/__init__.py +0 -0
  191. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/starknet/abi/v0/__init__.py +2 -0
  192. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/starknet/abi/v0/model.py +44 -0
  193. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/starknet/abi/v0/parser.py +216 -0
  194. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/starknet/abi/v0/schemas.py +72 -0
  195. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/starknet/abi/v0/shape.py +63 -0
  196. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/starknet/abi/v1/__init__.py +2 -0
  197. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/starknet/abi/v1/core_structures.json +14 -0
  198. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/starknet/abi/v1/model.py +39 -0
  199. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/starknet/abi/v1/parser.py +220 -0
  200. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/starknet/abi/v1/parser_transformer.py +179 -0
  201. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/starknet/abi/v1/schemas.py +66 -0
  202. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/starknet/abi/v1/shape.py +47 -0
  203. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/starknet/abi/v2/__init__.py +2 -0
  204. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/starknet/abi/v2/model.py +89 -0
  205. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/starknet/abi/v2/parser.py +293 -0
  206. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/starknet/abi/v2/parser_transformer.py +192 -0
  207. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/starknet/abi/v2/schemas.py +132 -0
  208. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/starknet/abi/v2/shape.py +107 -0
  209. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/starknet/cairo/__init__.py +0 -0
  210. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/starknet/cairo/data_types.py +123 -0
  211. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/starknet/cairo/deprecated_parse/__init__.py +0 -0
  212. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/starknet/cairo/deprecated_parse/cairo_types.py +77 -0
  213. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/starknet/cairo/deprecated_parse/parser.py +46 -0
  214. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/starknet/cairo/deprecated_parse/parser_transformer.py +138 -0
  215. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/starknet/cairo/felt.py +64 -0
  216. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/starknet/cairo/type_parser.py +121 -0
  217. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/starknet/cairo/v1/__init__.py +0 -0
  218. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/starknet/cairo/v1/type_parser.py +59 -0
  219. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/starknet/cairo/v2/__init__.py +0 -0
  220. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/starknet/cairo/v2/type_parser.py +77 -0
  221. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/starknet/ccxt_utils.py +7 -0
  222. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/starknet/common.py +15 -0
  223. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/starknet/constants.py +39 -0
  224. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/starknet/hash/__init__.py +0 -0
  225. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/starknet/hash/address.py +79 -0
  226. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/starknet/hash/compiled_class_hash_objects.py +111 -0
  227. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/starknet/hash/selector.py +16 -0
  228. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/starknet/hash/storage.py +12 -0
  229. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/starknet/hash/utils.py +78 -0
  230. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/starknet/models/__init__.py +0 -0
  231. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/starknet/models/typed_data.py +45 -0
  232. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/starknet/serialization/__init__.py +24 -0
  233. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/starknet/serialization/_calldata_reader.py +40 -0
  234. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/starknet/serialization/_context.py +142 -0
  235. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/starknet/serialization/data_serializers/__init__.py +10 -0
  236. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/starknet/serialization/data_serializers/_common.py +82 -0
  237. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/starknet/serialization/data_serializers/array_serializer.py +43 -0
  238. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/starknet/serialization/data_serializers/bool_serializer.py +37 -0
  239. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/starknet/serialization/data_serializers/byte_array_serializer.py +66 -0
  240. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/starknet/serialization/data_serializers/cairo_data_serializer.py +71 -0
  241. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/starknet/serialization/data_serializers/enum_serializer.py +71 -0
  242. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/starknet/serialization/data_serializers/felt_serializer.py +50 -0
  243. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/starknet/serialization/data_serializers/named_tuple_serializer.py +58 -0
  244. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/starknet/serialization/data_serializers/option_serializer.py +43 -0
  245. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/starknet/serialization/data_serializers/output_serializer.py +40 -0
  246. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/starknet/serialization/data_serializers/payload_serializer.py +72 -0
  247. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/starknet/serialization/data_serializers/struct_serializer.py +36 -0
  248. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/starknet/serialization/data_serializers/tuple_serializer.py +36 -0
  249. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/starknet/serialization/data_serializers/uint256_serializer.py +76 -0
  250. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/starknet/serialization/data_serializers/uint_serializer.py +100 -0
  251. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/starknet/serialization/data_serializers/unit_serializer.py +32 -0
  252. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/starknet/serialization/errors.py +10 -0
  253. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/starknet/serialization/factory.py +229 -0
  254. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/starknet/serialization/function_serialization_adapter.py +110 -0
  255. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/starknet/serialization/tuple_dataclass.py +59 -0
  256. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/starknet/utils/__init__.py +0 -0
  257. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/starknet/utils/constructor_args_translator.py +86 -0
  258. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/starknet/utils/iterable.py +13 -0
  259. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/starknet/utils/schema.py +13 -0
  260. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/starknet/utils/typed_data.py +182 -0
  261. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/starkware/__init__.py +0 -0
  262. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/starkware/crypto/__init__.py +0 -0
  263. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/starkware/crypto/fast_pedersen_hash.py +50 -0
  264. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/starkware/crypto/math_utils.py +78 -0
  265. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/starkware/crypto/signature.py +2344 -0
  266. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/starkware/crypto/utils.py +63 -0
  267. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/sympy/__init__.py +0 -0
  268. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/sympy/core/__init__.py +0 -0
  269. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/sympy/core/intfunc.py +35 -0
  270. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/sympy/external/__init__.py +0 -0
  271. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/sympy/external/gmpy.py +345 -0
  272. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/sympy/external/importtools.py +187 -0
  273. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/sympy/external/ntheory.py +637 -0
  274. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/sympy/external/pythonmpq.py +341 -0
  275. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/toolz/__init__.py +26 -0
  276. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/toolz/_signatures.py +784 -0
  277. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/toolz/_version.py +520 -0
  278. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/toolz/compatibility.py +30 -0
  279. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/toolz/curried/__init__.py +101 -0
  280. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/toolz/curried/exceptions.py +22 -0
  281. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/toolz/curried/operator.py +22 -0
  282. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/toolz/dicttoolz.py +339 -0
  283. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/toolz/functoolz.py +1049 -0
  284. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/toolz/itertoolz.py +1057 -0
  285. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/toolz/recipes.py +46 -0
  286. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/toolz/utils.py +9 -0
  287. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/typing_inspect/__init__.py +0 -0
  288. bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/typing_inspect/typing_inspect.py +851 -0
  289. bitmart-0.0.1/PKG-INFO +0 -18
  290. bitmart-0.0.1/README.md +0 -5
  291. bitmart-0.0.1/src/bitmart/example.py +0 -2
  292. /bitmart-0.0.1/src/bitmart/__init__.py → /bitmart-0.0.2/src/bitmart/ccxt/static_dependencies/ethereum/abi/py.typed +0 -0
@@ -0,0 +1,176 @@
1
+ node_modules/
2
+
3
+ # Byte-compiled / optimized / DLL files
4
+ __pycache__/
5
+ *.py[cod]
6
+ *$py.class
7
+
8
+ # C extensions
9
+ *.so
10
+
11
+ # Distribution / packaging
12
+ .Python
13
+ # build/
14
+ develop-eggs/
15
+ dist/
16
+ downloads/
17
+ eggs/
18
+ .eggs/
19
+ lib/
20
+ lib64/
21
+ parts/
22
+ sdist/
23
+ var/
24
+ wheels/
25
+ share/python-wheels/
26
+ *.egg-info/
27
+ .installed.cfg
28
+ *.egg
29
+ MANIFEST
30
+
31
+ # PyInstaller
32
+ # Usually these files are written by a python script from a template
33
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
34
+ *.manifest
35
+ *.spec
36
+
37
+ # Installer logs
38
+ pip-log.txt
39
+ pip-delete-this-directory.txt
40
+
41
+ # Unit test / coverage reports
42
+ htmlcov/
43
+ .tox/
44
+ .nox/
45
+ .coverage
46
+ .coverage.*
47
+ .cache
48
+ nosetests.xml
49
+ coverage.xml
50
+ *.cover
51
+ *.py,cover
52
+ .hypothesis/
53
+ .pytest_cache/
54
+ cover/
55
+
56
+ # Translations
57
+ *.mo
58
+ *.pot
59
+
60
+ # Django stuff:
61
+ *.log
62
+ local_settings.py
63
+ db.sqlite3
64
+ db.sqlite3-journal
65
+
66
+ # Flask stuff:
67
+ instance/
68
+ .webassets-cache
69
+
70
+ # Scrapy stuff:
71
+ .scrapy
72
+
73
+ # Sphinx documentation
74
+ docs/_build/
75
+
76
+ # PyBuilder
77
+ .pybuilder/
78
+ target/
79
+
80
+ # Jupyter Notebook
81
+ .ipynb_checkpoints
82
+
83
+ # IPython
84
+ profile_default/
85
+ ipython_config.py
86
+
87
+ # pyenv
88
+ # For a library or package, you might want to ignore these files since the code is
89
+ # intended to run in multiple environments; otherwise, check them in:
90
+ # .python-version
91
+
92
+ # pipenv
93
+ # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
94
+ # However, in case of collaboration, if having platform-specific dependencies or dependencies
95
+ # having no cross-platform support, pipenv may install dependencies that don't work, or not
96
+ # install all needed dependencies.
97
+ #Pipfile.lock
98
+
99
+ # UV
100
+ # Similar to Pipfile.lock, it is generally recommended to include uv.lock in version control.
101
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
102
+ # commonly ignored for libraries.
103
+ #uv.lock
104
+
105
+ # poetry
106
+ # Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
107
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
108
+ # commonly ignored for libraries.
109
+ # https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
110
+ #poetry.lock
111
+
112
+ # pdm
113
+ # Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
114
+ #pdm.lock
115
+ # pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
116
+ # in version control.
117
+ # https://pdm.fming.dev/latest/usage/project/#working-with-version-control
118
+ .pdm.toml
119
+ .pdm-python
120
+ .pdm-build/
121
+
122
+ # PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
123
+ __pypackages__/
124
+
125
+ # Celery stuff
126
+ celerybeat-schedule
127
+ celerybeat.pid
128
+
129
+ # SageMath parsed files
130
+ *.sage.py
131
+
132
+ # Environments
133
+ .env
134
+ .venv
135
+ env/
136
+ venv/
137
+ ENV/
138
+ env.bak/
139
+ venv.bak/
140
+
141
+ # Spyder project settings
142
+ .spyderproject
143
+ .spyproject
144
+
145
+ # Rope project settings
146
+ .ropeproject
147
+
148
+ # mkdocs documentation
149
+ /site
150
+
151
+ # mypy
152
+ .mypy_cache/
153
+ .dmypy.json
154
+ dmypy.json
155
+
156
+ # Pyre type checker
157
+ .pyre/
158
+
159
+ # pytype static type analyzer
160
+ .pytype/
161
+
162
+ # Cython debug symbols
163
+ cython_debug/
164
+
165
+ # PyCharm
166
+ # JetBrains specific template is maintained in a separate JetBrains.gitignore that can
167
+ # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
168
+ # and can be added to the global gitignore or merged into this file. For a more nuclear
169
+ # option (not recommended) you can uncomment the following to ignore the entire idea folder.
170
+ #.idea/
171
+
172
+ # PyPI configuration file
173
+ .pypirc
174
+
175
+ build/ccxt
176
+ /meta.json
bitmart-0.0.2/PKG-INFO ADDED
@@ -0,0 +1,62 @@
1
+ Metadata-Version: 2.4
2
+ Name: bitmart
3
+ Version: 0.0.2
4
+ Summary: bitmart exchange api client
5
+ Project-URL: Homepage, https://github.com/ccxt/ccxt
6
+ Project-URL: Issues, https://github.com/ccxt/ccxt
7
+ Author-email: Example Author <author@example.com>
8
+ License: MIT
9
+ Classifier: Operating System :: OS Independent
10
+ Classifier: Programming Language :: Python :: 3
11
+ Requires-Python: >=3.8
12
+ Description-Content-Type: text/markdown
13
+
14
+ # bitmart-python
15
+ Python SDK (sync and async) for Bitmart with Rest and WS capabilities.
16
+
17
+ You can check Bitmart's docs here: [Docs](https://ccxt.com)
18
+
19
+
20
+ You can check the SDK docs here: [SDK](https://docs.ccxt.com/#/exchanges/bitmart)
21
+
22
+ *This package derives from CCXT and allows you to call pretty much every endpoint by either using the unified CCXT API or calling the endpoints directly*
23
+
24
+ ## Installation
25
+
26
+ ```
27
+ pip install bitmart
28
+ ```
29
+
30
+ ## Usage
31
+
32
+ ### Async
33
+
34
+ ```Python
35
+ from bitmart import BitmartAsync
36
+
37
+ async def main():
38
+ instance = BitmartAsync({})
39
+ order = await instance.create_order(__EXAMPLE_SYMBOL__, "limit", "buy", 1, 100000)
40
+ ```
41
+
42
+ ### Sync
43
+
44
+ ```Python
45
+ from bitmart import BitmartSync
46
+
47
+ def main():
48
+ instance = BitmartSync({})
49
+ order = instance.create_order(__EXAMPLE_SYMBOL__, "limit", "buy", 1, 100000)
50
+ ```
51
+
52
+ ### Websockets
53
+
54
+ ```Python
55
+ from bitmart import BitmartWs
56
+
57
+ async def main():
58
+ instance = BitmartWs({})
59
+ while True:
60
+ orders = await instance.watch_orders(__EXAMPLE_SYMBOL__)
61
+ ```
62
+
@@ -0,0 +1,49 @@
1
+ # bitmart-python
2
+ Python SDK (sync and async) for Bitmart with Rest and WS capabilities.
3
+
4
+ You can check Bitmart's docs here: [Docs](https://ccxt.com)
5
+
6
+
7
+ You can check the SDK docs here: [SDK](https://docs.ccxt.com/#/exchanges/bitmart)
8
+
9
+ *This package derives from CCXT and allows you to call pretty much every endpoint by either using the unified CCXT API or calling the endpoints directly*
10
+
11
+ ## Installation
12
+
13
+ ```
14
+ pip install bitmart
15
+ ```
16
+
17
+ ## Usage
18
+
19
+ ### Async
20
+
21
+ ```Python
22
+ from bitmart import BitmartAsync
23
+
24
+ async def main():
25
+ instance = BitmartAsync({})
26
+ order = await instance.create_order(__EXAMPLE_SYMBOL__, "limit", "buy", 1, 100000)
27
+ ```
28
+
29
+ ### Sync
30
+
31
+ ```Python
32
+ from bitmart import BitmartSync
33
+
34
+ def main():
35
+ instance = BitmartSync({})
36
+ order = instance.create_order(__EXAMPLE_SYMBOL__, "limit", "buy", 1, 100000)
37
+ ```
38
+
39
+ ### Websockets
40
+
41
+ ```Python
42
+ from bitmart import BitmartWs
43
+
44
+ async def main():
45
+ instance = BitmartWs({})
46
+ while True:
47
+ orders = await instance.watch_orders(__EXAMPLE_SYMBOL__)
48
+ ```
49
+
@@ -1,23 +1,25 @@
1
- [build-system]
2
- requires = ["hatchling"]
3
- build-backend = "hatchling.build"
4
-
5
-
6
- [project]
7
- name = "bitmart"
8
- version = "0.0.1"
9
- authors = [
10
- { name="Example Author", email="author@example.com" },
11
- ]
12
- description = "A small example package"
13
- readme = "README.md"
14
- requires-python = ">=3.8"
15
- classifiers = [
16
- "Programming Language :: Python :: 3",
17
- "Operating System :: OS Independent",
18
- ]
19
- license = {text = "MIT"}
20
-
21
- [project.urls]
22
- Homepage = "https://github.com/pypa/sampleproject"
23
- Issues = "https://github.com/pypa/sampleproject/issues"
1
+ [build-system]
2
+ requires = ["hatchling"]
3
+ build-backend = "hatchling.build"
4
+
5
+ [tool.hatch.build.targets.wheel]
6
+ packages = ["src/bitmart"]
7
+
8
+ [project]
9
+ name = "bitmart"
10
+ version = "0.0.2"
11
+ authors = [
12
+ { name="Example Author", email="author@example.com" },
13
+ ]
14
+ description = "bitmart exchange api client"
15
+ readme = "README.md"
16
+ requires-python = ">=3.8"
17
+ classifiers = [
18
+ "Programming Language :: Python :: 3",
19
+ "Operating System :: OS Independent",
20
+ ]
21
+ license = {text = "MIT"}
22
+
23
+ [project.urls]
24
+ Homepage = "https://github.com/ccxt/ccxt"
25
+ Issues = "https://github.com/ccxt/ccxt"
@@ -0,0 +1,7 @@
1
+ import sys
2
+ import bitmart.ccxt as ccxt_module
3
+ sys.modules['ccxt'] = ccxt_module
4
+
5
+ from bitmart.ccxt import bitmart as BitmartSync
6
+ from bitmart.ccxt.async_support.bitmart import bitmart as BitmartAsync
7
+ from bitmart.ccxt.pro.bitmart import bitmart as BitmartWs
@@ -0,0 +1,101 @@
1
+ import sys
2
+ import bitmart.ccxt as ccxt_module
3
+ sys.modules['ccxt'] = ccxt_module
4
+
5
+ # -*- coding: utf-8 -*-
6
+
7
+ """CCXT: CryptoCurrency eXchange Trading Library"""
8
+
9
+ # MIT License
10
+ # Copyright (c) 2017 Igor Kroitor
11
+ # Permission is hereby granted, free of charge, to any person obtaining a copy
12
+ # of this software and associated documentation files (the "Software"), to deal
13
+ # in the Software without restriction, including without limitation the rights
14
+ # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
15
+ # copies of the Software, and to permit persons to whom the Software is
16
+ # furnished to do so, subject to the following conditions:
17
+ # The above copyright notice and this permission notice shall be included in all
18
+ # copies or substantial portions of the Software.
19
+ # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
20
+ # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
21
+ # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
22
+ # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
23
+ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
24
+ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
25
+ # SOFTWARE.
26
+
27
+ # ----------------------------------------------------------------------------
28
+
29
+ __version__ = '4.4.69'
30
+
31
+ # ----------------------------------------------------------------------------
32
+
33
+ from ccxt.base.exchange import Exchange # noqa: F401
34
+ from ccxt.base.precise import Precise # noqa: F401
35
+
36
+ from ccxt.base.decimal_to_precision import decimal_to_precision # noqa: F401
37
+ from ccxt.base.decimal_to_precision import TRUNCATE # noqa: F401
38
+ from ccxt.base.decimal_to_precision import ROUND # noqa: F401
39
+ from ccxt.base.decimal_to_precision import ROUND_UP # noqa: F401
40
+ from ccxt.base.decimal_to_precision import ROUND_DOWN # noqa: F401
41
+ from ccxt.base.decimal_to_precision import DECIMAL_PLACES # noqa: F401
42
+ from ccxt.base.decimal_to_precision import SIGNIFICANT_DIGITS # noqa: F401
43
+ from ccxt.base.decimal_to_precision import TICK_SIZE # noqa: F401
44
+ from ccxt.base.decimal_to_precision import NO_PADDING # noqa: F401
45
+ from ccxt.base.decimal_to_precision import PAD_WITH_ZERO # noqa: F401
46
+
47
+ from ccxt.base import errors
48
+ from ccxt.base.errors import BaseError # noqa: F401
49
+ from ccxt.base.errors import ExchangeError # noqa: F401
50
+ from ccxt.base.errors import AuthenticationError # noqa: F401
51
+ from ccxt.base.errors import PermissionDenied # noqa: F401
52
+ from ccxt.base.errors import AccountNotEnabled # noqa: F401
53
+ from ccxt.base.errors import AccountSuspended # noqa: F401
54
+ from ccxt.base.errors import ArgumentsRequired # noqa: F401
55
+ from ccxt.base.errors import BadRequest # noqa: F401
56
+ from ccxt.base.errors import BadSymbol # noqa: F401
57
+ from ccxt.base.errors import OperationRejected # noqa: F401
58
+ from ccxt.base.errors import NoChange # noqa: F401
59
+ from ccxt.base.errors import MarginModeAlreadySet # noqa: F401
60
+ from ccxt.base.errors import MarketClosed # noqa: F401
61
+ from ccxt.base.errors import ManualInteractionNeeded # noqa: F401
62
+ from ccxt.base.errors import InsufficientFunds # noqa: F401
63
+ from ccxt.base.errors import InvalidAddress # noqa: F401
64
+ from ccxt.base.errors import AddressPending # noqa: F401
65
+ from ccxt.base.errors import InvalidOrder # noqa: F401
66
+ from ccxt.base.errors import OrderNotFound # noqa: F401
67
+ from ccxt.base.errors import OrderNotCached # noqa: F401
68
+ from ccxt.base.errors import OrderImmediatelyFillable # noqa: F401
69
+ from ccxt.base.errors import OrderNotFillable # noqa: F401
70
+ from ccxt.base.errors import DuplicateOrderId # noqa: F401
71
+ from ccxt.base.errors import ContractUnavailable # noqa: F401
72
+ from ccxt.base.errors import NotSupported # noqa: F401
73
+ from ccxt.base.errors import InvalidProxySettings # noqa: F401
74
+ from ccxt.base.errors import ExchangeClosedByUser # noqa: F401
75
+ from ccxt.base.errors import OperationFailed # noqa: F401
76
+ from ccxt.base.errors import NetworkError # noqa: F401
77
+ from ccxt.base.errors import DDoSProtection # noqa: F401
78
+ from ccxt.base.errors import RateLimitExceeded # noqa: F401
79
+ from ccxt.base.errors import ExchangeNotAvailable # noqa: F401
80
+ from ccxt.base.errors import OnMaintenance # noqa: F401
81
+ from ccxt.base.errors import InvalidNonce # noqa: F401
82
+ from ccxt.base.errors import ChecksumError # noqa: F401
83
+ from ccxt.base.errors import RequestTimeout # noqa: F401
84
+ from ccxt.base.errors import BadResponse # noqa: F401
85
+ from ccxt.base.errors import NullResponse # noqa: F401
86
+ from ccxt.base.errors import CancelPending # noqa: F401
87
+ from ccxt.base.errors import UnsubscribeError # noqa: F401
88
+ from ccxt.base.errors import error_hierarchy # noqa: F401
89
+
90
+ from ccxt.bitmart import bitmart # noqa: F401
91
+
92
+ exchanges = [ 'bitmart',]
93
+
94
+ base = [
95
+ 'Exchange',
96
+ 'Precise',
97
+ 'exchanges',
98
+ 'decimal_to_precision',
99
+ ]
100
+
101
+ __all__ = base + errors.__all__ + exchanges
@@ -0,0 +1,113 @@
1
+ from ccxt.base.types import Entry
2
+
3
+
4
+ class ImplicitAPI:
5
+ public_get_system_time = publicGetSystemTime = Entry('system/time', 'public', 'GET', {'cost': 3})
6
+ public_get_system_service = publicGetSystemService = Entry('system/service', 'public', 'GET', {'cost': 3})
7
+ public_get_spot_v1_currencies = publicGetSpotV1Currencies = Entry('spot/v1/currencies', 'public', 'GET', {'cost': 7.5})
8
+ public_get_spot_v1_symbols = publicGetSpotV1Symbols = Entry('spot/v1/symbols', 'public', 'GET', {'cost': 7.5})
9
+ public_get_spot_v1_symbols_details = publicGetSpotV1SymbolsDetails = Entry('spot/v1/symbols/details', 'public', 'GET', {'cost': 5})
10
+ public_get_spot_quotation_v3_tickers = publicGetSpotQuotationV3Tickers = Entry('spot/quotation/v3/tickers', 'public', 'GET', {'cost': 6})
11
+ public_get_spot_quotation_v3_ticker = publicGetSpotQuotationV3Ticker = Entry('spot/quotation/v3/ticker', 'public', 'GET', {'cost': 4})
12
+ public_get_spot_quotation_v3_lite_klines = publicGetSpotQuotationV3LiteKlines = Entry('spot/quotation/v3/lite-klines', 'public', 'GET', {'cost': 5})
13
+ public_get_spot_quotation_v3_klines = publicGetSpotQuotationV3Klines = Entry('spot/quotation/v3/klines', 'public', 'GET', {'cost': 7})
14
+ public_get_spot_quotation_v3_books = publicGetSpotQuotationV3Books = Entry('spot/quotation/v3/books', 'public', 'GET', {'cost': 4})
15
+ public_get_spot_quotation_v3_trades = publicGetSpotQuotationV3Trades = Entry('spot/quotation/v3/trades', 'public', 'GET', {'cost': 4})
16
+ public_get_spot_v1_ticker = publicGetSpotV1Ticker = Entry('spot/v1/ticker', 'public', 'GET', {'cost': 5})
17
+ public_get_spot_v2_ticker = publicGetSpotV2Ticker = Entry('spot/v2/ticker', 'public', 'GET', {'cost': 30})
18
+ public_get_spot_v1_ticker_detail = publicGetSpotV1TickerDetail = Entry('spot/v1/ticker_detail', 'public', 'GET', {'cost': 5})
19
+ public_get_spot_v1_steps = publicGetSpotV1Steps = Entry('spot/v1/steps', 'public', 'GET', {'cost': 30})
20
+ public_get_spot_v1_symbols_kline = publicGetSpotV1SymbolsKline = Entry('spot/v1/symbols/kline', 'public', 'GET', {'cost': 6})
21
+ public_get_spot_v1_symbols_book = publicGetSpotV1SymbolsBook = Entry('spot/v1/symbols/book', 'public', 'GET', {'cost': 5})
22
+ public_get_spot_v1_symbols_trades = publicGetSpotV1SymbolsTrades = Entry('spot/v1/symbols/trades', 'public', 'GET', {'cost': 5})
23
+ public_get_contract_v1_tickers = publicGetContractV1Tickers = Entry('contract/v1/tickers', 'public', 'GET', {'cost': 15})
24
+ public_get_contract_public_details = publicGetContractPublicDetails = Entry('contract/public/details', 'public', 'GET', {'cost': 5})
25
+ public_get_contract_public_depth = publicGetContractPublicDepth = Entry('contract/public/depth', 'public', 'GET', {'cost': 5})
26
+ public_get_contract_public_open_interest = publicGetContractPublicOpenInterest = Entry('contract/public/open-interest', 'public', 'GET', {'cost': 30})
27
+ public_get_contract_public_funding_rate = publicGetContractPublicFundingRate = Entry('contract/public/funding-rate', 'public', 'GET', {'cost': 30})
28
+ public_get_contract_public_funding_rate_history = publicGetContractPublicFundingRateHistory = Entry('contract/public/funding-rate-history', 'public', 'GET', {'cost': 30})
29
+ public_get_contract_public_kline = publicGetContractPublicKline = Entry('contract/public/kline', 'public', 'GET', {'cost': 6})
30
+ public_get_account_v1_currencies = publicGetAccountV1Currencies = Entry('account/v1/currencies', 'public', 'GET', {'cost': 30})
31
+ public_get_contract_public_markprice_kline = publicGetContractPublicMarkpriceKline = Entry('contract/public/markprice-kline', 'public', 'GET', {'cost': 5})
32
+ private_get_account_sub_account_v1_transfer_list = privateGetAccountSubAccountV1TransferList = Entry('account/sub-account/v1/transfer-list', 'private', 'GET', {'cost': 7.5})
33
+ private_get_account_sub_account_v1_transfer_history = privateGetAccountSubAccountV1TransferHistory = Entry('account/sub-account/v1/transfer-history', 'private', 'GET', {'cost': 7.5})
34
+ private_get_account_sub_account_main_v1_wallet = privateGetAccountSubAccountMainV1Wallet = Entry('account/sub-account/main/v1/wallet', 'private', 'GET', {'cost': 5})
35
+ private_get_account_sub_account_main_v1_subaccount_list = privateGetAccountSubAccountMainV1SubaccountList = Entry('account/sub-account/main/v1/subaccount-list', 'private', 'GET', {'cost': 7.5})
36
+ private_get_account_contract_sub_account_main_v1_wallet = privateGetAccountContractSubAccountMainV1Wallet = Entry('account/contract/sub-account/main/v1/wallet', 'private', 'GET', {'cost': 5})
37
+ private_get_account_contract_sub_account_main_v1_transfer_list = privateGetAccountContractSubAccountMainV1TransferList = Entry('account/contract/sub-account/main/v1/transfer-list', 'private', 'GET', {'cost': 7.5})
38
+ private_get_account_contract_sub_account_v1_transfer_history = privateGetAccountContractSubAccountV1TransferHistory = Entry('account/contract/sub-account/v1/transfer-history', 'private', 'GET', {'cost': 7.5})
39
+ private_get_account_v1_wallet = privateGetAccountV1Wallet = Entry('account/v1/wallet', 'private', 'GET', {'cost': 5})
40
+ private_get_account_v1_currencies = privateGetAccountV1Currencies = Entry('account/v1/currencies', 'private', 'GET', {'cost': 30})
41
+ private_get_spot_v1_wallet = privateGetSpotV1Wallet = Entry('spot/v1/wallet', 'private', 'GET', {'cost': 5})
42
+ private_get_account_v1_deposit_address = privateGetAccountV1DepositAddress = Entry('account/v1/deposit/address', 'private', 'GET', {'cost': 30})
43
+ private_get_account_v1_withdraw_charge = privateGetAccountV1WithdrawCharge = Entry('account/v1/withdraw/charge', 'private', 'GET', {'cost': 32})
44
+ private_get_account_v2_deposit_withdraw_history = privateGetAccountV2DepositWithdrawHistory = Entry('account/v2/deposit-withdraw/history', 'private', 'GET', {'cost': 7.5})
45
+ private_get_account_v1_deposit_withdraw_detail = privateGetAccountV1DepositWithdrawDetail = Entry('account/v1/deposit-withdraw/detail', 'private', 'GET', {'cost': 7.5})
46
+ private_get_account_v1_withdraw_address_list = privateGetAccountV1WithdrawAddressList = Entry('account/v1/withdraw/address/list', 'private', 'GET', {'cost': 30})
47
+ private_get_spot_v1_order_detail = privateGetSpotV1OrderDetail = Entry('spot/v1/order_detail', 'private', 'GET', {'cost': 1})
48
+ private_get_spot_v2_orders = privateGetSpotV2Orders = Entry('spot/v2/orders', 'private', 'GET', {'cost': 5})
49
+ private_get_spot_v1_trades = privateGetSpotV1Trades = Entry('spot/v1/trades', 'private', 'GET', {'cost': 5})
50
+ private_get_spot_v2_trades = privateGetSpotV2Trades = Entry('spot/v2/trades', 'private', 'GET', {'cost': 4})
51
+ private_get_spot_v3_orders = privateGetSpotV3Orders = Entry('spot/v3/orders', 'private', 'GET', {'cost': 5})
52
+ private_get_spot_v2_order_detail = privateGetSpotV2OrderDetail = Entry('spot/v2/order_detail', 'private', 'GET', {'cost': 1})
53
+ private_get_spot_v1_margin_isolated_borrow_record = privateGetSpotV1MarginIsolatedBorrowRecord = Entry('spot/v1/margin/isolated/borrow_record', 'private', 'GET', {'cost': 1})
54
+ private_get_spot_v1_margin_isolated_repay_record = privateGetSpotV1MarginIsolatedRepayRecord = Entry('spot/v1/margin/isolated/repay_record', 'private', 'GET', {'cost': 1})
55
+ private_get_spot_v1_margin_isolated_pairs = privateGetSpotV1MarginIsolatedPairs = Entry('spot/v1/margin/isolated/pairs', 'private', 'GET', {'cost': 30})
56
+ private_get_spot_v1_margin_isolated_account = privateGetSpotV1MarginIsolatedAccount = Entry('spot/v1/margin/isolated/account', 'private', 'GET', {'cost': 5})
57
+ private_get_spot_v1_trade_fee = privateGetSpotV1TradeFee = Entry('spot/v1/trade_fee', 'private', 'GET', {'cost': 30})
58
+ private_get_spot_v1_user_fee = privateGetSpotV1UserFee = Entry('spot/v1/user_fee', 'private', 'GET', {'cost': 30})
59
+ private_get_spot_v1_broker_rebate = privateGetSpotV1BrokerRebate = Entry('spot/v1/broker/rebate', 'private', 'GET', {'cost': 1})
60
+ private_get_contract_private_assets_detail = privateGetContractPrivateAssetsDetail = Entry('contract/private/assets-detail', 'private', 'GET', {'cost': 5})
61
+ private_get_contract_private_order = privateGetContractPrivateOrder = Entry('contract/private/order', 'private', 'GET', {'cost': 1.2})
62
+ private_get_contract_private_order_history = privateGetContractPrivateOrderHistory = Entry('contract/private/order-history', 'private', 'GET', {'cost': 10})
63
+ private_get_contract_private_position = privateGetContractPrivatePosition = Entry('contract/private/position', 'private', 'GET', {'cost': 10})
64
+ private_get_contract_private_get_open_orders = privateGetContractPrivateGetOpenOrders = Entry('contract/private/get-open-orders', 'private', 'GET', {'cost': 1.2})
65
+ private_get_contract_private_current_plan_order = privateGetContractPrivateCurrentPlanOrder = Entry('contract/private/current-plan-order', 'private', 'GET', {'cost': 1.2})
66
+ private_get_contract_private_trades = privateGetContractPrivateTrades = Entry('contract/private/trades', 'private', 'GET', {'cost': 10})
67
+ private_get_contract_private_position_risk = privateGetContractPrivatePositionRisk = Entry('contract/private/position-risk', 'private', 'GET', {'cost': 10})
68
+ private_get_contract_private_affilate_rebate_list = privateGetContractPrivateAffilateRebateList = Entry('contract/private/affilate/rebate-list', 'private', 'GET', {'cost': 10})
69
+ private_get_contract_private_affilate_trade_list = privateGetContractPrivateAffilateTradeList = Entry('contract/private/affilate/trade-list', 'private', 'GET', {'cost': 10})
70
+ private_get_contract_private_transaction_history = privateGetContractPrivateTransactionHistory = Entry('contract/private/transaction-history', 'private', 'GET', {'cost': 10})
71
+ private_post_account_sub_account_main_v1_sub_to_main = privatePostAccountSubAccountMainV1SubToMain = Entry('account/sub-account/main/v1/sub-to-main', 'private', 'POST', {'cost': 30})
72
+ private_post_account_sub_account_sub_v1_sub_to_main = privatePostAccountSubAccountSubV1SubToMain = Entry('account/sub-account/sub/v1/sub-to-main', 'private', 'POST', {'cost': 30})
73
+ private_post_account_sub_account_main_v1_main_to_sub = privatePostAccountSubAccountMainV1MainToSub = Entry('account/sub-account/main/v1/main-to-sub', 'private', 'POST', {'cost': 30})
74
+ private_post_account_sub_account_sub_v1_sub_to_sub = privatePostAccountSubAccountSubV1SubToSub = Entry('account/sub-account/sub/v1/sub-to-sub', 'private', 'POST', {'cost': 30})
75
+ private_post_account_sub_account_main_v1_sub_to_sub = privatePostAccountSubAccountMainV1SubToSub = Entry('account/sub-account/main/v1/sub-to-sub', 'private', 'POST', {'cost': 30})
76
+ private_post_account_contract_sub_account_main_v1_sub_to_main = privatePostAccountContractSubAccountMainV1SubToMain = Entry('account/contract/sub-account/main/v1/sub-to-main', 'private', 'POST', {'cost': 7.5})
77
+ private_post_account_contract_sub_account_main_v1_main_to_sub = privatePostAccountContractSubAccountMainV1MainToSub = Entry('account/contract/sub-account/main/v1/main-to-sub', 'private', 'POST', {'cost': 7.5})
78
+ private_post_account_contract_sub_account_sub_v1_sub_to_main = privatePostAccountContractSubAccountSubV1SubToMain = Entry('account/contract/sub-account/sub/v1/sub-to-main', 'private', 'POST', {'cost': 7.5})
79
+ private_post_account_v1_withdraw_apply = privatePostAccountV1WithdrawApply = Entry('account/v1/withdraw/apply', 'private', 'POST', {'cost': 7.5})
80
+ private_post_spot_v1_submit_order = privatePostSpotV1SubmitOrder = Entry('spot/v1/submit_order', 'private', 'POST', {'cost': 1})
81
+ private_post_spot_v1_batch_orders = privatePostSpotV1BatchOrders = Entry('spot/v1/batch_orders', 'private', 'POST', {'cost': 1})
82
+ private_post_spot_v2_cancel_order = privatePostSpotV2CancelOrder = Entry('spot/v2/cancel_order', 'private', 'POST', {'cost': 1})
83
+ private_post_spot_v1_cancel_orders = privatePostSpotV1CancelOrders = Entry('spot/v1/cancel_orders', 'private', 'POST', {'cost': 15})
84
+ private_post_spot_v4_query_order = privatePostSpotV4QueryOrder = Entry('spot/v4/query/order', 'private', 'POST', {'cost': 1})
85
+ private_post_spot_v4_query_client_order = privatePostSpotV4QueryClientOrder = Entry('spot/v4/query/client-order', 'private', 'POST', {'cost': 1})
86
+ private_post_spot_v4_query_open_orders = privatePostSpotV4QueryOpenOrders = Entry('spot/v4/query/open-orders', 'private', 'POST', {'cost': 5})
87
+ private_post_spot_v4_query_history_orders = privatePostSpotV4QueryHistoryOrders = Entry('spot/v4/query/history-orders', 'private', 'POST', {'cost': 5})
88
+ private_post_spot_v4_query_trades = privatePostSpotV4QueryTrades = Entry('spot/v4/query/trades', 'private', 'POST', {'cost': 5})
89
+ private_post_spot_v4_query_order_trades = privatePostSpotV4QueryOrderTrades = Entry('spot/v4/query/order-trades', 'private', 'POST', {'cost': 5})
90
+ private_post_spot_v4_cancel_orders = privatePostSpotV4CancelOrders = Entry('spot/v4/cancel_orders', 'private', 'POST', {'cost': 3})
91
+ private_post_spot_v4_cancel_all = privatePostSpotV4CancelAll = Entry('spot/v4/cancel_all', 'private', 'POST', {'cost': 90})
92
+ private_post_spot_v4_batch_orders = privatePostSpotV4BatchOrders = Entry('spot/v4/batch_orders', 'private', 'POST', {'cost': 3})
93
+ private_post_spot_v3_cancel_order = privatePostSpotV3CancelOrder = Entry('spot/v3/cancel_order', 'private', 'POST', {'cost': 1})
94
+ private_post_spot_v2_batch_orders = privatePostSpotV2BatchOrders = Entry('spot/v2/batch_orders', 'private', 'POST', {'cost': 1})
95
+ private_post_spot_v2_submit_order = privatePostSpotV2SubmitOrder = Entry('spot/v2/submit_order', 'private', 'POST', {'cost': 1})
96
+ private_post_spot_v1_margin_submit_order = privatePostSpotV1MarginSubmitOrder = Entry('spot/v1/margin/submit_order', 'private', 'POST', {'cost': 1.5})
97
+ private_post_spot_v1_margin_isolated_borrow = privatePostSpotV1MarginIsolatedBorrow = Entry('spot/v1/margin/isolated/borrow', 'private', 'POST', {'cost': 30})
98
+ private_post_spot_v1_margin_isolated_repay = privatePostSpotV1MarginIsolatedRepay = Entry('spot/v1/margin/isolated/repay', 'private', 'POST', {'cost': 30})
99
+ private_post_spot_v1_margin_isolated_transfer = privatePostSpotV1MarginIsolatedTransfer = Entry('spot/v1/margin/isolated/transfer', 'private', 'POST', {'cost': 30})
100
+ private_post_account_v1_transfer_contract_list = privatePostAccountV1TransferContractList = Entry('account/v1/transfer-contract-list', 'private', 'POST', {'cost': 60})
101
+ private_post_account_v1_transfer_contract = privatePostAccountV1TransferContract = Entry('account/v1/transfer-contract', 'private', 'POST', {'cost': 60})
102
+ private_post_contract_private_submit_order = privatePostContractPrivateSubmitOrder = Entry('contract/private/submit-order', 'private', 'POST', {'cost': 2.5})
103
+ private_post_contract_private_cancel_order = privatePostContractPrivateCancelOrder = Entry('contract/private/cancel-order', 'private', 'POST', {'cost': 1.5})
104
+ private_post_contract_private_cancel_orders = privatePostContractPrivateCancelOrders = Entry('contract/private/cancel-orders', 'private', 'POST', {'cost': 30})
105
+ private_post_contract_private_submit_plan_order = privatePostContractPrivateSubmitPlanOrder = Entry('contract/private/submit-plan-order', 'private', 'POST', {'cost': 2.5})
106
+ private_post_contract_private_cancel_plan_order = privatePostContractPrivateCancelPlanOrder = Entry('contract/private/cancel-plan-order', 'private', 'POST', {'cost': 1.5})
107
+ private_post_contract_private_submit_leverage = privatePostContractPrivateSubmitLeverage = Entry('contract/private/submit-leverage', 'private', 'POST', {'cost': 2.5})
108
+ private_post_contract_private_submit_tp_sl_order = privatePostContractPrivateSubmitTpSlOrder = Entry('contract/private/submit-tp-sl-order', 'private', 'POST', {'cost': 2.5})
109
+ private_post_contract_private_modify_plan_order = privatePostContractPrivateModifyPlanOrder = Entry('contract/private/modify-plan-order', 'private', 'POST', {'cost': 2.5})
110
+ private_post_contract_private_modify_preset_plan_order = privatePostContractPrivateModifyPresetPlanOrder = Entry('contract/private/modify-preset-plan-order', 'private', 'POST', {'cost': 2.5})
111
+ private_post_contract_private_modify_tp_sl_order = privatePostContractPrivateModifyTpSlOrder = Entry('contract/private/modify-tp-sl-order', 'private', 'POST', {'cost': 2.5})
112
+ private_post_contract_private_submit_trail_order = privatePostContractPrivateSubmitTrailOrder = Entry('contract/private/submit-trail-order', 'private', 'POST', {'cost': 2.5})
113
+ private_post_contract_private_cancel_trail_order = privatePostContractPrivateCancelTrailOrder = Entry('contract/private/cancel-trail-order', 'private', 'POST', {'cost': 1.5})
@@ -0,0 +1,80 @@
1
+ import sys
2
+ import bitmart.ccxt as ccxt_module
3
+ sys.modules['ccxt'] = ccxt_module
4
+
5
+ # -*- coding: utf-8 -*-
6
+
7
+ """CCXT: CryptoCurrency eXchange Trading Library (Async)"""
8
+
9
+ # -----------------------------------------------------------------------------
10
+
11
+ __version__ = '4.4.69'
12
+
13
+ # -----------------------------------------------------------------------------
14
+
15
+ from ccxt.async_support.base.exchange import Exchange # noqa: F401
16
+
17
+ from ccxt.base.decimal_to_precision import decimal_to_precision # noqa: F401
18
+ from ccxt.base.decimal_to_precision import TRUNCATE # noqa: F401
19
+ from ccxt.base.decimal_to_precision import ROUND # noqa: F401
20
+ from ccxt.base.decimal_to_precision import TICK_SIZE # noqa: F401
21
+ from ccxt.base.decimal_to_precision import DECIMAL_PLACES # noqa: F401
22
+ from ccxt.base.decimal_to_precision import SIGNIFICANT_DIGITS # noqa: F401
23
+ from ccxt.base.decimal_to_precision import NO_PADDING # noqa: F401
24
+ from ccxt.base.decimal_to_precision import PAD_WITH_ZERO # noqa: F401
25
+
26
+ from ccxt.base import errors # noqa: F401
27
+ from ccxt.base.errors import BaseError # noqa: F401
28
+ from ccxt.base.errors import ExchangeError # noqa: F401
29
+ from ccxt.base.errors import AuthenticationError # noqa: F401
30
+ from ccxt.base.errors import PermissionDenied # noqa: F401
31
+ from ccxt.base.errors import AccountNotEnabled # noqa: F401
32
+ from ccxt.base.errors import AccountSuspended # noqa: F401
33
+ from ccxt.base.errors import ArgumentsRequired # noqa: F401
34
+ from ccxt.base.errors import BadRequest # noqa: F401
35
+ from ccxt.base.errors import BadSymbol # noqa: F401
36
+ from ccxt.base.errors import OperationRejected # noqa: F401
37
+ from ccxt.base.errors import NoChange # noqa: F401
38
+ from ccxt.base.errors import MarginModeAlreadySet # noqa: F401
39
+ from ccxt.base.errors import MarketClosed # noqa: F401
40
+ from ccxt.base.errors import ManualInteractionNeeded # noqa: F401
41
+ from ccxt.base.errors import InsufficientFunds # noqa: F401
42
+ from ccxt.base.errors import InvalidAddress # noqa: F401
43
+ from ccxt.base.errors import AddressPending # noqa: F401
44
+ from ccxt.base.errors import InvalidOrder # noqa: F401
45
+ from ccxt.base.errors import OrderNotFound # noqa: F401
46
+ from ccxt.base.errors import OrderNotCached # noqa: F401
47
+ from ccxt.base.errors import OrderImmediatelyFillable # noqa: F401
48
+ from ccxt.base.errors import OrderNotFillable # noqa: F401
49
+ from ccxt.base.errors import DuplicateOrderId # noqa: F401
50
+ from ccxt.base.errors import ContractUnavailable # noqa: F401
51
+ from ccxt.base.errors import NotSupported # noqa: F401
52
+ from ccxt.base.errors import InvalidProxySettings # noqa: F401
53
+ from ccxt.base.errors import ExchangeClosedByUser # noqa: F401
54
+ from ccxt.base.errors import OperationFailed # noqa: F401
55
+ from ccxt.base.errors import NetworkError # noqa: F401
56
+ from ccxt.base.errors import DDoSProtection # noqa: F401
57
+ from ccxt.base.errors import RateLimitExceeded # noqa: F401
58
+ from ccxt.base.errors import ExchangeNotAvailable # noqa: F401
59
+ from ccxt.base.errors import OnMaintenance # noqa: F401
60
+ from ccxt.base.errors import InvalidNonce # noqa: F401
61
+ from ccxt.base.errors import ChecksumError # noqa: F401
62
+ from ccxt.base.errors import RequestTimeout # noqa: F401
63
+ from ccxt.base.errors import BadResponse # noqa: F401
64
+ from ccxt.base.errors import NullResponse # noqa: F401
65
+ from ccxt.base.errors import CancelPending # noqa: F401
66
+ from ccxt.base.errors import UnsubscribeError # noqa: F401
67
+ from ccxt.base.errors import error_hierarchy # noqa: F401
68
+
69
+
70
+ from ccxt.async_support.bitmart import bitmart # noqa: F401
71
+
72
+ exchanges = [ 'bitmart',]
73
+
74
+ base = [
75
+ 'Exchange',
76
+ 'exchanges',
77
+ 'decimal_to_precision',
78
+ ]
79
+
80
+ __all__ = base + errors.__all__ + exchanges