okx-exchange 0.0.80__tar.gz → 0.0.82__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.
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/PKG-INFO +5 -5
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/README.md +4 -4
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/pyproject.toml +1 -1
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/__init__.py +1 -1
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/async_support/__init__.py +1 -1
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/async_support/base/exchange.py +44 -9
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/async_support/base/ws/client.py +3 -1
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/async_support/okx.py +2 -2
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/base/errors.py +0 -6
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/base/exchange.py +11 -9
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/base/types.py +1 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/okx.py +2 -2
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/pro/__init__.py +1 -1
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/pro/okx.py +7 -6
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/.gitignore +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/__init__.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/abstract/okx.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/async_support/base/__init__.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/async_support/base/throttler.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/async_support/base/ws/__init__.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/async_support/base/ws/cache.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/async_support/base/ws/functions.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/async_support/base/ws/future.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/async_support/base/ws/order_book.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/async_support/base/ws/order_book_side.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/base/__init__.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/base/decimal_to_precision.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/base/precise.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/README.md +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/__init__.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/ecdsa/__init__.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/ecdsa/_version.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/ecdsa/curves.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/ecdsa/der.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/ecdsa/ecdsa.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/ecdsa/ellipticcurve.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/ecdsa/keys.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/ecdsa/numbertheory.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/ecdsa/rfc6979.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/ecdsa/util.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/ethereum/__init__.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/ethereum/abi/__init__.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/ethereum/abi/abi.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/ethereum/abi/base.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/ethereum/abi/codec.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/ethereum/abi/constants.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/ethereum/abi/decoding.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/ethereum/abi/encoding.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/ethereum/abi/exceptions.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/ethereum/abi/grammar.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/ethereum/abi/packed.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/ethereum/abi/py.typed +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/ethereum/abi/registry.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/ethereum/abi/tools/__init__.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/ethereum/abi/tools/_strategies.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/ethereum/abi/utils/__init__.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/ethereum/abi/utils/numeric.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/ethereum/abi/utils/padding.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/ethereum/abi/utils/string.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/ethereum/account/__init__.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/ethereum/account/encode_typed_data/__init__.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/ethereum/account/encode_typed_data/encoding_and_hashing.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/ethereum/account/encode_typed_data/helpers.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/ethereum/account/messages.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/ethereum/account/py.typed +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/ethereum/hexbytes/__init__.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/ethereum/hexbytes/_utils.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/ethereum/hexbytes/main.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/ethereum/hexbytes/py.typed +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/ethereum/typing/__init__.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/ethereum/typing/abi.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/ethereum/typing/bls.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/ethereum/typing/discovery.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/ethereum/typing/encoding.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/ethereum/typing/enums.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/ethereum/typing/ethpm.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/ethereum/typing/evm.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/ethereum/typing/networks.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/ethereum/typing/py.typed +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/ethereum/utils/__init__.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/ethereum/utils/abi.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/ethereum/utils/address.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/ethereum/utils/applicators.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/ethereum/utils/conversions.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/ethereum/utils/currency.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/ethereum/utils/curried/__init__.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/ethereum/utils/debug.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/ethereum/utils/decorators.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/ethereum/utils/encoding.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/ethereum/utils/exceptions.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/ethereum/utils/functional.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/ethereum/utils/hexadecimal.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/ethereum/utils/humanize.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/ethereum/utils/logging.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/ethereum/utils/module_loading.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/ethereum/utils/numeric.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/ethereum/utils/py.typed +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/ethereum/utils/toolz.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/ethereum/utils/types.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/ethereum/utils/typing/__init__.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/ethereum/utils/typing/misc.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/ethereum/utils/units.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/keccak/__init__.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/keccak/keccak.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/lark/__init__.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/lark/__pyinstaller/__init__.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/lark/__pyinstaller/hook-lark.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/lark/ast_utils.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/lark/common.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/lark/exceptions.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/lark/grammar.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/lark/grammars/__init__.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/lark/grammars/common.lark +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/lark/grammars/lark.lark +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/lark/grammars/python.lark +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/lark/grammars/unicode.lark +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/lark/indenter.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/lark/lark.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/lark/lexer.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/lark/load_grammar.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/lark/parse_tree_builder.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/lark/parser_frontends.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/lark/parsers/__init__.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/lark/parsers/cyk.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/lark/parsers/earley.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/lark/parsers/earley_common.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/lark/parsers/earley_forest.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/lark/parsers/grammar_analysis.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/lark/parsers/lalr_analysis.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/lark/parsers/lalr_interactive_parser.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/lark/parsers/lalr_parser.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/lark/parsers/lalr_parser_state.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/lark/parsers/xearley.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/lark/py.typed +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/lark/reconstruct.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/lark/tools/__init__.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/lark/tools/nearley.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/lark/tools/serialize.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/lark/tools/standalone.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/lark/tree.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/lark/tree_matcher.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/lark/tree_templates.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/lark/utils.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/lark/visitors.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/marshmallow/__init__.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/marshmallow/base.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/marshmallow/class_registry.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/marshmallow/decorators.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/marshmallow/error_store.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/marshmallow/exceptions.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/marshmallow/fields.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/marshmallow/orderedset.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/marshmallow/py.typed +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/marshmallow/schema.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/marshmallow/types.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/marshmallow/utils.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/marshmallow/validate.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/marshmallow/warnings.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/marshmallow_dataclass/__init__.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/marshmallow_dataclass/collection_field.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/marshmallow_dataclass/lazy_class_attribute.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/marshmallow_dataclass/mypy.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/marshmallow_dataclass/py.typed +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/marshmallow_dataclass/typing.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/marshmallow_dataclass/union_field.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/marshmallow_oneofschema/__init__.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/marshmallow_oneofschema/one_of_schema.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/marshmallow_oneofschema/py.typed +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/msgpack/__init__.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/msgpack/_cmsgpack.pyx +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/msgpack/_packer.pyx +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/msgpack/_unpacker.pyx +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/msgpack/buff_converter.h +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/msgpack/exceptions.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/msgpack/ext.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/msgpack/fallback.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/msgpack/pack.h +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/msgpack/pack_template.h +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/msgpack/sysdep.h +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/msgpack/unpack.h +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/msgpack/unpack_define.h +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/msgpack/unpack_template.h +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/parsimonious/__init__.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/parsimonious/exceptions.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/parsimonious/expressions.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/parsimonious/grammar.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/parsimonious/nodes.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/parsimonious/utils.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/starknet/__init__.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/starknet/abi/v0/__init__.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/starknet/abi/v0/model.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/starknet/abi/v0/parser.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/starknet/abi/v0/schemas.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/starknet/abi/v0/shape.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/starknet/abi/v1/__init__.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/starknet/abi/v1/core_structures.json +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/starknet/abi/v1/model.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/starknet/abi/v1/parser.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/starknet/abi/v1/parser_transformer.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/starknet/abi/v1/schemas.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/starknet/abi/v1/shape.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/starknet/abi/v2/__init__.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/starknet/abi/v2/model.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/starknet/abi/v2/parser.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/starknet/abi/v2/parser_transformer.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/starknet/abi/v2/schemas.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/starknet/abi/v2/shape.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/starknet/cairo/__init__.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/starknet/cairo/data_types.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/starknet/cairo/deprecated_parse/__init__.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/starknet/cairo/deprecated_parse/cairo_types.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/starknet/cairo/deprecated_parse/parser.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/starknet/cairo/deprecated_parse/parser_transformer.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/starknet/cairo/felt.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/starknet/cairo/type_parser.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/starknet/cairo/v1/__init__.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/starknet/cairo/v1/type_parser.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/starknet/cairo/v2/__init__.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/starknet/cairo/v2/type_parser.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/starknet/ccxt_utils.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/starknet/common.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/starknet/constants.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/starknet/hash/__init__.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/starknet/hash/address.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/starknet/hash/compiled_class_hash_objects.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/starknet/hash/selector.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/starknet/hash/storage.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/starknet/hash/utils.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/starknet/models/__init__.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/starknet/models/typed_data.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/starknet/serialization/__init__.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/starknet/serialization/_calldata_reader.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/starknet/serialization/_context.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/starknet/serialization/data_serializers/__init__.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/starknet/serialization/data_serializers/_common.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/starknet/serialization/data_serializers/array_serializer.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/starknet/serialization/data_serializers/bool_serializer.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/starknet/serialization/data_serializers/byte_array_serializer.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/starknet/serialization/data_serializers/cairo_data_serializer.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/starknet/serialization/data_serializers/enum_serializer.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/starknet/serialization/data_serializers/felt_serializer.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/starknet/serialization/data_serializers/named_tuple_serializer.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/starknet/serialization/data_serializers/option_serializer.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/starknet/serialization/data_serializers/output_serializer.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/starknet/serialization/data_serializers/payload_serializer.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/starknet/serialization/data_serializers/struct_serializer.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/starknet/serialization/data_serializers/tuple_serializer.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/starknet/serialization/data_serializers/uint256_serializer.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/starknet/serialization/data_serializers/uint_serializer.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/starknet/serialization/data_serializers/unit_serializer.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/starknet/serialization/errors.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/starknet/serialization/factory.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/starknet/serialization/function_serialization_adapter.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/starknet/serialization/tuple_dataclass.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/starknet/utils/__init__.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/starknet/utils/constructor_args_translator.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/starknet/utils/iterable.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/starknet/utils/schema.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/starknet/utils/typed_data.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/starkware/__init__.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/starkware/crypto/__init__.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/starkware/crypto/fast_pedersen_hash.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/starkware/crypto/math_utils.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/starkware/crypto/signature.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/starkware/crypto/utils.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/sympy/__init__.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/sympy/core/__init__.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/sympy/core/intfunc.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/sympy/external/__init__.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/sympy/external/gmpy.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/sympy/external/importtools.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/sympy/external/ntheory.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/sympy/external/pythonmpq.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/toolz/__init__.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/toolz/_signatures.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/toolz/_version.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/toolz/compatibility.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/toolz/curried/__init__.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/toolz/curried/exceptions.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/toolz/curried/operator.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/toolz/dicttoolz.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/toolz/functoolz.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/toolz/itertoolz.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/toolz/recipes.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/toolz/utils.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/typing_inspect/__init__.py +0 -0
- {okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/typing_inspect/typing_inspect.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: okx-exchange
|
3
|
-
Version: 0.0.
|
3
|
+
Version: 0.0.82
|
4
4
|
Summary: okx crypto exchange api client
|
5
5
|
Project-URL: Homepage, https://github.com/ccxt/ccxt
|
6
6
|
Project-URL: Issues, https://github.com/ccxt/ccxt
|
@@ -212,12 +212,12 @@ You can also construct custom requests to available "implicit" endpoints
|
|
212
212
|
- `reduce_margin(self, symbol: str, amount: float, params={})`
|
213
213
|
- `repay_cross_margin(self, code: str, amount, params={})`
|
214
214
|
- `safe_market(self, marketId: Str = None, market: Market = None, delimiter: Str = None, marketType: Str = None)`
|
215
|
-
- `set_leverage(self, leverage:
|
215
|
+
- `set_leverage(self, leverage: int, symbol: Str = None, params={})`
|
216
216
|
- `set_margin_mode(self, marginMode: str, symbol: Str = None, params={})`
|
217
217
|
- `set_position_mode(self, hedged: bool, symbol: Str = None, params={})`
|
218
218
|
- `set_sandbox_mode(self, enable: bool)`
|
219
219
|
- `transfer(self, code: str, amount: float, fromAccount: str, toAccount: str, params={})`
|
220
|
-
- `withdraw(self, code: str, amount: float, address: str, tag=None, params={})`
|
220
|
+
- `withdraw(self, code: str, amount: float, address: str, tag: Str = None, params={})`
|
221
221
|
|
222
222
|
### REST Raw
|
223
223
|
|
@@ -586,8 +586,8 @@ You can also construct custom requests to available "implicit" endpoints
|
|
586
586
|
- `watch_mark_prices(self, symbols: Strings = None, params={})`
|
587
587
|
- `un_watch_tickers(self, symbols: Strings = None, params={})`
|
588
588
|
- `watch_bids_asks(self, symbols: Strings = None, params={})`
|
589
|
-
- `watch_liquidations_for_symbols(self, symbols: List[str]
|
590
|
-
- `watch_my_liquidations_for_symbols(self, symbols: List[str]
|
589
|
+
- `watch_liquidations_for_symbols(self, symbols: List[str], since: Int = None, limit: Int = None, params={})`
|
590
|
+
- `watch_my_liquidations_for_symbols(self, symbols: List[str], since: Int = None, limit: Int = None, params={})`
|
591
591
|
- `watch_ohlcv(self, symbol: str, timeframe='1m', since: Int = None, limit: Int = None, params={})`
|
592
592
|
- `un_watch_ohlcv(self, symbol: str, timeframe='1m', params={})`
|
593
593
|
- `watch_ohlcv_for_symbols(self, symbolsAndTimeframes: List[List[str]], since: Int = None, limit: Int = None, params={})`
|
@@ -193,12 +193,12 @@ You can also construct custom requests to available "implicit" endpoints
|
|
193
193
|
- `reduce_margin(self, symbol: str, amount: float, params={})`
|
194
194
|
- `repay_cross_margin(self, code: str, amount, params={})`
|
195
195
|
- `safe_market(self, marketId: Str = None, market: Market = None, delimiter: Str = None, marketType: Str = None)`
|
196
|
-
- `set_leverage(self, leverage:
|
196
|
+
- `set_leverage(self, leverage: int, symbol: Str = None, params={})`
|
197
197
|
- `set_margin_mode(self, marginMode: str, symbol: Str = None, params={})`
|
198
198
|
- `set_position_mode(self, hedged: bool, symbol: Str = None, params={})`
|
199
199
|
- `set_sandbox_mode(self, enable: bool)`
|
200
200
|
- `transfer(self, code: str, amount: float, fromAccount: str, toAccount: str, params={})`
|
201
|
-
- `withdraw(self, code: str, amount: float, address: str, tag=None, params={})`
|
201
|
+
- `withdraw(self, code: str, amount: float, address: str, tag: Str = None, params={})`
|
202
202
|
|
203
203
|
### REST Raw
|
204
204
|
|
@@ -567,8 +567,8 @@ You can also construct custom requests to available "implicit" endpoints
|
|
567
567
|
- `watch_mark_prices(self, symbols: Strings = None, params={})`
|
568
568
|
- `un_watch_tickers(self, symbols: Strings = None, params={})`
|
569
569
|
- `watch_bids_asks(self, symbols: Strings = None, params={})`
|
570
|
-
- `watch_liquidations_for_symbols(self, symbols: List[str]
|
571
|
-
- `watch_my_liquidations_for_symbols(self, symbols: List[str]
|
570
|
+
- `watch_liquidations_for_symbols(self, symbols: List[str], since: Int = None, limit: Int = None, params={})`
|
571
|
+
- `watch_my_liquidations_for_symbols(self, symbols: List[str], since: Int = None, limit: Int = None, params={})`
|
572
572
|
- `watch_ohlcv(self, symbol: str, timeframe='1m', since: Int = None, limit: Int = None, params={})`
|
573
573
|
- `un_watch_ohlcv(self, symbol: str, timeframe='1m', params={})`
|
574
574
|
- `watch_ohlcv_for_symbols(self, symbolsAndTimeframes: List[List[str]], since: Int = None, limit: Int = None, params={})`
|
@@ -26,7 +26,7 @@ sys.modules['ccxt'] = ccxt_module
|
|
26
26
|
|
27
27
|
# ----------------------------------------------------------------------------
|
28
28
|
|
29
|
-
__version__ = '4.4.
|
29
|
+
__version__ = '4.4.100'
|
30
30
|
|
31
31
|
# ----------------------------------------------------------------------------
|
32
32
|
|
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
# -----------------------------------------------------------------------------
|
4
4
|
|
5
|
-
__version__ = '4.4.
|
5
|
+
__version__ = '4.4.100'
|
6
6
|
|
7
7
|
# -----------------------------------------------------------------------------
|
8
8
|
|
@@ -54,6 +54,15 @@ __all__ = [
|
|
54
54
|
]
|
55
55
|
|
56
56
|
# -----------------------------------------------------------------------------
|
57
|
+
# --- PROTO BUF IMPORTS
|
58
|
+
try:
|
59
|
+
from ccxt.protobuf.mexc import PushDataV3ApiWrapper_pb2
|
60
|
+
from google.protobuf.json_format import MessageToDict
|
61
|
+
except ImportError:
|
62
|
+
PushDataV3ApiWrapper_pb2 = None
|
63
|
+
MessageToDict = None
|
64
|
+
|
65
|
+
# -----------------------------------------------------------------------------
|
57
66
|
|
58
67
|
|
59
68
|
class Exchange(BaseExchange):
|
@@ -418,6 +427,7 @@ class Exchange(BaseExchange):
|
|
418
427
|
'verbose': self.verbose,
|
419
428
|
'throttle': Throttler(self.tokenBucket, self.asyncio_loop),
|
420
429
|
'asyncio_loop': self.asyncio_loop,
|
430
|
+
'decompressBinary': self.safe_bool(self.options, 'decompressBinary', True),
|
421
431
|
}, ws_options)
|
422
432
|
# we use aiohttp instead of fastClient now because of this
|
423
433
|
# https://github.com/ccxt/ccxt/pull/25995
|
@@ -573,6 +583,31 @@ class Exchange(BaseExchange):
|
|
573
583
|
return '0e-00'
|
574
584
|
return format(n, 'g')
|
575
585
|
|
586
|
+
def decode_proto_msg(self, data):
|
587
|
+
if not MessageToDict:
|
588
|
+
raise NotSupported(self.id + ' requires protobuf to decode messages, please install it with `pip install "protobuf==5.29.3"`')
|
589
|
+
message = PushDataV3ApiWrapper_pb2.PushDataV3ApiWrapper()
|
590
|
+
message.ParseFromString(data)
|
591
|
+
dict_msg = MessageToDict(message)
|
592
|
+
# {
|
593
|
+
# "channel":"spot@public.kline.v3.api.pb@BTCUSDT@Min1",
|
594
|
+
# "symbol":"BTCUSDT",
|
595
|
+
# "symbolId":"2fb942154ef44a4ab2ef98c8afb6a4a7",
|
596
|
+
# "createTime":"1754735110559",
|
597
|
+
# "publicSpotKline":{
|
598
|
+
# "interval":"Min1",
|
599
|
+
# "windowStart":"1754735100",
|
600
|
+
# "openingPrice":"117792.45",
|
601
|
+
# "closingPrice":"117805.32",
|
602
|
+
# "highestPrice":"117814.63",
|
603
|
+
# "lowestPrice":"117792.45",
|
604
|
+
# "volume":"0.13425465",
|
605
|
+
# "amount":"15815.77",
|
606
|
+
# "windowEnd":"1754735160"
|
607
|
+
# }
|
608
|
+
# }
|
609
|
+
return dict_msg
|
610
|
+
|
576
611
|
# ########################################################################
|
577
612
|
# ########################################################################
|
578
613
|
# ########################################################################
|
@@ -742,13 +777,13 @@ class Exchange(BaseExchange):
|
|
742
777
|
async def transfer(self, code: str, amount: float, fromAccount: str, toAccount: str, params={}):
|
743
778
|
raise NotSupported(self.id + ' transfer() is not supported yet')
|
744
779
|
|
745
|
-
async def withdraw(self, code: str, amount: float, address: str, tag=None, params={}):
|
780
|
+
async def withdraw(self, code: str, amount: float, address: str, tag: Str = None, params={}):
|
746
781
|
raise NotSupported(self.id + ' withdraw() is not supported yet')
|
747
782
|
|
748
783
|
async def create_deposit_address(self, code: str, params={}):
|
749
784
|
raise NotSupported(self.id + ' createDepositAddress() is not supported yet')
|
750
785
|
|
751
|
-
async def set_leverage(self, leverage:
|
786
|
+
async def set_leverage(self, leverage: int, symbol: Str = None, params={}):
|
752
787
|
raise NotSupported(self.id + ' setLeverage() is not supported yet')
|
753
788
|
|
754
789
|
async def fetch_leverage(self, symbol: str, params={}):
|
@@ -797,7 +832,7 @@ class Exchange(BaseExchange):
|
|
797
832
|
async def fetch_deposit_addresses_by_network(self, code: str, params={}):
|
798
833
|
raise NotSupported(self.id + ' fetchDepositAddressesByNetwork() is not supported yet')
|
799
834
|
|
800
|
-
async def fetch_open_interest_history(self, symbol: str, timeframe='1h', since: Int = None, limit: Int = None, params={}):
|
835
|
+
async def fetch_open_interest_history(self, symbol: str, timeframe: str = '1h', since: Int = None, limit: Int = None, params={}):
|
801
836
|
raise NotSupported(self.id + ' fetchOpenInterestHistory() is not supported yet')
|
802
837
|
|
803
838
|
async def fetch_open_interest(self, symbol: str, params={}):
|
@@ -1182,7 +1217,7 @@ class Exchange(BaseExchange):
|
|
1182
1217
|
async def fetch_position_mode(self, symbol: Str = None, params={}):
|
1183
1218
|
raise NotSupported(self.id + ' fetchPositionMode() is not supported yet')
|
1184
1219
|
|
1185
|
-
async def create_trailing_amount_order(self, symbol: str, type: OrderType, side: OrderSide, amount: float, price: Num = None, trailingAmount=None, trailingTriggerPrice=None, params={}):
|
1220
|
+
async def create_trailing_amount_order(self, symbol: str, type: OrderType, side: OrderSide, amount: float, price: Num = None, trailingAmount: Num = None, trailingTriggerPrice: Num = None, params={}):
|
1186
1221
|
"""
|
1187
1222
|
create a trailing order by providing the symbol, type, side, amount, price and trailingAmount
|
1188
1223
|
:param str symbol: unified symbol of the market to create an order in
|
@@ -1204,7 +1239,7 @@ class Exchange(BaseExchange):
|
|
1204
1239
|
return await self.create_order(symbol, type, side, amount, price, params)
|
1205
1240
|
raise NotSupported(self.id + ' createTrailingAmountOrder() is not supported yet')
|
1206
1241
|
|
1207
|
-
async def create_trailing_amount_order_ws(self, symbol: str, type: OrderType, side: OrderSide, amount: float, price: Num = None, trailingAmount=None, trailingTriggerPrice=None, params={}):
|
1242
|
+
async def create_trailing_amount_order_ws(self, symbol: str, type: OrderType, side: OrderSide, amount: float, price: Num = None, trailingAmount: Num = None, trailingTriggerPrice: Num = None, params={}):
|
1208
1243
|
"""
|
1209
1244
|
create a trailing order by providing the symbol, type, side, amount, price and trailingAmount
|
1210
1245
|
:param str symbol: unified symbol of the market to create an order in
|
@@ -1226,7 +1261,7 @@ class Exchange(BaseExchange):
|
|
1226
1261
|
return await self.create_order_ws(symbol, type, side, amount, price, params)
|
1227
1262
|
raise NotSupported(self.id + ' createTrailingAmountOrderWs() is not supported yet')
|
1228
1263
|
|
1229
|
-
async def create_trailing_percent_order(self, symbol: str, type: OrderType, side: OrderSide, amount: float, price: Num = None, trailingPercent=None, trailingTriggerPrice=None, params={}):
|
1264
|
+
async def create_trailing_percent_order(self, symbol: str, type: OrderType, side: OrderSide, amount: float, price: Num = None, trailingPercent: Num = None, trailingTriggerPrice: Num = None, params={}):
|
1230
1265
|
"""
|
1231
1266
|
create a trailing order by providing the symbol, type, side, amount, price and trailingPercent
|
1232
1267
|
:param str symbol: unified symbol of the market to create an order in
|
@@ -1248,7 +1283,7 @@ class Exchange(BaseExchange):
|
|
1248
1283
|
return await self.create_order(symbol, type, side, amount, price, params)
|
1249
1284
|
raise NotSupported(self.id + ' createTrailingPercentOrder() is not supported yet')
|
1250
1285
|
|
1251
|
-
async def create_trailing_percent_order_ws(self, symbol: str, type: OrderType, side: OrderSide, amount: float, price: Num = None, trailingPercent=None, trailingTriggerPrice=None, params={}):
|
1286
|
+
async def create_trailing_percent_order_ws(self, symbol: str, type: OrderType, side: OrderSide, amount: float, price: Num = None, trailingPercent: Num = None, trailingTriggerPrice: Num = None, params={}):
|
1252
1287
|
"""
|
1253
1288
|
create a trailing order by providing the symbol, type, side, amount, price and trailingPercent
|
1254
1289
|
:param str symbol: unified symbol of the market to create an order in
|
@@ -1815,7 +1850,7 @@ class Exchange(BaseExchange):
|
|
1815
1850
|
else:
|
1816
1851
|
raise NotSupported(self.id + ' fetchFundingInterval() is not supported yet')
|
1817
1852
|
|
1818
|
-
async def fetch_mark_ohlcv(self, symbol, timeframe='1m', since: Int = None, limit: Int = None, params={}):
|
1853
|
+
async def fetch_mark_ohlcv(self, symbol: str, timeframe='1m', since: Int = None, limit: Int = None, params={}):
|
1819
1854
|
"""
|
1820
1855
|
fetches historical mark price candlestick data containing the open, high, low, and close price of a market
|
1821
1856
|
:param str symbol: unified symbol of the market to fetch OHLCV data for
|
@@ -50,6 +50,7 @@ class Client(object):
|
|
50
50
|
connecting = False
|
51
51
|
asyncio_loop: BaseEventLoop = None
|
52
52
|
ping_looper = None
|
53
|
+
decompressBinary = True # decompress binary messages by default
|
53
54
|
|
54
55
|
def __init__(self, url, on_message_callback, on_error_callback, on_close_callback, on_connected_callback, config={}):
|
55
56
|
defaults = {
|
@@ -218,7 +219,8 @@ class Client(object):
|
|
218
219
|
if self.verbose:
|
219
220
|
self.log(iso8601(milliseconds()), 'message', data)
|
220
221
|
if isinstance(data, bytes):
|
221
|
-
|
222
|
+
if self.decompressBinary:
|
223
|
+
data = data.decode()
|
222
224
|
# decoded = json.loads(data) if is_json_encoded_object(data) else data
|
223
225
|
decode = None
|
224
226
|
if is_json_encoded_object(data):
|
@@ -4955,7 +4955,7 @@ class okx(Exchange, ImplicitAPI):
|
|
4955
4955
|
first = self.safe_string(keys, 0)
|
4956
4956
|
return self.safe_dict(response, first)
|
4957
4957
|
|
4958
|
-
async def withdraw(self, code: str, amount: float, address: str, tag=None, params={}) -> Transaction:
|
4958
|
+
async def withdraw(self, code: str, amount: float, address: str, tag: Str = None, params={}) -> Transaction:
|
4959
4959
|
"""
|
4960
4960
|
make a withdrawal
|
4961
4961
|
|
@@ -6352,7 +6352,7 @@ class okx(Exchange, ImplicitAPI):
|
|
6352
6352
|
sorted = self.sort_by(result, 'timestamp')
|
6353
6353
|
return self.filter_by_symbol_since_limit(sorted, symbol, since, limit)
|
6354
6354
|
|
6355
|
-
async def set_leverage(self, leverage:
|
6355
|
+
async def set_leverage(self, leverage: int, symbol: Str = None, params={}):
|
6356
6356
|
"""
|
6357
6357
|
set the level of leverage for a market
|
6358
6358
|
|
@@ -1,9 +1,3 @@
|
|
1
|
-
# ----------------------------------------------------------------------------
|
2
|
-
|
3
|
-
# PLEASE DO NOT EDIT THIS FILE, IT IS GENERATED AND WILL BE OVERWRITTEN:
|
4
|
-
# https://github.com/ccxt/ccxt/blob/master/CONTRIBUTING.md#how-to-contribute-code
|
5
|
-
# EDIT THE CORRESPONDENT .ts FILE INSTEAD
|
6
|
-
|
7
1
|
error_hierarchy = {
|
8
2
|
'BaseError': {
|
9
3
|
'ExchangeError': {
|
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
# -----------------------------------------------------------------------------
|
6
6
|
|
7
|
-
__version__ = '4.4.
|
7
|
+
__version__ = '4.4.100'
|
8
8
|
|
9
9
|
# -----------------------------------------------------------------------------
|
10
10
|
|
@@ -1862,6 +1862,8 @@ class Exchange(object):
|
|
1862
1862
|
signature = auth_data.signature
|
1863
1863
|
return signature
|
1864
1864
|
|
1865
|
+
def is_binary_message(self, message):
|
1866
|
+
return isinstance(message, bytes) or isinstance(message, bytearray)
|
1865
1867
|
|
1866
1868
|
# ########################################################################
|
1867
1869
|
# ########################################################################
|
@@ -2774,13 +2776,13 @@ class Exchange(object):
|
|
2774
2776
|
def transfer(self, code: str, amount: float, fromAccount: str, toAccount: str, params={}):
|
2775
2777
|
raise NotSupported(self.id + ' transfer() is not supported yet')
|
2776
2778
|
|
2777
|
-
def withdraw(self, code: str, amount: float, address: str, tag=None, params={}):
|
2779
|
+
def withdraw(self, code: str, amount: float, address: str, tag: Str = None, params={}):
|
2778
2780
|
raise NotSupported(self.id + ' withdraw() is not supported yet')
|
2779
2781
|
|
2780
2782
|
def create_deposit_address(self, code: str, params={}):
|
2781
2783
|
raise NotSupported(self.id + ' createDepositAddress() is not supported yet')
|
2782
2784
|
|
2783
|
-
def set_leverage(self, leverage:
|
2785
|
+
def set_leverage(self, leverage: int, symbol: Str = None, params={}):
|
2784
2786
|
raise NotSupported(self.id + ' setLeverage() is not supported yet')
|
2785
2787
|
|
2786
2788
|
def fetch_leverage(self, symbol: str, params={}):
|
@@ -2829,7 +2831,7 @@ class Exchange(object):
|
|
2829
2831
|
def fetch_deposit_addresses_by_network(self, code: str, params={}):
|
2830
2832
|
raise NotSupported(self.id + ' fetchDepositAddressesByNetwork() is not supported yet')
|
2831
2833
|
|
2832
|
-
def fetch_open_interest_history(self, symbol: str, timeframe='1h', since: Int = None, limit: Int = None, params={}):
|
2834
|
+
def fetch_open_interest_history(self, symbol: str, timeframe: str = '1h', since: Int = None, limit: Int = None, params={}):
|
2833
2835
|
raise NotSupported(self.id + ' fetchOpenInterestHistory() is not supported yet')
|
2834
2836
|
|
2835
2837
|
def fetch_open_interest(self, symbol: str, params={}):
|
@@ -5073,7 +5075,7 @@ class Exchange(object):
|
|
5073
5075
|
def fetch_position_mode(self, symbol: Str = None, params={}):
|
5074
5076
|
raise NotSupported(self.id + ' fetchPositionMode() is not supported yet')
|
5075
5077
|
|
5076
|
-
def create_trailing_amount_order(self, symbol: str, type: OrderType, side: OrderSide, amount: float, price: Num = None, trailingAmount=None, trailingTriggerPrice=None, params={}):
|
5078
|
+
def create_trailing_amount_order(self, symbol: str, type: OrderType, side: OrderSide, amount: float, price: Num = None, trailingAmount: Num = None, trailingTriggerPrice: Num = None, params={}):
|
5077
5079
|
"""
|
5078
5080
|
create a trailing order by providing the symbol, type, side, amount, price and trailingAmount
|
5079
5081
|
:param str symbol: unified symbol of the market to create an order in
|
@@ -5095,7 +5097,7 @@ class Exchange(object):
|
|
5095
5097
|
return self.create_order(symbol, type, side, amount, price, params)
|
5096
5098
|
raise NotSupported(self.id + ' createTrailingAmountOrder() is not supported yet')
|
5097
5099
|
|
5098
|
-
def create_trailing_amount_order_ws(self, symbol: str, type: OrderType, side: OrderSide, amount: float, price: Num = None, trailingAmount=None, trailingTriggerPrice=None, params={}):
|
5100
|
+
def create_trailing_amount_order_ws(self, symbol: str, type: OrderType, side: OrderSide, amount: float, price: Num = None, trailingAmount: Num = None, trailingTriggerPrice: Num = None, params={}):
|
5099
5101
|
"""
|
5100
5102
|
create a trailing order by providing the symbol, type, side, amount, price and trailingAmount
|
5101
5103
|
:param str symbol: unified symbol of the market to create an order in
|
@@ -5117,7 +5119,7 @@ class Exchange(object):
|
|
5117
5119
|
return self.create_order_ws(symbol, type, side, amount, price, params)
|
5118
5120
|
raise NotSupported(self.id + ' createTrailingAmountOrderWs() is not supported yet')
|
5119
5121
|
|
5120
|
-
def create_trailing_percent_order(self, symbol: str, type: OrderType, side: OrderSide, amount: float, price: Num = None, trailingPercent=None, trailingTriggerPrice=None, params={}):
|
5122
|
+
def create_trailing_percent_order(self, symbol: str, type: OrderType, side: OrderSide, amount: float, price: Num = None, trailingPercent: Num = None, trailingTriggerPrice: Num = None, params={}):
|
5121
5123
|
"""
|
5122
5124
|
create a trailing order by providing the symbol, type, side, amount, price and trailingPercent
|
5123
5125
|
:param str symbol: unified symbol of the market to create an order in
|
@@ -5139,7 +5141,7 @@ class Exchange(object):
|
|
5139
5141
|
return self.create_order(symbol, type, side, amount, price, params)
|
5140
5142
|
raise NotSupported(self.id + ' createTrailingPercentOrder() is not supported yet')
|
5141
5143
|
|
5142
|
-
def create_trailing_percent_order_ws(self, symbol: str, type: OrderType, side: OrderSide, amount: float, price: Num = None, trailingPercent=None, trailingTriggerPrice=None, params={}):
|
5144
|
+
def create_trailing_percent_order_ws(self, symbol: str, type: OrderType, side: OrderSide, amount: float, price: Num = None, trailingPercent: Num = None, trailingTriggerPrice: Num = None, params={}):
|
5143
5145
|
"""
|
5144
5146
|
create a trailing order by providing the symbol, type, side, amount, price and trailingPercent
|
5145
5147
|
:param str symbol: unified symbol of the market to create an order in
|
@@ -6193,7 +6195,7 @@ class Exchange(object):
|
|
6193
6195
|
else:
|
6194
6196
|
raise NotSupported(self.id + ' fetchFundingInterval() is not supported yet')
|
6195
6197
|
|
6196
|
-
def fetch_mark_ohlcv(self, symbol, timeframe='1m', since: Int = None, limit: Int = None, params={}):
|
6198
|
+
def fetch_mark_ohlcv(self, symbol: str, timeframe='1m', since: Int = None, limit: Int = None, params={}):
|
6197
6199
|
"""
|
6198
6200
|
fetches historical mark price candlestick data containing the open, high, low, and close price of a market
|
6199
6201
|
:param str symbol: unified symbol of the market to fetch OHLCV data for
|
@@ -4954,7 +4954,7 @@ class okx(Exchange, ImplicitAPI):
|
|
4954
4954
|
first = self.safe_string(keys, 0)
|
4955
4955
|
return self.safe_dict(response, first)
|
4956
4956
|
|
4957
|
-
def withdraw(self, code: str, amount: float, address: str, tag=None, params={}) -> Transaction:
|
4957
|
+
def withdraw(self, code: str, amount: float, address: str, tag: Str = None, params={}) -> Transaction:
|
4958
4958
|
"""
|
4959
4959
|
make a withdrawal
|
4960
4960
|
|
@@ -6351,7 +6351,7 @@ class okx(Exchange, ImplicitAPI):
|
|
6351
6351
|
sorted = self.sort_by(result, 'timestamp')
|
6352
6352
|
return self.filter_by_symbol_since_limit(sorted, symbol, since, limit)
|
6353
6353
|
|
6354
|
-
def set_leverage(self, leverage:
|
6354
|
+
def set_leverage(self, leverage: int, symbol: Str = None, params={}):
|
6355
6355
|
"""
|
6356
6356
|
set the level of leverage for a market
|
6357
6357
|
|
@@ -6,7 +6,7 @@
|
|
6
6
|
import ccxt.async_support
|
7
7
|
from ccxt.async_support.base.ws.cache import ArrayCache, ArrayCacheBySymbolById, ArrayCacheBySymbolBySide, ArrayCacheByTimestamp
|
8
8
|
import hashlib
|
9
|
-
from ccxt.base.types import Any, Balances, Int, Liquidation, Num, Order, OrderBook, OrderSide, OrderType, Position, Str, Strings, Ticker, Tickers, FundingRate, FundingRates, Trade
|
9
|
+
from ccxt.base.types import Any, Balances, Bool, Int, Liquidation, Num, Order, OrderBook, OrderSide, OrderType, Position, Str, Strings, Ticker, Tickers, FundingRate, FundingRates, Trade
|
10
10
|
from ccxt.async_support.base.ws.client import Client
|
11
11
|
from typing import List
|
12
12
|
from ccxt.base.errors import ExchangeError
|
@@ -621,7 +621,7 @@ class okx(okxAsync):
|
|
621
621
|
'info': ticker,
|
622
622
|
}, market)
|
623
623
|
|
624
|
-
async def watch_liquidations_for_symbols(self, symbols: List[str]
|
624
|
+
async def watch_liquidations_for_symbols(self, symbols: List[str], since: Int = None, limit: Int = None, params={}) -> List[Liquidation]:
|
625
625
|
"""
|
626
626
|
watch the public liquidations of a trading pair
|
627
627
|
|
@@ -709,7 +709,7 @@ class okx(okxAsync):
|
|
709
709
|
client.resolve([liquidation], 'liquidations')
|
710
710
|
client.resolve([liquidation], 'liquidations::' + symbol)
|
711
711
|
|
712
|
-
async def watch_my_liquidations_for_symbols(self, symbols: List[str]
|
712
|
+
async def watch_my_liquidations_for_symbols(self, symbols: List[str], since: Int = None, limit: Int = None, params={}) -> List[Liquidation]:
|
713
713
|
"""
|
714
714
|
watch the private liquidations of a trading pair
|
715
715
|
|
@@ -879,6 +879,7 @@ class okx(okxAsync):
|
|
879
879
|
'contracts': self.safe_number(liquidationDetails, 'sz'),
|
880
880
|
'contractSize': self.safe_number(market, 'contractSize'),
|
881
881
|
'price': self.safe_number(liquidationDetails, 'bkPx'),
|
882
|
+
'side': self.safe_string(liquidationDetails, 'side'),
|
882
883
|
'baseValue': None,
|
883
884
|
'quoteValue': None,
|
884
885
|
'timestamp': timestamp,
|
@@ -1959,7 +1960,7 @@ class okx(okxAsync):
|
|
1959
1960
|
if self.is_empty(args):
|
1960
1961
|
method = self.safe_string(message, 'op')
|
1961
1962
|
stringMsg = self.json(message)
|
1962
|
-
self.handle_errors(
|
1963
|
+
self.handle_errors(1, '', client.url, method, {}, stringMsg, message, {}, {})
|
1963
1964
|
orders = self.parse_orders(args, None, None, None)
|
1964
1965
|
first = self.safe_dict(orders, 0, {})
|
1965
1966
|
client.resolve(first, messageHash)
|
@@ -2133,7 +2134,7 @@ class okx(okxAsync):
|
|
2133
2134
|
client.lastPong = self.milliseconds()
|
2134
2135
|
return message
|
2135
2136
|
|
2136
|
-
def handle_error_message(self, client: Client, message):
|
2137
|
+
def handle_error_message(self, client: Client, message) -> Bool:
|
2137
2138
|
#
|
2138
2139
|
# {event: 'error', msg: "Illegal request: {"op":"subscribe","args":["spot/ticker:BTC-USDT"]}", code: "60012"}
|
2139
2140
|
# {event: 'error", msg: "channel:ticker,instId:BTC-USDT doesn"t exist", code: "60018"}
|
@@ -2175,7 +2176,7 @@ class okx(okxAsync):
|
|
2175
2176
|
return False
|
2176
2177
|
client.reject(e)
|
2177
2178
|
return False
|
2178
|
-
return
|
2179
|
+
return True
|
2179
2180
|
|
2180
2181
|
def handle_message(self, client: Client, message):
|
2181
2182
|
if not self.handle_error_message(client, message):
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/async_support/base/ws/order_book.py
RENAMED
File without changes
|
{okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/async_support/base/ws/order_book_side.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/ecdsa/__init__.py
RENAMED
File without changes
|
{okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/ecdsa/_version.py
RENAMED
File without changes
|
{okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/ecdsa/curves.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/ecdsa/ellipticcurve.py
RENAMED
File without changes
|
File without changes
|
{okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/ecdsa/numbertheory.py
RENAMED
File without changes
|
{okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/ecdsa/rfc6979.py
RENAMED
File without changes
|
File without changes
|
{okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/ethereum/__init__.py
RENAMED
File without changes
|
File without changes
|
{okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/ethereum/abi/abi.py
RENAMED
File without changes
|
{okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/ethereum/abi/base.py
RENAMED
File without changes
|
{okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/ethereum/abi/codec.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/ethereum/abi/grammar.py
RENAMED
File without changes
|
{okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/ethereum/abi/packed.py
RENAMED
File without changes
|
{okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/ethereum/abi/py.typed
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/ethereum/typing/abi.py
RENAMED
File without changes
|
{okx_exchange-0.0.80 → okx_exchange-0.0.82}/src/okx/ccxt/static_dependencies/ethereum/typing/bls.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|