gate-io-api 0.0.89__tar.gz → 0.0.91__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of gate-io-api might be problematic. Click here for more details.

Files changed (287) hide show
  1. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/PKG-INFO +1 -1
  2. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/pyproject.toml +1 -1
  3. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/__init__.py +1 -1
  4. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/async_support/__init__.py +1 -1
  5. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/async_support/base/exchange.py +1 -1
  6. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/async_support/gate.py +9 -13
  7. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/base/errors.py +0 -6
  8. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/base/exchange.py +95 -4
  9. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/gate.py +9 -13
  10. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/pro/__init__.py +1 -1
  11. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/.gitignore +0 -0
  12. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/README.md +0 -0
  13. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/__init__.py +0 -0
  14. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/abstract/gate.py +0 -0
  15. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/async_support/base/__init__.py +0 -0
  16. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/async_support/base/throttler.py +0 -0
  17. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/async_support/base/ws/__init__.py +0 -0
  18. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/async_support/base/ws/cache.py +0 -0
  19. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/async_support/base/ws/client.py +0 -0
  20. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/async_support/base/ws/functions.py +0 -0
  21. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/async_support/base/ws/future.py +0 -0
  22. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/async_support/base/ws/order_book.py +0 -0
  23. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/async_support/base/ws/order_book_side.py +0 -0
  24. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/base/__init__.py +0 -0
  25. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/base/decimal_to_precision.py +0 -0
  26. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/base/precise.py +0 -0
  27. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/base/types.py +0 -0
  28. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/pro/gate.py +0 -0
  29. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/README.md +0 -0
  30. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/__init__.py +0 -0
  31. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/ecdsa/__init__.py +0 -0
  32. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/ecdsa/_version.py +0 -0
  33. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/ecdsa/curves.py +0 -0
  34. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/ecdsa/der.py +0 -0
  35. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/ecdsa/ecdsa.py +0 -0
  36. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/ecdsa/ellipticcurve.py +0 -0
  37. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/ecdsa/keys.py +0 -0
  38. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/ecdsa/numbertheory.py +0 -0
  39. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/ecdsa/rfc6979.py +0 -0
  40. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/ecdsa/util.py +0 -0
  41. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/ethereum/__init__.py +0 -0
  42. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/ethereum/abi/__init__.py +0 -0
  43. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/ethereum/abi/abi.py +0 -0
  44. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/ethereum/abi/base.py +0 -0
  45. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/ethereum/abi/codec.py +0 -0
  46. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/ethereum/abi/constants.py +0 -0
  47. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/ethereum/abi/decoding.py +0 -0
  48. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/ethereum/abi/encoding.py +0 -0
  49. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/ethereum/abi/exceptions.py +0 -0
  50. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/ethereum/abi/grammar.py +0 -0
  51. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/ethereum/abi/packed.py +0 -0
  52. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/ethereum/abi/py.typed +0 -0
  53. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/ethereum/abi/registry.py +0 -0
  54. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/ethereum/abi/tools/__init__.py +0 -0
  55. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/ethereum/abi/tools/_strategies.py +0 -0
  56. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/ethereum/abi/utils/__init__.py +0 -0
  57. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/ethereum/abi/utils/numeric.py +0 -0
  58. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/ethereum/abi/utils/padding.py +0 -0
  59. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/ethereum/abi/utils/string.py +0 -0
  60. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/ethereum/account/__init__.py +0 -0
  61. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/ethereum/account/encode_typed_data/__init__.py +0 -0
  62. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/ethereum/account/encode_typed_data/encoding_and_hashing.py +0 -0
  63. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/ethereum/account/encode_typed_data/helpers.py +0 -0
  64. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/ethereum/account/messages.py +0 -0
  65. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/ethereum/account/py.typed +0 -0
  66. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/ethereum/hexbytes/__init__.py +0 -0
  67. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/ethereum/hexbytes/_utils.py +0 -0
  68. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/ethereum/hexbytes/main.py +0 -0
  69. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/ethereum/hexbytes/py.typed +0 -0
  70. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/ethereum/typing/__init__.py +0 -0
  71. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/ethereum/typing/abi.py +0 -0
  72. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/ethereum/typing/bls.py +0 -0
  73. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/ethereum/typing/discovery.py +0 -0
  74. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/ethereum/typing/encoding.py +0 -0
  75. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/ethereum/typing/enums.py +0 -0
  76. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/ethereum/typing/ethpm.py +0 -0
  77. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/ethereum/typing/evm.py +0 -0
  78. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/ethereum/typing/networks.py +0 -0
  79. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/ethereum/typing/py.typed +0 -0
  80. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/ethereum/utils/__init__.py +0 -0
  81. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/ethereum/utils/abi.py +0 -0
  82. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/ethereum/utils/address.py +0 -0
  83. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/ethereum/utils/applicators.py +0 -0
  84. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/ethereum/utils/conversions.py +0 -0
  85. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/ethereum/utils/currency.py +0 -0
  86. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/ethereum/utils/curried/__init__.py +0 -0
  87. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/ethereum/utils/debug.py +0 -0
  88. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/ethereum/utils/decorators.py +0 -0
  89. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/ethereum/utils/encoding.py +0 -0
  90. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/ethereum/utils/exceptions.py +0 -0
  91. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/ethereum/utils/functional.py +0 -0
  92. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/ethereum/utils/hexadecimal.py +0 -0
  93. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/ethereum/utils/humanize.py +0 -0
  94. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/ethereum/utils/logging.py +0 -0
  95. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/ethereum/utils/module_loading.py +0 -0
  96. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/ethereum/utils/numeric.py +0 -0
  97. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/ethereum/utils/py.typed +0 -0
  98. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/ethereum/utils/toolz.py +0 -0
  99. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/ethereum/utils/types.py +0 -0
  100. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/ethereum/utils/typing/__init__.py +0 -0
  101. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/ethereum/utils/typing/misc.py +0 -0
  102. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/ethereum/utils/units.py +0 -0
  103. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/keccak/__init__.py +0 -0
  104. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/keccak/keccak.py +0 -0
  105. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/lark/__init__.py +0 -0
  106. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/lark/__pyinstaller/__init__.py +0 -0
  107. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/lark/__pyinstaller/hook-lark.py +0 -0
  108. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/lark/ast_utils.py +0 -0
  109. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/lark/common.py +0 -0
  110. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/lark/exceptions.py +0 -0
  111. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/lark/grammar.py +0 -0
  112. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/lark/grammars/__init__.py +0 -0
  113. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/lark/grammars/common.lark +0 -0
  114. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/lark/grammars/lark.lark +0 -0
  115. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/lark/grammars/python.lark +0 -0
  116. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/lark/grammars/unicode.lark +0 -0
  117. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/lark/indenter.py +0 -0
  118. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/lark/lark.py +0 -0
  119. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/lark/lexer.py +0 -0
  120. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/lark/load_grammar.py +0 -0
  121. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/lark/parse_tree_builder.py +0 -0
  122. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/lark/parser_frontends.py +0 -0
  123. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/lark/parsers/__init__.py +0 -0
  124. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/lark/parsers/cyk.py +0 -0
  125. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/lark/parsers/earley.py +0 -0
  126. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/lark/parsers/earley_common.py +0 -0
  127. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/lark/parsers/earley_forest.py +0 -0
  128. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/lark/parsers/grammar_analysis.py +0 -0
  129. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/lark/parsers/lalr_analysis.py +0 -0
  130. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/lark/parsers/lalr_interactive_parser.py +0 -0
  131. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/lark/parsers/lalr_parser.py +0 -0
  132. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/lark/parsers/lalr_parser_state.py +0 -0
  133. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/lark/parsers/xearley.py +0 -0
  134. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/lark/py.typed +0 -0
  135. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/lark/reconstruct.py +0 -0
  136. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/lark/tools/__init__.py +0 -0
  137. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/lark/tools/nearley.py +0 -0
  138. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/lark/tools/serialize.py +0 -0
  139. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/lark/tools/standalone.py +0 -0
  140. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/lark/tree.py +0 -0
  141. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/lark/tree_matcher.py +0 -0
  142. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/lark/tree_templates.py +0 -0
  143. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/lark/utils.py +0 -0
  144. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/lark/visitors.py +0 -0
  145. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/marshmallow/__init__.py +0 -0
  146. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/marshmallow/base.py +0 -0
  147. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/marshmallow/class_registry.py +0 -0
  148. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/marshmallow/decorators.py +0 -0
  149. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/marshmallow/error_store.py +0 -0
  150. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/marshmallow/exceptions.py +0 -0
  151. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/marshmallow/fields.py +0 -0
  152. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/marshmallow/orderedset.py +0 -0
  153. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/marshmallow/py.typed +0 -0
  154. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/marshmallow/schema.py +0 -0
  155. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/marshmallow/types.py +0 -0
  156. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/marshmallow/utils.py +0 -0
  157. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/marshmallow/validate.py +0 -0
  158. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/marshmallow/warnings.py +0 -0
  159. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/marshmallow_dataclass/__init__.py +0 -0
  160. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/marshmallow_dataclass/collection_field.py +0 -0
  161. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/marshmallow_dataclass/lazy_class_attribute.py +0 -0
  162. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/marshmallow_dataclass/mypy.py +0 -0
  163. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/marshmallow_dataclass/py.typed +0 -0
  164. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/marshmallow_dataclass/typing.py +0 -0
  165. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/marshmallow_dataclass/union_field.py +0 -0
  166. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/marshmallow_oneofschema/__init__.py +0 -0
  167. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/marshmallow_oneofschema/one_of_schema.py +0 -0
  168. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/marshmallow_oneofschema/py.typed +0 -0
  169. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/msgpack/__init__.py +0 -0
  170. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/msgpack/_cmsgpack.pyx +0 -0
  171. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/msgpack/_packer.pyx +0 -0
  172. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/msgpack/_unpacker.pyx +0 -0
  173. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/msgpack/buff_converter.h +0 -0
  174. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/msgpack/exceptions.py +0 -0
  175. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/msgpack/ext.py +0 -0
  176. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/msgpack/fallback.py +0 -0
  177. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/msgpack/pack.h +0 -0
  178. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/msgpack/pack_template.h +0 -0
  179. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/msgpack/sysdep.h +0 -0
  180. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/msgpack/unpack.h +0 -0
  181. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/msgpack/unpack_define.h +0 -0
  182. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/msgpack/unpack_template.h +0 -0
  183. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/parsimonious/__init__.py +0 -0
  184. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/parsimonious/exceptions.py +0 -0
  185. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/parsimonious/expressions.py +0 -0
  186. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/parsimonious/grammar.py +0 -0
  187. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/parsimonious/nodes.py +0 -0
  188. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/parsimonious/utils.py +0 -0
  189. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/starknet/__init__.py +0 -0
  190. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/starknet/abi/v0/__init__.py +0 -0
  191. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/starknet/abi/v0/model.py +0 -0
  192. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/starknet/abi/v0/parser.py +0 -0
  193. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/starknet/abi/v0/schemas.py +0 -0
  194. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/starknet/abi/v0/shape.py +0 -0
  195. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/starknet/abi/v1/__init__.py +0 -0
  196. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/starknet/abi/v1/core_structures.json +0 -0
  197. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/starknet/abi/v1/model.py +0 -0
  198. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/starknet/abi/v1/parser.py +0 -0
  199. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/starknet/abi/v1/parser_transformer.py +0 -0
  200. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/starknet/abi/v1/schemas.py +0 -0
  201. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/starknet/abi/v1/shape.py +0 -0
  202. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/starknet/abi/v2/__init__.py +0 -0
  203. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/starknet/abi/v2/model.py +0 -0
  204. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/starknet/abi/v2/parser.py +0 -0
  205. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/starknet/abi/v2/parser_transformer.py +0 -0
  206. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/starknet/abi/v2/schemas.py +0 -0
  207. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/starknet/abi/v2/shape.py +0 -0
  208. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/starknet/cairo/__init__.py +0 -0
  209. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/starknet/cairo/data_types.py +0 -0
  210. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/starknet/cairo/deprecated_parse/__init__.py +0 -0
  211. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/starknet/cairo/deprecated_parse/cairo_types.py +0 -0
  212. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/starknet/cairo/deprecated_parse/parser.py +0 -0
  213. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/starknet/cairo/deprecated_parse/parser_transformer.py +0 -0
  214. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/starknet/cairo/felt.py +0 -0
  215. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/starknet/cairo/type_parser.py +0 -0
  216. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/starknet/cairo/v1/__init__.py +0 -0
  217. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/starknet/cairo/v1/type_parser.py +0 -0
  218. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/starknet/cairo/v2/__init__.py +0 -0
  219. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/starknet/cairo/v2/type_parser.py +0 -0
  220. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/starknet/ccxt_utils.py +0 -0
  221. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/starknet/common.py +0 -0
  222. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/starknet/constants.py +0 -0
  223. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/starknet/hash/__init__.py +0 -0
  224. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/starknet/hash/address.py +0 -0
  225. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/starknet/hash/compiled_class_hash_objects.py +0 -0
  226. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/starknet/hash/selector.py +0 -0
  227. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/starknet/hash/storage.py +0 -0
  228. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/starknet/hash/utils.py +0 -0
  229. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/starknet/models/__init__.py +0 -0
  230. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/starknet/models/typed_data.py +0 -0
  231. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/starknet/serialization/__init__.py +0 -0
  232. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/starknet/serialization/_calldata_reader.py +0 -0
  233. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/starknet/serialization/_context.py +0 -0
  234. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/starknet/serialization/data_serializers/__init__.py +0 -0
  235. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/starknet/serialization/data_serializers/_common.py +0 -0
  236. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/starknet/serialization/data_serializers/array_serializer.py +0 -0
  237. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/starknet/serialization/data_serializers/bool_serializer.py +0 -0
  238. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/starknet/serialization/data_serializers/byte_array_serializer.py +0 -0
  239. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/starknet/serialization/data_serializers/cairo_data_serializer.py +0 -0
  240. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/starknet/serialization/data_serializers/enum_serializer.py +0 -0
  241. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/starknet/serialization/data_serializers/felt_serializer.py +0 -0
  242. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/starknet/serialization/data_serializers/named_tuple_serializer.py +0 -0
  243. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/starknet/serialization/data_serializers/option_serializer.py +0 -0
  244. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/starknet/serialization/data_serializers/output_serializer.py +0 -0
  245. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/starknet/serialization/data_serializers/payload_serializer.py +0 -0
  246. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/starknet/serialization/data_serializers/struct_serializer.py +0 -0
  247. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/starknet/serialization/data_serializers/tuple_serializer.py +0 -0
  248. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/starknet/serialization/data_serializers/uint256_serializer.py +0 -0
  249. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/starknet/serialization/data_serializers/uint_serializer.py +0 -0
  250. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/starknet/serialization/data_serializers/unit_serializer.py +0 -0
  251. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/starknet/serialization/errors.py +0 -0
  252. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/starknet/serialization/factory.py +0 -0
  253. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/starknet/serialization/function_serialization_adapter.py +0 -0
  254. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/starknet/serialization/tuple_dataclass.py +0 -0
  255. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/starknet/utils/__init__.py +0 -0
  256. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/starknet/utils/constructor_args_translator.py +0 -0
  257. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/starknet/utils/iterable.py +0 -0
  258. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/starknet/utils/schema.py +0 -0
  259. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/starknet/utils/typed_data.py +0 -0
  260. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/starkware/__init__.py +0 -0
  261. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/starkware/crypto/__init__.py +0 -0
  262. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/starkware/crypto/fast_pedersen_hash.py +0 -0
  263. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/starkware/crypto/math_utils.py +0 -0
  264. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/starkware/crypto/signature.py +0 -0
  265. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/starkware/crypto/utils.py +0 -0
  266. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/sympy/__init__.py +0 -0
  267. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/sympy/core/__init__.py +0 -0
  268. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/sympy/core/intfunc.py +0 -0
  269. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/sympy/external/__init__.py +0 -0
  270. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/sympy/external/gmpy.py +0 -0
  271. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/sympy/external/importtools.py +0 -0
  272. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/sympy/external/ntheory.py +0 -0
  273. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/sympy/external/pythonmpq.py +0 -0
  274. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/toolz/__init__.py +0 -0
  275. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/toolz/_signatures.py +0 -0
  276. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/toolz/_version.py +0 -0
  277. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/toolz/compatibility.py +0 -0
  278. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/toolz/curried/__init__.py +0 -0
  279. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/toolz/curried/exceptions.py +0 -0
  280. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/toolz/curried/operator.py +0 -0
  281. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/toolz/dicttoolz.py +0 -0
  282. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/toolz/functoolz.py +0 -0
  283. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/toolz/itertoolz.py +0 -0
  284. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/toolz/recipes.py +0 -0
  285. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/toolz/utils.py +0 -0
  286. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/typing_inspect/__init__.py +0 -0
  287. {gate_io_api-0.0.89 → gate_io_api-0.0.91}/src/gate/ccxt/static_dependencies/typing_inspect/typing_inspect.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: gate-io-api
3
- Version: 0.0.89
3
+ Version: 0.0.91
4
4
  Summary: gate 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/gate"]
11
11
 
12
12
  [project]
13
13
  name = "gate-io-api"
14
- version = "0.0.89"
14
+ version = "0.0.91"
15
15
  authors = [
16
16
  { name="CCXT", email="info@ccxt.trade" },
17
17
  ]
@@ -26,7 +26,7 @@ sys.modules['ccxt'] = ccxt_module
26
26
 
27
27
  # ----------------------------------------------------------------------------
28
28
 
29
- __version__ = '4.5.5'
29
+ __version__ = '4.5.7'
30
30
 
31
31
  # ----------------------------------------------------------------------------
32
32
 
@@ -8,7 +8,7 @@ sys.modules['ccxt'] = ccxt_module
8
8
 
9
9
  # -----------------------------------------------------------------------------
10
10
 
11
- __version__ = '4.5.5'
11
+ __version__ = '4.5.7'
12
12
 
13
13
  # -----------------------------------------------------------------------------
14
14
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  # -----------------------------------------------------------------------------
4
4
 
5
- __version__ = '4.5.5'
5
+ __version__ = '4.5.7'
6
6
 
7
7
  # -----------------------------------------------------------------------------
8
8
 
@@ -1440,8 +1440,8 @@ class gate(Exchange, ImplicitAPI):
1440
1440
  # "leverage_min": "1",
1441
1441
  # "leverage_max": "100",
1442
1442
  # "risk_limit_max": "8000000",
1443
- # "maker_fee_rate": "-0.00025",
1444
- # "taker_fee_rate": "0.00075",
1443
+ # "maker_fee_rate": "-0.00025", # not actual value for regular users
1444
+ # "taker_fee_rate": "0.00075", # not actual value for regular users
1445
1445
  # "funding_rate": "0.002053",
1446
1446
  # "order_size_max": 1000000,
1447
1447
  # "funding_next_apply": 1610035200,
@@ -1485,8 +1485,8 @@ class gate(Exchange, ImplicitAPI):
1485
1485
  # "risk_limit_base": "140.726652109199",
1486
1486
  # "risk_limit_step": "1000000",
1487
1487
  # "risk_limit_max": "8000000",
1488
- # "maker_fee_rate": "-0.00025",
1489
- # "taker_fee_rate": "0.00075",
1488
+ # "maker_fee_rate": "-0.00025", # not actual value for regular users
1489
+ # "taker_fee_rate": "0.00075", # not actual value for regular users
1490
1490
  # "ref_discount_rate": "0",
1491
1491
  # "ref_rebate_rate": "0.2",
1492
1492
  # "order_price_deviate": "0.5",
@@ -1523,8 +1523,6 @@ class gate(Exchange, ImplicitAPI):
1523
1523
  maxMultiplier = Precise.string_add('1', priceDeviate)
1524
1524
  minPrice = Precise.string_mul(minMultiplier, markPrice)
1525
1525
  maxPrice = Precise.string_mul(maxMultiplier, markPrice)
1526
- takerPercent = self.safe_string(market, 'taker_fee_rate')
1527
- makerPercent = self.safe_string(market, 'maker_fee_rate', takerPercent)
1528
1526
  isLinear = quote == settle
1529
1527
  contractSize = self.safe_string(market, 'quanto_multiplier')
1530
1528
  # exception only for one market: https://api.gateio.ws/api/v4/futures/btc/contracts
@@ -1549,8 +1547,8 @@ class gate(Exchange, ImplicitAPI):
1549
1547
  'contract': True,
1550
1548
  'linear': isLinear,
1551
1549
  'inverse': not isLinear,
1552
- 'taker': self.parse_number(Precise.string_div(takerPercent, '100')), # Fee is in %, so divide by 100
1553
- 'maker': self.parse_number(Precise.string_div(makerPercent, '100')),
1550
+ 'taker': None,
1551
+ 'maker': None,
1554
1552
  'contractSize': self.parse_number(contractSize),
1555
1553
  'expiry': expiry,
1556
1554
  'expiryDatetime': self.iso8601(expiry),
@@ -1649,8 +1647,6 @@ class gate(Exchange, ImplicitAPI):
1649
1647
  maxMultiplier = Precise.string_add('1', priceDeviate)
1650
1648
  minPrice = Precise.string_mul(minMultiplier, markPrice)
1651
1649
  maxPrice = Precise.string_mul(maxMultiplier, markPrice)
1652
- takerPercent = self.safe_string(market, 'taker_fee_rate')
1653
- makerPercent = self.safe_string(market, 'maker_fee_rate', takerPercent)
1654
1650
  result.append({
1655
1651
  'id': id,
1656
1652
  'symbol': symbol,
@@ -1670,8 +1666,8 @@ class gate(Exchange, ImplicitAPI):
1670
1666
  'contract': True,
1671
1667
  'linear': True,
1672
1668
  'inverse': False,
1673
- 'taker': self.parse_number(Precise.string_div(takerPercent, '100')), # Fee is in %, so divide by 100
1674
- 'maker': self.parse_number(Precise.string_div(makerPercent, '100')),
1669
+ 'taker': None,
1670
+ 'maker': None,
1675
1671
  'contractSize': self.parse_number('1'),
1676
1672
  'expiry': expiry,
1677
1673
  'expiryDatetime': self.iso8601(expiry),
@@ -1837,7 +1833,7 @@ class gate(Exchange, ImplicitAPI):
1837
1833
  # sandbox/testnet only supports future markets
1838
1834
  apiBackup = self.safe_value(self.urls, 'apiBackup')
1839
1835
  if apiBackup is not None:
1840
- return None
1836
+ return {}
1841
1837
  response = await self.publicSpotGetCurrencies(params)
1842
1838
  #
1843
1839
  # [
@@ -1,9 +1,3 @@
1
- # ----------------------------------------------------------------------------
2
-
3
- # PLEASE DO NOT EDIT THIS FILE, IT IS GENERATED AND WILL BE OVERWRITTEN:
4
- # https://github.com/ccxt/ccxt/blob/master/CONTRIBUTING.md#how-to-contribute-code
5
- # EDIT THE CORRESPONDENT .ts FILE INSTEAD
6
-
7
1
  error_hierarchy = {
8
2
  'BaseError': {
9
3
  'ExchangeError': {
@@ -4,7 +4,7 @@
4
4
 
5
5
  # -----------------------------------------------------------------------------
6
6
 
7
- __version__ = '4.5.5'
7
+ __version__ = '4.5.7'
8
8
 
9
9
  # -----------------------------------------------------------------------------
10
10
 
@@ -311,8 +311,7 @@ class Exchange(object):
311
311
  bidsasks = None
312
312
  base_currencies = None
313
313
  quote_currencies = None
314
- currencies = None
315
-
314
+ currencies = {}
316
315
  options = None # Python does not allow to define properties in run-time with setattr
317
316
  isSandboxModeEnabled = False
318
317
  accounts = None
@@ -2591,6 +2590,22 @@ class Exchange(object):
2591
2590
  # set flag
2592
2591
  self.isSandboxModeEnabled = False
2593
2592
 
2593
+ def enable_demo_trading(self, enable: bool):
2594
+ """
2595
+ enables or disables demo trading mode
2596
+ :param boolean [enable]: True if demo trading should be enabled, False otherwise
2597
+ """
2598
+ if self.isSandboxModeEnabled:
2599
+ raise NotSupported(self.id + ' demo trading does not support in sandbox environment. Please check https://www.binance.com/en/support/faq/detail/9be58f73e5e14338809e3b705b9687dd to see the differences')
2600
+ if enable:
2601
+ self.urls['apiBackupDemoTrading'] = self.urls['api']
2602
+ self.urls['api'] = self.urls['demo']
2603
+ elif 'apiBackupDemoTrading' in self.urls:
2604
+ self.urls['api'] = self.urls['apiBackupDemoTrading']
2605
+ newUrls = self.omit(self.urls, 'apiBackupDemoTrading')
2606
+ self.urls = newUrls
2607
+ self.options['enableDemoTrading'] = enable
2608
+
2594
2609
  def sign(self, path, api: Any = 'public', method='GET', params={}, headers: Any = None, body: Any = None):
2595
2610
  return {}
2596
2611
 
@@ -3009,6 +3024,76 @@ class Exchange(object):
3009
3024
  featureBlock['symbolRequired'] = self.in_array(key, ['createOrder', 'createOrders', 'fetchOHLCV'])
3010
3025
  return featuresObj
3011
3026
 
3027
+ def feature_value(self, symbol: str, methodName: Str = None, paramName: Str = None, subParamName: Str = None, defaultValue: Any = None):
3028
+ """
3029
+ self method is a very deterministic to help users to know what feature is supported by the exchange
3030
+ :param str [symbol]: unified symbol
3031
+ :param str [methodName]: view currently supported methods: https://docs.ccxt.com/#/README?id=features
3032
+ :param str [paramName]: unified param value(check docs for supported param names)
3033
+ :param str [subParamName]: unified sub-param value(eg. stopLoss->triggerPriceType)
3034
+ :param dict [defaultValue]: return default value if no result found
3035
+ :returns dict: returns feature value
3036
+ """
3037
+ market = self.market(symbol)
3038
+ return self.feature_value_by_type(market['type'], market['subType'], methodName, paramName, subParamName, defaultValue)
3039
+
3040
+ def feature_value_by_type(self, marketType: str, subType: Str, methodName: Str = None, paramName: Str = None, subParamName: Str = None, defaultValue: Any = None):
3041
+ """
3042
+ self method is a very deterministic to help users to know what feature is supported by the exchange
3043
+ :param str [marketType]: supported only: "spot", "swap", "future"
3044
+ :param str [subType]: supported only: "linear", "inverse"
3045
+ :param str [methodName]: view currently supported methods: https://docs.ccxt.com/#/README?id=features
3046
+ :param str [paramName]: unified param value(check docs for supported param names)
3047
+ :param str [subParamName]: unified sub-param value(eg. stopLoss->triggerPriceType)
3048
+ :param dict [defaultValue]: return default value if no result found
3049
+ :returns dict: returns feature value
3050
+ """
3051
+ # if exchange does not yet have features manually implemented
3052
+ if self.features is None:
3053
+ return defaultValue
3054
+ # if marketType(e.g. 'option') does not exist in features
3055
+ if not (marketType in self.features):
3056
+ return defaultValue # unsupported marketType, check "exchange.features" for details
3057
+ # if marketType dict None
3058
+ if self.features[marketType] is None:
3059
+ return defaultValue
3060
+ methodsContainer = self.features[marketType]
3061
+ if subType is None:
3062
+ if marketType != 'spot':
3063
+ return defaultValue # subType is required for non-spot markets
3064
+ else:
3065
+ if not (subType in self.features[marketType]):
3066
+ return defaultValue # unsupported subType, check "exchange.features" for details
3067
+ # if subType dict None
3068
+ if self.features[marketType][subType] is None:
3069
+ return defaultValue
3070
+ methodsContainer = self.features[marketType][subType]
3071
+ # if user wanted only marketType and didn't provide methodName, eg: featureIsSupported('spot')
3072
+ if methodName is None:
3073
+ return methodsContainer
3074
+ if not (methodName in methodsContainer):
3075
+ return defaultValue # unsupported method, check "exchange.features" for details')
3076
+ methodDict = methodsContainer[methodName]
3077
+ if methodDict is None:
3078
+ return defaultValue
3079
+ # if user wanted only method and didn't provide `paramName`, eg: featureIsSupported('swap', 'linear', 'createOrder')
3080
+ if paramName is None:
3081
+ return methodDict
3082
+ if not (paramName in methodDict):
3083
+ return defaultValue # unsupported paramName, check "exchange.features" for details')
3084
+ dictionary = self.safe_dict(methodDict, paramName)
3085
+ if dictionary is None:
3086
+ # if the value is not dictionary but a scalar value(or None), return
3087
+ return methodDict[paramName]
3088
+ else:
3089
+ # return, when calling without `subParamName` eg: featureValueByType('spot', None, 'createOrder', 'stopLoss')
3090
+ if subParamName is None:
3091
+ return methodDict[paramName]
3092
+ # raise an exception for unsupported subParamName
3093
+ if not (subParamName in methodDict[paramName]):
3094
+ return defaultValue # unsupported subParamName, check "exchange.features" for details
3095
+ return methodDict[paramName][subParamName]
3096
+
3012
3097
  def orderbook_checksum_message(self, symbol: Str):
3013
3098
  return symbol + ' = False'
3014
3099
 
@@ -3275,7 +3360,11 @@ class Exchange(object):
3275
3360
  marketsSortedById = self.keysort(self.markets_by_id)
3276
3361
  self.symbols = list(marketsSortedBySymbol.keys())
3277
3362
  self.ids = list(marketsSortedById.keys())
3363
+ numCurrencies = 0
3278
3364
  if currencies is not None:
3365
+ keys = list(currencies.keys())
3366
+ numCurrencies = len(keys)
3367
+ if numCurrencies > 0:
3279
3368
  # currencies is always None when called in constructor but not when called from loadMarkets
3280
3369
  self.currencies = self.map_to_safe_map(self.deep_extend(self.currencies, currencies))
3281
3370
  else:
@@ -5659,7 +5748,9 @@ class Exchange(object):
5659
5748
  return self.safe_string(self.commonCurrencies, code, code)
5660
5749
 
5661
5750
  def currency(self, code: str):
5662
- if self.currencies is None:
5751
+ keys = list(self.currencies.keys())
5752
+ numCurrencies = len(keys)
5753
+ if numCurrencies == 0:
5663
5754
  raise ExchangeError(self.id + ' currencies not loaded')
5664
5755
  if isinstance(code, str):
5665
5756
  if code in self.currencies:
@@ -1439,8 +1439,8 @@ class gate(Exchange, ImplicitAPI):
1439
1439
  # "leverage_min": "1",
1440
1440
  # "leverage_max": "100",
1441
1441
  # "risk_limit_max": "8000000",
1442
- # "maker_fee_rate": "-0.00025",
1443
- # "taker_fee_rate": "0.00075",
1442
+ # "maker_fee_rate": "-0.00025", # not actual value for regular users
1443
+ # "taker_fee_rate": "0.00075", # not actual value for regular users
1444
1444
  # "funding_rate": "0.002053",
1445
1445
  # "order_size_max": 1000000,
1446
1446
  # "funding_next_apply": 1610035200,
@@ -1484,8 +1484,8 @@ class gate(Exchange, ImplicitAPI):
1484
1484
  # "risk_limit_base": "140.726652109199",
1485
1485
  # "risk_limit_step": "1000000",
1486
1486
  # "risk_limit_max": "8000000",
1487
- # "maker_fee_rate": "-0.00025",
1488
- # "taker_fee_rate": "0.00075",
1487
+ # "maker_fee_rate": "-0.00025", # not actual value for regular users
1488
+ # "taker_fee_rate": "0.00075", # not actual value for regular users
1489
1489
  # "ref_discount_rate": "0",
1490
1490
  # "ref_rebate_rate": "0.2",
1491
1491
  # "order_price_deviate": "0.5",
@@ -1522,8 +1522,6 @@ class gate(Exchange, ImplicitAPI):
1522
1522
  maxMultiplier = Precise.string_add('1', priceDeviate)
1523
1523
  minPrice = Precise.string_mul(minMultiplier, markPrice)
1524
1524
  maxPrice = Precise.string_mul(maxMultiplier, markPrice)
1525
- takerPercent = self.safe_string(market, 'taker_fee_rate')
1526
- makerPercent = self.safe_string(market, 'maker_fee_rate', takerPercent)
1527
1525
  isLinear = quote == settle
1528
1526
  contractSize = self.safe_string(market, 'quanto_multiplier')
1529
1527
  # exception only for one market: https://api.gateio.ws/api/v4/futures/btc/contracts
@@ -1548,8 +1546,8 @@ class gate(Exchange, ImplicitAPI):
1548
1546
  'contract': True,
1549
1547
  'linear': isLinear,
1550
1548
  'inverse': not isLinear,
1551
- 'taker': self.parse_number(Precise.string_div(takerPercent, '100')), # Fee is in %, so divide by 100
1552
- 'maker': self.parse_number(Precise.string_div(makerPercent, '100')),
1549
+ 'taker': None,
1550
+ 'maker': None,
1553
1551
  'contractSize': self.parse_number(contractSize),
1554
1552
  'expiry': expiry,
1555
1553
  'expiryDatetime': self.iso8601(expiry),
@@ -1648,8 +1646,6 @@ class gate(Exchange, ImplicitAPI):
1648
1646
  maxMultiplier = Precise.string_add('1', priceDeviate)
1649
1647
  minPrice = Precise.string_mul(minMultiplier, markPrice)
1650
1648
  maxPrice = Precise.string_mul(maxMultiplier, markPrice)
1651
- takerPercent = self.safe_string(market, 'taker_fee_rate')
1652
- makerPercent = self.safe_string(market, 'maker_fee_rate', takerPercent)
1653
1649
  result.append({
1654
1650
  'id': id,
1655
1651
  'symbol': symbol,
@@ -1669,8 +1665,8 @@ class gate(Exchange, ImplicitAPI):
1669
1665
  'contract': True,
1670
1666
  'linear': True,
1671
1667
  'inverse': False,
1672
- 'taker': self.parse_number(Precise.string_div(takerPercent, '100')), # Fee is in %, so divide by 100
1673
- 'maker': self.parse_number(Precise.string_div(makerPercent, '100')),
1668
+ 'taker': None,
1669
+ 'maker': None,
1674
1670
  'contractSize': self.parse_number('1'),
1675
1671
  'expiry': expiry,
1676
1672
  'expiryDatetime': self.iso8601(expiry),
@@ -1836,7 +1832,7 @@ class gate(Exchange, ImplicitAPI):
1836
1832
  # sandbox/testnet only supports future markets
1837
1833
  apiBackup = self.safe_value(self.urls, 'apiBackup')
1838
1834
  if apiBackup is not None:
1839
- return None
1835
+ return {}
1840
1836
  response = self.publicSpotGetCurrencies(params)
1841
1837
  #
1842
1838
  # [
@@ -8,7 +8,7 @@ sys.modules['ccxt'] = ccxt_module
8
8
 
9
9
  # ----------------------------------------------------------------------------
10
10
 
11
- __version__ = '4.5.5'
11
+ __version__ = '4.5.7'
12
12
 
13
13
  # ----------------------------------------------------------------------------
14
14
 
File without changes
File without changes