crypticorn 2.1.5__py3-none-any.whl → 2.1.6__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 (38) hide show
  1. crypticorn/client.py +4 -0
  2. crypticorn/common/urls.py +1 -0
  3. crypticorn/klines/client/configuration.py +2 -2
  4. crypticorn/metrics/__init__.py +4 -0
  5. crypticorn/metrics/client/__init__.py +60 -0
  6. crypticorn/metrics/client/api/__init__.py +10 -0
  7. crypticorn/metrics/client/api/exchanges_api.py +1003 -0
  8. crypticorn/metrics/client/api/health_check_api.py +265 -0
  9. crypticorn/metrics/client/api/indicators_api.py +680 -0
  10. crypticorn/metrics/client/api/logs_api.py +356 -0
  11. crypticorn/metrics/client/api/marketcap_api.py +1315 -0
  12. crypticorn/metrics/client/api/markets_api.py +618 -0
  13. crypticorn/metrics/client/api/tokens_api.py +300 -0
  14. crypticorn/metrics/client/api_client.py +758 -0
  15. crypticorn/metrics/client/api_response.py +20 -0
  16. crypticorn/metrics/client/configuration.py +575 -0
  17. crypticorn/metrics/client/exceptions.py +220 -0
  18. crypticorn/metrics/client/models/__init__.py +37 -0
  19. crypticorn/metrics/client/models/base_response_dict.py +106 -0
  20. crypticorn/metrics/client/models/base_response_health_check_response.py +114 -0
  21. crypticorn/metrics/client/models/base_response_list_dict.py +106 -0
  22. crypticorn/metrics/client/models/base_response_list_exchange_mapping.py +118 -0
  23. crypticorn/metrics/client/models/base_response_list_str.py +106 -0
  24. crypticorn/metrics/client/models/error_response.py +109 -0
  25. crypticorn/metrics/client/models/exchange_mapping.py +132 -0
  26. crypticorn/metrics/client/models/health_check_response.py +91 -0
  27. crypticorn/metrics/client/models/http_validation_error.py +99 -0
  28. crypticorn/metrics/client/models/market.py +35 -0
  29. crypticorn/metrics/client/models/severity.py +36 -0
  30. crypticorn/metrics/client/models/validation_error.py +105 -0
  31. crypticorn/metrics/client/models/validation_error_loc_inner.py +159 -0
  32. crypticorn/metrics/client/py.typed +0 -0
  33. crypticorn/metrics/client/rest.py +195 -0
  34. crypticorn/metrics/main.py +112 -0
  35. {crypticorn-2.1.5.dist-info → crypticorn-2.1.6.dist-info}/METADATA +1 -1
  36. {crypticorn-2.1.5.dist-info → crypticorn-2.1.6.dist-info}/RECORD +38 -7
  37. {crypticorn-2.1.5.dist-info → crypticorn-2.1.6.dist-info}/WHEEL +0 -0
  38. {crypticorn-2.1.5.dist-info → crypticorn-2.1.6.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,105 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ Marketcap Service API
5
+
6
+ API for retrieving historical marketcap data, available exchanges, and indicators. ## Features - Historical marketcap data - OHLCV data with marketcap - Technical indicators (KER, SMA) - Exchange and symbol mappings - Error logs
7
+
8
+ The version of the OpenAPI document: 1.0.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, StrictStr
21
+ from typing import Any, ClassVar, Dict, List
22
+ from crypticorn.metrics.client.models.validation_error_loc_inner import (
23
+ ValidationErrorLocInner,
24
+ )
25
+ from typing import Optional, Set
26
+ from typing_extensions import Self
27
+
28
+
29
+ class ValidationError(BaseModel):
30
+ """
31
+ ValidationError
32
+ """ # noqa: E501
33
+
34
+ loc: List[ValidationErrorLocInner]
35
+ msg: StrictStr
36
+ type: StrictStr
37
+ __properties: ClassVar[List[str]] = ["loc", "msg", "type"]
38
+
39
+ model_config = ConfigDict(
40
+ populate_by_name=True,
41
+ validate_assignment=True,
42
+ protected_namespaces=(),
43
+ )
44
+
45
+ def to_str(self) -> str:
46
+ """Returns the string representation of the model using alias"""
47
+ return pprint.pformat(self.model_dump(by_alias=True))
48
+
49
+ def to_json(self) -> str:
50
+ """Returns the JSON representation of the model using alias"""
51
+ # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
52
+ return json.dumps(self.to_dict())
53
+
54
+ @classmethod
55
+ def from_json(cls, json_str: str) -> Optional[Self]:
56
+ """Create an instance of ValidationError from a JSON string"""
57
+ return cls.from_dict(json.loads(json_str))
58
+
59
+ def to_dict(self) -> Dict[str, Any]:
60
+ """Return the dictionary representation of the model using alias.
61
+
62
+ This has the following differences from calling pydantic's
63
+ `self.model_dump(by_alias=True)`:
64
+
65
+ * `None` is only added to the output dict for nullable fields that
66
+ were set at model initialization. Other fields with value `None`
67
+ are ignored.
68
+ """
69
+ excluded_fields: Set[str] = set([])
70
+
71
+ _dict = self.model_dump(
72
+ by_alias=True,
73
+ exclude=excluded_fields,
74
+ exclude_none=True,
75
+ )
76
+ # override the default output from pydantic by calling `to_dict()` of each item in loc (list)
77
+ _items = []
78
+ if self.loc:
79
+ for _item_loc in self.loc:
80
+ if _item_loc:
81
+ _items.append(_item_loc.to_dict())
82
+ _dict["loc"] = _items
83
+ return _dict
84
+
85
+ @classmethod
86
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
87
+ """Create an instance of ValidationError from a dict"""
88
+ if obj is None:
89
+ return None
90
+
91
+ if not isinstance(obj, dict):
92
+ return cls.model_validate(obj)
93
+
94
+ _obj = cls.model_validate(
95
+ {
96
+ "loc": (
97
+ [ValidationErrorLocInner.from_dict(_item) for _item in obj["loc"]]
98
+ if obj.get("loc") is not None
99
+ else None
100
+ ),
101
+ "msg": obj.get("msg"),
102
+ "type": obj.get("type"),
103
+ }
104
+ )
105
+ return _obj
@@ -0,0 +1,159 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ Marketcap Service API
5
+
6
+ API for retrieving historical marketcap data, available exchanges, and indicators. ## Features - Historical marketcap data - OHLCV data with marketcap - Technical indicators (KER, SMA) - Exchange and symbol mappings - Error logs
7
+
8
+ The version of the OpenAPI document: 1.0.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
+ from inspect import getfullargspec
17
+ import json
18
+ import pprint
19
+ import re # noqa: F401
20
+ from pydantic import (
21
+ BaseModel,
22
+ ConfigDict,
23
+ Field,
24
+ StrictInt,
25
+ StrictStr,
26
+ ValidationError,
27
+ field_validator,
28
+ )
29
+ from typing import Optional
30
+ from typing import Union, Any, List, Set, TYPE_CHECKING, Optional, Dict
31
+ from typing_extensions import Literal, Self
32
+ from pydantic import Field
33
+
34
+ VALIDATIONERRORLOCINNER_ANY_OF_SCHEMAS = ["int", "str"]
35
+
36
+
37
+ class ValidationErrorLocInner(BaseModel):
38
+ """
39
+ ValidationErrorLocInner
40
+ """
41
+
42
+ # data type: str
43
+ anyof_schema_1_validator: Optional[StrictStr] = None
44
+ # data type: int
45
+ anyof_schema_2_validator: Optional[StrictInt] = None
46
+ if TYPE_CHECKING:
47
+ actual_instance: Optional[Union[int, str]] = None
48
+ else:
49
+ actual_instance: Any = None
50
+ any_of_schemas: Set[str] = {"int", "str"}
51
+
52
+ model_config = {
53
+ "validate_assignment": True,
54
+ "protected_namespaces": (),
55
+ }
56
+
57
+ def __init__(self, *args, **kwargs) -> None:
58
+ if args:
59
+ if len(args) > 1:
60
+ raise ValueError(
61
+ "If a position argument is used, only 1 is allowed to set `actual_instance`"
62
+ )
63
+ if kwargs:
64
+ raise ValueError(
65
+ "If a position argument is used, keyword arguments cannot be used."
66
+ )
67
+ super().__init__(actual_instance=args[0])
68
+ else:
69
+ super().__init__(**kwargs)
70
+
71
+ @field_validator("actual_instance")
72
+ def actual_instance_must_validate_anyof(cls, v):
73
+ instance = ValidationErrorLocInner.model_construct()
74
+ error_messages = []
75
+ # validate data type: str
76
+ try:
77
+ instance.anyof_schema_1_validator = v
78
+ return v
79
+ except (ValidationError, ValueError) as e:
80
+ error_messages.append(str(e))
81
+ # validate data type: int
82
+ try:
83
+ instance.anyof_schema_2_validator = v
84
+ return v
85
+ except (ValidationError, ValueError) as e:
86
+ error_messages.append(str(e))
87
+ if error_messages:
88
+ # no match
89
+ raise ValueError(
90
+ "No match found when setting the actual_instance in ValidationErrorLocInner with anyOf schemas: int, str. Details: "
91
+ + ", ".join(error_messages)
92
+ )
93
+ else:
94
+ return v
95
+
96
+ @classmethod
97
+ def from_dict(cls, obj: Dict[str, Any]) -> Self:
98
+ return cls.from_json(json.dumps(obj))
99
+
100
+ @classmethod
101
+ def from_json(cls, json_str: str) -> Self:
102
+ """Returns the object represented by the json string"""
103
+ instance = cls.model_construct()
104
+ error_messages = []
105
+ # deserialize data into str
106
+ try:
107
+ # validation
108
+ instance.anyof_schema_1_validator = json.loads(json_str)
109
+ # assign value to actual_instance
110
+ instance.actual_instance = instance.anyof_schema_1_validator
111
+ return instance
112
+ except (ValidationError, ValueError) as e:
113
+ error_messages.append(str(e))
114
+ # deserialize data into int
115
+ try:
116
+ # validation
117
+ instance.anyof_schema_2_validator = json.loads(json_str)
118
+ # assign value to actual_instance
119
+ instance.actual_instance = instance.anyof_schema_2_validator
120
+ return instance
121
+ except (ValidationError, ValueError) as e:
122
+ error_messages.append(str(e))
123
+
124
+ if error_messages:
125
+ # no match
126
+ raise ValueError(
127
+ "No match found when deserializing the JSON string into ValidationErrorLocInner with anyOf schemas: int, str. Details: "
128
+ + ", ".join(error_messages)
129
+ )
130
+ else:
131
+ return instance
132
+
133
+ def to_json(self) -> str:
134
+ """Returns the JSON representation of the actual instance"""
135
+ if self.actual_instance is None:
136
+ return "null"
137
+
138
+ if hasattr(self.actual_instance, "to_json") and callable(
139
+ self.actual_instance.to_json
140
+ ):
141
+ return self.actual_instance.to_json()
142
+ else:
143
+ return json.dumps(self.actual_instance)
144
+
145
+ def to_dict(self) -> Optional[Union[Dict[str, Any], int, str]]:
146
+ """Returns the dict representation of the actual instance"""
147
+ if self.actual_instance is None:
148
+ return None
149
+
150
+ if hasattr(self.actual_instance, "to_dict") and callable(
151
+ self.actual_instance.to_dict
152
+ ):
153
+ return self.actual_instance.to_dict()
154
+ else:
155
+ return self.actual_instance
156
+
157
+ def to_str(self) -> str:
158
+ """Returns the string representation of the actual instance"""
159
+ return pprint.pformat(self.model_dump())
File without changes
@@ -0,0 +1,195 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ Marketcap Service API
5
+
6
+ API for retrieving historical marketcap data, available exchanges, and indicators. ## Features - Historical marketcap data - OHLCV data with marketcap - Technical indicators (KER, SMA) - Exchange and symbol mappings - Error logs
7
+
8
+ The version of the OpenAPI document: 1.0.0
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
+
11
+ Do not edit the class manually.
12
+ """ # noqa: E501
13
+
14
+
15
+ import io
16
+ import json
17
+ import re
18
+ import ssl
19
+ from typing import Optional, Union
20
+
21
+ import aiohttp
22
+ import aiohttp_retry
23
+
24
+ from crypticorn.metrics.client.exceptions import ApiException, ApiValueError
25
+
26
+ RESTResponseType = aiohttp.ClientResponse
27
+
28
+ ALLOW_RETRY_METHODS = frozenset({"DELETE", "GET", "HEAD", "OPTIONS", "PUT", "TRACE"})
29
+
30
+
31
+ class RESTResponse(io.IOBase):
32
+
33
+ def __init__(self, resp) -> None:
34
+ self.response = resp
35
+ self.status = resp.status
36
+ self.reason = resp.reason
37
+ self.data = None
38
+
39
+ async def read(self):
40
+ if self.data is None:
41
+ self.data = await self.response.read()
42
+ return self.data
43
+
44
+ def getheaders(self):
45
+ """Returns a CIMultiDictProxy of the response headers."""
46
+ return self.response.headers
47
+
48
+ def getheader(self, name, default=None):
49
+ """Returns a given response header."""
50
+ return self.response.headers.get(name, default)
51
+
52
+
53
+ class RESTClientObject:
54
+
55
+ def __init__(self, configuration) -> None:
56
+
57
+ # maxsize is number of requests to host that are allowed in parallel
58
+ self.maxsize = configuration.connection_pool_maxsize
59
+
60
+ self.ssl_context = ssl.create_default_context(cafile=configuration.ssl_ca_cert)
61
+ if configuration.cert_file:
62
+ self.ssl_context.load_cert_chain(
63
+ configuration.cert_file, keyfile=configuration.key_file
64
+ )
65
+
66
+ if not configuration.verify_ssl:
67
+ self.ssl_context.check_hostname = False
68
+ self.ssl_context.verify_mode = ssl.CERT_NONE
69
+
70
+ self.proxy = configuration.proxy
71
+ self.proxy_headers = configuration.proxy_headers
72
+
73
+ self.retries = configuration.retries
74
+
75
+ self.pool_manager: Optional[aiohttp.ClientSession] = None
76
+ self.retry_client: Optional[aiohttp_retry.RetryClient] = None
77
+
78
+ async def close(self) -> None:
79
+ if self.pool_manager:
80
+ await self.pool_manager.close()
81
+ if self.retry_client is not None:
82
+ await self.retry_client.close()
83
+
84
+ async def request(
85
+ self,
86
+ method,
87
+ url,
88
+ headers=None,
89
+ body=None,
90
+ post_params=None,
91
+ _request_timeout=None,
92
+ ):
93
+ """Execute request
94
+
95
+ :param method: http request method
96
+ :param url: http request url
97
+ :param headers: http request headers
98
+ :param body: request json body, for `application/json`
99
+ :param post_params: request post parameters,
100
+ `application/x-www-form-urlencoded`
101
+ and `multipart/form-data`
102
+ :param _request_timeout: timeout setting for this request. If one
103
+ number provided, it will be total request
104
+ timeout. It can also be a pair (tuple) of
105
+ (connection, read) timeouts.
106
+ """
107
+ method = method.upper()
108
+ assert method in ["GET", "HEAD", "DELETE", "POST", "PUT", "PATCH", "OPTIONS"]
109
+
110
+ if post_params and body:
111
+ raise ApiValueError(
112
+ "body parameter cannot be used with post_params parameter."
113
+ )
114
+
115
+ post_params = post_params or {}
116
+ headers = headers or {}
117
+ # url already contains the URL query string
118
+ timeout = _request_timeout or 5 * 60
119
+
120
+ if "Content-Type" not in headers:
121
+ headers["Content-Type"] = "application/json"
122
+
123
+ args = {"method": method, "url": url, "timeout": timeout, "headers": headers}
124
+
125
+ if self.proxy:
126
+ args["proxy"] = self.proxy
127
+ if self.proxy_headers:
128
+ args["proxy_headers"] = self.proxy_headers
129
+
130
+ # For `POST`, `PUT`, `PATCH`, `OPTIONS`, `DELETE`
131
+ if method in ["POST", "PUT", "PATCH", "OPTIONS", "DELETE"]:
132
+ if re.search("json", headers["Content-Type"], re.IGNORECASE):
133
+ if body is not None:
134
+ body = json.dumps(body)
135
+ args["data"] = body
136
+ elif headers["Content-Type"] == "application/x-www-form-urlencoded":
137
+ args["data"] = aiohttp.FormData(post_params)
138
+ elif headers["Content-Type"] == "multipart/form-data":
139
+ # must del headers['Content-Type'], or the correct
140
+ # Content-Type which generated by aiohttp
141
+ del headers["Content-Type"]
142
+ data = aiohttp.FormData()
143
+ for param in post_params:
144
+ k, v = param
145
+ if isinstance(v, tuple) and len(v) == 3:
146
+ data.add_field(k, value=v[1], filename=v[0], content_type=v[2])
147
+ else:
148
+ # Ensures that dict objects are serialized
149
+ if isinstance(v, dict):
150
+ v = json.dumps(v)
151
+ elif isinstance(v, int):
152
+ v = str(v)
153
+ data.add_field(k, v)
154
+ args["data"] = data
155
+
156
+ # Pass a `bytes` or `str` parameter directly in the body to support
157
+ # other content types than Json when `body` argument is provided
158
+ # in serialized form
159
+ elif isinstance(body, str) or isinstance(body, bytes):
160
+ args["data"] = body
161
+ else:
162
+ # Cannot generate the request from given parameters
163
+ msg = """Cannot prepare a request message for provided
164
+ arguments. Please check that your arguments match
165
+ declared content type."""
166
+ raise ApiException(status=0, reason=msg)
167
+
168
+ pool_manager: Union[aiohttp.ClientSession, aiohttp_retry.RetryClient]
169
+
170
+ # https pool manager
171
+ if self.pool_manager is None:
172
+ self.pool_manager = aiohttp.ClientSession(
173
+ connector=aiohttp.TCPConnector(
174
+ limit=self.maxsize, ssl=self.ssl_context
175
+ ),
176
+ trust_env=True,
177
+ )
178
+ pool_manager = self.pool_manager
179
+
180
+ if self.retries is not None and method in ALLOW_RETRY_METHODS:
181
+ if self.retry_client is None:
182
+ self.retry_client = aiohttp_retry.RetryClient(
183
+ client_session=self.pool_manager,
184
+ retry_options=aiohttp_retry.ExponentialRetry(
185
+ attempts=self.retries,
186
+ factor=2.0,
187
+ start_timeout=0.1,
188
+ max_timeout=120.0,
189
+ ),
190
+ )
191
+ pool_manager = self.retry_client
192
+
193
+ r = await pool_manager.request(**args)
194
+
195
+ return RESTResponse(r)
@@ -0,0 +1,112 @@
1
+ from crypticorn.metrics import (
2
+ ApiClient,
3
+ Configuration,
4
+ ExchangesApi,
5
+ HealthCheckApi,
6
+ IndicatorsApi,
7
+ LogsApi,
8
+ MarketcapApi,
9
+ MarketsApi,
10
+ TokensApi,
11
+ Market,
12
+ )
13
+ from crypticorn.common import BaseURL, ApiVersion, Service, apikey_header as aph
14
+ from typing import Optional, Dict, Any, Union, Tuple
15
+ from pydantic import StrictStr, StrictInt, StrictFloat, Field
16
+ from typing_extensions import Annotated
17
+
18
+ import pandas as pd
19
+
20
+
21
+ class MetricsClient:
22
+ """
23
+ A client for interacting with the Crypticorn Metrics API.
24
+ """
25
+
26
+ def __init__(
27
+ self,
28
+ base_url: BaseURL,
29
+ api_version: ApiVersion,
30
+ api_key: str = None,
31
+ jwt: str = None,
32
+ ):
33
+ self.host = f"{base_url.value}/{api_version.value}/{Service.METRICS.value}"
34
+ self.config = Configuration(
35
+ host=self.host,
36
+ access_token=jwt,
37
+ api_key={aph.scheme_name: api_key} if api_key else None,
38
+ api_key_prefix=({aph.scheme_name: aph.model.name} if api_key else None),
39
+ )
40
+ self.base_client = ApiClient(configuration=self.config)
41
+ # Instantiate all the endpoint clients
42
+ self.status = HealthCheckApi(self.base_client)
43
+ self.indicators = IndicatorsApi(self.base_client)
44
+ self.logs = LogsApi(self.base_client)
45
+ self.marketcap = MarketcapApiWrapper(self.base_client)
46
+ self.markets = MarketsApi(self.base_client)
47
+ self.tokens = TokensApiWrapper(self.base_client)
48
+ self.exchanges = ExchangesApi(self.base_client)
49
+
50
+
51
+
52
+ class MarketcapApiWrapper(MarketcapApi):
53
+ """
54
+ A wrapper for the MarketcapApi class.
55
+ """
56
+
57
+ async def get_marketcap_symbols_fmt(
58
+ self,
59
+ start_timestamp: Annotated[
60
+ Optional[StrictInt], Field(description="Start timestamp")
61
+ ] = None,
62
+ end_timestamp: Annotated[
63
+ Optional[StrictInt], Field(description="End timestamp")
64
+ ] = None,
65
+ interval: Annotated[
66
+ Optional[StrictStr],
67
+ Field(description="Interval for which to fetch symbols and marketcap data"),
68
+ ] = None,
69
+ market: Annotated[
70
+ Optional[Market],
71
+ Field(description="Market for which to fetch symbols and marketcap data"),
72
+ ] = None,
73
+ exchange: Annotated[
74
+ Optional[StrictStr],
75
+ Field(description="Exchange for which to fetch symbols and marketcap data"),
76
+ ] = None,
77
+ ) -> pd.DataFrame:
78
+ """
79
+ Get the marketcap symbols in a pandas dataframe
80
+ """
81
+ response = await self.get_marketcap_symbols_without_preload_content(
82
+ start_timestamp=start_timestamp,
83
+ end_timestamp=end_timestamp,
84
+ interval=interval,
85
+ market=market,
86
+ exchange=exchange,
87
+ )
88
+ json_response = await response.json()
89
+ df = pd.DataFrame(json_response["data"])
90
+ df.rename(columns={df.columns[0]: 'timestamp'}, inplace=True)
91
+ df['timestamp'] = pd.to_datetime(df['timestamp']).astype("int64") // 10 ** 9
92
+ return df
93
+
94
+
95
+ class TokensApiWrapper(TokensApi):
96
+ """
97
+ A wrapper for the TokensApi class.
98
+ """
99
+
100
+ async def get_tokens_fmt(
101
+ self,
102
+ token_type: Annotated[
103
+ StrictStr,
104
+ Field(description="Type of tokens to fetch"),
105
+ ],
106
+ ) -> pd.DataFrame:
107
+ """
108
+ Get the tokens in a pandas dataframe
109
+ """
110
+ response = await self.get_stable_and_wrapped_tokens_without_preload_content(token_type=token_type)
111
+ json_data = await response.json()
112
+ return pd.DataFrame(json_data['data'])
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: crypticorn
3
- Version: 2.1.5
3
+ Version: 2.1.6
4
4
  Summary: Maximise Your Crypto Trading Profits with AI Predictions
5
5
  Author-email: Crypticorn <timon@crypticorn.com>
6
6
  Project-URL: Homepage, https://crypticorn.com
@@ -1,5 +1,5 @@
1
1
  crypticorn/__init__.py,sha256=TL41V09dmtbd2ee07wmOuG9KJJpyvLMPJi5DEd9bDyU,129
2
- crypticorn/client.py,sha256=PHtTaV8hWiR-IXcZhQlwEY38q-PhqQjf-JiqaN2MPWg,1844
2
+ crypticorn/client.py,sha256=mj36LuJH9fF7rb_kKJuifAAepmU1j-jnWqk7a_q4jz4,2058
3
3
  crypticorn/auth/__init__.py,sha256=JAl1tBLK9pYLr_-YKaj581c-c94PWLoqnatTIVAVvMM,81
4
4
  crypticorn/auth/main.py,sha256=ljPuO27VDiOO-jnNycBn96X8UbVHPgOUglj46ib3OjM,1336
5
5
  crypticorn/auth/client/__init__.py,sha256=ziGgrJ7judjAwOaSKF-7lgs1zhE-XEZkMYKD0WUkHfs,4990
@@ -60,7 +60,7 @@ crypticorn/common/auth_client.py,sha256=7ICjLRPOIXzEJXW76BgVxkNfi_QjuRdLZBX6TNvT
60
60
  crypticorn/common/errors.py,sha256=Yd3zLtrqCe0NvjfqxIHohT48T4yfSi-V4s_WyYAi8t4,12614
61
61
  crypticorn/common/scopes.py,sha256=pRD9RauSRSxVGo8k5b2x66h3Wy2aaVEcluZvu6aMTE0,1418
62
62
  crypticorn/common/sorter.py,sha256=DPkQmxDeuti4onCiE8IJZUkTc5WZp1j4dIIc7wN9En0,1167
63
- crypticorn/common/urls.py,sha256=_NMhvhZXOsZpDBbgucqu0yboRFox6JVMlOoQq_Y5SGA,432
63
+ crypticorn/common/urls.py,sha256=6--K5hJjNjVAIxQA9SdT20AZsDjTmFsamHTNabgiCw8,456
64
64
  crypticorn/hive/__init__.py,sha256=hRfTlEzEql4msytdUC_04vfaHzVKG5CGZle1M-9QFgY,81
65
65
  crypticorn/hive/main.py,sha256=RmCYSR0jwmfYWTK89dt79DuGPjEaip9XQs_LWNWr_tc,1036
66
66
  crypticorn/hive/client/__init__.py,sha256=DIj3v16Yq5l6yMPoywrL2sOvQ6ZqpAsSJuhssIp8JFQ,2396
@@ -98,7 +98,7 @@ crypticorn/klines/main.py,sha256=Md1VqaFSwlbO9ZY4v8VIBYQr2kuYnsxgfaDpisDFarA,218
98
98
  crypticorn/klines/client/__init__.py,sha256=i4zgrQsA1BXPYa0YLnSOrStKk1iJyJw-2KDOtTDdizg,3795
99
99
  crypticorn/klines/client/api_client.py,sha256=Sih490VSmIfdDEq0A_ULlx7HR_e03bExGYta1kZEO7Y,27135
100
100
  crypticorn/klines/client/api_response.py,sha256=WhxwYDSMm6wPixp9CegO8dJzjFxDz3JF1yCq9s0ZqKE,639
101
- crypticorn/klines/client/configuration.py,sha256=TC94Yk0_7ZSOwv_KuqnSbxA0BpCFqFvjbR7vrGBlzWo,18017
101
+ crypticorn/klines/client/configuration.py,sha256=P6k85BelMIOrjKPPyBel6JKZXgNgG_wy4q6wo1J0_jk,17997
102
102
  crypticorn/klines/client/exceptions.py,sha256=TlbbWk-rYbzR4im1prdyzhVe_btHSeNTRPrvlN8bbik,6735
103
103
  crypticorn/klines/client/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
104
104
  crypticorn/klines/client/rest.py,sha256=KQv_jWLyX6hglTGnkwmyx1lbhxXYLwpOOFxFw-sY5XA,9577
@@ -134,6 +134,37 @@ crypticorn/klines/client/models/timeframe.py,sha256=MD4l74KnVeFr2fXJXrR8Wos58_5v
134
134
  crypticorn/klines/client/models/udf_config_response.py,sha256=VRBMwoCmtjSooF_TxqcofGmT0JYd0HAVqjGdOWJXeds,5982
135
135
  crypticorn/klines/client/models/validation_error.py,sha256=TMfS5WKx6jSNPdppQA5Yax-r3k0Gn31raWyTZPMsDPg,3509
136
136
  crypticorn/klines/client/models/validation_error_loc_inner.py,sha256=tUClZ2b89NWJWHagBsZ5rlEjiV1vn4sgpAncHKUIZRg,5411
137
+ crypticorn/metrics/__init__.py,sha256=VT1pPYATCS_t_FFB14xYheb1YVyghFiHAT-RapO3NEY,120
138
+ crypticorn/metrics/main.py,sha256=HeVj1B-OqeAoSQU1OIMngoSsPwZjBckNb1UC866obtE,3636
139
+ crypticorn/metrics/client/__init__.py,sha256=9ooMGJCbi9evO8IklEjgRXdVZsuA8d4sTcKhijo7IHs,2799
140
+ crypticorn/metrics/client/api_client.py,sha256=vP_byGPqgDnmt9nV2YXUiiYWFsJ3HWWi2s81f7gp8vU,27139
141
+ crypticorn/metrics/client/api_response.py,sha256=WhxwYDSMm6wPixp9CegO8dJzjFxDz3JF1yCq9s0ZqKE,639
142
+ crypticorn/metrics/client/configuration.py,sha256=vlHI58g76MvBjIYj_lU9T0YiPf5dC_OWW9HHBaQEask,17626
143
+ crypticorn/metrics/client/exceptions.py,sha256=Hg4u41-JvnlRV5Eu4ZxaFClHP5apqNNbHBFRfE6P3u8,6626
144
+ crypticorn/metrics/client/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
145
+ crypticorn/metrics/client/rest.py,sha256=1XJWcgpqjCTmKQkkDASF3IhBu58fSaWRPoalizOO_5c,7160
146
+ crypticorn/metrics/client/api/__init__.py,sha256=6Oe65QZrPMVsKFm0EozbaSh2bCsjwM7JnamjheerrcM,517
147
+ crypticorn/metrics/client/api/exchanges_api.py,sha256=A4KTYRcuxTA11vAjn17wgmsvQyzWOw6MDk_6-X6xpCA,41666
148
+ crypticorn/metrics/client/api/health_check_api.py,sha256=FuGyOWzkOo1mQaI8agGUXMSlwvzEm7MKyDXqwNWjjUM,10600
149
+ crypticorn/metrics/client/api/indicators_api.py,sha256=6k4mXpOg9MIIjIVYAjpvt8FK2X8P0Rli6x1ETANEeK0,26502
150
+ crypticorn/metrics/client/api/logs_api.py,sha256=VoLkymPD2yX8yepAfqPSqDxLy--clbgBiZJipX1-M40,14244
151
+ crypticorn/metrics/client/api/marketcap_api.py,sha256=zx2ypWL15ZecMhm3f9DqupFMzwA3jHApFvsC58RcIQs,52841
152
+ crypticorn/metrics/client/api/markets_api.py,sha256=92o2Hak9pFeJ7wmkphqEzrjT9gw4gZE49JsE35pO0m4,25304
153
+ crypticorn/metrics/client/api/tokens_api.py,sha256=tO21gzbvFCQYTrfenVlsDK_YxzEu_ut6VOatryC4Hcc,12057
154
+ crypticorn/metrics/client/models/__init__.py,sha256=pIOxE1-Ui53O5mR0cHPSd9FjSr9d7WIm8tsrX-a1KkI,1686
155
+ crypticorn/metrics/client/models/base_response_dict.py,sha256=a1ZcrL_AleMfxwT-zfPYV4cd1LwS-Wz4a9A92CIEFRo,3547
156
+ crypticorn/metrics/client/models/base_response_health_check_response.py,sha256=hWZJ8WUcLO1Ml7D0uvmSjrhxGxkEOmEPUmjK-rElbSI,4000
157
+ crypticorn/metrics/client/models/base_response_list_dict.py,sha256=exP8bxgkyhNchQSHwnLBeJFu5FkJstcB5foqctBUfIE,3569
158
+ crypticorn/metrics/client/models/base_response_list_exchange_mapping.py,sha256=-g0UMGlwwhJuxfcBp0QG60m0bW2ORnyvHyPpPprBSb0,4165
159
+ crypticorn/metrics/client/models/base_response_list_str.py,sha256=5lp3KqkdDDHqFR-7qWharb-PkzY07J9zRMhLgmOc7uQ,3560
160
+ crypticorn/metrics/client/models/error_response.py,sha256=_8ph1nXwGgGQ0mlsZZuoBBFYakNeetg-lGn6OrsMsAw,3473
161
+ crypticorn/metrics/client/models/exchange_mapping.py,sha256=VnWJVALy0pVT5e26XrNykCJBfl4RtRh99xlnkB_cu-g,4376
162
+ crypticorn/metrics/client/models/health_check_response.py,sha256=aCtQQ9EG9uEYir0Ny-oyIB49Mztn9J_HCEloxk3IvpE,2955
163
+ crypticorn/metrics/client/models/http_validation_error.py,sha256=LA7UuqNMKxqG7iO_bi1Kgx5mdodtLAgxL5VOdefpgJk,3291
164
+ crypticorn/metrics/client/models/market.py,sha256=mJBN2REbwvJags4iWgfnyec3XDyJDtGAQClC0LrJAcE,902
165
+ crypticorn/metrics/client/models/severity.py,sha256=7qCflKy5HPy6EL6Ig3bencZnddnupas9vfxoh1D1fSE,936
166
+ crypticorn/metrics/client/models/validation_error.py,sha256=yCwcbJ9w7lr_jSgcbsl2C37Zr9h93iAZxdHc7lKqeZs,3401
167
+ crypticorn/metrics/client/models/validation_error_loc_inner.py,sha256=Rki-HutGR9cicKt_OP2vN-5-ofpvPsmT6VpSYeMfJfI,5302
137
168
  crypticorn/pay/__init__.py,sha256=ux-B-YbNetpTlZTb2fijuGUOEmSm4IB0fYtieGnVDBg,78
138
169
  crypticorn/pay/main.py,sha256=DbwP_DI5Zp3Ow-Fq2khnnb0hOvrpA29e-jeRyrCCbBs,1075
139
170
  crypticorn/pay/client/__init__.py,sha256=-Nk_UoRtKtpbY1-9iP1hUdDczdP6eE3T_Z1wVNhkAZo,2377
@@ -229,7 +260,7 @@ crypticorn/trade/client/models/tpsl.py,sha256=QGPhcgadjxAgyzpRSwlZJg_CDLnKxdZgse
229
260
  crypticorn/trade/client/models/trading_action_type.py,sha256=jW0OsNz_ZNXlITxAfh979BH5U12oTXSr6qUVcKcGHhw,847
230
261
  crypticorn/trade/client/models/validation_error.py,sha256=uTkvsKrOAt-21UC0YPqCdRl_OMsuu7uhPtWuwRSYvv0,3228
231
262
  crypticorn/trade/client/models/validation_error_loc_inner.py,sha256=22ql-H829xTBgfxNQZsqd8fS3zQt9tLW1pj0iobo0jY,5131
232
- crypticorn-2.1.5.dist-info/METADATA,sha256=8UdisEy21DdJYWNydet6iAgvD2X5qrqANj9_lE5vFdo,3138
233
- crypticorn-2.1.5.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
234
- crypticorn-2.1.5.dist-info/top_level.txt,sha256=EP3NY216qIBYfmvGl0L2Zc9ItP0DjGSkiYqd9xJwGcM,11
235
- crypticorn-2.1.5.dist-info/RECORD,,
263
+ crypticorn-2.1.6.dist-info/METADATA,sha256=adfjnqk3cy9RW0emSxZkbuoeVNmnQutbmUtfLdElhF0,3138
264
+ crypticorn-2.1.6.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
265
+ crypticorn-2.1.6.dist-info/top_level.txt,sha256=EP3NY216qIBYfmvGl0L2Zc9ItP0DjGSkiYqd9xJwGcM,11
266
+ crypticorn-2.1.6.dist-info/RECORD,,