kucoin-api 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.
Files changed (287) hide show
  1. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/PKG-INFO +1 -1
  2. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/pyproject.toml +1 -1
  3. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/async_support/base/exchange.py +4 -1
  4. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/async_support/kucoin.py +2 -1
  5. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/base/decimal_to_precision.py +16 -10
  6. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/base/exchange.py +54 -14
  7. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/kucoin.py +2 -1
  8. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/.gitignore +0 -0
  9. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/README.md +0 -0
  10. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/__init__.py +0 -0
  11. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/__init__.py +0 -0
  12. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/abstract/kucoin.py +0 -0
  13. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/async_support/__init__.py +0 -0
  14. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/async_support/base/__init__.py +0 -0
  15. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/async_support/base/throttler.py +0 -0
  16. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/async_support/base/ws/__init__.py +0 -0
  17. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/async_support/base/ws/cache.py +0 -0
  18. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/async_support/base/ws/client.py +0 -0
  19. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/async_support/base/ws/functions.py +0 -0
  20. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/async_support/base/ws/future.py +0 -0
  21. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/async_support/base/ws/order_book.py +0 -0
  22. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/async_support/base/ws/order_book_side.py +0 -0
  23. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/base/__init__.py +0 -0
  24. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/base/errors.py +0 -0
  25. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/base/precise.py +0 -0
  26. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/base/types.py +0 -0
  27. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/pro/__init__.py +0 -0
  28. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/pro/kucoin.py +0 -0
  29. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/README.md +0 -0
  30. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/__init__.py +0 -0
  31. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/ecdsa/__init__.py +0 -0
  32. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/ecdsa/_version.py +0 -0
  33. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/ecdsa/curves.py +0 -0
  34. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/ecdsa/der.py +0 -0
  35. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/ecdsa/ecdsa.py +0 -0
  36. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/ecdsa/ellipticcurve.py +0 -0
  37. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/ecdsa/keys.py +0 -0
  38. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/ecdsa/numbertheory.py +0 -0
  39. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/ecdsa/rfc6979.py +0 -0
  40. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/ecdsa/util.py +0 -0
  41. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/ethereum/__init__.py +0 -0
  42. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/ethereum/abi/__init__.py +0 -0
  43. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/ethereum/abi/abi.py +0 -0
  44. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/ethereum/abi/base.py +0 -0
  45. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/ethereum/abi/codec.py +0 -0
  46. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/ethereum/abi/constants.py +0 -0
  47. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/ethereum/abi/decoding.py +0 -0
  48. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/ethereum/abi/encoding.py +0 -0
  49. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/ethereum/abi/exceptions.py +0 -0
  50. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/ethereum/abi/grammar.py +0 -0
  51. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/ethereum/abi/packed.py +0 -0
  52. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/ethereum/abi/py.typed +0 -0
  53. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/ethereum/abi/registry.py +0 -0
  54. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/ethereum/abi/tools/__init__.py +0 -0
  55. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/ethereum/abi/tools/_strategies.py +0 -0
  56. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/ethereum/abi/utils/__init__.py +0 -0
  57. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/ethereum/abi/utils/numeric.py +0 -0
  58. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/ethereum/abi/utils/padding.py +0 -0
  59. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/ethereum/abi/utils/string.py +0 -0
  60. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/ethereum/account/__init__.py +0 -0
  61. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/ethereum/account/encode_typed_data/__init__.py +0 -0
  62. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/ethereum/account/encode_typed_data/encoding_and_hashing.py +0 -0
  63. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/ethereum/account/encode_typed_data/helpers.py +0 -0
  64. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/ethereum/account/messages.py +0 -0
  65. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/ethereum/account/py.typed +0 -0
  66. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/ethereum/hexbytes/__init__.py +0 -0
  67. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/ethereum/hexbytes/_utils.py +0 -0
  68. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/ethereum/hexbytes/main.py +0 -0
  69. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/ethereum/hexbytes/py.typed +0 -0
  70. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/ethereum/typing/__init__.py +0 -0
  71. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/ethereum/typing/abi.py +0 -0
  72. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/ethereum/typing/bls.py +0 -0
  73. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/ethereum/typing/discovery.py +0 -0
  74. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/ethereum/typing/encoding.py +0 -0
  75. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/ethereum/typing/enums.py +0 -0
  76. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/ethereum/typing/ethpm.py +0 -0
  77. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/ethereum/typing/evm.py +0 -0
  78. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/ethereum/typing/networks.py +0 -0
  79. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/ethereum/typing/py.typed +0 -0
  80. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/ethereum/utils/__init__.py +0 -0
  81. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/ethereum/utils/abi.py +0 -0
  82. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/ethereum/utils/address.py +0 -0
  83. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/ethereum/utils/applicators.py +0 -0
  84. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/ethereum/utils/conversions.py +0 -0
  85. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/ethereum/utils/currency.py +0 -0
  86. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/ethereum/utils/curried/__init__.py +0 -0
  87. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/ethereum/utils/debug.py +0 -0
  88. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/ethereum/utils/decorators.py +0 -0
  89. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/ethereum/utils/encoding.py +0 -0
  90. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/ethereum/utils/exceptions.py +0 -0
  91. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/ethereum/utils/functional.py +0 -0
  92. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/ethereum/utils/hexadecimal.py +0 -0
  93. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/ethereum/utils/humanize.py +0 -0
  94. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/ethereum/utils/logging.py +0 -0
  95. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/ethereum/utils/module_loading.py +0 -0
  96. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/ethereum/utils/numeric.py +0 -0
  97. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/ethereum/utils/py.typed +0 -0
  98. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/ethereum/utils/toolz.py +0 -0
  99. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/ethereum/utils/types.py +0 -0
  100. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/ethereum/utils/typing/__init__.py +0 -0
  101. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/ethereum/utils/typing/misc.py +0 -0
  102. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/ethereum/utils/units.py +0 -0
  103. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/keccak/__init__.py +0 -0
  104. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/keccak/keccak.py +0 -0
  105. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/lark/__init__.py +0 -0
  106. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/lark/__pyinstaller/__init__.py +0 -0
  107. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/lark/__pyinstaller/hook-lark.py +0 -0
  108. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/lark/ast_utils.py +0 -0
  109. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/lark/common.py +0 -0
  110. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/lark/exceptions.py +0 -0
  111. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/lark/grammar.py +0 -0
  112. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/lark/grammars/__init__.py +0 -0
  113. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/lark/grammars/common.lark +0 -0
  114. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/lark/grammars/lark.lark +0 -0
  115. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/lark/grammars/python.lark +0 -0
  116. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/lark/grammars/unicode.lark +0 -0
  117. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/lark/indenter.py +0 -0
  118. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/lark/lark.py +0 -0
  119. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/lark/lexer.py +0 -0
  120. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/lark/load_grammar.py +0 -0
  121. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/lark/parse_tree_builder.py +0 -0
  122. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/lark/parser_frontends.py +0 -0
  123. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/lark/parsers/__init__.py +0 -0
  124. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/lark/parsers/cyk.py +0 -0
  125. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/lark/parsers/earley.py +0 -0
  126. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/lark/parsers/earley_common.py +0 -0
  127. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/lark/parsers/earley_forest.py +0 -0
  128. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/lark/parsers/grammar_analysis.py +0 -0
  129. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/lark/parsers/lalr_analysis.py +0 -0
  130. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/lark/parsers/lalr_interactive_parser.py +0 -0
  131. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/lark/parsers/lalr_parser.py +0 -0
  132. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/lark/parsers/lalr_parser_state.py +0 -0
  133. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/lark/parsers/xearley.py +0 -0
  134. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/lark/py.typed +0 -0
  135. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/lark/reconstruct.py +0 -0
  136. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/lark/tools/__init__.py +0 -0
  137. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/lark/tools/nearley.py +0 -0
  138. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/lark/tools/serialize.py +0 -0
  139. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/lark/tools/standalone.py +0 -0
  140. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/lark/tree.py +0 -0
  141. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/lark/tree_matcher.py +0 -0
  142. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/lark/tree_templates.py +0 -0
  143. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/lark/utils.py +0 -0
  144. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/lark/visitors.py +0 -0
  145. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/marshmallow/__init__.py +0 -0
  146. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/marshmallow/base.py +0 -0
  147. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/marshmallow/class_registry.py +0 -0
  148. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/marshmallow/decorators.py +0 -0
  149. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/marshmallow/error_store.py +0 -0
  150. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/marshmallow/exceptions.py +0 -0
  151. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/marshmallow/fields.py +0 -0
  152. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/marshmallow/orderedset.py +0 -0
  153. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/marshmallow/py.typed +0 -0
  154. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/marshmallow/schema.py +0 -0
  155. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/marshmallow/types.py +0 -0
  156. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/marshmallow/utils.py +0 -0
  157. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/marshmallow/validate.py +0 -0
  158. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/marshmallow/warnings.py +0 -0
  159. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/marshmallow_dataclass/__init__.py +0 -0
  160. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/marshmallow_dataclass/collection_field.py +0 -0
  161. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/marshmallow_dataclass/lazy_class_attribute.py +0 -0
  162. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/marshmallow_dataclass/mypy.py +0 -0
  163. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/marshmallow_dataclass/py.typed +0 -0
  164. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/marshmallow_dataclass/typing.py +0 -0
  165. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/marshmallow_dataclass/union_field.py +0 -0
  166. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/marshmallow_oneofschema/__init__.py +0 -0
  167. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/marshmallow_oneofschema/one_of_schema.py +0 -0
  168. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/marshmallow_oneofschema/py.typed +0 -0
  169. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/msgpack/__init__.py +0 -0
  170. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/msgpack/_cmsgpack.pyx +0 -0
  171. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/msgpack/_packer.pyx +0 -0
  172. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/msgpack/_unpacker.pyx +0 -0
  173. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/msgpack/buff_converter.h +0 -0
  174. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/msgpack/exceptions.py +0 -0
  175. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/msgpack/ext.py +0 -0
  176. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/msgpack/fallback.py +0 -0
  177. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/msgpack/pack.h +0 -0
  178. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/msgpack/pack_template.h +0 -0
  179. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/msgpack/sysdep.h +0 -0
  180. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/msgpack/unpack.h +0 -0
  181. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/msgpack/unpack_define.h +0 -0
  182. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/msgpack/unpack_template.h +0 -0
  183. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/parsimonious/__init__.py +0 -0
  184. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/parsimonious/exceptions.py +0 -0
  185. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/parsimonious/expressions.py +0 -0
  186. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/parsimonious/grammar.py +0 -0
  187. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/parsimonious/nodes.py +0 -0
  188. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/parsimonious/utils.py +0 -0
  189. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/starknet/__init__.py +0 -0
  190. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/starknet/abi/v0/__init__.py +0 -0
  191. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/starknet/abi/v0/model.py +0 -0
  192. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/starknet/abi/v0/parser.py +0 -0
  193. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/starknet/abi/v0/schemas.py +0 -0
  194. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/starknet/abi/v0/shape.py +0 -0
  195. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/starknet/abi/v1/__init__.py +0 -0
  196. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/starknet/abi/v1/core_structures.json +0 -0
  197. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/starknet/abi/v1/model.py +0 -0
  198. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/starknet/abi/v1/parser.py +0 -0
  199. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/starknet/abi/v1/parser_transformer.py +0 -0
  200. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/starknet/abi/v1/schemas.py +0 -0
  201. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/starknet/abi/v1/shape.py +0 -0
  202. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/starknet/abi/v2/__init__.py +0 -0
  203. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/starknet/abi/v2/model.py +0 -0
  204. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/starknet/abi/v2/parser.py +0 -0
  205. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/starknet/abi/v2/parser_transformer.py +0 -0
  206. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/starknet/abi/v2/schemas.py +0 -0
  207. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/starknet/abi/v2/shape.py +0 -0
  208. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/starknet/cairo/__init__.py +0 -0
  209. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/starknet/cairo/data_types.py +0 -0
  210. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/starknet/cairo/deprecated_parse/__init__.py +0 -0
  211. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/starknet/cairo/deprecated_parse/cairo_types.py +0 -0
  212. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/starknet/cairo/deprecated_parse/parser.py +0 -0
  213. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/starknet/cairo/deprecated_parse/parser_transformer.py +0 -0
  214. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/starknet/cairo/felt.py +0 -0
  215. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/starknet/cairo/type_parser.py +0 -0
  216. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/starknet/cairo/v1/__init__.py +0 -0
  217. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/starknet/cairo/v1/type_parser.py +0 -0
  218. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/starknet/cairo/v2/__init__.py +0 -0
  219. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/starknet/cairo/v2/type_parser.py +0 -0
  220. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/starknet/ccxt_utils.py +0 -0
  221. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/starknet/common.py +0 -0
  222. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/starknet/constants.py +0 -0
  223. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/starknet/hash/__init__.py +0 -0
  224. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/starknet/hash/address.py +0 -0
  225. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/starknet/hash/compiled_class_hash_objects.py +0 -0
  226. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/starknet/hash/selector.py +0 -0
  227. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/starknet/hash/storage.py +0 -0
  228. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/starknet/hash/utils.py +0 -0
  229. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/starknet/models/__init__.py +0 -0
  230. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/starknet/models/typed_data.py +0 -0
  231. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/starknet/serialization/__init__.py +0 -0
  232. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/starknet/serialization/_calldata_reader.py +0 -0
  233. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/starknet/serialization/_context.py +0 -0
  234. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/starknet/serialization/data_serializers/__init__.py +0 -0
  235. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/starknet/serialization/data_serializers/_common.py +0 -0
  236. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/starknet/serialization/data_serializers/array_serializer.py +0 -0
  237. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/starknet/serialization/data_serializers/bool_serializer.py +0 -0
  238. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/starknet/serialization/data_serializers/byte_array_serializer.py +0 -0
  239. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/starknet/serialization/data_serializers/cairo_data_serializer.py +0 -0
  240. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/starknet/serialization/data_serializers/enum_serializer.py +0 -0
  241. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/starknet/serialization/data_serializers/felt_serializer.py +0 -0
  242. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/starknet/serialization/data_serializers/named_tuple_serializer.py +0 -0
  243. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/starknet/serialization/data_serializers/option_serializer.py +0 -0
  244. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/starknet/serialization/data_serializers/output_serializer.py +0 -0
  245. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/starknet/serialization/data_serializers/payload_serializer.py +0 -0
  246. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/starknet/serialization/data_serializers/struct_serializer.py +0 -0
  247. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/starknet/serialization/data_serializers/tuple_serializer.py +0 -0
  248. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/starknet/serialization/data_serializers/uint256_serializer.py +0 -0
  249. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/starknet/serialization/data_serializers/uint_serializer.py +0 -0
  250. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/starknet/serialization/data_serializers/unit_serializer.py +0 -0
  251. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/starknet/serialization/errors.py +0 -0
  252. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/starknet/serialization/factory.py +0 -0
  253. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/starknet/serialization/function_serialization_adapter.py +0 -0
  254. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/starknet/serialization/tuple_dataclass.py +0 -0
  255. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/starknet/utils/__init__.py +0 -0
  256. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/starknet/utils/constructor_args_translator.py +0 -0
  257. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/starknet/utils/iterable.py +0 -0
  258. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/starknet/utils/schema.py +0 -0
  259. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/starknet/utils/typed_data.py +0 -0
  260. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/starkware/__init__.py +0 -0
  261. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/starkware/crypto/__init__.py +0 -0
  262. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/starkware/crypto/fast_pedersen_hash.py +0 -0
  263. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/starkware/crypto/math_utils.py +0 -0
  264. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/starkware/crypto/signature.py +0 -0
  265. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/starkware/crypto/utils.py +0 -0
  266. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/sympy/__init__.py +0 -0
  267. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/sympy/core/__init__.py +0 -0
  268. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/sympy/core/intfunc.py +0 -0
  269. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/sympy/external/__init__.py +0 -0
  270. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/sympy/external/gmpy.py +0 -0
  271. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/sympy/external/importtools.py +0 -0
  272. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/sympy/external/ntheory.py +0 -0
  273. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/sympy/external/pythonmpq.py +0 -0
  274. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/toolz/__init__.py +0 -0
  275. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/toolz/_signatures.py +0 -0
  276. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/toolz/_version.py +0 -0
  277. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/toolz/compatibility.py +0 -0
  278. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/toolz/curried/__init__.py +0 -0
  279. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/toolz/curried/exceptions.py +0 -0
  280. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/toolz/curried/operator.py +0 -0
  281. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/toolz/dicttoolz.py +0 -0
  282. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/toolz/functoolz.py +0 -0
  283. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/toolz/itertoolz.py +0 -0
  284. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/toolz/recipes.py +0 -0
  285. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/toolz/utils.py +0 -0
  286. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/typing_inspect/__init__.py +0 -0
  287. {kucoin_api-0.0.79 → kucoin_api-0.0.81}/src/kucoin/ccxt/static_dependencies/typing_inspect/typing_inspect.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: kucoin-api
3
- Version: 0.0.79
3
+ Version: 0.0.81
4
4
  Summary: kucoin crypto exchange api client
5
5
  Project-URL: Homepage, https://github.com/ccxt/ccxt
6
6
  Project-URL: Issues, https://github.com/ccxt/ccxt
@@ -11,7 +11,7 @@ only-include = ["src/kucoin"]
11
11
 
12
12
  [project]
13
13
  name = "kucoin-api"
14
- version = "0.0.79"
14
+ version = "0.0.81"
15
15
  authors = [
16
16
  { name="CCXT", email="info@ccxt.trade" },
17
17
  ]
@@ -670,6 +670,9 @@ class Exchange(BaseExchange):
670
670
  async def un_watch_order_book_for_symbols(self, symbols: List[str], params={}):
671
671
  raise NotSupported(self.id + ' unWatchOrderBookForSymbols() is not supported yet')
672
672
 
673
+ async def un_watch_positions(self, symbols: Strings = None, params={}):
674
+ raise NotSupported(self.id + ' unWatchPositions() is not supported yet')
675
+
673
676
  async def fetch_deposit_addresses(self, codes: Strings = None, params={}):
674
677
  raise NotSupported(self.id + ' fetchDepositAddresses() is not supported yet')
675
678
 
@@ -1894,7 +1897,7 @@ class Exchange(BaseExchange):
1894
1897
  calls = 0
1895
1898
  result = []
1896
1899
  errors = 0
1897
- until = self.safe_integer_2(params, 'untill', 'till') # do not omit it from params here
1900
+ until = self.safe_integer_n(params, ['until', 'untill', 'till']) # do not omit it from params here
1898
1901
  maxEntriesPerRequest, params = self.handle_max_entries_per_request_and_params(method, maxEntriesPerRequest, params)
1899
1902
  if (paginationDirection == 'forward'):
1900
1903
  if since is None:
@@ -812,7 +812,7 @@ class kucoin(Exchange, ImplicitAPI):
812
812
  'TLOS': 'tlos', # tlosevm is different
813
813
  'CFX': 'cfx',
814
814
  'ACA': 'aca',
815
- 'OP': 'optimism',
815
+ 'OPTIMISM': 'optimism',
816
816
  'ONT': 'ont',
817
817
  'GLMR': 'glmr',
818
818
  'CSPR': 'cspr',
@@ -932,6 +932,7 @@ class kucoin(Exchange, ImplicitAPI):
932
932
  'CS': 'cs',
933
933
  'ORAI': 'orai',
934
934
  'BASE': 'base',
935
+ 'TARA': 'tara',
935
936
  # below will be uncommented after consensus
936
937
  # 'BITCOINDIAMON': 'bcd',
937
938
  # 'BITCOINGOLD': 'btg',
@@ -33,18 +33,24 @@ NO_PADDING = 5
33
33
  PAD_WITH_ZERO = 6
34
34
 
35
35
 
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
36
+ def decimal_to_precision(n, rounding_mode=ROUND, numPrecisionDigits=None, counting_mode=DECIMAL_PLACES, padding_mode=NO_PADDING):
37
+ assert numPrecisionDigits is not None, 'numPrecisionDigits should not be None'
38
+
39
+ if isinstance(numPrecisionDigits, str):
40
+ numPrecisionDigits = float(numPrecisionDigits)
41
+ assert isinstance(numPrecisionDigits, float) or isinstance(numPrecisionDigits, decimal.Decimal) or isinstance(numPrecisionDigits, numbers.Integral), 'numPrecisionDigits has an invalid number'
42
+
38
43
  if counting_mode == TICK_SIZE:
39
- assert(isinstance(precision, float) or isinstance(precision, decimal.Decimal) or isinstance(precision, numbers.Integral) or isinstance(precision, str))
44
+ assert numPrecisionDigits > 0, 'negative or zero numPrecisionDigits can not be used with TICK_SIZE precisionMode'
40
45
  else:
41
- assert(isinstance(precision, numbers.Integral))
46
+ assert isinstance(numPrecisionDigits, numbers.Integral)
47
+
42
48
  assert rounding_mode in [TRUNCATE, ROUND]
43
49
  assert counting_mode in [DECIMAL_PLACES, SIGNIFICANT_DIGITS, TICK_SIZE]
44
50
  assert padding_mode in [NO_PADDING, PAD_WITH_ZERO]
51
+ # end of checks
45
52
 
46
- if isinstance(precision, str):
47
- precision = float(precision)
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)
48
54
 
49
55
  context = decimal.getcontext()
50
56
 
@@ -78,12 +84,12 @@ def decimal_to_precision(n, rounding_mode=ROUND, precision=None, counting_mode=D
78
84
  if missing != 0:
79
85
  if rounding_mode == ROUND:
80
86
  if dec > 0:
81
- if missing >= precision / 2:
87
+ if missing >= precision_dec / 2:
82
88
  dec = dec - missing + precision_dec
83
89
  else:
84
90
  dec = dec - missing
85
91
  else:
86
- if missing >= precision / 2:
92
+ if missing >= precision_dec / 2:
87
93
  dec = dec + missing - precision_dec
88
94
  else:
89
95
  dec = dec + missing
@@ -117,7 +123,7 @@ def decimal_to_precision(n, rounding_mode=ROUND, precision=None, counting_mode=D
117
123
  precise = '{:f}'.format(min((below, above), key=lambda x: abs(x - dec)))
118
124
  else:
119
125
  precise = '{:f}'.format(dec.quantize(sigfig))
120
- if precise == ('-0.' + len(precise) * '0')[:2] or precise == '-0':
126
+ if precise.startswith('-0') and all(c in '0.' for c in precise[1:]):
121
127
  precise = precise[1:]
122
128
 
123
129
  elif rounding_mode == TRUNCATE:
@@ -138,7 +144,7 @@ def decimal_to_precision(n, rounding_mode=ROUND, precision=None, counting_mode=D
138
144
  precise = string
139
145
  else:
140
146
  precise = string[:end].ljust(dot, '0')
141
- if precise == ('-0.' + len(precise) * '0')[:3] or precise == '-0':
147
+ if precise.startswith('-0') and all(c in '0.' for c in precise[1:]):
142
148
  precise = precise[1:]
143
149
  precise = precise.rstrip('.')
144
150
 
@@ -2133,6 +2133,17 @@ class Exchange(object):
2133
2133
  'watchLiquidations': None,
2134
2134
  'watchLiquidationsForSymbols': None,
2135
2135
  'watchMyLiquidations': None,
2136
+ 'unWatchOrders': None,
2137
+ 'unWatchTrades': None,
2138
+ 'unWatchTradesForSymbols': None,
2139
+ 'unWatchOHLCVForSymbols': None,
2140
+ 'unWatchOrderBookForSymbols': None,
2141
+ 'unWatchPositions': None,
2142
+ 'unWatchOrderBook': None,
2143
+ 'unWatchTickers': None,
2144
+ 'unWatchMyTrades': None,
2145
+ 'unWatchTicker': None,
2146
+ 'unWatchOHLCV': None,
2136
2147
  'watchMyLiquidationsForSymbols': None,
2137
2148
  'withdraw': None,
2138
2149
  'ws': None,
@@ -2619,6 +2630,9 @@ class Exchange(object):
2619
2630
  def un_watch_order_book_for_symbols(self, symbols: List[str], params={}):
2620
2631
  raise NotSupported(self.id + ' unWatchOrderBookForSymbols() is not supported yet')
2621
2632
 
2633
+ def un_watch_positions(self, symbols: Strings = None, params={}):
2634
+ raise NotSupported(self.id + ' unWatchPositions() is not supported yet')
2635
+
2622
2636
  def fetch_deposit_addresses(self, codes: Strings = None, params={}):
2623
2637
  raise NotSupported(self.id + ' fetchDepositAddresses() is not supported yet')
2624
2638
 
@@ -3587,18 +3601,7 @@ class Exchange(object):
3587
3601
  symbol = market['symbol'] if (market is not None) else None
3588
3602
  return self.filter_by_symbol_since_limit(results, symbol, since, limit)
3589
3603
 
3590
- def calculate_fee(self, symbol: str, type: str, side: str, amount: float, price: float, takerOrMaker='taker', params={}):
3591
- """
3592
- calculates the presumptive fee that would be charged for an order
3593
- :param str symbol: unified market symbol
3594
- :param str type: 'market' or 'limit'
3595
- :param str side: 'buy' or 'sell'
3596
- :param float amount: how much you want to trade, in units of the base currency on most exchanges, or number of contracts
3597
- :param float price: the price for the order to be filled at, in units of the quote currency
3598
- :param str takerOrMaker: 'taker' or 'maker'
3599
- :param dict params:
3600
- :returns dict: contains the rate, the percentage multiplied to the order amount to obtain the fee amount, and cost, the total value of the fee in units of the quote currency, for the order
3601
- """
3604
+ def calculate_fee_with_rate(self, symbol: str, type: str, side: str, amount: float, price: float, takerOrMaker='taker', feeRate: Num = None, params={}):
3602
3605
  if type == 'market' and takerOrMaker == 'maker':
3603
3606
  raise ArgumentsRequired(self.id + ' calculateFee() - you have provided incompatible arguments - "market" type order can not be "maker". Change either the "type" or the "takerOrMaker" argument to calculate the fee.')
3604
3607
  market = self.markets[symbol]
@@ -3627,7 +3630,7 @@ class Exchange(object):
3627
3630
  # even if `takerOrMaker` argument was set to 'maker', for 'market' orders we should forcefully override it to 'taker'
3628
3631
  if type == 'market':
3629
3632
  takerOrMaker = 'taker'
3630
- rate = self.safe_string(market, takerOrMaker)
3633
+ rate = self.number_to_string(feeRate) if (feeRate is not None) else self.safe_string(market, takerOrMaker)
3631
3634
  cost = Precise.string_mul(cost, rate)
3632
3635
  return {
3633
3636
  'type': takerOrMaker,
@@ -3636,6 +3639,20 @@ class Exchange(object):
3636
3639
  'cost': self.parse_number(cost),
3637
3640
  }
3638
3641
 
3642
+ def calculate_fee(self, symbol: str, type: str, side: str, amount: float, price: float, takerOrMaker='taker', params={}):
3643
+ """
3644
+ calculates the presumptive fee that would be charged for an order
3645
+ :param str symbol: unified market symbol
3646
+ :param str type: 'market' or 'limit'
3647
+ :param str side: 'buy' or 'sell'
3648
+ :param float amount: how much you want to trade, in units of the base currency on most exchanges, or number of contracts
3649
+ :param float price: the price for the order to be filled at, in units of the quote currency
3650
+ :param str takerOrMaker: 'taker' or 'maker'
3651
+ :param dict params:
3652
+ :returns dict: contains the rate, the percentage multiplied to the order amount to obtain the fee amount, and cost, the total value of the fee in units of the quote currency, for the order
3653
+ """
3654
+ return self.calculate_fee_with_rate(symbol, type, side, amount, price, takerOrMaker, None, params)
3655
+
3639
3656
  def safe_liquidation(self, liquidation: dict, market: Market = None):
3640
3657
  contracts = self.safe_string(liquidation, 'contracts')
3641
3658
  contractSize = self.safe_string(market, 'contractSize')
@@ -3675,6 +3692,21 @@ class Exchange(object):
3675
3692
  trade['cost'] = self.parse_number(cost)
3676
3693
  return trade
3677
3694
 
3695
+ def create_ccxt_trade_id(self, timestamp=None, side=None, amount=None, price=None, takerOrMaker=None):
3696
+ # self approach is being used by multiple exchanges(mexc, woo, coinsbit, dydx, ...)
3697
+ id = None
3698
+ if timestamp is not None:
3699
+ id = self.number_to_string(timestamp)
3700
+ if side is not None:
3701
+ id += '-' + side
3702
+ if amount is not None:
3703
+ id += '-' + self.number_to_string(amount)
3704
+ if price is not None:
3705
+ id += '-' + self.number_to_string(price)
3706
+ if takerOrMaker is not None:
3707
+ id += '-' + takerOrMaker
3708
+ return id
3709
+
3678
3710
  def parsed_fee_and_fees(self, container: Any):
3679
3711
  fee = self.safe_dict(container, 'fee')
3680
3712
  fees = self.safe_list(container, 'fees')
@@ -6429,7 +6461,7 @@ class Exchange(object):
6429
6461
  calls = 0
6430
6462
  result = []
6431
6463
  errors = 0
6432
- until = self.safe_integer_2(params, 'untill', 'till') # do not omit it from params here
6464
+ until = self.safe_integer_n(params, ['until', 'untill', 'till']) # do not omit it from params here
6433
6465
  maxEntriesPerRequest, params = self.handle_max_entries_per_request_and_params(method, maxEntriesPerRequest, params)
6434
6466
  if (paginationDirection == 'forward'):
6435
6467
  if since is None:
@@ -6991,6 +7023,14 @@ class Exchange(object):
6991
7023
  self.myTrades = None
6992
7024
  elif topic == 'orders' and (self.orders is not None):
6993
7025
  self.orders = None
7026
+ elif topic == 'positions' and (self.positions is not None):
7027
+ self.positions = None
7028
+ clients = list(self.clients.values())
7029
+ for i in range(0, len(clients)):
7030
+ client = clients[i]
7031
+ futures = self.safe_dict(client, 'futures')
7032
+ if (futures is not None) and ('fetchPositionsSnapshot' in futures):
7033
+ del futures['fetchPositionsSnapshot']
6994
7034
  elif topic == 'ticker' and (self.tickers is not None):
6995
7035
  tickerSymbols = list(self.tickers.keys())
6996
7036
  for i in range(0, len(tickerSymbols)):
@@ -811,7 +811,7 @@ class kucoin(Exchange, ImplicitAPI):
811
811
  'TLOS': 'tlos', # tlosevm is different
812
812
  'CFX': 'cfx',
813
813
  'ACA': 'aca',
814
- 'OP': 'optimism',
814
+ 'OPTIMISM': 'optimism',
815
815
  'ONT': 'ont',
816
816
  'GLMR': 'glmr',
817
817
  'CSPR': 'cspr',
@@ -931,6 +931,7 @@ class kucoin(Exchange, ImplicitAPI):
931
931
  'CS': 'cs',
932
932
  'ORAI': 'orai',
933
933
  'BASE': 'base',
934
+ 'TARA': 'tara',
934
935
  # below will be uncommented after consensus
935
936
  # 'BITCOINDIAMON': 'bcd',
936
937
  # 'BITCOINGOLD': 'btg',
File without changes
File without changes