mexc-exchange-api 0.0.9__tar.gz → 0.0.11__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of mexc-exchange-api might be problematic. Click here for more details.
- {mexc_exchange_api-0.0.9 → mexc_exchange_api-0.0.11}/PKG-INFO +4 -4
- {mexc_exchange_api-0.0.9 → mexc_exchange_api-0.0.11}/README.md +3 -3
- {mexc_exchange_api-0.0.9 → mexc_exchange_api-0.0.11}/pyproject.toml +5 -2
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/__init__.py +0 -7
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/__init__.py +0 -101
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/abstract/mexc.py +0 -180
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/async_support/__init__.py +0 -80
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/async_support/base/__init__.py +0 -1
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/async_support/base/exchange.py +0 -2100
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/async_support/base/throttler.py +0 -50
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/async_support/base/ws/__init__.py +0 -38
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/async_support/base/ws/aiohttp_client.py +0 -147
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/async_support/base/ws/cache.py +0 -213
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/async_support/base/ws/client.py +0 -214
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/async_support/base/ws/fast_client.py +0 -97
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/async_support/base/ws/functions.py +0 -59
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/async_support/base/ws/future.py +0 -69
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/async_support/base/ws/order_book.py +0 -78
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/async_support/base/ws/order_book_side.py +0 -174
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/async_support/mexc.py +0 -5796
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/base/__init__.py +0 -27
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/base/decimal_to_precision.py +0 -174
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/base/errors.py +0 -267
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/base/exchange.py +0 -6769
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/base/precise.py +0 -297
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/base/types.py +0 -577
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/mexc.py +0 -5795
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/pro/__init__.py +0 -21
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/pro/mexc.py +0 -1457
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/README.md +0 -1
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/__init__.py +0 -1
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/ecdsa/__init__.py +0 -14
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/ecdsa/_version.py +0 -520
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/ecdsa/curves.py +0 -56
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/ecdsa/der.py +0 -221
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/ecdsa/ecdsa.py +0 -310
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/ecdsa/ellipticcurve.py +0 -197
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/ecdsa/keys.py +0 -332
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/ecdsa/numbertheory.py +0 -531
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/ecdsa/rfc6979.py +0 -100
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/ecdsa/util.py +0 -266
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/ethereum/__init__.py +0 -7
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/ethereum/abi/__init__.py +0 -16
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/ethereum/abi/abi.py +0 -19
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/ethereum/abi/base.py +0 -152
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/ethereum/abi/codec.py +0 -217
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/ethereum/abi/constants.py +0 -3
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/ethereum/abi/decoding.py +0 -565
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/ethereum/abi/encoding.py +0 -720
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/ethereum/abi/exceptions.py +0 -139
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/ethereum/abi/grammar.py +0 -443
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/ethereum/abi/packed.py +0 -13
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/ethereum/abi/py.typed +0 -0
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/ethereum/abi/registry.py +0 -643
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/ethereum/abi/tools/__init__.py +0 -3
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/ethereum/abi/tools/_strategies.py +0 -230
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/ethereum/abi/utils/__init__.py +0 -0
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/ethereum/abi/utils/numeric.py +0 -83
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/ethereum/abi/utils/padding.py +0 -27
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/ethereum/abi/utils/string.py +0 -19
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/ethereum/account/__init__.py +0 -3
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/ethereum/account/encode_typed_data/__init__.py +0 -4
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/ethereum/account/encode_typed_data/encoding_and_hashing.py +0 -239
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/ethereum/account/encode_typed_data/helpers.py +0 -40
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/ethereum/account/messages.py +0 -263
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/ethereum/account/py.typed +0 -0
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/ethereum/hexbytes/__init__.py +0 -5
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/ethereum/hexbytes/_utils.py +0 -54
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/ethereum/hexbytes/main.py +0 -65
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/ethereum/hexbytes/py.typed +0 -0
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/ethereum/typing/__init__.py +0 -63
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/ethereum/typing/abi.py +0 -6
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/ethereum/typing/bls.py +0 -7
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/ethereum/typing/discovery.py +0 -5
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/ethereum/typing/encoding.py +0 -7
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/ethereum/typing/enums.py +0 -17
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/ethereum/typing/ethpm.py +0 -9
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/ethereum/typing/evm.py +0 -20
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/ethereum/typing/networks.py +0 -1122
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/ethereum/typing/py.typed +0 -0
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/ethereum/utils/__init__.py +0 -115
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/ethereum/utils/abi.py +0 -72
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/ethereum/utils/address.py +0 -171
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/ethereum/utils/applicators.py +0 -151
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/ethereum/utils/conversions.py +0 -190
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/ethereum/utils/currency.py +0 -107
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/ethereum/utils/curried/__init__.py +0 -269
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/ethereum/utils/debug.py +0 -20
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/ethereum/utils/decorators.py +0 -132
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/ethereum/utils/encoding.py +0 -6
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/ethereum/utils/exceptions.py +0 -4
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/ethereum/utils/functional.py +0 -75
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/ethereum/utils/hexadecimal.py +0 -74
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/ethereum/utils/humanize.py +0 -188
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/ethereum/utils/logging.py +0 -159
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/ethereum/utils/module_loading.py +0 -31
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/ethereum/utils/numeric.py +0 -43
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/ethereum/utils/py.typed +0 -0
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/ethereum/utils/toolz.py +0 -76
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/ethereum/utils/types.py +0 -54
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/ethereum/utils/typing/__init__.py +0 -18
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/ethereum/utils/typing/misc.py +0 -14
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/ethereum/utils/units.py +0 -31
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/keccak/__init__.py +0 -3
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/keccak/keccak.py +0 -197
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/lark/__init__.py +0 -38
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/lark/__pyinstaller/__init__.py +0 -6
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/lark/__pyinstaller/hook-lark.py +0 -14
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/lark/ast_utils.py +0 -59
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/lark/common.py +0 -86
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/lark/exceptions.py +0 -292
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/lark/grammar.py +0 -130
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/lark/grammars/__init__.py +0 -0
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/lark/grammars/common.lark +0 -59
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/lark/grammars/lark.lark +0 -62
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/lark/grammars/python.lark +0 -302
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/lark/grammars/unicode.lark +0 -7
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/lark/indenter.py +0 -143
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/lark/lark.py +0 -658
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/lark/lexer.py +0 -678
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/lark/load_grammar.py +0 -1428
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/lark/parse_tree_builder.py +0 -391
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/lark/parser_frontends.py +0 -257
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/lark/parsers/__init__.py +0 -0
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/lark/parsers/cyk.py +0 -340
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/lark/parsers/earley.py +0 -314
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/lark/parsers/earley_common.py +0 -42
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/lark/parsers/earley_forest.py +0 -801
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/lark/parsers/grammar_analysis.py +0 -203
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/lark/parsers/lalr_analysis.py +0 -332
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/lark/parsers/lalr_interactive_parser.py +0 -158
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/lark/parsers/lalr_parser.py +0 -122
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/lark/parsers/lalr_parser_state.py +0 -110
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/lark/parsers/xearley.py +0 -165
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/lark/py.typed +0 -0
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/lark/reconstruct.py +0 -107
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/lark/tools/__init__.py +0 -70
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/lark/tools/nearley.py +0 -202
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/lark/tools/serialize.py +0 -32
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/lark/tools/standalone.py +0 -196
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/lark/tree.py +0 -267
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/lark/tree_matcher.py +0 -186
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/lark/tree_templates.py +0 -180
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/lark/utils.py +0 -343
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/lark/visitors.py +0 -596
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/marshmallow/__init__.py +0 -81
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/marshmallow/base.py +0 -65
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/marshmallow/class_registry.py +0 -94
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/marshmallow/decorators.py +0 -231
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/marshmallow/error_store.py +0 -60
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/marshmallow/exceptions.py +0 -71
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/marshmallow/fields.py +0 -2114
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/marshmallow/orderedset.py +0 -89
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/marshmallow/py.typed +0 -0
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/marshmallow/schema.py +0 -1228
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/marshmallow/types.py +0 -12
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/marshmallow/utils.py +0 -378
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/marshmallow/validate.py +0 -678
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/marshmallow/warnings.py +0 -2
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/marshmallow_dataclass/__init__.py +0 -1047
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/marshmallow_dataclass/collection_field.py +0 -51
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/marshmallow_dataclass/lazy_class_attribute.py +0 -45
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/marshmallow_dataclass/mypy.py +0 -71
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/marshmallow_dataclass/py.typed +0 -0
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/marshmallow_dataclass/typing.py +0 -14
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/marshmallow_dataclass/union_field.py +0 -82
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/marshmallow_oneofschema/__init__.py +0 -1
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/marshmallow_oneofschema/one_of_schema.py +0 -193
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/marshmallow_oneofschema/py.typed +0 -0
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/msgpack/__init__.py +0 -55
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/msgpack/_cmsgpack.pyx +0 -11
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/msgpack/_packer.pyx +0 -374
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/msgpack/_unpacker.pyx +0 -547
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/msgpack/buff_converter.h +0 -8
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/msgpack/exceptions.py +0 -48
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/msgpack/ext.py +0 -168
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/msgpack/fallback.py +0 -951
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/msgpack/pack.h +0 -89
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/msgpack/pack_template.h +0 -820
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/msgpack/sysdep.h +0 -194
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/msgpack/unpack.h +0 -391
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/msgpack/unpack_define.h +0 -95
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/msgpack/unpack_template.h +0 -464
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/parsimonious/__init__.py +0 -10
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/parsimonious/exceptions.py +0 -105
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/parsimonious/expressions.py +0 -479
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/parsimonious/grammar.py +0 -487
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/parsimonious/nodes.py +0 -325
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/parsimonious/utils.py +0 -40
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/starknet/__init__.py +0 -0
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/starknet/abi/v0/__init__.py +0 -2
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/starknet/abi/v0/model.py +0 -44
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/starknet/abi/v0/parser.py +0 -216
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/starknet/abi/v0/schemas.py +0 -72
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/starknet/abi/v0/shape.py +0 -63
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/starknet/abi/v1/__init__.py +0 -2
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/starknet/abi/v1/core_structures.json +0 -14
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/starknet/abi/v1/model.py +0 -39
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/starknet/abi/v1/parser.py +0 -220
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/starknet/abi/v1/parser_transformer.py +0 -179
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/starknet/abi/v1/schemas.py +0 -66
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/starknet/abi/v1/shape.py +0 -47
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/starknet/abi/v2/__init__.py +0 -2
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/starknet/abi/v2/model.py +0 -89
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/starknet/abi/v2/parser.py +0 -293
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/starknet/abi/v2/parser_transformer.py +0 -192
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/starknet/abi/v2/schemas.py +0 -132
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/starknet/abi/v2/shape.py +0 -107
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/starknet/cairo/__init__.py +0 -0
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/starknet/cairo/data_types.py +0 -123
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/starknet/cairo/deprecated_parse/__init__.py +0 -0
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/starknet/cairo/deprecated_parse/cairo_types.py +0 -77
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/starknet/cairo/deprecated_parse/parser.py +0 -46
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/starknet/cairo/deprecated_parse/parser_transformer.py +0 -138
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/starknet/cairo/felt.py +0 -64
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/starknet/cairo/type_parser.py +0 -121
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/starknet/cairo/v1/__init__.py +0 -0
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/starknet/cairo/v1/type_parser.py +0 -59
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/starknet/cairo/v2/__init__.py +0 -0
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/starknet/cairo/v2/type_parser.py +0 -77
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/starknet/ccxt_utils.py +0 -7
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/starknet/common.py +0 -15
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/starknet/constants.py +0 -39
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/starknet/hash/__init__.py +0 -0
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/starknet/hash/address.py +0 -79
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/starknet/hash/compiled_class_hash_objects.py +0 -111
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/starknet/hash/selector.py +0 -16
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/starknet/hash/storage.py +0 -12
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/starknet/hash/utils.py +0 -78
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/starknet/models/__init__.py +0 -0
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/starknet/models/typed_data.py +0 -45
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/starknet/serialization/__init__.py +0 -24
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/starknet/serialization/_calldata_reader.py +0 -40
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/starknet/serialization/_context.py +0 -142
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/starknet/serialization/data_serializers/__init__.py +0 -10
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/starknet/serialization/data_serializers/_common.py +0 -82
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/starknet/serialization/data_serializers/array_serializer.py +0 -43
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/starknet/serialization/data_serializers/bool_serializer.py +0 -37
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/starknet/serialization/data_serializers/byte_array_serializer.py +0 -66
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/starknet/serialization/data_serializers/cairo_data_serializer.py +0 -71
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/starknet/serialization/data_serializers/enum_serializer.py +0 -71
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/starknet/serialization/data_serializers/felt_serializer.py +0 -50
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/starknet/serialization/data_serializers/named_tuple_serializer.py +0 -58
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/starknet/serialization/data_serializers/option_serializer.py +0 -43
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/starknet/serialization/data_serializers/output_serializer.py +0 -40
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/starknet/serialization/data_serializers/payload_serializer.py +0 -72
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/starknet/serialization/data_serializers/struct_serializer.py +0 -36
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/starknet/serialization/data_serializers/tuple_serializer.py +0 -36
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/starknet/serialization/data_serializers/uint256_serializer.py +0 -76
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/starknet/serialization/data_serializers/uint_serializer.py +0 -100
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/starknet/serialization/data_serializers/unit_serializer.py +0 -32
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/starknet/serialization/errors.py +0 -10
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/starknet/serialization/factory.py +0 -229
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/starknet/serialization/function_serialization_adapter.py +0 -110
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/starknet/serialization/tuple_dataclass.py +0 -59
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/starknet/utils/__init__.py +0 -0
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/starknet/utils/constructor_args_translator.py +0 -86
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/starknet/utils/iterable.py +0 -13
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/starknet/utils/schema.py +0 -13
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/starknet/utils/typed_data.py +0 -182
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/starkware/__init__.py +0 -0
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/starkware/crypto/__init__.py +0 -0
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/starkware/crypto/fast_pedersen_hash.py +0 -50
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/starkware/crypto/math_utils.py +0 -78
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/starkware/crypto/signature.py +0 -2344
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/starkware/crypto/utils.py +0 -63
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/sympy/__init__.py +0 -0
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/sympy/core/__init__.py +0 -0
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/sympy/core/intfunc.py +0 -35
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/sympy/external/__init__.py +0 -0
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/sympy/external/gmpy.py +0 -345
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/sympy/external/importtools.py +0 -187
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/sympy/external/ntheory.py +0 -637
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/sympy/external/pythonmpq.py +0 -341
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/toolz/__init__.py +0 -26
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/toolz/_signatures.py +0 -784
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/toolz/_version.py +0 -520
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/toolz/compatibility.py +0 -30
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/toolz/curried/__init__.py +0 -101
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/toolz/curried/exceptions.py +0 -22
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/toolz/curried/operator.py +0 -22
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/toolz/dicttoolz.py +0 -339
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/toolz/functoolz.py +0 -1049
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/toolz/itertoolz.py +0 -1057
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/toolz/recipes.py +0 -46
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/toolz/utils.py +0 -9
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/typing_inspect/__init__.py +0 -0
- mexc_exchange_api-0.0.9/src/mexc_exchange_api/ccxt/static_dependencies/typing_inspect/typing_inspect.py +0 -851
- {mexc_exchange_api-0.0.9 → mexc_exchange_api-0.0.11}/.gitignore +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: mexc_exchange_api
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.11
|
|
4
4
|
Summary: mexc crypto exchange api client
|
|
5
5
|
Project-URL: Homepage, https://github.com/ccxt/ccxt
|
|
6
6
|
Project-URL: Issues, https://github.com/ccxt/ccxt
|
|
@@ -38,7 +38,7 @@ pip install mexc-exchange-api
|
|
|
38
38
|
### Sync
|
|
39
39
|
|
|
40
40
|
```Python
|
|
41
|
-
from
|
|
41
|
+
from mexc import MexcSync
|
|
42
42
|
|
|
43
43
|
def main():
|
|
44
44
|
instance = MexcSync({})
|
|
@@ -53,7 +53,7 @@ def main():
|
|
|
53
53
|
|
|
54
54
|
```Python
|
|
55
55
|
import asyncio
|
|
56
|
-
from
|
|
56
|
+
from mexc import MexcAsync
|
|
57
57
|
|
|
58
58
|
async def main():
|
|
59
59
|
instance = MexcAsync({})
|
|
@@ -69,7 +69,7 @@ asyncio.run(main())
|
|
|
69
69
|
### Websockets
|
|
70
70
|
|
|
71
71
|
```Python
|
|
72
|
-
from
|
|
72
|
+
from mexc import MexcWs
|
|
73
73
|
|
|
74
74
|
async def main():
|
|
75
75
|
instance = MexcWs({})
|
|
@@ -19,7 +19,7 @@ pip install mexc-exchange-api
|
|
|
19
19
|
### Sync
|
|
20
20
|
|
|
21
21
|
```Python
|
|
22
|
-
from
|
|
22
|
+
from mexc import MexcSync
|
|
23
23
|
|
|
24
24
|
def main():
|
|
25
25
|
instance = MexcSync({})
|
|
@@ -34,7 +34,7 @@ def main():
|
|
|
34
34
|
|
|
35
35
|
```Python
|
|
36
36
|
import asyncio
|
|
37
|
-
from
|
|
37
|
+
from mexc import MexcAsync
|
|
38
38
|
|
|
39
39
|
async def main():
|
|
40
40
|
instance = MexcAsync({})
|
|
@@ -50,7 +50,7 @@ asyncio.run(main())
|
|
|
50
50
|
### Websockets
|
|
51
51
|
|
|
52
52
|
```Python
|
|
53
|
-
from
|
|
53
|
+
from mexc import MexcWs
|
|
54
54
|
|
|
55
55
|
async def main():
|
|
56
56
|
instance = MexcWs({})
|
|
@@ -2,12 +2,15 @@
|
|
|
2
2
|
requires = ["hatchling"]
|
|
3
3
|
build-backend = "hatchling.build"
|
|
4
4
|
|
|
5
|
+
[tool.hatch.build.targets.sdist]
|
|
6
|
+
include = ["src/mexc"]
|
|
7
|
+
|
|
5
8
|
[tool.hatch.build.targets.wheel]
|
|
6
|
-
packages = ["
|
|
9
|
+
packages = ["mexc"]
|
|
7
10
|
|
|
8
11
|
[project]
|
|
9
12
|
name = "mexc_exchange_api"
|
|
10
|
-
version = "0.0.
|
|
13
|
+
version = "0.0.11"
|
|
11
14
|
authors = [
|
|
12
15
|
{ name="CCXT", email="info@ccxt.trade" },
|
|
13
16
|
]
|
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
import sys
|
|
2
|
-
import mexc.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.mexc import mexc # noqa: F401
|
|
91
|
-
|
|
92
|
-
exchanges = [ 'mexc',]
|
|
93
|
-
|
|
94
|
-
base = [
|
|
95
|
-
'Exchange',
|
|
96
|
-
'Precise',
|
|
97
|
-
'exchanges',
|
|
98
|
-
'decimal_to_precision',
|
|
99
|
-
]
|
|
100
|
-
|
|
101
|
-
__all__ = base + errors.__all__ + exchanges
|
|
@@ -1,180 +0,0 @@
|
|
|
1
|
-
from ccxt.base.types import Entry
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
class ImplicitAPI:
|
|
5
|
-
spot_public_get_ping = spotPublicGetPing = Entry('ping', ['spot', 'public'], 'GET', {'cost': 1})
|
|
6
|
-
spot_public_get_time = spotPublicGetTime = Entry('time', ['spot', 'public'], 'GET', {'cost': 1})
|
|
7
|
-
spot_public_get_exchangeinfo = spotPublicGetExchangeInfo = Entry('exchangeInfo', ['spot', 'public'], 'GET', {'cost': 10})
|
|
8
|
-
spot_public_get_depth = spotPublicGetDepth = Entry('depth', ['spot', 'public'], 'GET', {'cost': 1})
|
|
9
|
-
spot_public_get_trades = spotPublicGetTrades = Entry('trades', ['spot', 'public'], 'GET', {'cost': 5})
|
|
10
|
-
spot_public_get_historicaltrades = spotPublicGetHistoricalTrades = Entry('historicalTrades', ['spot', 'public'], 'GET', {'cost': 1})
|
|
11
|
-
spot_public_get_aggtrades = spotPublicGetAggTrades = Entry('aggTrades', ['spot', 'public'], 'GET', {'cost': 1})
|
|
12
|
-
spot_public_get_klines = spotPublicGetKlines = Entry('klines', ['spot', 'public'], 'GET', {'cost': 1})
|
|
13
|
-
spot_public_get_avgprice = spotPublicGetAvgPrice = Entry('avgPrice', ['spot', 'public'], 'GET', {'cost': 1})
|
|
14
|
-
spot_public_get_ticker_24hr = spotPublicGetTicker24hr = Entry('ticker/24hr', ['spot', 'public'], 'GET', {'cost': 1})
|
|
15
|
-
spot_public_get_ticker_price = spotPublicGetTickerPrice = Entry('ticker/price', ['spot', 'public'], 'GET', {'cost': 1})
|
|
16
|
-
spot_public_get_ticker_bookticker = spotPublicGetTickerBookTicker = Entry('ticker/bookTicker', ['spot', 'public'], 'GET', {'cost': 1})
|
|
17
|
-
spot_public_get_etf_info = spotPublicGetEtfInfo = Entry('etf/info', ['spot', 'public'], 'GET', {'cost': 1})
|
|
18
|
-
spot_private_get_order = spotPrivateGetOrder = Entry('order', ['spot', 'private'], 'GET', {'cost': 2})
|
|
19
|
-
spot_private_get_openorders = spotPrivateGetOpenOrders = Entry('openOrders', ['spot', 'private'], 'GET', {'cost': 3})
|
|
20
|
-
spot_private_get_allorders = spotPrivateGetAllOrders = Entry('allOrders', ['spot', 'private'], 'GET', {'cost': 10})
|
|
21
|
-
spot_private_get_account = spotPrivateGetAccount = Entry('account', ['spot', 'private'], 'GET', {'cost': 10})
|
|
22
|
-
spot_private_get_mytrades = spotPrivateGetMyTrades = Entry('myTrades', ['spot', 'private'], 'GET', {'cost': 10})
|
|
23
|
-
spot_private_get_tradefee = spotPrivateGetTradeFee = Entry('tradeFee', ['spot', 'private'], 'GET', {'cost': 10})
|
|
24
|
-
spot_private_get_sub_account_list = spotPrivateGetSubAccountList = Entry('sub-account/list', ['spot', 'private'], 'GET', {'cost': 1})
|
|
25
|
-
spot_private_get_sub_account_apikey = spotPrivateGetSubAccountApiKey = Entry('sub-account/apiKey', ['spot', 'private'], 'GET', {'cost': 1})
|
|
26
|
-
spot_private_get_capital_config_getall = spotPrivateGetCapitalConfigGetall = Entry('capital/config/getall', ['spot', 'private'], 'GET', {'cost': 10})
|
|
27
|
-
spot_private_get_capital_deposit_hisrec = spotPrivateGetCapitalDepositHisrec = Entry('capital/deposit/hisrec', ['spot', 'private'], 'GET', {'cost': 1})
|
|
28
|
-
spot_private_get_capital_withdraw_history = spotPrivateGetCapitalWithdrawHistory = Entry('capital/withdraw/history', ['spot', 'private'], 'GET', {'cost': 1})
|
|
29
|
-
spot_private_get_capital_withdraw_address = spotPrivateGetCapitalWithdrawAddress = Entry('capital/withdraw/address', ['spot', 'private'], 'GET', {'cost': 10})
|
|
30
|
-
spot_private_get_capital_deposit_address = spotPrivateGetCapitalDepositAddress = Entry('capital/deposit/address', ['spot', 'private'], 'GET', {'cost': 10})
|
|
31
|
-
spot_private_get_capital_transfer = spotPrivateGetCapitalTransfer = Entry('capital/transfer', ['spot', 'private'], 'GET', {'cost': 1})
|
|
32
|
-
spot_private_get_capital_transfer_tranid = spotPrivateGetCapitalTransferTranId = Entry('capital/transfer/tranId', ['spot', 'private'], 'GET', {'cost': 1})
|
|
33
|
-
spot_private_get_capital_transfer_internal = spotPrivateGetCapitalTransferInternal = Entry('capital/transfer/internal', ['spot', 'private'], 'GET', {'cost': 1})
|
|
34
|
-
spot_private_get_capital_sub_account_universaltransfer = spotPrivateGetCapitalSubAccountUniversalTransfer = Entry('capital/sub-account/universalTransfer', ['spot', 'private'], 'GET', {'cost': 1})
|
|
35
|
-
spot_private_get_capital_convert = spotPrivateGetCapitalConvert = Entry('capital/convert', ['spot', 'private'], 'GET', {'cost': 1})
|
|
36
|
-
spot_private_get_capital_convert_list = spotPrivateGetCapitalConvertList = Entry('capital/convert/list', ['spot', 'private'], 'GET', {'cost': 1})
|
|
37
|
-
spot_private_get_margin_loan = spotPrivateGetMarginLoan = Entry('margin/loan', ['spot', 'private'], 'GET', {'cost': 1})
|
|
38
|
-
spot_private_get_margin_allorders = spotPrivateGetMarginAllOrders = Entry('margin/allOrders', ['spot', 'private'], 'GET', {'cost': 1})
|
|
39
|
-
spot_private_get_margin_mytrades = spotPrivateGetMarginMyTrades = Entry('margin/myTrades', ['spot', 'private'], 'GET', {'cost': 1})
|
|
40
|
-
spot_private_get_margin_openorders = spotPrivateGetMarginOpenOrders = Entry('margin/openOrders', ['spot', 'private'], 'GET', {'cost': 1})
|
|
41
|
-
spot_private_get_margin_maxtransferable = spotPrivateGetMarginMaxTransferable = Entry('margin/maxTransferable', ['spot', 'private'], 'GET', {'cost': 1})
|
|
42
|
-
spot_private_get_margin_priceindex = spotPrivateGetMarginPriceIndex = Entry('margin/priceIndex', ['spot', 'private'], 'GET', {'cost': 1})
|
|
43
|
-
spot_private_get_margin_order = spotPrivateGetMarginOrder = Entry('margin/order', ['spot', 'private'], 'GET', {'cost': 1})
|
|
44
|
-
spot_private_get_margin_isolated_account = spotPrivateGetMarginIsolatedAccount = Entry('margin/isolated/account', ['spot', 'private'], 'GET', {'cost': 1})
|
|
45
|
-
spot_private_get_margin_maxborrowable = spotPrivateGetMarginMaxBorrowable = Entry('margin/maxBorrowable', ['spot', 'private'], 'GET', {'cost': 1})
|
|
46
|
-
spot_private_get_margin_repay = spotPrivateGetMarginRepay = Entry('margin/repay', ['spot', 'private'], 'GET', {'cost': 1})
|
|
47
|
-
spot_private_get_margin_isolated_pair = spotPrivateGetMarginIsolatedPair = Entry('margin/isolated/pair', ['spot', 'private'], 'GET', {'cost': 1})
|
|
48
|
-
spot_private_get_margin_forceliquidationrec = spotPrivateGetMarginForceLiquidationRec = Entry('margin/forceLiquidationRec', ['spot', 'private'], 'GET', {'cost': 1})
|
|
49
|
-
spot_private_get_margin_isolatedmargindata = spotPrivateGetMarginIsolatedMarginData = Entry('margin/isolatedMarginData', ['spot', 'private'], 'GET', {'cost': 1})
|
|
50
|
-
spot_private_get_margin_isolatedmargintier = spotPrivateGetMarginIsolatedMarginTier = Entry('margin/isolatedMarginTier', ['spot', 'private'], 'GET', {'cost': 1})
|
|
51
|
-
spot_private_get_rebate_taxquery = spotPrivateGetRebateTaxQuery = Entry('rebate/taxQuery', ['spot', 'private'], 'GET', {'cost': 1})
|
|
52
|
-
spot_private_get_rebate_detail = spotPrivateGetRebateDetail = Entry('rebate/detail', ['spot', 'private'], 'GET', {'cost': 1})
|
|
53
|
-
spot_private_get_rebate_detail_kickback = spotPrivateGetRebateDetailKickback = Entry('rebate/detail/kickback', ['spot', 'private'], 'GET', {'cost': 1})
|
|
54
|
-
spot_private_get_rebate_refercode = spotPrivateGetRebateReferCode = Entry('rebate/referCode', ['spot', 'private'], 'GET', {'cost': 1})
|
|
55
|
-
spot_private_get_rebate_affiliate_commission = spotPrivateGetRebateAffiliateCommission = Entry('rebate/affiliate/commission', ['spot', 'private'], 'GET', {'cost': 1})
|
|
56
|
-
spot_private_get_rebate_affiliate_withdraw = spotPrivateGetRebateAffiliateWithdraw = Entry('rebate/affiliate/withdraw', ['spot', 'private'], 'GET', {'cost': 1})
|
|
57
|
-
spot_private_get_rebate_affiliate_commission_detail = spotPrivateGetRebateAffiliateCommissionDetail = Entry('rebate/affiliate/commission/detail', ['spot', 'private'], 'GET', {'cost': 1})
|
|
58
|
-
spot_private_get_mxdeduct_enable = spotPrivateGetMxDeductEnable = Entry('mxDeduct/enable', ['spot', 'private'], 'GET', {'cost': 1})
|
|
59
|
-
spot_private_get_userdatastream = spotPrivateGetUserDataStream = Entry('userDataStream', ['spot', 'private'], 'GET', {'cost': 1})
|
|
60
|
-
spot_private_get_selfsymbols = spotPrivateGetSelfSymbols = Entry('selfSymbols', ['spot', 'private'], 'GET', {'cost': 1})
|
|
61
|
-
spot_private_post_order = spotPrivatePostOrder = Entry('order', ['spot', 'private'], 'POST', {'cost': 1})
|
|
62
|
-
spot_private_post_order_test = spotPrivatePostOrderTest = Entry('order/test', ['spot', 'private'], 'POST', {'cost': 1})
|
|
63
|
-
spot_private_post_sub_account_virtualsubaccount = spotPrivatePostSubAccountVirtualSubAccount = Entry('sub-account/virtualSubAccount', ['spot', 'private'], 'POST', {'cost': 1})
|
|
64
|
-
spot_private_post_sub_account_apikey = spotPrivatePostSubAccountApiKey = Entry('sub-account/apiKey', ['spot', 'private'], 'POST', {'cost': 1})
|
|
65
|
-
spot_private_post_sub_account_futures = spotPrivatePostSubAccountFutures = Entry('sub-account/futures', ['spot', 'private'], 'POST', {'cost': 1})
|
|
66
|
-
spot_private_post_sub_account_margin = spotPrivatePostSubAccountMargin = Entry('sub-account/margin', ['spot', 'private'], 'POST', {'cost': 1})
|
|
67
|
-
spot_private_post_batchorders = spotPrivatePostBatchOrders = Entry('batchOrders', ['spot', 'private'], 'POST', {'cost': 10})
|
|
68
|
-
spot_private_post_capital_withdraw_apply = spotPrivatePostCapitalWithdrawApply = Entry('capital/withdraw/apply', ['spot', 'private'], 'POST', {'cost': 1})
|
|
69
|
-
spot_private_post_capital_withdraw = spotPrivatePostCapitalWithdraw = Entry('capital/withdraw', ['spot', 'private'], 'POST', {'cost': 1})
|
|
70
|
-
spot_private_post_capital_transfer = spotPrivatePostCapitalTransfer = Entry('capital/transfer', ['spot', 'private'], 'POST', {'cost': 1})
|
|
71
|
-
spot_private_post_capital_transfer_internal = spotPrivatePostCapitalTransferInternal = Entry('capital/transfer/internal', ['spot', 'private'], 'POST', {'cost': 1})
|
|
72
|
-
spot_private_post_capital_deposit_address = spotPrivatePostCapitalDepositAddress = Entry('capital/deposit/address', ['spot', 'private'], 'POST', {'cost': 1})
|
|
73
|
-
spot_private_post_capital_sub_account_universaltransfer = spotPrivatePostCapitalSubAccountUniversalTransfer = Entry('capital/sub-account/universalTransfer', ['spot', 'private'], 'POST', {'cost': 1})
|
|
74
|
-
spot_private_post_capital_convert = spotPrivatePostCapitalConvert = Entry('capital/convert', ['spot', 'private'], 'POST', {'cost': 10})
|
|
75
|
-
spot_private_post_mxdeduct_enable = spotPrivatePostMxDeductEnable = Entry('mxDeduct/enable', ['spot', 'private'], 'POST', {'cost': 1})
|
|
76
|
-
spot_private_post_userdatastream = spotPrivatePostUserDataStream = Entry('userDataStream', ['spot', 'private'], 'POST', {'cost': 1})
|
|
77
|
-
spot_private_put_userdatastream = spotPrivatePutUserDataStream = Entry('userDataStream', ['spot', 'private'], 'PUT', {'cost': 1})
|
|
78
|
-
spot_private_delete_order = spotPrivateDeleteOrder = Entry('order', ['spot', 'private'], 'DELETE', {'cost': 1})
|
|
79
|
-
spot_private_delete_openorders = spotPrivateDeleteOpenOrders = Entry('openOrders', ['spot', 'private'], 'DELETE', {'cost': 1})
|
|
80
|
-
spot_private_delete_sub_account_apikey = spotPrivateDeleteSubAccountApiKey = Entry('sub-account/apiKey', ['spot', 'private'], 'DELETE', {'cost': 1})
|
|
81
|
-
spot_private_delete_margin_order = spotPrivateDeleteMarginOrder = Entry('margin/order', ['spot', 'private'], 'DELETE', {'cost': 1})
|
|
82
|
-
spot_private_delete_margin_openorders = spotPrivateDeleteMarginOpenOrders = Entry('margin/openOrders', ['spot', 'private'], 'DELETE', {'cost': 1})
|
|
83
|
-
spot_private_delete_userdatastream = spotPrivateDeleteUserDataStream = Entry('userDataStream', ['spot', 'private'], 'DELETE', {'cost': 1})
|
|
84
|
-
spot_private_delete_capital_withdraw = spotPrivateDeleteCapitalWithdraw = Entry('capital/withdraw', ['spot', 'private'], 'DELETE', {'cost': 1})
|
|
85
|
-
contract_public_get_ping = contractPublicGetPing = Entry('ping', ['contract', 'public'], 'GET', {'cost': 2})
|
|
86
|
-
contract_public_get_detail = contractPublicGetDetail = Entry('detail', ['contract', 'public'], 'GET', {'cost': 100})
|
|
87
|
-
contract_public_get_support_currencies = contractPublicGetSupportCurrencies = Entry('support_currencies', ['contract', 'public'], 'GET', {'cost': 2})
|
|
88
|
-
contract_public_get_depth_symbol = contractPublicGetDepthSymbol = Entry('depth/{symbol}', ['contract', 'public'], 'GET', {'cost': 2})
|
|
89
|
-
contract_public_get_depth_commits_symbol_limit = contractPublicGetDepthCommitsSymbolLimit = Entry('depth_commits/{symbol}/{limit}', ['contract', 'public'], 'GET', {'cost': 2})
|
|
90
|
-
contract_public_get_index_price_symbol = contractPublicGetIndexPriceSymbol = Entry('index_price/{symbol}', ['contract', 'public'], 'GET', {'cost': 2})
|
|
91
|
-
contract_public_get_fair_price_symbol = contractPublicGetFairPriceSymbol = Entry('fair_price/{symbol}', ['contract', 'public'], 'GET', {'cost': 2})
|
|
92
|
-
contract_public_get_funding_rate_symbol = contractPublicGetFundingRateSymbol = Entry('funding_rate/{symbol}', ['contract', 'public'], 'GET', {'cost': 2})
|
|
93
|
-
contract_public_get_kline_symbol = contractPublicGetKlineSymbol = Entry('kline/{symbol}', ['contract', 'public'], 'GET', {'cost': 2})
|
|
94
|
-
contract_public_get_kline_index_price_symbol = contractPublicGetKlineIndexPriceSymbol = Entry('kline/index_price/{symbol}', ['contract', 'public'], 'GET', {'cost': 2})
|
|
95
|
-
contract_public_get_kline_fair_price_symbol = contractPublicGetKlineFairPriceSymbol = Entry('kline/fair_price/{symbol}', ['contract', 'public'], 'GET', {'cost': 2})
|
|
96
|
-
contract_public_get_deals_symbol = contractPublicGetDealsSymbol = Entry('deals/{symbol}', ['contract', 'public'], 'GET', {'cost': 2})
|
|
97
|
-
contract_public_get_ticker = contractPublicGetTicker = Entry('ticker', ['contract', 'public'], 'GET', {'cost': 2})
|
|
98
|
-
contract_public_get_risk_reverse = contractPublicGetRiskReverse = Entry('risk_reverse', ['contract', 'public'], 'GET', {'cost': 2})
|
|
99
|
-
contract_public_get_risk_reverse_history = contractPublicGetRiskReverseHistory = Entry('risk_reverse/history', ['contract', 'public'], 'GET', {'cost': 2})
|
|
100
|
-
contract_public_get_funding_rate_history = contractPublicGetFundingRateHistory = Entry('funding_rate/history', ['contract', 'public'], 'GET', {'cost': 2})
|
|
101
|
-
contract_private_get_account_assets = contractPrivateGetAccountAssets = Entry('account/assets', ['contract', 'private'], 'GET', {'cost': 2})
|
|
102
|
-
contract_private_get_account_asset_currency = contractPrivateGetAccountAssetCurrency = Entry('account/asset/{currency}', ['contract', 'private'], 'GET', {'cost': 2})
|
|
103
|
-
contract_private_get_account_transfer_record = contractPrivateGetAccountTransferRecord = Entry('account/transfer_record', ['contract', 'private'], 'GET', {'cost': 2})
|
|
104
|
-
contract_private_get_position_list_history_positions = contractPrivateGetPositionListHistoryPositions = Entry('position/list/history_positions', ['contract', 'private'], 'GET', {'cost': 2})
|
|
105
|
-
contract_private_get_position_open_positions = contractPrivateGetPositionOpenPositions = Entry('position/open_positions', ['contract', 'private'], 'GET', {'cost': 2})
|
|
106
|
-
contract_private_get_position_funding_records = contractPrivateGetPositionFundingRecords = Entry('position/funding_records', ['contract', 'private'], 'GET', {'cost': 2})
|
|
107
|
-
contract_private_get_position_position_mode = contractPrivateGetPositionPositionMode = Entry('position/position_mode', ['contract', 'private'], 'GET', {'cost': 2})
|
|
108
|
-
contract_private_get_order_list_open_orders_symbol = contractPrivateGetOrderListOpenOrdersSymbol = Entry('order/list/open_orders/{symbol}', ['contract', 'private'], 'GET', {'cost': 2})
|
|
109
|
-
contract_private_get_order_list_history_orders = contractPrivateGetOrderListHistoryOrders = Entry('order/list/history_orders', ['contract', 'private'], 'GET', {'cost': 2})
|
|
110
|
-
contract_private_get_order_external_symbol_external_oid = contractPrivateGetOrderExternalSymbolExternalOid = Entry('order/external/{symbol}/{external_oid}', ['contract', 'private'], 'GET', {'cost': 2})
|
|
111
|
-
contract_private_get_order_get_order_id = contractPrivateGetOrderGetOrderId = Entry('order/get/{order_id}', ['contract', 'private'], 'GET', {'cost': 2})
|
|
112
|
-
contract_private_get_order_batch_query = contractPrivateGetOrderBatchQuery = Entry('order/batch_query', ['contract', 'private'], 'GET', {'cost': 8})
|
|
113
|
-
contract_private_get_order_deal_details_order_id = contractPrivateGetOrderDealDetailsOrderId = Entry('order/deal_details/{order_id}', ['contract', 'private'], 'GET', {'cost': 2})
|
|
114
|
-
contract_private_get_order_list_order_deals = contractPrivateGetOrderListOrderDeals = Entry('order/list/order_deals', ['contract', 'private'], 'GET', {'cost': 2})
|
|
115
|
-
contract_private_get_planorder_list_orders = contractPrivateGetPlanorderListOrders = Entry('planorder/list/orders', ['contract', 'private'], 'GET', {'cost': 2})
|
|
116
|
-
contract_private_get_stoporder_list_orders = contractPrivateGetStoporderListOrders = Entry('stoporder/list/orders', ['contract', 'private'], 'GET', {'cost': 2})
|
|
117
|
-
contract_private_get_stoporder_order_details_stop_order_id = contractPrivateGetStoporderOrderDetailsStopOrderId = Entry('stoporder/order_details/{stop_order_id}', ['contract', 'private'], 'GET', {'cost': 2})
|
|
118
|
-
contract_private_get_account_risk_limit = contractPrivateGetAccountRiskLimit = Entry('account/risk_limit', ['contract', 'private'], 'GET', {'cost': 2})
|
|
119
|
-
contract_private_get_account_tiered_fee_rate = contractPrivateGetAccountTieredFeeRate = Entry('account/tiered_fee_rate', ['contract', 'private'], 'GET', {'cost': 2})
|
|
120
|
-
contract_private_get_position_leverage = contractPrivateGetPositionLeverage = Entry('position/leverage', ['contract', 'private'], 'GET', {'cost': 2})
|
|
121
|
-
contract_private_post_position_change_margin = contractPrivatePostPositionChangeMargin = Entry('position/change_margin', ['contract', 'private'], 'POST', {'cost': 2})
|
|
122
|
-
contract_private_post_position_change_leverage = contractPrivatePostPositionChangeLeverage = Entry('position/change_leverage', ['contract', 'private'], 'POST', {'cost': 2})
|
|
123
|
-
contract_private_post_position_change_position_mode = contractPrivatePostPositionChangePositionMode = Entry('position/change_position_mode', ['contract', 'private'], 'POST', {'cost': 2})
|
|
124
|
-
contract_private_post_order_submit = contractPrivatePostOrderSubmit = Entry('order/submit', ['contract', 'private'], 'POST', {'cost': 2})
|
|
125
|
-
contract_private_post_order_submit_batch = contractPrivatePostOrderSubmitBatch = Entry('order/submit_batch', ['contract', 'private'], 'POST', {'cost': 40})
|
|
126
|
-
contract_private_post_order_cancel = contractPrivatePostOrderCancel = Entry('order/cancel', ['contract', 'private'], 'POST', {'cost': 2})
|
|
127
|
-
contract_private_post_order_cancel_with_external = contractPrivatePostOrderCancelWithExternal = Entry('order/cancel_with_external', ['contract', 'private'], 'POST', {'cost': 2})
|
|
128
|
-
contract_private_post_order_cancel_all = contractPrivatePostOrderCancelAll = Entry('order/cancel_all', ['contract', 'private'], 'POST', {'cost': 2})
|
|
129
|
-
contract_private_post_account_change_risk_level = contractPrivatePostAccountChangeRiskLevel = Entry('account/change_risk_level', ['contract', 'private'], 'POST', {'cost': 2})
|
|
130
|
-
contract_private_post_planorder_place = contractPrivatePostPlanorderPlace = Entry('planorder/place', ['contract', 'private'], 'POST', {'cost': 2})
|
|
131
|
-
contract_private_post_planorder_cancel = contractPrivatePostPlanorderCancel = Entry('planorder/cancel', ['contract', 'private'], 'POST', {'cost': 2})
|
|
132
|
-
contract_private_post_planorder_cancel_all = contractPrivatePostPlanorderCancelAll = Entry('planorder/cancel_all', ['contract', 'private'], 'POST', {'cost': 2})
|
|
133
|
-
contract_private_post_stoporder_cancel = contractPrivatePostStoporderCancel = Entry('stoporder/cancel', ['contract', 'private'], 'POST', {'cost': 2})
|
|
134
|
-
contract_private_post_stoporder_cancel_all = contractPrivatePostStoporderCancelAll = Entry('stoporder/cancel_all', ['contract', 'private'], 'POST', {'cost': 2})
|
|
135
|
-
contract_private_post_stoporder_change_price = contractPrivatePostStoporderChangePrice = Entry('stoporder/change_price', ['contract', 'private'], 'POST', {'cost': 2})
|
|
136
|
-
contract_private_post_stoporder_change_plan_price = contractPrivatePostStoporderChangePlanPrice = Entry('stoporder/change_plan_price', ['contract', 'private'], 'POST', {'cost': 2})
|
|
137
|
-
spot2_public_get_market_symbols = spot2PublicGetMarketSymbols = Entry('market/symbols', ['spot2', 'public'], 'GET', {'cost': 1})
|
|
138
|
-
spot2_public_get_market_coin_list = spot2PublicGetMarketCoinList = Entry('market/coin/list', ['spot2', 'public'], 'GET', {'cost': 2})
|
|
139
|
-
spot2_public_get_common_timestamp = spot2PublicGetCommonTimestamp = Entry('common/timestamp', ['spot2', 'public'], 'GET', {'cost': 1})
|
|
140
|
-
spot2_public_get_common_ping = spot2PublicGetCommonPing = Entry('common/ping', ['spot2', 'public'], 'GET', {'cost': 2})
|
|
141
|
-
spot2_public_get_market_ticker = spot2PublicGetMarketTicker = Entry('market/ticker', ['spot2', 'public'], 'GET', {'cost': 1})
|
|
142
|
-
spot2_public_get_market_depth = spot2PublicGetMarketDepth = Entry('market/depth', ['spot2', 'public'], 'GET', {'cost': 1})
|
|
143
|
-
spot2_public_get_market_deals = spot2PublicGetMarketDeals = Entry('market/deals', ['spot2', 'public'], 'GET', {'cost': 1})
|
|
144
|
-
spot2_public_get_market_kline = spot2PublicGetMarketKline = Entry('market/kline', ['spot2', 'public'], 'GET', {'cost': 1})
|
|
145
|
-
spot2_public_get_market_api_default_symbols = spot2PublicGetMarketApiDefaultSymbols = Entry('market/api_default_symbols', ['spot2', 'public'], 'GET', {'cost': 2})
|
|
146
|
-
spot2_private_get_account_info = spot2PrivateGetAccountInfo = Entry('account/info', ['spot2', 'private'], 'GET', {'cost': 1})
|
|
147
|
-
spot2_private_get_order_open_orders = spot2PrivateGetOrderOpenOrders = Entry('order/open_orders', ['spot2', 'private'], 'GET', {'cost': 1})
|
|
148
|
-
spot2_private_get_order_list = spot2PrivateGetOrderList = Entry('order/list', ['spot2', 'private'], 'GET', {'cost': 1})
|
|
149
|
-
spot2_private_get_order_query = spot2PrivateGetOrderQuery = Entry('order/query', ['spot2', 'private'], 'GET', {'cost': 1})
|
|
150
|
-
spot2_private_get_order_deals = spot2PrivateGetOrderDeals = Entry('order/deals', ['spot2', 'private'], 'GET', {'cost': 1})
|
|
151
|
-
spot2_private_get_order_deal_detail = spot2PrivateGetOrderDealDetail = Entry('order/deal_detail', ['spot2', 'private'], 'GET', {'cost': 1})
|
|
152
|
-
spot2_private_get_asset_deposit_address_list = spot2PrivateGetAssetDepositAddressList = Entry('asset/deposit/address/list', ['spot2', 'private'], 'GET', {'cost': 2})
|
|
153
|
-
spot2_private_get_asset_deposit_list = spot2PrivateGetAssetDepositList = Entry('asset/deposit/list', ['spot2', 'private'], 'GET', {'cost': 2})
|
|
154
|
-
spot2_private_get_asset_address_list = spot2PrivateGetAssetAddressList = Entry('asset/address/list', ['spot2', 'private'], 'GET', {'cost': 2})
|
|
155
|
-
spot2_private_get_asset_withdraw_list = spot2PrivateGetAssetWithdrawList = Entry('asset/withdraw/list', ['spot2', 'private'], 'GET', {'cost': 2})
|
|
156
|
-
spot2_private_get_asset_internal_transfer_record = spot2PrivateGetAssetInternalTransferRecord = Entry('asset/internal/transfer/record', ['spot2', 'private'], 'GET', {'cost': 10})
|
|
157
|
-
spot2_private_get_account_balance = spot2PrivateGetAccountBalance = Entry('account/balance', ['spot2', 'private'], 'GET', {'cost': 10})
|
|
158
|
-
spot2_private_get_asset_internal_transfer_info = spot2PrivateGetAssetInternalTransferInfo = Entry('asset/internal/transfer/info', ['spot2', 'private'], 'GET', {'cost': 10})
|
|
159
|
-
spot2_private_get_market_api_symbols = spot2PrivateGetMarketApiSymbols = Entry('market/api_symbols', ['spot2', 'private'], 'GET', {'cost': 2})
|
|
160
|
-
spot2_private_post_order_place = spot2PrivatePostOrderPlace = Entry('order/place', ['spot2', 'private'], 'POST', {'cost': 1})
|
|
161
|
-
spot2_private_post_order_place_batch = spot2PrivatePostOrderPlaceBatch = Entry('order/place_batch', ['spot2', 'private'], 'POST', {'cost': 1})
|
|
162
|
-
spot2_private_post_order_advanced_place_batch = spot2PrivatePostOrderAdvancedPlaceBatch = Entry('order/advanced/place_batch', ['spot2', 'private'], 'POST', {'cost': 1})
|
|
163
|
-
spot2_private_post_asset_withdraw = spot2PrivatePostAssetWithdraw = Entry('asset/withdraw', ['spot2', 'private'], 'POST', {'cost': 2})
|
|
164
|
-
spot2_private_post_asset_internal_transfer = spot2PrivatePostAssetInternalTransfer = Entry('asset/internal/transfer', ['spot2', 'private'], 'POST', {'cost': 10})
|
|
165
|
-
spot2_private_delete_order_cancel = spot2PrivateDeleteOrderCancel = Entry('order/cancel', ['spot2', 'private'], 'DELETE', {'cost': 1})
|
|
166
|
-
spot2_private_delete_order_cancel_by_symbol = spot2PrivateDeleteOrderCancelBySymbol = Entry('order/cancel_by_symbol', ['spot2', 'private'], 'DELETE', {'cost': 1})
|
|
167
|
-
spot2_private_delete_asset_withdraw = spot2PrivateDeleteAssetWithdraw = Entry('asset/withdraw', ['spot2', 'private'], 'DELETE', {'cost': 2})
|
|
168
|
-
broker_private_get_sub_account_universaltransfer = brokerPrivateGetSubAccountUniversalTransfer = Entry('sub-account/universalTransfer', ['broker', 'private'], 'GET', {'cost': 1})
|
|
169
|
-
broker_private_get_sub_account_list = brokerPrivateGetSubAccountList = Entry('sub-account/list', ['broker', 'private'], 'GET', {'cost': 1})
|
|
170
|
-
broker_private_get_sub_account_apikey = brokerPrivateGetSubAccountApiKey = Entry('sub-account/apiKey', ['broker', 'private'], 'GET', {'cost': 1})
|
|
171
|
-
broker_private_get_capital_deposit_subaddress = brokerPrivateGetCapitalDepositSubAddress = Entry('capital/deposit/subAddress', ['broker', 'private'], 'GET', {'cost': 1})
|
|
172
|
-
broker_private_get_capital_deposit_subhisrec = brokerPrivateGetCapitalDepositSubHisrec = Entry('capital/deposit/subHisrec', ['broker', 'private'], 'GET', {'cost': 1})
|
|
173
|
-
broker_private_get_capital_deposit_subhisrec_getall = brokerPrivateGetCapitalDepositSubHisrecGetall = Entry('capital/deposit/subHisrec/getall', ['broker', 'private'], 'GET', {'cost': 1})
|
|
174
|
-
broker_private_post_sub_account_virtualsubaccount = brokerPrivatePostSubAccountVirtualSubAccount = Entry('sub-account/virtualSubAccount', ['broker', 'private'], 'POST', {'cost': 1})
|
|
175
|
-
broker_private_post_sub_account_apikey = brokerPrivatePostSubAccountApiKey = Entry('sub-account/apiKey', ['broker', 'private'], 'POST', {'cost': 1})
|
|
176
|
-
broker_private_post_capital_deposit_subaddress = brokerPrivatePostCapitalDepositSubAddress = Entry('capital/deposit/subAddress', ['broker', 'private'], 'POST', {'cost': 1})
|
|
177
|
-
broker_private_post_capital_withdraw_apply = brokerPrivatePostCapitalWithdrawApply = Entry('capital/withdraw/apply', ['broker', 'private'], 'POST', {'cost': 1})
|
|
178
|
-
broker_private_post_sub_account_universaltransfer = brokerPrivatePostSubAccountUniversalTransfer = Entry('sub-account/universalTransfer', ['broker', 'private'], 'POST', {'cost': 1})
|
|
179
|
-
broker_private_post_sub_account_futures = brokerPrivatePostSubAccountFutures = Entry('sub-account/futures', ['broker', 'private'], 'POST', {'cost': 1})
|
|
180
|
-
broker_private_delete_sub_account_apikey = brokerPrivateDeleteSubAccountApiKey = Entry('sub-account/apiKey', ['broker', 'private'], 'DELETE', {'cost': 1})
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
import sys
|
|
2
|
-
import mexc.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.mexc import mexc # noqa: F401
|
|
71
|
-
|
|
72
|
-
exchanges = [ 'mexc',]
|
|
73
|
-
|
|
74
|
-
base = [
|
|
75
|
-
'Exchange',
|
|
76
|
-
'exchanges',
|
|
77
|
-
'decimal_to_precision',
|
|
78
|
-
]
|
|
79
|
-
|
|
80
|
-
__all__ = base + errors.__all__ + exchanges
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
# this file is a stub so that files inside of ccxt/rest are loaded
|