crypticorn 2.17.0rc4__py3-none-any.whl → 2.17.0rc6__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.
- crypticorn/auth/client/api/admin_api.py +6 -26
- crypticorn/auth/client/api/auth_api.py +36 -148
- crypticorn/auth/client/api/service_api.py +3 -16
- crypticorn/auth/client/api/user_api.py +33 -136
- crypticorn/auth/client/api/wallet_api.py +18 -76
- crypticorn/auth/client/api_client.py +0 -5
- crypticorn/auth/client/models/add_wallet_request.py +1 -1
- crypticorn/auth/client/models/authorize_user_request.py +1 -1
- crypticorn/auth/client/models/create_api_key_request.py +1 -1
- crypticorn/auth/client/models/create_user_request.py +1 -1
- crypticorn/auth/client/models/get_api_keys200_response_inner.py +1 -1
- crypticorn/auth/client/models/list_wallets200_response_balances_inner_sale_round.py +1 -1
- crypticorn/auth/client/models/list_wallets200_response_balances_inner_wallet.py +1 -1
- crypticorn/auth/client/models/list_wallets200_response_balances_inner_wallet_vesting_wallets_inner.py +1 -1
- crypticorn/auth/client/models/list_wallets200_response_data_inner.py +1 -1
- crypticorn/auth/client/models/logout_default_response.py +1 -1
- crypticorn/auth/client/models/oauth_callback200_response_user.py +1 -1
- crypticorn/auth/client/models/refresh_token_info200_response_user_session.py +1 -1
- crypticorn/auth/client/models/rotate_tokens200_response.py +1 -1
- crypticorn/auth/client/models/token_info200_response.py +1 -1
- crypticorn/auth/client/models/update_user_request.py +1 -1
- crypticorn/auth/client/models/user_by_username200_response.py +1 -1
- crypticorn/auth/client/models/verify200_response.py +1 -1
- crypticorn/auth/client/models/verify_email200_response_auth.py +1 -1
- crypticorn/auth/client/models/verify_email200_response_auth_auth.py +1 -1
- crypticorn/auth/client/models/whoami200_response.py +1 -1
- crypticorn/cli/init.py +1 -1
- crypticorn/cli/templates/.env.docker.temp +3 -0
- crypticorn/cli/templates/.env.example.temp +4 -0
- crypticorn/cli/templates/Dockerfile +5 -2
- crypticorn/client.py +0 -1
- crypticorn/common/auth.py +31 -4
- crypticorn/common/decorators.py +1 -2
- crypticorn/common/enums.py +0 -2
- crypticorn/common/errors.py +10 -0
- crypticorn/common/metrics.py +1 -1
- crypticorn/common/middleware.py +0 -1
- crypticorn/common/pagination.py +116 -24
- crypticorn/common/router/admin_router.py +1 -11
- crypticorn/common/router/status_router.py +33 -2
- crypticorn/common/scopes.py +2 -2
- crypticorn/common/utils.py +1 -2
- crypticorn/dex/__init__.py +6 -0
- crypticorn/dex/client/__init__.py +49 -0
- crypticorn/dex/client/api/__init__.py +6 -0
- crypticorn/dex/client/api/admin_api.py +2983 -0
- crypticorn/dex/client/api/signals_api.py +1794 -0
- crypticorn/dex/client/api/status_api.py +889 -0
- crypticorn/dex/client/api_client.py +753 -0
- crypticorn/dex/client/api_response.py +20 -0
- crypticorn/dex/client/configuration.py +620 -0
- crypticorn/dex/client/exceptions.py +220 -0
- crypticorn/dex/client/models/__init__.py +30 -0
- crypticorn/dex/client/models/api_error_identifier.py +121 -0
- crypticorn/dex/client/models/api_error_level.py +37 -0
- crypticorn/dex/client/models/api_error_type.py +37 -0
- crypticorn/dex/client/models/exception_detail.py +117 -0
- crypticorn/dex/client/models/log_level.py +38 -0
- crypticorn/dex/client/models/paginated_response_signal_with_token.py +134 -0
- crypticorn/dex/client/models/risk.py +86 -0
- crypticorn/dex/client/models/signal_overview_stats.py +156 -0
- crypticorn/dex/client/models/signal_volume.py +84 -0
- crypticorn/dex/client/models/signal_with_token.py +163 -0
- crypticorn/dex/client/models/token_data.py +127 -0
- crypticorn/dex/client/models/token_detail.py +116 -0
- crypticorn/dex/client/py.typed +0 -0
- crypticorn/dex/client/rest.py +217 -0
- crypticorn/dex/main.py +1 -0
- crypticorn/hive/client/api/admin_api.py +18 -75
- crypticorn/hive/client/api/data_api.py +6 -28
- crypticorn/hive/client/api/models_api.py +22 -88
- crypticorn/hive/client/api/status_api.py +6 -27
- crypticorn/hive/client/api_client.py +0 -5
- crypticorn/hive/client/models/coin_info.py +1 -1
- crypticorn/hive/client/models/exception_detail.py +1 -1
- crypticorn/hive/client/models/target_info.py +1 -1
- crypticorn/hive/utils.py +2 -2
- crypticorn/klines/client/api/admin_api.py +18 -75
- crypticorn/klines/client/api/change_in_timeframe_api.py +3 -16
- crypticorn/klines/client/api/funding_rates_api.py +3 -16
- crypticorn/klines/client/api/ohlcv_data_api.py +3 -16
- crypticorn/klines/client/api/status_api.py +6 -27
- crypticorn/klines/client/api/symbols_api.py +3 -16
- crypticorn/klines/client/api/udf_api.py +18 -74
- crypticorn/klines/client/api_client.py +0 -5
- crypticorn/klines/client/models/exception_detail.py +1 -1
- crypticorn/klines/client/models/ohlcv.py +1 -1
- crypticorn/klines/client/models/symbol_group.py +1 -1
- crypticorn/klines/client/models/udf_config.py +1 -1
- crypticorn/metrics/client/api/admin_api.py +18 -75
- crypticorn/metrics/client/api/exchanges_api.py +12 -52
- crypticorn/metrics/client/api/indicators_api.py +6 -28
- crypticorn/metrics/client/api/logs_api.py +3 -16
- crypticorn/metrics/client/api/marketcap_api.py +12 -52
- crypticorn/metrics/client/api/markets_api.py +3 -16
- crypticorn/metrics/client/api/quote_currencies_api.py +3 -16
- crypticorn/metrics/client/api/status_api.py +6 -27
- crypticorn/metrics/client/api/tokens_api.py +6 -26
- crypticorn/metrics/client/api_client.py +0 -5
- crypticorn/metrics/client/models/exception_detail.py +1 -1
- crypticorn/metrics/client/models/exchange_mapping.py +1 -1
- crypticorn/metrics/client/models/marketcap_ranking.py +1 -1
- crypticorn/metrics/client/models/marketcap_symbol_ranking.py +1 -1
- crypticorn/metrics/client/models/ohlcv.py +1 -1
- crypticorn/pay/client/api/admin_api.py +21 -87
- crypticorn/pay/client/api/now_payments_api.py +15 -64
- crypticorn/pay/client/api/payments_api.py +6 -28
- crypticorn/pay/client/api/products_api.py +12 -52
- crypticorn/pay/client/api/status_api.py +6 -27
- crypticorn/pay/client/api_client.py +0 -5
- crypticorn/pay/client/models/exception_detail.py +1 -1
- crypticorn/pay/client/models/now_create_invoice_req.py +1 -1
- crypticorn/pay/client/models/now_create_invoice_res.py +1 -1
- crypticorn/pay/client/models/product.py +1 -1
- crypticorn/pay/client/models/product_create.py +1 -1
- crypticorn/pay/client/models/product_update.py +1 -1
- crypticorn/trade/client/__init__.py +15 -0
- crypticorn/trade/client/api/admin_api.py +43 -107
- crypticorn/trade/client/api/api_keys_api.py +207 -184
- crypticorn/trade/client/api/bots_api.py +6557 -240
- crypticorn/trade/client/api/exchanges_api.py +9 -36
- crypticorn/trade/client/api/notifications_api.py +18 -72
- crypticorn/trade/client/api/orders_api.py +220 -115
- crypticorn/trade/client/api/status_api.py +6 -24
- crypticorn/trade/client/api/strategies_api.py +15 -60
- crypticorn/trade/client/api/trading_actions_api.py +431 -112
- crypticorn/trade/client/models/__init__.py +15 -0
- crypticorn/trade/client/models/bot.py +7 -18
- crypticorn/trade/client/models/bot_create.py +17 -1
- crypticorn/trade/client/models/bot_update.py +17 -1
- crypticorn/trade/client/models/exchange_key_create.py +17 -1
- crypticorn/trade/client/models/exchange_key_update.py +17 -1
- crypticorn/trade/client/models/notification.py +17 -1
- crypticorn/trade/client/models/notification_create.py +17 -1
- crypticorn/trade/client/models/notification_update.py +17 -1
- crypticorn/trade/client/models/orders_count.py +88 -0
- crypticorn/trade/client/models/paginated_response_futures_trading_action.py +134 -0
- crypticorn/trade/client/models/paginated_response_order.py +134 -0
- crypticorn/trade/client/models/paginated_response_union_futures_trading_action_spot_trading_action.py +141 -0
- crypticorn/trade/client/models/paginated_response_union_futures_trading_action_spot_trading_action_data_inner.py +165 -0
- crypticorn/trade/client/models/pn_l.py +95 -0
- crypticorn/trade/client/models/spot_trading_action.py +207 -0
- crypticorn/trade/client/models/strategy.py +17 -1
- crypticorn/trade/client/models/strategy_create.py +17 -1
- crypticorn/trade/client/models/strategy_update.py +17 -1
- {crypticorn-2.17.0rc4.dist-info → crypticorn-2.17.0rc6.dist-info}/METADATA +3 -3
- {crypticorn-2.17.0rc4.dist-info → crypticorn-2.17.0rc6.dist-info}/RECORD +151 -116
- {crypticorn-2.17.0rc4.dist-info → crypticorn-2.17.0rc6.dist-info}/WHEEL +0 -0
- {crypticorn-2.17.0rc4.dist-info → crypticorn-2.17.0rc6.dist-info}/entry_points.txt +0 -0
- {crypticorn-2.17.0rc4.dist-info → crypticorn-2.17.0rc6.dist-info}/licenses/LICENSE +0 -0
- {crypticorn-2.17.0rc4.dist-info → crypticorn-2.17.0rc6.dist-info}/top_level.txt +0 -0
@@ -11,14 +11,10 @@ Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
Do not edit the class manually.
|
12
12
|
""" # noqa: E501
|
13
13
|
|
14
|
-
import warnings
|
15
14
|
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
|
16
15
|
from typing import Any, Dict, List, Optional, Tuple, Union
|
17
16
|
from typing_extensions import Annotated
|
18
17
|
|
19
|
-
from pydantic import Field, StrictInt, StrictStr
|
20
|
-
from typing import Any, Dict, Optional
|
21
|
-
from typing_extensions import Annotated
|
22
18
|
from crypticorn.metrics.client.models.market_type import MarketType
|
23
19
|
|
24
20
|
from crypticorn.metrics.client.api_client import ApiClient, RequestSerialized
|
@@ -85,10 +81,7 @@ class IndicatorsApi:
|
|
85
81
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
86
82
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
87
83
|
) -> Dict[str, object]:
|
88
|
-
"""Get Ker Indicator
|
89
|
-
|
90
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
91
|
-
"""
|
84
|
+
"""Get Ker Indicator"""
|
92
85
|
if self.is_sync:
|
93
86
|
return self._get_ker_indicator_sync(
|
94
87
|
symbol=symbol,
|
@@ -143,10 +136,7 @@ class IndicatorsApi:
|
|
143
136
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
144
137
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
145
138
|
) -> ApiResponse[Dict[str, object]]:
|
146
|
-
"""Get Ker Indicator with HTTP info
|
147
|
-
|
148
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
149
|
-
"""
|
139
|
+
"""Get Ker Indicator with HTTP info"""
|
150
140
|
if self.is_sync:
|
151
141
|
return self._get_ker_indicator_sync_with_http_info(
|
152
142
|
symbol=symbol,
|
@@ -201,10 +191,7 @@ class IndicatorsApi:
|
|
201
191
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
202
192
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
203
193
|
) -> RESTResponseType:
|
204
|
-
"""Get Ker Indicator without preloading content
|
205
|
-
|
206
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
207
|
-
"""
|
194
|
+
"""Get Ker Indicator without preloading content"""
|
208
195
|
if self.is_sync:
|
209
196
|
return self._get_ker_indicator_sync_without_preload_content(
|
210
197
|
symbol=symbol,
|
@@ -707,10 +694,7 @@ class IndicatorsApi:
|
|
707
694
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
708
695
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
709
696
|
) -> Dict[str, object]:
|
710
|
-
"""Get Sma Indicator
|
711
|
-
|
712
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
713
|
-
"""
|
697
|
+
"""Get Sma Indicator"""
|
714
698
|
if self.is_sync:
|
715
699
|
return self._get_sma_indicator_sync(
|
716
700
|
symbol=symbol,
|
@@ -767,10 +751,7 @@ class IndicatorsApi:
|
|
767
751
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
768
752
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
769
753
|
) -> ApiResponse[Dict[str, object]]:
|
770
|
-
"""Get Sma Indicator with HTTP info
|
771
|
-
|
772
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
773
|
-
"""
|
754
|
+
"""Get Sma Indicator with HTTP info"""
|
774
755
|
if self.is_sync:
|
775
756
|
return self._get_sma_indicator_sync_with_http_info(
|
776
757
|
symbol=symbol,
|
@@ -827,10 +808,7 @@ class IndicatorsApi:
|
|
827
808
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
828
809
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
829
810
|
) -> RESTResponseType:
|
830
|
-
"""Get Sma Indicator without preloading content
|
831
|
-
|
832
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
833
|
-
"""
|
811
|
+
"""Get Sma Indicator without preloading content"""
|
834
812
|
if self.is_sync:
|
835
813
|
return self._get_sma_indicator_sync_without_preload_content(
|
836
814
|
symbol=symbol,
|
@@ -11,14 +11,10 @@ Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
Do not edit the class manually.
|
12
12
|
""" # noqa: E501
|
13
13
|
|
14
|
-
import warnings
|
15
14
|
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
|
16
15
|
from typing import Any, Dict, List, Optional, Tuple, Union
|
17
16
|
from typing_extensions import Annotated
|
18
17
|
|
19
|
-
from pydantic import Field, StrictInt
|
20
|
-
from typing import Any, Dict, List, Optional
|
21
|
-
from typing_extensions import Annotated
|
22
18
|
from crypticorn.metrics.client.models.severity import Severity
|
23
19
|
|
24
20
|
from crypticorn.metrics.client.api_client import ApiClient, RequestSerialized
|
@@ -83,10 +79,7 @@ class LogsApi:
|
|
83
79
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
84
80
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
85
81
|
) -> List[Dict[str, object]]:
|
86
|
-
"""Get Error Logs
|
87
|
-
|
88
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
89
|
-
"""
|
82
|
+
"""Get Error Logs"""
|
90
83
|
if self.is_sync:
|
91
84
|
return self._get_metrics_error_logs_sync(
|
92
85
|
severity=severity,
|
@@ -137,10 +130,7 @@ class LogsApi:
|
|
137
130
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
138
131
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
139
132
|
) -> ApiResponse[List[Dict[str, object]]]:
|
140
|
-
"""Get Error Logs with HTTP info
|
141
|
-
|
142
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
143
|
-
"""
|
133
|
+
"""Get Error Logs with HTTP info"""
|
144
134
|
if self.is_sync:
|
145
135
|
return self._get_metrics_error_logs_sync_with_http_info(
|
146
136
|
severity=severity,
|
@@ -191,10 +181,7 @@ class LogsApi:
|
|
191
181
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
192
182
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
193
183
|
) -> RESTResponseType:
|
194
|
-
"""Get Error Logs without preloading content
|
195
|
-
|
196
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
197
|
-
"""
|
184
|
+
"""Get Error Logs without preloading content"""
|
198
185
|
if self.is_sync:
|
199
186
|
return self._get_metrics_error_logs_sync_without_preload_content(
|
200
187
|
severity=severity,
|
@@ -11,14 +11,10 @@ Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
Do not edit the class manually.
|
12
12
|
""" # noqa: E501
|
13
13
|
|
14
|
-
import warnings
|
15
14
|
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
|
16
15
|
from typing import Any, Dict, List, Optional, Tuple, Union
|
17
16
|
from typing_extensions import Annotated
|
18
17
|
|
19
|
-
from pydantic import Field, StrictInt, StrictStr, field_validator
|
20
|
-
from typing import Any, Dict, List, Optional
|
21
|
-
from typing_extensions import Annotated
|
22
18
|
from crypticorn.metrics.client.models.market_type import MarketType
|
23
19
|
from crypticorn.metrics.client.models.marketcap_ranking import MarketcapRanking
|
24
20
|
from crypticorn.metrics.client.models.marketcap_symbol_ranking import (
|
@@ -81,10 +77,7 @@ class MarketcapApi:
|
|
81
77
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
82
78
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
83
79
|
) -> List[Dict[str, object]]:
|
84
|
-
"""Get Current Marketcap
|
85
|
-
|
86
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
87
|
-
"""
|
80
|
+
"""Get Current Marketcap"""
|
88
81
|
if self.is_sync:
|
89
82
|
return self._get_current_marketcap_sync(
|
90
83
|
limit=limit,
|
@@ -124,10 +117,7 @@ class MarketcapApi:
|
|
124
117
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
125
118
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
126
119
|
) -> ApiResponse[List[Dict[str, object]]]:
|
127
|
-
"""Get Current Marketcap with HTTP info
|
128
|
-
|
129
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
130
|
-
"""
|
120
|
+
"""Get Current Marketcap with HTTP info"""
|
131
121
|
if self.is_sync:
|
132
122
|
return self._get_current_marketcap_sync_with_http_info(
|
133
123
|
limit=limit,
|
@@ -167,10 +157,7 @@ class MarketcapApi:
|
|
167
157
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
168
158
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
169
159
|
) -> RESTResponseType:
|
170
|
-
"""Get Current Marketcap without preloading content
|
171
|
-
|
172
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
173
|
-
"""
|
160
|
+
"""Get Current Marketcap without preloading content"""
|
174
161
|
if self.is_sync:
|
175
162
|
return self._get_current_marketcap_sync_without_preload_content(
|
176
163
|
limit=limit,
|
@@ -553,10 +540,7 @@ class MarketcapApi:
|
|
553
540
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
554
541
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
555
542
|
) -> List[MarketcapRanking]:
|
556
|
-
"""Get Marketcap Between Timestamps
|
557
|
-
|
558
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
559
|
-
"""
|
543
|
+
"""Get Marketcap Between Timestamps"""
|
560
544
|
if self.is_sync:
|
561
545
|
return self._get_marketcap_between_timestamps_sync(
|
562
546
|
start_timestamp=start_timestamp,
|
@@ -600,10 +584,7 @@ class MarketcapApi:
|
|
600
584
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
601
585
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
602
586
|
) -> ApiResponse[List[MarketcapRanking]]:
|
603
|
-
"""Get Marketcap Between Timestamps with HTTP info
|
604
|
-
|
605
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
606
|
-
"""
|
587
|
+
"""Get Marketcap Between Timestamps with HTTP info"""
|
607
588
|
if self.is_sync:
|
608
589
|
return self._get_marketcap_between_timestamps_sync_with_http_info(
|
609
590
|
start_timestamp=start_timestamp,
|
@@ -647,10 +628,7 @@ class MarketcapApi:
|
|
647
628
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
648
629
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
649
630
|
) -> RESTResponseType:
|
650
|
-
"""Get Marketcap Between Timestamps without preloading content
|
651
|
-
|
652
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
653
|
-
"""
|
631
|
+
"""Get Marketcap Between Timestamps without preloading content"""
|
654
632
|
if self.is_sync:
|
655
633
|
return self._get_marketcap_between_timestamps_sync_without_preload_content(
|
656
634
|
start_timestamp=start_timestamp,
|
@@ -1084,10 +1062,7 @@ class MarketcapApi:
|
|
1084
1062
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1085
1063
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1086
1064
|
) -> List[MarketcapSymbolRanking]:
|
1087
|
-
"""Get Symbols Marketcap Between Timestamps
|
1088
|
-
|
1089
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
1090
|
-
"""
|
1065
|
+
"""Get Symbols Marketcap Between Timestamps"""
|
1091
1066
|
if self.is_sync:
|
1092
1067
|
return self._get_marketcap_symbols_sync(
|
1093
1068
|
start_timestamp=start_timestamp,
|
@@ -1153,10 +1128,7 @@ class MarketcapApi:
|
|
1153
1128
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1154
1129
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1155
1130
|
) -> ApiResponse[List[MarketcapSymbolRanking]]:
|
1156
|
-
"""Get Symbols Marketcap Between Timestamps with HTTP info
|
1157
|
-
|
1158
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
1159
|
-
"""
|
1131
|
+
"""Get Symbols Marketcap Between Timestamps with HTTP info"""
|
1160
1132
|
if self.is_sync:
|
1161
1133
|
return self._get_marketcap_symbols_sync_with_http_info(
|
1162
1134
|
start_timestamp=start_timestamp,
|
@@ -1222,10 +1194,7 @@ class MarketcapApi:
|
|
1222
1194
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1223
1195
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1224
1196
|
) -> RESTResponseType:
|
1225
|
-
"""Get Symbols Marketcap Between Timestamps without preloading content
|
1226
|
-
|
1227
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
1228
|
-
"""
|
1197
|
+
"""Get Symbols Marketcap Between Timestamps without preloading content"""
|
1229
1198
|
if self.is_sync:
|
1230
1199
|
return self._get_marketcap_symbols_sync_without_preload_content(
|
1231
1200
|
start_timestamp=start_timestamp,
|
@@ -1804,10 +1773,7 @@ class MarketcapApi:
|
|
1804
1773
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1805
1774
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1806
1775
|
) -> Dict[str, List[OHLCV]]:
|
1807
|
-
"""Get Symbols Marketcap With Ohlcv
|
1808
|
-
|
1809
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
1810
|
-
"""
|
1776
|
+
"""Get Symbols Marketcap With Ohlcv"""
|
1811
1777
|
if self.is_sync:
|
1812
1778
|
return self._get_marketcap_symbols_with_ohlcv_sync(
|
1813
1779
|
timestamp=timestamp,
|
@@ -1869,10 +1835,7 @@ class MarketcapApi:
|
|
1869
1835
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1870
1836
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1871
1837
|
) -> ApiResponse[Dict[str, List[OHLCV]]]:
|
1872
|
-
"""Get Symbols Marketcap With Ohlcv with HTTP info
|
1873
|
-
|
1874
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
1875
|
-
"""
|
1838
|
+
"""Get Symbols Marketcap With Ohlcv with HTTP info"""
|
1876
1839
|
if self.is_sync:
|
1877
1840
|
return self._get_marketcap_symbols_with_ohlcv_sync_with_http_info(
|
1878
1841
|
timestamp=timestamp,
|
@@ -1934,10 +1897,7 @@ class MarketcapApi:
|
|
1934
1897
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1935
1898
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1936
1899
|
) -> RESTResponseType:
|
1937
|
-
"""Get Symbols Marketcap With Ohlcv without preloading content
|
1938
|
-
|
1939
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
1940
|
-
"""
|
1900
|
+
"""Get Symbols Marketcap With Ohlcv without preloading content"""
|
1941
1901
|
if self.is_sync:
|
1942
1902
|
return self._get_marketcap_symbols_with_ohlcv_sync_without_preload_content(
|
1943
1903
|
timestamp=timestamp,
|
@@ -11,14 +11,10 @@ Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
Do not edit the class manually.
|
12
12
|
""" # noqa: E501
|
13
13
|
|
14
|
-
import warnings
|
15
14
|
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
|
16
15
|
from typing import Any, Dict, List, Optional, Tuple, Union
|
17
16
|
from typing_extensions import Annotated
|
18
17
|
|
19
|
-
from pydantic import Field, StrictStr
|
20
|
-
from typing import Any, Dict, List, Optional
|
21
|
-
from typing_extensions import Annotated
|
22
18
|
from crypticorn.metrics.client.models.market_type import MarketType
|
23
19
|
from crypticorn.metrics.client.models.trading_status import TradingStatus
|
24
20
|
|
@@ -90,10 +86,7 @@ class MarketsApi:
|
|
90
86
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
91
87
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
92
88
|
) -> List[Dict[str, object]]:
|
93
|
-
"""Get Markets For Symbol
|
94
|
-
|
95
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
96
|
-
"""
|
89
|
+
"""Get Markets For Symbol"""
|
97
90
|
if self.is_sync:
|
98
91
|
return self._get_available_markets_for_symbol_sync(
|
99
92
|
market=market,
|
@@ -152,10 +145,7 @@ class MarketsApi:
|
|
152
145
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
153
146
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
154
147
|
) -> ApiResponse[List[Dict[str, object]]]:
|
155
|
-
"""Get Markets For Symbol with HTTP info
|
156
|
-
|
157
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
158
|
-
"""
|
148
|
+
"""Get Markets For Symbol with HTTP info"""
|
159
149
|
if self.is_sync:
|
160
150
|
return self._get_available_markets_for_symbol_sync_with_http_info(
|
161
151
|
market=market,
|
@@ -214,10 +204,7 @@ class MarketsApi:
|
|
214
204
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
215
205
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
216
206
|
) -> RESTResponseType:
|
217
|
-
"""Get Markets For Symbol without preloading content
|
218
|
-
|
219
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
220
|
-
"""
|
207
|
+
"""Get Markets For Symbol without preloading content"""
|
221
208
|
if self.is_sync:
|
222
209
|
return self._get_available_markets_for_symbol_sync_without_preload_content(
|
223
210
|
market=market,
|
@@ -11,14 +11,10 @@ Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
Do not edit the class manually.
|
12
12
|
""" # noqa: E501
|
13
13
|
|
14
|
-
import warnings
|
15
14
|
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
|
16
15
|
from typing import Any, Dict, List, Optional, Tuple, Union
|
17
16
|
from typing_extensions import Annotated
|
18
17
|
|
19
|
-
from pydantic import Field, StrictStr
|
20
|
-
from typing import List
|
21
|
-
from typing_extensions import Annotated
|
22
18
|
from crypticorn.metrics.client.models.market_type import MarketType
|
23
19
|
|
24
20
|
from crypticorn.metrics.client.api_client import ApiClient, RequestSerialized
|
@@ -75,10 +71,7 @@ class QuoteCurrenciesApi:
|
|
75
71
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
76
72
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
77
73
|
) -> List[str]:
|
78
|
-
"""Get Quote Currencies
|
79
|
-
|
80
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
81
|
-
"""
|
74
|
+
"""Get Quote Currencies"""
|
82
75
|
if self.is_sync:
|
83
76
|
return self._get_quote_currencies_sync(
|
84
77
|
market=market,
|
@@ -117,10 +110,7 @@ class QuoteCurrenciesApi:
|
|
117
110
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
118
111
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
119
112
|
) -> ApiResponse[List[str]]:
|
120
|
-
"""Get Quote Currencies with HTTP info
|
121
|
-
|
122
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
123
|
-
"""
|
113
|
+
"""Get Quote Currencies with HTTP info"""
|
124
114
|
if self.is_sync:
|
125
115
|
return self._get_quote_currencies_sync_with_http_info(
|
126
116
|
market=market,
|
@@ -159,10 +149,7 @@ class QuoteCurrenciesApi:
|
|
159
149
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
160
150
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
161
151
|
) -> RESTResponseType:
|
162
|
-
"""Get Quote Currencies without preloading content
|
163
|
-
|
164
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
165
|
-
"""
|
152
|
+
"""Get Quote Currencies without preloading content"""
|
166
153
|
if self.is_sync:
|
167
154
|
return self._get_quote_currencies_sync_without_preload_content(
|
168
155
|
market=market,
|
@@ -11,13 +11,10 @@ Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
Do not edit the class manually.
|
12
12
|
""" # noqa: E501
|
13
13
|
|
14
|
-
import warnings
|
15
14
|
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
|
16
15
|
from typing import Any, Dict, List, Optional, Tuple, Union
|
17
16
|
from typing_extensions import Annotated
|
18
17
|
|
19
|
-
from pydantic import StrictStr, field_validator
|
20
|
-
from typing import Optional
|
21
18
|
|
22
19
|
from crypticorn.metrics.client.api_client import ApiClient, RequestSerialized
|
23
20
|
from crypticorn.metrics.client.api_response import ApiResponse
|
@@ -71,10 +68,7 @@ class StatusApi:
|
|
71
68
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
72
69
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
73
70
|
) -> str:
|
74
|
-
"""Time
|
75
|
-
|
76
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
77
|
-
"""
|
71
|
+
"""Time"""
|
78
72
|
if self.is_sync:
|
79
73
|
return self._get_time_sync(
|
80
74
|
type=type,
|
@@ -111,10 +105,7 @@ class StatusApi:
|
|
111
105
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
112
106
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
113
107
|
) -> ApiResponse[str]:
|
114
|
-
"""Time with HTTP info
|
115
|
-
|
116
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
117
|
-
"""
|
108
|
+
"""Time with HTTP info"""
|
118
109
|
if self.is_sync:
|
119
110
|
return self._get_time_sync_with_http_info(
|
120
111
|
type=type,
|
@@ -151,10 +142,7 @@ class StatusApi:
|
|
151
142
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
152
143
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
153
144
|
) -> RESTResponseType:
|
154
|
-
"""Time without preloading content
|
155
|
-
|
156
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
157
|
-
"""
|
145
|
+
"""Time without preloading content"""
|
158
146
|
if self.is_sync:
|
159
147
|
return self._get_time_sync_without_preload_content(
|
160
148
|
type=type,
|
@@ -513,10 +501,7 @@ class StatusApi:
|
|
513
501
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
514
502
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
515
503
|
) -> str:
|
516
|
-
"""Ping
|
517
|
-
|
518
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
519
|
-
"""
|
504
|
+
"""Ping"""
|
520
505
|
if self.is_sync:
|
521
506
|
return self._ping_sync(
|
522
507
|
_request_timeout=_request_timeout,
|
@@ -550,10 +535,7 @@ class StatusApi:
|
|
550
535
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
551
536
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
552
537
|
) -> ApiResponse[str]:
|
553
|
-
"""Ping with HTTP info
|
554
|
-
|
555
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
556
|
-
"""
|
538
|
+
"""Ping with HTTP info"""
|
557
539
|
if self.is_sync:
|
558
540
|
return self._ping_sync_with_http_info(
|
559
541
|
_request_timeout=_request_timeout,
|
@@ -587,10 +569,7 @@ class StatusApi:
|
|
587
569
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
588
570
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
589
571
|
) -> RESTResponseType:
|
590
|
-
"""Ping without preloading content
|
591
|
-
|
592
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
593
|
-
"""
|
572
|
+
"""Ping without preloading content"""
|
594
573
|
if self.is_sync:
|
595
574
|
return self._ping_sync_without_preload_content(
|
596
575
|
_request_timeout=_request_timeout,
|
@@ -11,12 +11,10 @@ Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
Do not edit the class manually.
|
12
12
|
""" # noqa: E501
|
13
13
|
|
14
|
-
import warnings
|
15
14
|
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
|
16
15
|
from typing import Any, Dict, List, Optional, Tuple, Union
|
17
16
|
from typing_extensions import Annotated
|
18
17
|
|
19
|
-
from typing import Any, Dict, List
|
20
18
|
|
21
19
|
from crypticorn.metrics.client.api_client import ApiClient, RequestSerialized
|
22
20
|
from crypticorn.metrics.client.api_response import ApiResponse
|
@@ -69,10 +67,7 @@ class TokensApi:
|
|
69
67
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
70
68
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
71
69
|
) -> List[Dict[str, object]]:
|
72
|
-
"""Get Stable Tokens
|
73
|
-
|
74
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
75
|
-
"""
|
70
|
+
"""Get Stable Tokens"""
|
76
71
|
if self.is_sync:
|
77
72
|
return self._get_stable_tokens_sync(
|
78
73
|
_request_timeout=_request_timeout,
|
@@ -106,10 +101,7 @@ class TokensApi:
|
|
106
101
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
107
102
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
108
103
|
) -> ApiResponse[List[Dict[str, object]]]:
|
109
|
-
"""Get Stable Tokens with HTTP info
|
110
|
-
|
111
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
112
|
-
"""
|
104
|
+
"""Get Stable Tokens with HTTP info"""
|
113
105
|
if self.is_sync:
|
114
106
|
return self._get_stable_tokens_sync_with_http_info(
|
115
107
|
_request_timeout=_request_timeout,
|
@@ -143,10 +135,7 @@ class TokensApi:
|
|
143
135
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
144
136
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
145
137
|
) -> RESTResponseType:
|
146
|
-
"""Get Stable Tokens without preloading content
|
147
|
-
|
148
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
149
|
-
"""
|
138
|
+
"""Get Stable Tokens without preloading content"""
|
150
139
|
if self.is_sync:
|
151
140
|
return self._get_stable_tokens_sync_without_preload_content(
|
152
141
|
_request_timeout=_request_timeout,
|
@@ -480,10 +469,7 @@ class TokensApi:
|
|
480
469
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
481
470
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
482
471
|
) -> List[Dict[str, object]]:
|
483
|
-
"""Get Wrapped Tokens
|
484
|
-
|
485
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
486
|
-
"""
|
472
|
+
"""Get Wrapped Tokens"""
|
487
473
|
if self.is_sync:
|
488
474
|
return self._get_wrapped_tokens_sync(
|
489
475
|
_request_timeout=_request_timeout,
|
@@ -517,10 +503,7 @@ class TokensApi:
|
|
517
503
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
518
504
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
519
505
|
) -> ApiResponse[List[Dict[str, object]]]:
|
520
|
-
"""Get Wrapped Tokens with HTTP info
|
521
|
-
|
522
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
523
|
-
"""
|
506
|
+
"""Get Wrapped Tokens with HTTP info"""
|
524
507
|
if self.is_sync:
|
525
508
|
return self._get_wrapped_tokens_sync_with_http_info(
|
526
509
|
_request_timeout=_request_timeout,
|
@@ -554,10 +537,7 @@ class TokensApi:
|
|
554
537
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
555
538
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
556
539
|
) -> RESTResponseType:
|
557
|
-
"""Get Wrapped Tokens without preloading content
|
558
|
-
|
559
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
560
|
-
"""
|
540
|
+
"""Get Wrapped Tokens without preloading content"""
|
561
541
|
if self.is_sync:
|
562
542
|
return self._get_wrapped_tokens_sync_without_preload_content(
|
563
543
|
_request_timeout=_request_timeout,
|
@@ -33,11 +33,6 @@ from crypticorn.metrics.client import rest
|
|
33
33
|
from crypticorn.metrics.client.exceptions import (
|
34
34
|
ApiValueError,
|
35
35
|
ApiException,
|
36
|
-
BadRequestException,
|
37
|
-
UnauthorizedException,
|
38
|
-
ForbiddenException,
|
39
|
-
NotFoundException,
|
40
|
-
ServiceException,
|
41
36
|
)
|
42
37
|
|
43
38
|
RequestSerialized = Tuple[str, str, Dict[str, str], Optional[str], List[str]]
|
@@ -22,7 +22,7 @@ from typing import Any, ClassVar, Dict, List, Optional
|
|
22
22
|
from crypticorn.metrics.client.models.api_error_identifier import ApiErrorIdentifier
|
23
23
|
from crypticorn.metrics.client.models.api_error_level import ApiErrorLevel
|
24
24
|
from crypticorn.metrics.client.models.api_error_type import ApiErrorType
|
25
|
-
from typing import
|
25
|
+
from typing import Set
|
26
26
|
from typing_extensions import Self
|
27
27
|
|
28
28
|
|
@@ -21,7 +21,7 @@ from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr
|
|
21
21
|
from typing import Any, ClassVar, Dict, List, Optional
|
22
22
|
from crypticorn.metrics.client.models.market_type import MarketType
|
23
23
|
from crypticorn.metrics.client.models.trading_status import TradingStatus
|
24
|
-
from typing import
|
24
|
+
from typing import Set
|
25
25
|
from typing_extensions import Self
|
26
26
|
|
27
27
|
|