crypticorn 1.0.1__py3-none-any.whl → 1.0.2rc2__py3-none-any.whl

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 (132) hide show
  1. crypticorn/__init__.py +3 -3
  2. crypticorn/client.py +722 -0
  3. crypticorn/hive/__init__.py +1 -0
  4. crypticorn/{api.py → hive/main.py} +6 -6
  5. crypticorn/hive/requirements.txt +4 -0
  6. crypticorn/{utils.py → hive/utils.py} +2 -2
  7. crypticorn/klines/__init__.py +2 -0
  8. crypticorn/klines/client/__init__.py +62 -0
  9. crypticorn/klines/client/api/__init__.py +9 -0
  10. crypticorn/klines/client/api/funding_rates_api.py +362 -0
  11. crypticorn/klines/client/api/health_check_api.py +281 -0
  12. crypticorn/klines/client/api/ohlcv_data_api.py +409 -0
  13. crypticorn/klines/client/api/symbols_api.py +308 -0
  14. crypticorn/klines/client/api/udf_api.py +1929 -0
  15. crypticorn/klines/client/api_client.py +797 -0
  16. crypticorn/klines/client/api_response.py +21 -0
  17. crypticorn/klines/client/configuration.py +565 -0
  18. crypticorn/klines/client/exceptions.py +216 -0
  19. crypticorn/klines/client/models/__init__.py +41 -0
  20. crypticorn/klines/client/models/base_response_health_check_response.py +108 -0
  21. crypticorn/klines/client/models/base_response_list_funding_rate_response.py +112 -0
  22. crypticorn/klines/client/models/base_response_list_str.py +104 -0
  23. crypticorn/klines/client/models/base_response_ohlcv_response.py +108 -0
  24. crypticorn/klines/client/models/error_response.py +101 -0
  25. crypticorn/{models/deleted.py → klines/client/models/exchange.py} +15 -11
  26. crypticorn/klines/client/models/funding_rate_response.py +92 -0
  27. crypticorn/klines/client/models/health_check_response.py +89 -0
  28. crypticorn/{models/create_api_key_response.py → klines/client/models/history_error_response.py} +12 -22
  29. crypticorn/klines/client/models/history_no_data_response.py +99 -0
  30. crypticorn/klines/client/models/history_success_response.py +99 -0
  31. crypticorn/klines/client/models/http_validation_error.py +95 -0
  32. crypticorn/klines/client/models/market.py +37 -0
  33. crypticorn/klines/client/models/ohlcv_response.py +98 -0
  34. crypticorn/klines/client/models/resolution.py +40 -0
  35. crypticorn/klines/client/models/response_get_history_udf_history_get.py +149 -0
  36. crypticorn/klines/client/models/search_symbol_response.py +97 -0
  37. crypticorn/klines/client/models/sort_direction.py +37 -0
  38. crypticorn/{models/futures_balance_error.py → klines/client/models/symbol_group_response.py} +12 -14
  39. crypticorn/klines/client/models/symbol_info_response.py +115 -0
  40. crypticorn/{models/id.py → klines/client/models/symbol_type.py} +13 -11
  41. crypticorn/klines/client/models/timeframe.py +40 -0
  42. crypticorn/klines/client/models/udf_config_response.py +121 -0
  43. crypticorn/klines/client/models/validation_error.py +99 -0
  44. crypticorn/{models/get_futures_balance200_response_inner.py → klines/client/models/validation_error_loc_inner.py} +39 -35
  45. crypticorn/klines/client/py.typed +0 -0
  46. crypticorn/klines/client/rest.py +257 -0
  47. crypticorn/klines/main.py +42 -0
  48. crypticorn/klines/requirements.txt +4 -0
  49. crypticorn/klines/test/__init__.py +0 -0
  50. crypticorn/klines/test/test_base_response_health_check_response.py +56 -0
  51. crypticorn/klines/test/test_base_response_list_funding_rate_response.py +59 -0
  52. crypticorn/klines/test/test_base_response_list_str.py +56 -0
  53. crypticorn/klines/test/test_base_response_ohlcv_response.py +72 -0
  54. crypticorn/klines/test/test_error_response.py +57 -0
  55. crypticorn/klines/test/test_exchange.py +56 -0
  56. crypticorn/klines/test/test_funding_rate_response.py +56 -0
  57. crypticorn/klines/test/test_funding_rates_api.py +38 -0
  58. crypticorn/klines/test/test_health_check_api.py +38 -0
  59. crypticorn/klines/test/test_health_check_response.py +52 -0
  60. crypticorn/klines/test/test_history_error_response.py +53 -0
  61. crypticorn/klines/test/test_history_no_data_response.py +69 -0
  62. crypticorn/klines/test/test_history_success_response.py +87 -0
  63. crypticorn/klines/test/test_http_validation_error.py +58 -0
  64. crypticorn/klines/test/test_market.py +33 -0
  65. crypticorn/klines/test/test_ohlcv_data_api.py +38 -0
  66. crypticorn/klines/test/test_ohlcv_response.py +86 -0
  67. crypticorn/klines/test/test_resolution.py +33 -0
  68. crypticorn/klines/test/test_response_get_history_udf_history_get.py +89 -0
  69. crypticorn/klines/test/test_search_symbol_response.py +62 -0
  70. crypticorn/klines/test/test_sort_direction.py +33 -0
  71. crypticorn/klines/test/test_symbol_group_response.py +53 -0
  72. crypticorn/klines/test/test_symbol_info_response.py +84 -0
  73. crypticorn/klines/test/test_symbol_type.py +54 -0
  74. crypticorn/klines/test/test_symbols_api.py +38 -0
  75. crypticorn/klines/test/test_timeframe.py +33 -0
  76. crypticorn/klines/test/test_udf_api.py +80 -0
  77. crypticorn/klines/test/test_udf_config_response.py +95 -0
  78. crypticorn/klines/test/test_validation_error.py +60 -0
  79. crypticorn/klines/test/test_validation_error_loc_inner.py +50 -0
  80. crypticorn/trade/__init__.py +2 -0
  81. crypticorn/trade/client/__init__.py +63 -0
  82. crypticorn/trade/client/api/__init__.py +13 -0
  83. crypticorn/trade/client/api/api_keys_api.py +1468 -0
  84. crypticorn/trade/client/api/bots_api.py +1211 -0
  85. crypticorn/trade/client/api/exchanges_api.py +297 -0
  86. crypticorn/trade/client/api/futures_trading_panel_api.py +1463 -0
  87. crypticorn/trade/client/api/notifications_api.py +1767 -0
  88. crypticorn/trade/client/api/orders_api.py +331 -0
  89. crypticorn/trade/client/api/status_api.py +278 -0
  90. crypticorn/trade/client/api/strategies_api.py +331 -0
  91. crypticorn/trade/client/api/trading_actions_api.py +898 -0
  92. crypticorn/trade/client/api_client.py +797 -0
  93. crypticorn/trade/client/api_response.py +21 -0
  94. crypticorn/trade/client/configuration.py +574 -0
  95. crypticorn/trade/client/exceptions.py +216 -0
  96. crypticorn/trade/client/models/__init__.py +38 -0
  97. crypticorn/{models → trade/client/models}/action_model.py +17 -20
  98. crypticorn/{models → trade/client/models}/api_error_identifier.py +3 -1
  99. crypticorn/{models → trade/client/models}/api_key_model.py +5 -8
  100. crypticorn/{models → trade/client/models}/bot_model.py +15 -11
  101. crypticorn/{models → trade/client/models}/futures_trading_action.py +12 -12
  102. crypticorn/{models → trade/client/models}/http_validation_error.py +1 -1
  103. crypticorn/{models → trade/client/models}/notification_model.py +8 -6
  104. crypticorn/{models → trade/client/models}/order_model.py +12 -15
  105. crypticorn/{models → trade/client/models}/post_futures_action.py +1 -1
  106. crypticorn/{models → trade/client/models}/strategy_exchange_info.py +1 -1
  107. crypticorn/{models → trade/client/models}/strategy_model.py +6 -2
  108. crypticorn/{models → trade/client/models}/validation_error.py +1 -1
  109. crypticorn/trade/client/py.typed +0 -0
  110. crypticorn/trade/client/rest.py +257 -0
  111. crypticorn/trade/main.py +39 -0
  112. crypticorn/trade/requirements.txt +4 -0
  113. crypticorn-1.0.2rc2.dist-info/METADATA +47 -0
  114. crypticorn-1.0.2rc2.dist-info/RECORD +128 -0
  115. {crypticorn-1.0.1.dist-info → crypticorn-1.0.2rc2.dist-info}/WHEEL +1 -1
  116. crypticorn/models/__init__.py +0 -31
  117. crypticorn/models/modified.py +0 -87
  118. crypticorn-1.0.1.dist-info/METADATA +0 -40
  119. crypticorn-1.0.1.dist-info/RECORD +0 -38
  120. /crypticorn/{models → trade/client/models}/exchange.py +0 -0
  121. /crypticorn/{models → trade/client/models}/execution_ids.py +0 -0
  122. /crypticorn/{models → trade/client/models}/futures_balance.py +0 -0
  123. /crypticorn/{models → trade/client/models}/margin_mode.py +0 -0
  124. /crypticorn/{models → trade/client/models}/market_type.py +0 -0
  125. /crypticorn/{models → trade/client/models}/notification_type.py +0 -0
  126. /crypticorn/{models → trade/client/models}/order_status.py +0 -0
  127. /crypticorn/{models → trade/client/models}/tpsl.py +0 -0
  128. /crypticorn/{models → trade/client/models}/trading_action_type.py +0 -0
  129. /crypticorn/{models → trade/client/models}/update_notification.py +0 -0
  130. /crypticorn/{models → trade/client/models}/validation_error_loc_inner.py +0 -0
  131. {crypticorn-1.0.1.dist-info → crypticorn-1.0.2rc2.dist-info}/LICENSE.md +0 -0
  132. {crypticorn-1.0.1.dist-info → crypticorn-1.0.2rc2.dist-info}/top_level.txt +0 -0
@@ -1,31 +0,0 @@
1
- from . import *
2
- from .__init__ import *
3
- from .action_model import *
4
- from .api_error_identifier import *
5
- from .api_key_model import *
6
- from .bot_model import *
7
- from .create_api_key_response import *
8
- from .deleted import *
9
- from .exchange import *
10
- from .execution_ids import *
11
- from .futures_balance import *
12
- from .futures_balance_error import *
13
- from .futures_trading_action import *
14
- from .get_futures_balance200_response_inner import *
15
- from .http_validation_error import *
16
- from .id import *
17
- from .margin_mode import *
18
- from .market_type import *
19
- from .modified import *
20
- from .notification_model import *
21
- from .notification_type import *
22
- from .order_model import *
23
- from .order_status import *
24
- from .post_futures_action import *
25
- from .strategy_exchange_info import *
26
- from .strategy_model import *
27
- from .tpsl import *
28
- from .trading_action_type import *
29
- from .update_notification import *
30
- from .validation_error import *
31
- from .validation_error_loc_inner import *
@@ -1,87 +0,0 @@
1
- # coding: utf-8
2
-
3
- """
4
- FastAPI
5
-
6
- No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
-
8
- The version of the OpenAPI document: 0.1.0
9
- Generated by OpenAPI Generator (https://openapi-generator.tech)
10
-
11
- Do not edit the class manually.
12
- """ # noqa: E501
13
-
14
-
15
- from __future__ import annotations
16
- import pprint
17
- import re # noqa: F401
18
- import json
19
-
20
- from pydantic import BaseModel, ConfigDict, Field, StrictInt
21
- from typing import Any, ClassVar, Dict, List
22
- from typing import Optional, Set
23
- from typing_extensions import Self
24
-
25
- class Modified(BaseModel):
26
- """
27
- Modified
28
- """ # noqa: E501
29
- modified: StrictInt = Field(description="Number of modified documents")
30
- __properties: ClassVar[List[str]] = ["modified"]
31
-
32
- model_config = ConfigDict(
33
- populate_by_name=True,
34
- validate_assignment=True,
35
- protected_namespaces=(),
36
- )
37
-
38
-
39
- def to_str(self) -> str:
40
- """Returns the string representation of the model using alias"""
41
- return pprint.pformat(self.model_dump(by_alias=True))
42
-
43
- def to_json(self) -> str:
44
- """Returns the JSON representation of the model using alias"""
45
- # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
46
- return json.dumps(self.to_dict())
47
-
48
- @classmethod
49
- def from_json(cls, json_str: str) -> Optional[Self]:
50
- """Create an instance of Modified from a JSON string"""
51
- return cls.from_dict(json.loads(json_str))
52
-
53
- def to_dict(self) -> Dict[str, Any]:
54
- """Return the dictionary representation of the model using alias.
55
-
56
- This has the following differences from calling pydantic's
57
- `self.model_dump(by_alias=True)`:
58
-
59
- * `None` is only added to the output dict for nullable fields that
60
- were set at model initialization. Other fields with value `None`
61
- are ignored.
62
- """
63
- excluded_fields: Set[str] = set([
64
- ])
65
-
66
- _dict = self.model_dump(
67
- by_alias=True,
68
- exclude=excluded_fields,
69
- exclude_none=True,
70
- )
71
- return _dict
72
-
73
- @classmethod
74
- def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
75
- """Create an instance of Modified from a dict"""
76
- if obj is None:
77
- return None
78
-
79
- if not isinstance(obj, dict):
80
- return cls.model_validate(obj)
81
-
82
- _obj = cls.model_validate({
83
- "modified": obj.get("modified")
84
- })
85
- return _obj
86
-
87
-
@@ -1,40 +0,0 @@
1
- Metadata-Version: 2.2
2
- Name: crypticorn
3
- Version: 1.0.1
4
- Summary: Maximise Your Crypto Trading Profits with AI Predictions
5
- Author-email: Crypticorn <timon@crypticorn.com>
6
- License: MIT License
7
- Project-URL: homepage, https://crypticorn.com
8
- Project-URL: documentation, https://docs.crypticorn.com
9
- Keywords: machine learning,data science,crypto,modelling
10
- Classifier: Topic :: Scientific/Engineering
11
- Classifier: License :: OSI Approved :: MIT License
12
- Classifier: Development Status :: 4 - Beta
13
- Classifier: Intended Audience :: Science/Research
14
- Classifier: Operating System :: OS Independent
15
- Classifier: Programming Language :: Python :: 3
16
- Classifier: Typing :: Typed
17
- Requires-Python: >=3.10
18
- Description-Content-Type: text/markdown
19
- License-File: LICENSE.md
20
- Requires-Dist: pandas<3.0.0,>=2.2.0
21
- Requires-Dist: requests<3.0.0,>=2.32.0
22
- Requires-Dist: tqdm<5.0.0,>=4.67.0
23
- Requires-Dist: pydantic<3.0.0,>=2.0.0
24
- Provides-Extra: dev
25
- Requires-Dist: black; extra == "dev"
26
- Requires-Dist: twine; extra == "dev"
27
- Requires-Dist: build; extra == "dev"
28
-
29
- # What is Crypticorn?
30
-
31
- Crypticorn is at the forefront of cutting-edge artificial intelligence cryptocurrency trading.
32
- Crypticorn offers AI-based solutions for both active and passive investors, including:
33
- - Prediction Dashboard with trading terminal,
34
- - AI Agents with different strategies,
35
- - DEX AI Signals for newly launched tokens,
36
- - DEX AI Bots
37
-
38
- Use this API Client to contribute to the so-called Hive AI, a community driven AI Meta Model for predicting the
39
- cryptocurrency market.
40
-
@@ -1,38 +0,0 @@
1
- crypticorn/__init__.py,sha256=xwaLwFv2nokaml0otKuLpR3KR8L6SFRWtu4KmFdWeeA,118
2
- crypticorn/api.py,sha256=YKtYHg7dj4yDKNAyEWNuyzQ8-_HLv2Avuy2iB951Vd4,4853
3
- crypticorn/utils.py,sha256=veuxIfhHvzPr_JBDwLu9Allsnkesaz22tzcEnHkkhYs,3126
4
- crypticorn/models/__init__.py,sha256=koNGF8it9H5ih4n_5Smsgvs4f19SnKdQLMBWOAgShfU,954
5
- crypticorn/models/action_model.py,sha256=1NVncAYo0gYdZVOkDG6wGNlBiPKCPi3Ts0tt6P141XI,9056
6
- crypticorn/models/api_error_identifier.py,sha256=M1VHRx66vp6kELsDTT3JtbaI5d2ynBfuBurGQc9I1m0,3320
7
- crypticorn/models/api_key_model.py,sha256=upsYNOeAj6hnVG7GLN31z7cXMbfj903SU5QMNvPrj5A,4803
8
- crypticorn/models/bot_model.py,sha256=-O_9PHhD03ik6rAp8VA60oiFfexleTwEMuwnR13AWl4,4341
9
- crypticorn/models/create_api_key_response.py,sha256=uWjizw_zclS9ScRiUg7CZ-psHtO3FaHkzqy2T5EdG5o,2995
10
- crypticorn/models/deleted.py,sha256=GTLuJtiIvSOEo4f1LwoeQWNXiVNNwl7pYvi5uV402UU,2514
11
- crypticorn/models/exchange.py,sha256=UdNrCO_0L8ZFmuVsBgtEjV71UpRdi2I0XW-YeDyb7zw,746
12
- crypticorn/models/execution_ids.py,sha256=dJt4Qjg0B1TdeL3fI0_ZNGMZgYX_KBwIbzwxSWgSCao,2877
13
- crypticorn/models/futures_balance.py,sha256=VJ2Cdm5qdvzQwaF0sR2tIoWhb5MDQAvWOOVl_lyijNc,4012
14
- crypticorn/models/futures_balance_error.py,sha256=3OqfU4Fi09txX99Fm7BdHeBMFOYCLq4fOUIaKwrBJhQ,2696
15
- crypticorn/models/futures_trading_action.py,sha256=HqA1X9z_RC2j9LRubaRjY04tzuI8hRoCf6CjFYE1nKY,8784
16
- crypticorn/models/get_futures_balance200_response_inner.py,sha256=uUvnkgiVOf_gMBRLyjDQ5YuELkSAUOqjjQK3bhk0mz8,5100
17
- crypticorn/models/http_validation_error.py,sha256=dPlioKpQGd6jBnATJ9USzQTiSoeEOBlLFCN91q9y-6w,3000
18
- crypticorn/models/id.py,sha256=dY7_AH699HCKPGTCdGsiiI3aWPaCmXpYYMFT6kJ-fdA,2480
19
- crypticorn/models/margin_mode.py,sha256=u96KDpDFRM0MIs4xbXzDOT-wn6uO73wBGZthoTP1MuE,765
20
- crypticorn/models/market_type.py,sha256=ppUr4WJnAiuZEZkD1WnM-oKi4vKx0ykXweAXAyfPTCk,745
21
- crypticorn/models/modified.py,sha256=on721AzP0g30cqj-RBFBevmsWSC5mmb87BrDlIBerL8,2523
22
- crypticorn/models/notification_model.py,sha256=4AbPDhl5ZPRRJBeIR47fLFcJI27O3iAR-zrEHf7aKUI,4107
23
- crypticorn/models/notification_type.py,sha256=Cq7GDV6BwBxttohb7NMdC0nWx1-Igdq4pUDYY8CCiu0,803
24
- crypticorn/models/order_model.py,sha256=oIbg6D5BpOe36xKWEbS6MleFzYG-opJzLjwjqk60ulI,11102
25
- crypticorn/models/order_status.py,sha256=V13eUjWXoZn5TD0Eyl2Q7XL9Ih6zkOUyCPOhNQ7UyTk,840
26
- crypticorn/models/post_futures_action.py,sha256=PtUp1VFEb6vOc5lBDKDW_bJ7jSKMrSFClJMY047Nj7c,2990
27
- crypticorn/models/strategy_exchange_info.py,sha256=zqSbZ1Xi5sFs3QCiq0n8dnoxszds1Fw-WekJN0kU_Eg,2821
28
- crypticorn/models/strategy_model.py,sha256=neXU4Zm7YAzqjD432GYCOOPmvN7mJ3fqWr4RbNPk_3w,4384
29
- crypticorn/models/tpsl.py,sha256=6Ue5uRCkMm1dUSr7xT4Y9308ZsjoZwIQ74koZGBAF6c,4180
30
- crypticorn/models/trading_action_type.py,sha256=eH7sFKbFojxqMdtmqq_FOrVVZ6jEOwK-uRPBBWQdeUw,845
31
- crypticorn/models/update_notification.py,sha256=7Aw4z98ANT6D5octUmz5UXe6EC7_Mk8ax679bjjCkXk,2988
32
- crypticorn/models/validation_error.py,sha256=EOWKqOHCzc1J1YwpM0DNepWh4dDQAb68DryLykxat9Y,3092
33
- crypticorn/models/validation_error_loc_inner.py,sha256=wHiW_qKw46E2pUdOnesgpdnuqpTX9IQTaEOVDgph5_E,4885
34
- crypticorn-1.0.1.dist-info/LICENSE.md,sha256=4QRTsg__j9b8qUNkL1jcDlrOMViv5B7wJF3p7khs-M0,1053
35
- crypticorn-1.0.1.dist-info/METADATA,sha256=cPuxmacRQus1kP2wIySya0qMOZ7oGy2cNMG8bY6zCMo,1517
36
- crypticorn-1.0.1.dist-info/WHEEL,sha256=52BFRY2Up02UkjOa29eZOS2VxUrpPORXg1pkohGGUS8,91
37
- crypticorn-1.0.1.dist-info/top_level.txt,sha256=EP3NY216qIBYfmvGl0L2Zc9ItP0DjGSkiYqd9xJwGcM,11
38
- crypticorn-1.0.1.dist-info/RECORD,,
File without changes
File without changes