okx-exchange 0.0.79__tar.gz → 0.0.81__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.79 → okx_exchange-0.0.81}/PKG-INFO +3 -3
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/README.md +2 -2
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/pyproject.toml +1 -1
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/__init__.py +2 -1
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/async_support/__init__.py +2 -1
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/async_support/base/exchange.py +1 -1
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/async_support/okx.py +2 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/base/decimal_to_precision.py +7 -9
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/base/errors.py +6 -6
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/base/exchange.py +1 -1
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/okx.py +2 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/pro/__init__.py +2 -1
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/pro/okx.py +5 -5
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/.gitignore +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/__init__.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/abstract/okx.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/async_support/base/__init__.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/async_support/base/throttler.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/async_support/base/ws/__init__.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/async_support/base/ws/cache.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/async_support/base/ws/client.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/async_support/base/ws/functions.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/async_support/base/ws/future.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/async_support/base/ws/order_book.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/async_support/base/ws/order_book_side.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/base/__init__.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/base/precise.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/base/types.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/README.md +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/__init__.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/ecdsa/__init__.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/ecdsa/_version.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/ecdsa/curves.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/ecdsa/der.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/ecdsa/ecdsa.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/ecdsa/ellipticcurve.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/ecdsa/keys.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/ecdsa/numbertheory.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/ecdsa/rfc6979.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/ecdsa/util.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/ethereum/__init__.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/ethereum/abi/__init__.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/ethereum/abi/abi.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/ethereum/abi/base.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/ethereum/abi/codec.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/ethereum/abi/constants.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/ethereum/abi/decoding.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/ethereum/abi/encoding.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/ethereum/abi/exceptions.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/ethereum/abi/grammar.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/ethereum/abi/packed.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/ethereum/abi/py.typed +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/ethereum/abi/registry.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/ethereum/abi/tools/__init__.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/ethereum/abi/tools/_strategies.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/ethereum/abi/utils/__init__.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/ethereum/abi/utils/numeric.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/ethereum/abi/utils/padding.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/ethereum/abi/utils/string.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/ethereum/account/__init__.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/ethereum/account/encode_typed_data/__init__.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/ethereum/account/encode_typed_data/encoding_and_hashing.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/ethereum/account/encode_typed_data/helpers.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/ethereum/account/messages.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/ethereum/account/py.typed +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/ethereum/hexbytes/__init__.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/ethereum/hexbytes/_utils.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/ethereum/hexbytes/main.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/ethereum/hexbytes/py.typed +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/ethereum/typing/__init__.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/ethereum/typing/abi.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/ethereum/typing/bls.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/ethereum/typing/discovery.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/ethereum/typing/encoding.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/ethereum/typing/enums.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/ethereum/typing/ethpm.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/ethereum/typing/evm.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/ethereum/typing/networks.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/ethereum/typing/py.typed +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/ethereum/utils/__init__.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/ethereum/utils/abi.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/ethereum/utils/address.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/ethereum/utils/applicators.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/ethereum/utils/conversions.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/ethereum/utils/currency.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/ethereum/utils/curried/__init__.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/ethereum/utils/debug.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/ethereum/utils/decorators.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/ethereum/utils/encoding.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/ethereum/utils/exceptions.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/ethereum/utils/functional.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/ethereum/utils/hexadecimal.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/ethereum/utils/humanize.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/ethereum/utils/logging.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/ethereum/utils/module_loading.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/ethereum/utils/numeric.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/ethereum/utils/py.typed +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/ethereum/utils/toolz.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/ethereum/utils/types.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/ethereum/utils/typing/__init__.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/ethereum/utils/typing/misc.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/ethereum/utils/units.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/keccak/__init__.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/keccak/keccak.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/lark/__init__.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/lark/__pyinstaller/__init__.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/lark/__pyinstaller/hook-lark.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/lark/ast_utils.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/lark/common.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/lark/exceptions.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/lark/grammar.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/lark/grammars/__init__.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/lark/grammars/common.lark +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/lark/grammars/lark.lark +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/lark/grammars/python.lark +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/lark/grammars/unicode.lark +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/lark/indenter.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/lark/lark.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/lark/lexer.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/lark/load_grammar.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/lark/parse_tree_builder.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/lark/parser_frontends.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/lark/parsers/__init__.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/lark/parsers/cyk.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/lark/parsers/earley.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/lark/parsers/earley_common.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/lark/parsers/earley_forest.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/lark/parsers/grammar_analysis.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/lark/parsers/lalr_analysis.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/lark/parsers/lalr_interactive_parser.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/lark/parsers/lalr_parser.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/lark/parsers/lalr_parser_state.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/lark/parsers/xearley.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/lark/py.typed +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/lark/reconstruct.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/lark/tools/__init__.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/lark/tools/nearley.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/lark/tools/serialize.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/lark/tools/standalone.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/lark/tree.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/lark/tree_matcher.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/lark/tree_templates.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/lark/utils.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/lark/visitors.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/marshmallow/__init__.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/marshmallow/base.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/marshmallow/class_registry.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/marshmallow/decorators.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/marshmallow/error_store.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/marshmallow/exceptions.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/marshmallow/fields.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/marshmallow/orderedset.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/marshmallow/py.typed +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/marshmallow/schema.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/marshmallow/types.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/marshmallow/utils.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/marshmallow/validate.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/marshmallow/warnings.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/marshmallow_dataclass/__init__.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/marshmallow_dataclass/collection_field.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/marshmallow_dataclass/lazy_class_attribute.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/marshmallow_dataclass/mypy.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/marshmallow_dataclass/py.typed +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/marshmallow_dataclass/typing.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/marshmallow_dataclass/union_field.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/marshmallow_oneofschema/__init__.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/marshmallow_oneofschema/one_of_schema.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/marshmallow_oneofschema/py.typed +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/msgpack/__init__.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/msgpack/_cmsgpack.pyx +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/msgpack/_packer.pyx +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/msgpack/_unpacker.pyx +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/msgpack/buff_converter.h +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/msgpack/exceptions.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/msgpack/ext.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/msgpack/fallback.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/msgpack/pack.h +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/msgpack/pack_template.h +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/msgpack/sysdep.h +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/msgpack/unpack.h +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/msgpack/unpack_define.h +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/msgpack/unpack_template.h +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/parsimonious/__init__.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/parsimonious/exceptions.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/parsimonious/expressions.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/parsimonious/grammar.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/parsimonious/nodes.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/parsimonious/utils.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/starknet/__init__.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/starknet/abi/v0/__init__.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/starknet/abi/v0/model.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/starknet/abi/v0/parser.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/starknet/abi/v0/schemas.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/starknet/abi/v0/shape.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/starknet/abi/v1/__init__.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/starknet/abi/v1/core_structures.json +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/starknet/abi/v1/model.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/starknet/abi/v1/parser.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/starknet/abi/v1/parser_transformer.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/starknet/abi/v1/schemas.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/starknet/abi/v1/shape.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/starknet/abi/v2/__init__.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/starknet/abi/v2/model.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/starknet/abi/v2/parser.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/starknet/abi/v2/parser_transformer.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/starknet/abi/v2/schemas.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/starknet/abi/v2/shape.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/starknet/cairo/__init__.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/starknet/cairo/data_types.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/starknet/cairo/deprecated_parse/__init__.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/starknet/cairo/deprecated_parse/cairo_types.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/starknet/cairo/deprecated_parse/parser.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/starknet/cairo/deprecated_parse/parser_transformer.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/starknet/cairo/felt.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/starknet/cairo/type_parser.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/starknet/cairo/v1/__init__.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/starknet/cairo/v1/type_parser.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/starknet/cairo/v2/__init__.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/starknet/cairo/v2/type_parser.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/starknet/ccxt_utils.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/starknet/common.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/starknet/constants.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/starknet/hash/__init__.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/starknet/hash/address.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/starknet/hash/compiled_class_hash_objects.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/starknet/hash/selector.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/starknet/hash/storage.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/starknet/hash/utils.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/starknet/models/__init__.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/starknet/models/typed_data.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/starknet/serialization/__init__.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/starknet/serialization/_calldata_reader.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/starknet/serialization/_context.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/starknet/serialization/data_serializers/__init__.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/starknet/serialization/data_serializers/_common.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/starknet/serialization/data_serializers/array_serializer.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/starknet/serialization/data_serializers/bool_serializer.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/starknet/serialization/data_serializers/byte_array_serializer.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/starknet/serialization/data_serializers/cairo_data_serializer.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/starknet/serialization/data_serializers/enum_serializer.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/starknet/serialization/data_serializers/felt_serializer.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/starknet/serialization/data_serializers/named_tuple_serializer.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/starknet/serialization/data_serializers/option_serializer.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/starknet/serialization/data_serializers/output_serializer.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/starknet/serialization/data_serializers/payload_serializer.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/starknet/serialization/data_serializers/struct_serializer.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/starknet/serialization/data_serializers/tuple_serializer.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/starknet/serialization/data_serializers/uint256_serializer.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/starknet/serialization/data_serializers/uint_serializer.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/starknet/serialization/data_serializers/unit_serializer.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/starknet/serialization/errors.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/starknet/serialization/factory.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/starknet/serialization/function_serialization_adapter.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/starknet/serialization/tuple_dataclass.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/starknet/utils/__init__.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/starknet/utils/constructor_args_translator.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/starknet/utils/iterable.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/starknet/utils/schema.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/starknet/utils/typed_data.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/starkware/__init__.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/starkware/crypto/__init__.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/starkware/crypto/fast_pedersen_hash.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/starkware/crypto/math_utils.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/starkware/crypto/signature.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/starkware/crypto/utils.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/sympy/__init__.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/sympy/core/__init__.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/sympy/core/intfunc.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/sympy/external/__init__.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/sympy/external/gmpy.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/sympy/external/importtools.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/sympy/external/ntheory.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/sympy/external/pythonmpq.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/toolz/__init__.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/toolz/_signatures.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/toolz/_version.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/toolz/compatibility.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/toolz/curried/__init__.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/toolz/curried/exceptions.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/toolz/curried/operator.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/toolz/dicttoolz.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/toolz/functoolz.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/toolz/itertoolz.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/toolz/recipes.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/toolz/utils.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/typing_inspect/__init__.py +0 -0
- {okx_exchange-0.0.79 → okx_exchange-0.0.81}/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.81
|
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
|
@@ -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={})`
|
@@ -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.99'
|
30
30
|
|
31
31
|
# ----------------------------------------------------------------------------
|
32
32
|
|
@@ -59,6 +59,7 @@ from ccxt.base.errors import NoChange # noqa: F4
|
|
59
59
|
from ccxt.base.errors import MarginModeAlreadySet # noqa: F401
|
60
60
|
from ccxt.base.errors import MarketClosed # noqa: F401
|
61
61
|
from ccxt.base.errors import ManualInteractionNeeded # noqa: F401
|
62
|
+
from ccxt.base.errors import RestrictedLocation # noqa: F401
|
62
63
|
from ccxt.base.errors import InsufficientFunds # noqa: F401
|
63
64
|
from ccxt.base.errors import InvalidAddress # noqa: F401
|
64
65
|
from ccxt.base.errors import AddressPending # noqa: F401
|
@@ -8,7 +8,7 @@ sys.modules['ccxt'] = ccxt_module
|
|
8
8
|
|
9
9
|
# -----------------------------------------------------------------------------
|
10
10
|
|
11
|
-
__version__ = '4.4.
|
11
|
+
__version__ = '4.4.99'
|
12
12
|
|
13
13
|
# -----------------------------------------------------------------------------
|
14
14
|
|
@@ -38,6 +38,7 @@ from ccxt.base.errors import NoChange # noqa: F4
|
|
38
38
|
from ccxt.base.errors import MarginModeAlreadySet # noqa: F401
|
39
39
|
from ccxt.base.errors import MarketClosed # noqa: F401
|
40
40
|
from ccxt.base.errors import ManualInteractionNeeded # noqa: F401
|
41
|
+
from ccxt.base.errors import RestrictedLocation # noqa: F401
|
41
42
|
from ccxt.base.errors import InsufficientFunds # noqa: F401
|
42
43
|
from ccxt.base.errors import InvalidAddress # noqa: F401
|
43
44
|
from ccxt.base.errors import AddressPending # noqa: F401
|
@@ -19,6 +19,7 @@ from ccxt.base.errors import BadRequest
|
|
19
19
|
from ccxt.base.errors import BadSymbol
|
20
20
|
from ccxt.base.errors import OperationRejected
|
21
21
|
from ccxt.base.errors import ManualInteractionNeeded
|
22
|
+
from ccxt.base.errors import RestrictedLocation
|
22
23
|
from ccxt.base.errors import InsufficientFunds
|
23
24
|
from ccxt.base.errors import InvalidAddress
|
24
25
|
from ccxt.base.errors import InvalidOrder
|
@@ -762,6 +763,7 @@ class okx(Exchange, ImplicitAPI):
|
|
762
763
|
'51137': InvalidOrder, # Your opening price has triggered the limit price, and the max buy price is {0}
|
763
764
|
'51138': InvalidOrder, # Your opening price has triggered the limit price, and the min sell price is {0}
|
764
765
|
'51139': InvalidOrder, # Reduce-only feature is unavailable for the spot transactions by simple account
|
766
|
+
'51155': RestrictedLocation, # {"code":"1","data":[{"clOrdId":"e847xxx","ordId":"","sCode":"51155","sMsg":"You can't trade self pair or borrow self crypto due to local compliance restrictions. ","tag":"e847xxx","ts":"1753979177157"}],"inTime":"1753979177157408","msg":"All operations failed","outTime":"1753979177157874"}
|
765
767
|
'51156': BadRequest, # You're leading trades in long/short mode and can't use self API endpoint to close positions
|
766
768
|
'51159': BadRequest, # You're leading trades in buy/sell mode. If you want to place orders using self API endpoint, the orders must be in the same direction existing positions and open orders.
|
767
769
|
'51162': InvalidOrder, # You have {instrument} open orders. Cancel these orders and try again
|
@@ -33,25 +33,23 @@ NO_PADDING = 5
|
|
33
33
|
PAD_WITH_ZERO = 6
|
34
34
|
|
35
35
|
|
36
|
-
def decimal_to_precision(n, rounding_mode=ROUND,
|
37
|
-
assert
|
36
|
+
def decimal_to_precision(n, rounding_mode=ROUND, precision=None, counting_mode=DECIMAL_PLACES, padding_mode=NO_PADDING):
|
37
|
+
assert precision is not None, 'precision should not be None'
|
38
38
|
|
39
|
-
if isinstance(
|
40
|
-
|
41
|
-
assert isinstance(
|
39
|
+
if isinstance(precision, str):
|
40
|
+
precision = float(precision)
|
41
|
+
assert isinstance(precision, float) or isinstance(precision, decimal.Decimal) or isinstance(precision, numbers.Integral), 'precision has an invalid number'
|
42
42
|
|
43
43
|
if counting_mode == TICK_SIZE:
|
44
|
-
assert
|
44
|
+
assert precision > 0, 'negative or zero precision can not be used with TICK_SIZE precisionMode'
|
45
45
|
else:
|
46
|
-
assert isinstance(
|
46
|
+
assert isinstance(precision, numbers.Integral)
|
47
47
|
|
48
48
|
assert rounding_mode in [TRUNCATE, ROUND]
|
49
49
|
assert counting_mode in [DECIMAL_PLACES, SIGNIFICANT_DIGITS, TICK_SIZE]
|
50
50
|
assert padding_mode in [NO_PADDING, PAD_WITH_ZERO]
|
51
51
|
# end of checks
|
52
52
|
|
53
|
-
precision = numPrecisionDigits # "precision" variable name was in signature, but to make function signature similar to php/js, I had to change the argument name to "numPrecisionDigits". however, the below codes use "precision" variable name, so we have to assign that name here (you can change the usage of 'precision' variable name below everywhere, but i've refrained to do that to avoid many changes)
|
54
|
-
|
55
53
|
context = decimal.getcontext()
|
56
54
|
|
57
55
|
if counting_mode != TICK_SIZE:
|
@@ -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': {
|
@@ -23,6 +17,7 @@ error_hierarchy = {
|
|
23
17
|
},
|
24
18
|
'MarketClosed': {},
|
25
19
|
'ManualInteractionNeeded': {},
|
20
|
+
'RestrictedLocation': {},
|
26
21
|
},
|
27
22
|
'InsufficientFunds': {},
|
28
23
|
'InvalidAddress': {
|
@@ -118,6 +113,10 @@ class ManualInteractionNeeded(OperationRejected):
|
|
118
113
|
pass
|
119
114
|
|
120
115
|
|
116
|
+
class RestrictedLocation(OperationRejected):
|
117
|
+
pass
|
118
|
+
|
119
|
+
|
121
120
|
class InsufficientFunds(ExchangeError):
|
122
121
|
pass
|
123
122
|
|
@@ -238,6 +237,7 @@ __all__ = [
|
|
238
237
|
'MarginModeAlreadySet',
|
239
238
|
'MarketClosed',
|
240
239
|
'ManualInteractionNeeded',
|
240
|
+
'RestrictedLocation',
|
241
241
|
'InsufficientFunds',
|
242
242
|
'InvalidAddress',
|
243
243
|
'AddressPending',
|
@@ -18,6 +18,7 @@ from ccxt.base.errors import BadRequest
|
|
18
18
|
from ccxt.base.errors import BadSymbol
|
19
19
|
from ccxt.base.errors import OperationRejected
|
20
20
|
from ccxt.base.errors import ManualInteractionNeeded
|
21
|
+
from ccxt.base.errors import RestrictedLocation
|
21
22
|
from ccxt.base.errors import InsufficientFunds
|
22
23
|
from ccxt.base.errors import InvalidAddress
|
23
24
|
from ccxt.base.errors import InvalidOrder
|
@@ -761,6 +762,7 @@ class okx(Exchange, ImplicitAPI):
|
|
761
762
|
'51137': InvalidOrder, # Your opening price has triggered the limit price, and the max buy price is {0}
|
762
763
|
'51138': InvalidOrder, # Your opening price has triggered the limit price, and the min sell price is {0}
|
763
764
|
'51139': InvalidOrder, # Reduce-only feature is unavailable for the spot transactions by simple account
|
765
|
+
'51155': RestrictedLocation, # {"code":"1","data":[{"clOrdId":"e847xxx","ordId":"","sCode":"51155","sMsg":"You can't trade self pair or borrow self crypto due to local compliance restrictions. ","tag":"e847xxx","ts":"1753979177157"}],"inTime":"1753979177157408","msg":"All operations failed","outTime":"1753979177157874"}
|
764
766
|
'51156': BadRequest, # You're leading trades in long/short mode and can't use self API endpoint to close positions
|
765
767
|
'51159': BadRequest, # You're leading trades in buy/sell mode. If you want to place orders using self API endpoint, the orders must be in the same direction existing positions and open orders.
|
766
768
|
'51162': InvalidOrder, # You have {instrument} open orders. Cancel these orders and try again
|
@@ -8,7 +8,7 @@ sys.modules['ccxt'] = ccxt_module
|
|
8
8
|
|
9
9
|
# ----------------------------------------------------------------------------
|
10
10
|
|
11
|
-
__version__ = '4.4.
|
11
|
+
__version__ = '4.4.99'
|
12
12
|
|
13
13
|
# ----------------------------------------------------------------------------
|
14
14
|
|
@@ -31,6 +31,7 @@ from ccxt.base.errors import NoChange # noqa: F4
|
|
31
31
|
from ccxt.base.errors import MarginModeAlreadySet # noqa: F401
|
32
32
|
from ccxt.base.errors import MarketClosed # noqa: F401
|
33
33
|
from ccxt.base.errors import ManualInteractionNeeded # noqa: F401
|
34
|
+
from ccxt.base.errors import RestrictedLocation # noqa: F401
|
34
35
|
from ccxt.base.errors import InsufficientFunds # noqa: F401
|
35
36
|
from ccxt.base.errors import InvalidAddress # noqa: F401
|
36
37
|
from ccxt.base.errors import AddressPending # noqa: F401
|
@@ -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
|
|
@@ -2133,7 +2133,7 @@ class okx(okxAsync):
|
|
2133
2133
|
client.lastPong = self.milliseconds()
|
2134
2134
|
return message
|
2135
2135
|
|
2136
|
-
def handle_error_message(self, client: Client, message):
|
2136
|
+
def handle_error_message(self, client: Client, message) -> Bool:
|
2137
2137
|
#
|
2138
2138
|
# {event: 'error', msg: "Illegal request: {"op":"subscribe","args":["spot/ticker:BTC-USDT"]}", code: "60012"}
|
2139
2139
|
# {event: 'error", msg: "channel:ticker,instId:BTC-USDT doesn"t exist", code: "60018"}
|
@@ -2175,7 +2175,7 @@ class okx(okxAsync):
|
|
2175
2175
|
return False
|
2176
2176
|
client.reject(e)
|
2177
2177
|
return False
|
2178
|
-
return
|
2178
|
+
return True
|
2179
2179
|
|
2180
2180
|
def handle_message(self, client: Client, message):
|
2181
2181
|
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
|
File without changes
|
{okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/async_support/base/ws/order_book.py
RENAMED
File without changes
|
{okx_exchange-0.0.79 → okx_exchange-0.0.81}/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.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/ecdsa/__init__.py
RENAMED
File without changes
|
{okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/ecdsa/_version.py
RENAMED
File without changes
|
{okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/ecdsa/curves.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/ecdsa/ellipticcurve.py
RENAMED
File without changes
|
File without changes
|
{okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/ecdsa/numbertheory.py
RENAMED
File without changes
|
{okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/ecdsa/rfc6979.py
RENAMED
File without changes
|
File without changes
|
{okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/ethereum/__init__.py
RENAMED
File without changes
|
File without changes
|
{okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/ethereum/abi/abi.py
RENAMED
File without changes
|
{okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/ethereum/abi/base.py
RENAMED
File without changes
|
{okx_exchange-0.0.79 → okx_exchange-0.0.81}/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.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/ethereum/abi/grammar.py
RENAMED
File without changes
|
{okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/ethereum/abi/packed.py
RENAMED
File without changes
|
{okx_exchange-0.0.79 → okx_exchange-0.0.81}/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.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/ethereum/typing/abi.py
RENAMED
File without changes
|
{okx_exchange-0.0.79 → okx_exchange-0.0.81}/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
|
{okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/ethereum/typing/evm.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/ethereum/utils/abi.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/ethereum/utils/debug.py
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
|
{okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/ethereum/utils/py.typed
RENAMED
File without changes
|
{okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/ethereum/utils/toolz.py
RENAMED
File without changes
|
{okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/ethereum/utils/types.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/ethereum/utils/units.py
RENAMED
File without changes
|
{okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/keccak/__init__.py
RENAMED
File without changes
|
{okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/keccak/keccak.py
RENAMED
File without changes
|
{okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/lark/__init__.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/lark/ast_utils.py
RENAMED
File without changes
|
File without changes
|
{okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/lark/exceptions.py
RENAMED
File without changes
|
{okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/lark/grammar.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/lark/grammars/lark.lark
RENAMED
File without changes
|
File without changes
|
File without changes
|
{okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/lark/indenter.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/lark/load_grammar.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/lark/parsers/cyk.py
RENAMED
File without changes
|
{okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/lark/parsers/earley.py
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
|
{okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/lark/parsers/xearley.py
RENAMED
File without changes
|
File without changes
|
{okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/lark/reconstruct.py
RENAMED
File without changes
|
{okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/lark/tools/__init__.py
RENAMED
File without changes
|
{okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/lark/tools/nearley.py
RENAMED
File without changes
|
{okx_exchange-0.0.79 → okx_exchange-0.0.81}/src/okx/ccxt/static_dependencies/lark/tools/serialize.py
RENAMED
File without changes
|
File without changes
|