crypticorn 2.4.3__py3-none-any.whl → 2.4.4__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/__init__.py +5 -5
- crypticorn/auth/client/api/admin_api.py +6 -6
- crypticorn/auth/client/api/auth_api.py +5 -5
- crypticorn/auth/client/api/service_api.py +5 -5
- crypticorn/auth/client/api/user_api.py +8 -8
- crypticorn/auth/client/api/wallet_api.py +5 -5
- crypticorn/auth/client/api_client.py +5 -5
- crypticorn/auth/client/configuration.py +13 -6
- crypticorn/auth/client/exceptions.py +5 -5
- crypticorn/auth/client/models/__init__.py +5 -5
- crypticorn/auth/client/models/add_wallet200_response.py +5 -5
- crypticorn/auth/client/models/add_wallet_request.py +5 -5
- crypticorn/auth/client/models/authorize_user200_response.py +5 -5
- crypticorn/auth/client/models/authorize_user200_response_auth.py +5 -5
- crypticorn/auth/client/models/authorize_user_request.py +5 -5
- crypticorn/auth/client/models/create_api_key200_response.py +5 -5
- crypticorn/auth/client/models/create_api_key_request.py +5 -5
- crypticorn/auth/client/models/create_user_request.py +5 -5
- crypticorn/auth/client/models/get_api_keys200_response_inner.py +5 -5
- crypticorn/auth/client/models/list_wallets200_response.py +5 -5
- crypticorn/auth/client/models/list_wallets200_response_balances_inner.py +5 -5
- crypticorn/auth/client/models/list_wallets200_response_balances_inner_sale_round.py +5 -5
- crypticorn/auth/client/models/list_wallets200_response_balances_inner_wallet.py +5 -5
- crypticorn/auth/client/models/list_wallets200_response_balances_inner_wallet_vesting_wallets_inner.py +5 -5
- crypticorn/auth/client/models/list_wallets200_response_data_inner.py +5 -5
- crypticorn/auth/client/models/list_wallets200_response_user_value.py +5 -5
- crypticorn/auth/client/models/logout_default_response.py +5 -5
- crypticorn/auth/client/models/logout_default_response_issues_inner.py +5 -5
- crypticorn/auth/client/models/oauth_callback200_response.py +5 -5
- crypticorn/auth/client/models/oauth_callback200_response_user.py +5 -5
- crypticorn/auth/client/models/refresh_token_info200_response.py +5 -5
- crypticorn/auth/client/models/refresh_token_info200_response_user_session.py +5 -5
- crypticorn/auth/client/models/resend_verification_email_request.py +5 -5
- crypticorn/auth/client/models/revoke_user_tokens_request.py +5 -5
- crypticorn/auth/client/models/rotate_tokens200_response.py +5 -5
- crypticorn/auth/client/models/token_info200_response.py +5 -5
- crypticorn/auth/client/models/unlink_wallet_request.py +5 -5
- crypticorn/auth/client/models/update_user_request.py +8 -6
- crypticorn/auth/client/models/user_reset_password_request.py +5 -5
- crypticorn/auth/client/models/user_set_password_request.py +5 -5
- crypticorn/auth/client/models/verify200_response.py +5 -5
- crypticorn/auth/client/models/verify_email200_response.py +5 -5
- crypticorn/auth/client/models/verify_email200_response_auth.py +5 -5
- crypticorn/auth/client/models/verify_email200_response_auth_auth.py +5 -5
- crypticorn/auth/client/models/verify_email_request.py +5 -5
- crypticorn/auth/client/models/verify_wallet_request.py +5 -5
- crypticorn/auth/client/models/wallet_verified200_response.py +5 -5
- crypticorn/auth/client/models/whoami200_response.py +5 -5
- crypticorn/auth/client/rest.py +9 -6
- crypticorn/client.py +28 -11
- crypticorn/common/auth.py +1 -1
- crypticorn/common/errors.py +2 -9
- crypticorn/common/utils.py +4 -2
- crypticorn/hive/client/__init__.py +5 -5
- crypticorn/hive/client/api/data_api.py +5 -5
- crypticorn/hive/client/api/models_api.py +5 -5
- crypticorn/hive/client/api/status_api.py +5 -5
- crypticorn/hive/client/api_client.py +5 -5
- crypticorn/hive/client/configuration.py +5 -5
- crypticorn/hive/client/exceptions.py +5 -5
- crypticorn/hive/client/models/__init__.py +5 -5
- crypticorn/hive/client/models/coins.py +5 -5
- crypticorn/hive/client/models/data_download_response.py +5 -5
- crypticorn/hive/client/models/data_info.py +5 -5
- crypticorn/hive/client/models/data_value_value_value_inner.py +5 -5
- crypticorn/hive/client/models/data_version.py +5 -5
- crypticorn/hive/client/models/download_links.py +5 -5
- crypticorn/hive/client/models/evaluation.py +5 -5
- crypticorn/hive/client/models/evaluation_response.py +5 -5
- crypticorn/hive/client/models/feature_size.py +5 -5
- crypticorn/hive/client/models/http_validation_error.py +5 -5
- crypticorn/hive/client/models/model.py +5 -5
- crypticorn/hive/client/models/model_create.py +5 -5
- crypticorn/hive/client/models/model_status.py +5 -5
- crypticorn/hive/client/models/model_update.py +5 -5
- crypticorn/hive/client/models/target.py +5 -5
- crypticorn/hive/client/models/target_type.py +5 -5
- crypticorn/hive/client/models/validation_error.py +5 -5
- crypticorn/hive/client/models/validation_error_loc_inner.py +5 -5
- crypticorn/hive/client/rest.py +5 -5
- crypticorn/klines/client/__init__.py +5 -5
- crypticorn/klines/client/api/funding_rates_api.py +5 -5
- crypticorn/klines/client/api/health_check_api.py +5 -5
- crypticorn/klines/client/api/ohlcv_data_api.py +5 -5
- crypticorn/klines/client/api/symbols_api.py +5 -5
- crypticorn/klines/client/api/udf_api.py +5 -5
- crypticorn/klines/client/api_client.py +5 -5
- crypticorn/klines/client/configuration.py +5 -5
- crypticorn/klines/client/exceptions.py +5 -5
- crypticorn/klines/client/models/__init__.py +5 -5
- crypticorn/klines/client/models/base_response_health_check_response.py +5 -5
- crypticorn/klines/client/models/base_response_list_funding_rate_response.py +5 -5
- crypticorn/klines/client/models/base_response_list_str.py +5 -5
- crypticorn/klines/client/models/base_response_ohlcv_response.py +5 -5
- crypticorn/klines/client/models/error_response.py +5 -5
- crypticorn/klines/client/models/exchange.py +5 -5
- crypticorn/klines/client/models/funding_rate_response.py +5 -5
- crypticorn/klines/client/models/health_check_response.py +5 -5
- crypticorn/klines/client/models/history_error_response.py +5 -5
- crypticorn/klines/client/models/history_no_data_response.py +5 -5
- crypticorn/klines/client/models/history_success_response.py +5 -5
- crypticorn/klines/client/models/http_validation_error.py +5 -5
- crypticorn/klines/client/models/market.py +5 -5
- crypticorn/klines/client/models/ohlcv_response.py +5 -5
- crypticorn/klines/client/models/resolution.py +5 -5
- crypticorn/klines/client/models/response_get_history_udf_history_get.py +5 -5
- crypticorn/klines/client/models/search_symbol_response.py +5 -5
- crypticorn/klines/client/models/sort_direction.py +5 -5
- crypticorn/klines/client/models/symbol_group_response.py +5 -5
- crypticorn/klines/client/models/symbol_info_response.py +5 -5
- crypticorn/klines/client/models/symbol_type.py +5 -5
- crypticorn/klines/client/models/timeframe.py +5 -5
- crypticorn/klines/client/models/udf_config_response.py +5 -5
- crypticorn/klines/client/models/validation_error.py +5 -5
- crypticorn/klines/client/models/validation_error_loc_inner.py +5 -5
- crypticorn/klines/client/rest.py +5 -5
- crypticorn/metrics/client/__init__.py +8 -6
- crypticorn/metrics/client/api/exchanges_api.py +62 -42
- crypticorn/metrics/client/api/health_check_api.py +5 -5
- crypticorn/metrics/client/api/indicators_api.py +47 -35
- crypticorn/metrics/client/api/logs_api.py +6 -6
- crypticorn/metrics/client/api/marketcap_api.py +22 -22
- crypticorn/metrics/client/api/markets_api.py +41 -28
- crypticorn/metrics/client/api/tokens_api.py +6 -6
- crypticorn/metrics/client/api_client.py +5 -5
- crypticorn/metrics/client/configuration.py +84 -39
- crypticorn/metrics/client/exceptions.py +5 -5
- crypticorn/metrics/client/models/__init__.py +8 -6
- crypticorn/metrics/client/models/base_response_dict.py +5 -5
- crypticorn/metrics/client/models/base_response_health_check_response.py +5 -5
- crypticorn/metrics/client/models/base_response_list_dict.py +5 -5
- crypticorn/metrics/client/models/base_response_list_exchange_mapping.py +5 -5
- crypticorn/metrics/client/models/base_response_list_str.py +5 -5
- crypticorn/metrics/client/models/error_response.py +5 -5
- crypticorn/metrics/client/models/exchange_mapping.py +5 -5
- crypticorn/metrics/client/models/health_check_response.py +5 -5
- crypticorn/metrics/client/models/http_validation_error.py +5 -5
- crypticorn/metrics/client/models/market.py +5 -5
- crypticorn/metrics/client/models/market_type.py +35 -0
- crypticorn/metrics/client/models/severity.py +5 -5
- crypticorn/metrics/client/models/time_interval.py +38 -0
- crypticorn/metrics/client/models/trading_status.py +35 -0
- crypticorn/metrics/client/models/validation_error.py +5 -5
- crypticorn/metrics/client/models/validation_error_loc_inner.py +5 -5
- crypticorn/metrics/client/rest.py +9 -6
- crypticorn/metrics/main.py +2 -2
- crypticorn/pay/client/__init__.py +5 -5
- crypticorn/pay/client/api/now_payments_api.py +5 -5
- crypticorn/pay/client/api/payments_api.py +5 -5
- crypticorn/pay/client/api/products_api.py +5 -5
- crypticorn/pay/client/api/status_api.py +5 -5
- crypticorn/pay/client/api_client.py +5 -5
- crypticorn/pay/client/configuration.py +5 -5
- crypticorn/pay/client/exceptions.py +5 -5
- crypticorn/pay/client/models/__init__.py +5 -5
- crypticorn/pay/client/models/api_status_res.py +5 -5
- crypticorn/pay/client/models/body_create_now_invoice.py +5 -5
- crypticorn/pay/client/models/body_create_product.py +5 -5
- crypticorn/pay/client/models/body_get_products.py +5 -5
- crypticorn/pay/client/models/body_handle_now_webhook.py +5 -5
- crypticorn/pay/client/models/body_update_product.py +5 -5
- crypticorn/pay/client/models/combined_payment_history.py +5 -5
- crypticorn/pay/client/models/create_invoice_req.py +5 -5
- crypticorn/pay/client/models/create_invoice_res.py +5 -5
- crypticorn/pay/client/models/currency.py +5 -5
- crypticorn/pay/client/models/estimate_price_req.py +5 -5
- crypticorn/pay/client/models/estimate_price_res.py +5 -5
- crypticorn/pay/client/models/get_currencies_res.py +5 -5
- crypticorn/pay/client/models/get_payment_status_res.py +5 -5
- crypticorn/pay/client/models/get_payments_list_res.py +5 -5
- crypticorn/pay/client/models/http_validation_error.py +5 -5
- crypticorn/pay/client/models/min_amount_req.py +5 -5
- crypticorn/pay/client/models/min_amount_res.py +5 -5
- crypticorn/pay/client/models/now_api_status_res.py +5 -5
- crypticorn/pay/client/models/now_create_invoice_req.py +5 -5
- crypticorn/pay/client/models/now_create_invoice_res.py +5 -5
- crypticorn/pay/client/models/now_fee_structure.py +5 -5
- crypticorn/pay/client/models/now_payment_model.py +5 -5
- crypticorn/pay/client/models/now_payment_status.py +5 -5
- crypticorn/pay/client/models/now_webhook_payload.py +5 -5
- crypticorn/pay/client/models/partial_product_update_model.py +5 -5
- crypticorn/pay/client/models/payment.py +5 -5
- crypticorn/pay/client/models/payment_status.py +5 -5
- crypticorn/pay/client/models/product.py +5 -5
- crypticorn/pay/client/models/product_model.py +5 -5
- crypticorn/pay/client/models/product_subs_model.py +5 -5
- crypticorn/pay/client/models/product_update_model.py +5 -5
- crypticorn/pay/client/models/scope.py +5 -5
- crypticorn/pay/client/models/services.py +5 -5
- crypticorn/pay/client/models/unified_payment_model.py +5 -5
- crypticorn/pay/client/models/validation_error.py +5 -5
- crypticorn/pay/client/models/validation_error_loc_inner.py +5 -5
- crypticorn/pay/client/rest.py +5 -5
- crypticorn/trade/client/__init__.py +5 -5
- crypticorn/trade/client/api/api_keys_api.py +5 -5
- crypticorn/trade/client/api/bots_api.py +5 -5
- crypticorn/trade/client/api/exchanges_api.py +5 -5
- crypticorn/trade/client/api/futures_trading_panel_api.py +5 -5
- crypticorn/trade/client/api/notifications_api.py +5 -5
- crypticorn/trade/client/api/orders_api.py +5 -5
- crypticorn/trade/client/api/status_api.py +5 -5
- crypticorn/trade/client/api/strategies_api.py +5 -5
- crypticorn/trade/client/api/trading_actions_api.py +5 -5
- crypticorn/trade/client/api_client.py +5 -5
- crypticorn/trade/client/configuration.py +13 -6
- crypticorn/trade/client/exceptions.py +5 -5
- crypticorn/trade/client/models/__init__.py +5 -5
- crypticorn/trade/client/models/action_model.py +5 -5
- crypticorn/trade/client/models/api_error_identifier.py +7 -6
- crypticorn/trade/client/models/api_error_level.py +5 -5
- crypticorn/trade/client/models/api_error_type.py +5 -5
- crypticorn/trade/client/models/api_key_model.py +5 -5
- crypticorn/trade/client/models/bot_model.py +5 -5
- crypticorn/trade/client/models/bot_status.py +5 -5
- crypticorn/trade/client/models/exchange.py +5 -5
- crypticorn/trade/client/models/exchange_key_model.py +5 -5
- crypticorn/trade/client/models/execution_ids.py +7 -7
- crypticorn/trade/client/models/futures_balance.py +5 -5
- crypticorn/trade/client/models/futures_trading_action.py +5 -5
- crypticorn/trade/client/models/http_validation_error.py +5 -5
- crypticorn/trade/client/models/margin_mode.py +5 -5
- crypticorn/trade/client/models/market_type.py +5 -5
- crypticorn/trade/client/models/notification_model.py +5 -5
- crypticorn/trade/client/models/order_model.py +5 -5
- crypticorn/trade/client/models/order_status.py +5 -5
- crypticorn/trade/client/models/post_futures_action.py +5 -5
- crypticorn/trade/client/models/strategy_exchange_info.py +5 -5
- crypticorn/trade/client/models/strategy_model_input.py +5 -5
- crypticorn/trade/client/models/strategy_model_output.py +5 -5
- crypticorn/trade/client/models/tpsl.py +5 -5
- crypticorn/trade/client/models/trading_action_type.py +5 -5
- crypticorn/trade/client/models/validation_error.py +5 -5
- crypticorn/trade/client/models/validation_error_loc_inner.py +5 -5
- crypticorn/trade/client/rest.py +9 -6
- {crypticorn-2.4.3.dist-info → crypticorn-2.4.4.dist-info}/METADATA +8 -9
- crypticorn-2.4.4.dist-info/RECORD +280 -0
- crypticorn-2.4.3.dist-info/RECORD +0 -277
- {crypticorn-2.4.3.dist-info → crypticorn-2.4.4.dist-info}/WHEEL +0 -0
- {crypticorn-2.4.3.dist-info → crypticorn-2.4.4.dist-info}/entry_points.txt +0 -0
- {crypticorn-2.4.3.dist-info → crypticorn-2.4.4.dist-info}/top_level.txt +0 -0
@@ -1,14 +1,14 @@
|
|
1
1
|
# coding: utf-8
|
2
2
|
|
3
3
|
"""
|
4
|
-
|
4
|
+
Marketcap Service API
|
5
5
|
|
6
|
-
|
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
7
|
|
8
|
-
|
9
|
-
|
8
|
+
The version of the OpenAPI document: 1.0.0
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
10
10
|
|
11
|
-
|
11
|
+
Do not edit the class manually.
|
12
12
|
""" # noqa: E501
|
13
13
|
|
14
14
|
from typing import Any, Optional
|
@@ -2,14 +2,14 @@
|
|
2
2
|
|
3
3
|
# flake8: noqa
|
4
4
|
"""
|
5
|
-
|
5
|
+
Marketcap Service API
|
6
6
|
|
7
|
-
|
7
|
+
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
|
8
8
|
|
9
|
-
|
10
|
-
|
9
|
+
The version of the OpenAPI document: 1.0.0
|
10
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
11
11
|
|
12
|
-
|
12
|
+
Do not edit the class manually.
|
13
13
|
""" # noqa: E501
|
14
14
|
|
15
15
|
|
@@ -29,8 +29,10 @@ from crypticorn.metrics.client.models.error_response import ErrorResponse
|
|
29
29
|
from crypticorn.metrics.client.models.exchange_mapping import ExchangeMapping
|
30
30
|
from crypticorn.metrics.client.models.http_validation_error import HTTPValidationError
|
31
31
|
from crypticorn.metrics.client.models.health_check_response import HealthCheckResponse
|
32
|
-
from crypticorn.metrics.client.models.
|
32
|
+
from crypticorn.metrics.client.models.market_type import MarketType
|
33
33
|
from crypticorn.metrics.client.models.severity import Severity
|
34
|
+
from crypticorn.metrics.client.models.time_interval import TimeInterval
|
35
|
+
from crypticorn.metrics.client.models.trading_status import TradingStatus
|
34
36
|
from crypticorn.metrics.client.models.validation_error import ValidationError
|
35
37
|
from crypticorn.metrics.client.models.validation_error_loc_inner import (
|
36
38
|
ValidationErrorLocInner,
|
@@ -1,14 +1,14 @@
|
|
1
1
|
# coding: utf-8
|
2
2
|
|
3
3
|
"""
|
4
|
-
|
4
|
+
Marketcap Service API
|
5
5
|
|
6
|
-
|
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
7
|
|
8
|
-
|
9
|
-
|
8
|
+
The version of the OpenAPI document: 1.0.0
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
10
10
|
|
11
|
-
|
11
|
+
Do not edit the class manually.
|
12
12
|
""" # noqa: E501
|
13
13
|
|
14
14
|
|
@@ -1,14 +1,14 @@
|
|
1
1
|
# coding: utf-8
|
2
2
|
|
3
3
|
"""
|
4
|
-
|
4
|
+
Marketcap Service API
|
5
5
|
|
6
|
-
|
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
7
|
|
8
|
-
|
9
|
-
|
8
|
+
The version of the OpenAPI document: 1.0.0
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
10
10
|
|
11
|
-
|
11
|
+
Do not edit the class manually.
|
12
12
|
""" # noqa: E501
|
13
13
|
|
14
14
|
|
@@ -1,14 +1,14 @@
|
|
1
1
|
# coding: utf-8
|
2
2
|
|
3
3
|
"""
|
4
|
-
|
4
|
+
Marketcap Service API
|
5
5
|
|
6
|
-
|
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
7
|
|
8
|
-
|
9
|
-
|
8
|
+
The version of the OpenAPI document: 1.0.0
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
10
10
|
|
11
|
-
|
11
|
+
Do not edit the class manually.
|
12
12
|
""" # noqa: E501
|
13
13
|
|
14
14
|
|
@@ -1,14 +1,14 @@
|
|
1
1
|
# coding: utf-8
|
2
2
|
|
3
3
|
"""
|
4
|
-
|
4
|
+
Marketcap Service API
|
5
5
|
|
6
|
-
|
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
7
|
|
8
|
-
|
9
|
-
|
8
|
+
The version of the OpenAPI document: 1.0.0
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
10
10
|
|
11
|
-
|
11
|
+
Do not edit the class manually.
|
12
12
|
""" # noqa: E501
|
13
13
|
|
14
14
|
|
@@ -1,14 +1,14 @@
|
|
1
1
|
# coding: utf-8
|
2
2
|
|
3
3
|
"""
|
4
|
-
|
4
|
+
Marketcap Service API
|
5
5
|
|
6
|
-
|
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
7
|
|
8
|
-
|
9
|
-
|
8
|
+
The version of the OpenAPI document: 1.0.0
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
10
10
|
|
11
|
-
|
11
|
+
Do not edit the class manually.
|
12
12
|
""" # noqa: E501
|
13
13
|
|
14
14
|
|
@@ -1,14 +1,14 @@
|
|
1
1
|
# coding: utf-8
|
2
2
|
|
3
3
|
"""
|
4
|
-
|
4
|
+
Marketcap Service API
|
5
5
|
|
6
|
-
|
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
7
|
|
8
|
-
|
9
|
-
|
8
|
+
The version of the OpenAPI document: 1.0.0
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
10
10
|
|
11
|
-
|
11
|
+
Do not edit the class manually.
|
12
12
|
""" # noqa: E501
|
13
13
|
|
14
14
|
|
@@ -1,14 +1,14 @@
|
|
1
1
|
# coding: utf-8
|
2
2
|
|
3
3
|
"""
|
4
|
-
|
4
|
+
Marketcap Service API
|
5
5
|
|
6
|
-
|
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
7
|
|
8
|
-
|
9
|
-
|
8
|
+
The version of the OpenAPI document: 1.0.0
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
10
10
|
|
11
|
-
|
11
|
+
Do not edit the class manually.
|
12
12
|
""" # noqa: E501
|
13
13
|
|
14
14
|
|
@@ -1,14 +1,14 @@
|
|
1
1
|
# coding: utf-8
|
2
2
|
|
3
3
|
"""
|
4
|
-
|
4
|
+
Marketcap Service API
|
5
5
|
|
6
|
-
|
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
7
|
|
8
|
-
|
9
|
-
|
8
|
+
The version of the OpenAPI document: 1.0.0
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
10
10
|
|
11
|
-
|
11
|
+
Do not edit the class manually.
|
12
12
|
""" # noqa: E501
|
13
13
|
|
14
14
|
|
@@ -1,14 +1,14 @@
|
|
1
1
|
# coding: utf-8
|
2
2
|
|
3
3
|
"""
|
4
|
-
|
4
|
+
Marketcap Service API
|
5
5
|
|
6
|
-
|
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
7
|
|
8
|
-
|
9
|
-
|
8
|
+
The version of the OpenAPI document: 1.0.0
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
10
10
|
|
11
|
-
|
11
|
+
Do not edit the class manually.
|
12
12
|
""" # noqa: E501
|
13
13
|
|
14
14
|
|
@@ -1,14 +1,14 @@
|
|
1
1
|
# coding: utf-8
|
2
2
|
|
3
3
|
"""
|
4
|
-
|
4
|
+
Marketcap Service API
|
5
5
|
|
6
|
-
|
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
7
|
|
8
|
-
|
9
|
-
|
8
|
+
The version of the OpenAPI document: 1.0.0
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
10
10
|
|
11
|
-
|
11
|
+
Do not edit the class manually.
|
12
12
|
""" # noqa: E501
|
13
13
|
|
14
14
|
|
@@ -0,0 +1,35 @@
|
|
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 json
|
17
|
+
from enum import Enum
|
18
|
+
from typing_extensions import Self
|
19
|
+
|
20
|
+
|
21
|
+
class MarketType(str, Enum):
|
22
|
+
"""
|
23
|
+
Market types
|
24
|
+
"""
|
25
|
+
|
26
|
+
"""
|
27
|
+
allowed enum values
|
28
|
+
"""
|
29
|
+
SPOT = "spot"
|
30
|
+
FUTURES = "futures"
|
31
|
+
|
32
|
+
@classmethod
|
33
|
+
def from_json(cls, json_str: str) -> Self:
|
34
|
+
"""Create an instance of MarketType from a JSON string"""
|
35
|
+
return cls(json.loads(json_str))
|
@@ -1,14 +1,14 @@
|
|
1
1
|
# coding: utf-8
|
2
2
|
|
3
3
|
"""
|
4
|
-
|
4
|
+
Marketcap Service API
|
5
5
|
|
6
|
-
|
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
7
|
|
8
|
-
|
9
|
-
|
8
|
+
The version of the OpenAPI document: 1.0.0
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
10
10
|
|
11
|
-
|
11
|
+
Do not edit the class manually.
|
12
12
|
""" # noqa: E501
|
13
13
|
|
14
14
|
|
@@ -0,0 +1,38 @@
|
|
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 json
|
17
|
+
from enum import Enum
|
18
|
+
from typing_extensions import Self
|
19
|
+
|
20
|
+
|
21
|
+
class TimeInterval(str, Enum):
|
22
|
+
"""
|
23
|
+
TimeInterval
|
24
|
+
"""
|
25
|
+
|
26
|
+
"""
|
27
|
+
allowed enum values
|
28
|
+
"""
|
29
|
+
ENUM_15M = "15m"
|
30
|
+
ENUM_30M = "30m"
|
31
|
+
ENUM_1H = "1h"
|
32
|
+
ENUM_4H = "4h"
|
33
|
+
ENUM_1D = "1d"
|
34
|
+
|
35
|
+
@classmethod
|
36
|
+
def from_json(cls, json_str: str) -> Self:
|
37
|
+
"""Create an instance of TimeInterval from a JSON string"""
|
38
|
+
return cls(json.loads(json_str))
|
@@ -0,0 +1,35 @@
|
|
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 json
|
17
|
+
from enum import Enum
|
18
|
+
from typing_extensions import Self
|
19
|
+
|
20
|
+
|
21
|
+
class TradingStatus(str, Enum):
|
22
|
+
"""
|
23
|
+
TradingStatus
|
24
|
+
"""
|
25
|
+
|
26
|
+
"""
|
27
|
+
allowed enum values
|
28
|
+
"""
|
29
|
+
ACTIVE = "ACTIVE"
|
30
|
+
RETIRED = "RETIRED"
|
31
|
+
|
32
|
+
@classmethod
|
33
|
+
def from_json(cls, json_str: str) -> Self:
|
34
|
+
"""Create an instance of TradingStatus from a JSON string"""
|
35
|
+
return cls(json.loads(json_str))
|
@@ -1,14 +1,14 @@
|
|
1
1
|
# coding: utf-8
|
2
2
|
|
3
3
|
"""
|
4
|
-
|
4
|
+
Marketcap Service API
|
5
5
|
|
6
|
-
|
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
7
|
|
8
|
-
|
9
|
-
|
8
|
+
The version of the OpenAPI document: 1.0.0
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
10
10
|
|
11
|
-
|
11
|
+
Do not edit the class manually.
|
12
12
|
""" # noqa: E501
|
13
13
|
|
14
14
|
|
@@ -1,14 +1,14 @@
|
|
1
1
|
# coding: utf-8
|
2
2
|
|
3
3
|
"""
|
4
|
-
|
4
|
+
Marketcap Service API
|
5
5
|
|
6
|
-
|
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
7
|
|
8
|
-
|
9
|
-
|
8
|
+
The version of the OpenAPI document: 1.0.0
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
10
10
|
|
11
|
-
|
11
|
+
Do not edit the class manually.
|
12
12
|
""" # noqa: E501
|
13
13
|
|
14
14
|
|
@@ -1,14 +1,14 @@
|
|
1
1
|
# coding: utf-8
|
2
2
|
|
3
3
|
"""
|
4
|
-
|
4
|
+
Marketcap Service API
|
5
5
|
|
6
|
-
|
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
7
|
|
8
|
-
|
9
|
-
|
8
|
+
The version of the OpenAPI document: 1.0.0
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
10
10
|
|
11
|
-
|
11
|
+
Do not edit the class manually.
|
12
12
|
""" # noqa: E501
|
13
13
|
|
14
14
|
|
@@ -57,7 +57,10 @@ class RESTClientObject:
|
|
57
57
|
# maxsize is number of requests to host that are allowed in parallel
|
58
58
|
self.maxsize = configuration.connection_pool_maxsize
|
59
59
|
|
60
|
-
self.ssl_context = ssl.create_default_context(
|
60
|
+
self.ssl_context = ssl.create_default_context(
|
61
|
+
cafile=configuration.ssl_ca_cert,
|
62
|
+
cadata=configuration.ca_cert_data,
|
63
|
+
)
|
61
64
|
if configuration.cert_file:
|
62
65
|
self.ssl_context.load_cert_chain(
|
63
66
|
configuration.cert_file, keyfile=configuration.key_file
|
crypticorn/metrics/main.py
CHANGED
@@ -8,7 +8,7 @@ from crypticorn.metrics import (
|
|
8
8
|
MarketcapApi,
|
9
9
|
MarketsApi,
|
10
10
|
TokensApi,
|
11
|
-
|
11
|
+
MarketType,
|
12
12
|
)
|
13
13
|
from pydantic import StrictStr, StrictInt, Field
|
14
14
|
from typing_extensions import Annotated
|
@@ -56,7 +56,7 @@ class MarketcapApiWrapper(MarketcapApi):
|
|
56
56
|
Field(description="Interval for which to fetch symbols and marketcap data"),
|
57
57
|
] = None,
|
58
58
|
market: Annotated[
|
59
|
-
Optional[
|
59
|
+
Optional[MarketType],
|
60
60
|
Field(description="Market for which to fetch symbols and marketcap data"),
|
61
61
|
] = None,
|
62
62
|
exchange: Annotated[
|
@@ -3,14 +3,14 @@
|
|
3
3
|
# flake8: noqa
|
4
4
|
|
5
5
|
"""
|
6
|
-
|
6
|
+
Payment API
|
7
7
|
|
8
|
-
|
8
|
+
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
9
9
|
|
10
|
-
|
11
|
-
|
10
|
+
The version of the OpenAPI document: 0.1.0
|
11
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
12
12
|
|
13
|
-
|
13
|
+
Do not edit the class manually.
|
14
14
|
""" # noqa: E501
|
15
15
|
|
16
16
|
|
@@ -1,14 +1,14 @@
|
|
1
1
|
# coding: utf-8
|
2
2
|
|
3
3
|
"""
|
4
|
-
|
4
|
+
Payment API
|
5
5
|
|
6
|
-
|
6
|
+
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
7
7
|
|
8
|
-
|
9
|
-
|
8
|
+
The version of the OpenAPI document: 0.1.0
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
10
10
|
|
11
|
-
|
11
|
+
Do not edit the class manually.
|
12
12
|
""" # noqa: E501
|
13
13
|
|
14
14
|
import warnings
|
@@ -1,14 +1,14 @@
|
|
1
1
|
# coding: utf-8
|
2
2
|
|
3
3
|
"""
|
4
|
-
|
4
|
+
Payment API
|
5
5
|
|
6
|
-
|
6
|
+
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
7
7
|
|
8
|
-
|
9
|
-
|
8
|
+
The version of the OpenAPI document: 0.1.0
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
10
10
|
|
11
|
-
|
11
|
+
Do not edit the class manually.
|
12
12
|
""" # noqa: E501
|
13
13
|
|
14
14
|
import warnings
|
@@ -1,14 +1,14 @@
|
|
1
1
|
# coding: utf-8
|
2
2
|
|
3
3
|
"""
|
4
|
-
|
4
|
+
Payment API
|
5
5
|
|
6
|
-
|
6
|
+
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
7
7
|
|
8
|
-
|
9
|
-
|
8
|
+
The version of the OpenAPI document: 0.1.0
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
10
10
|
|
11
|
-
|
11
|
+
Do not edit the class manually.
|
12
12
|
""" # noqa: E501
|
13
13
|
|
14
14
|
import warnings
|
@@ -1,14 +1,14 @@
|
|
1
1
|
# coding: utf-8
|
2
2
|
|
3
3
|
"""
|
4
|
-
|
4
|
+
Payment API
|
5
5
|
|
6
|
-
|
6
|
+
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
7
7
|
|
8
|
-
|
9
|
-
|
8
|
+
The version of the OpenAPI document: 0.1.0
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
10
10
|
|
11
|
-
|
11
|
+
Do not edit the class manually.
|
12
12
|
""" # noqa: E501
|
13
13
|
|
14
14
|
import warnings
|
@@ -1,14 +1,14 @@
|
|
1
1
|
# coding: utf-8
|
2
2
|
|
3
3
|
"""
|
4
|
-
|
4
|
+
Payment API
|
5
5
|
|
6
|
-
|
6
|
+
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
7
7
|
|
8
|
-
|
9
|
-
|
8
|
+
The version of the OpenAPI document: 0.1.0
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
10
10
|
|
11
|
-
|
11
|
+
Do not edit the class manually.
|
12
12
|
""" # noqa: E501
|
13
13
|
|
14
14
|
|
@@ -1,14 +1,14 @@
|
|
1
1
|
# coding: utf-8
|
2
2
|
|
3
3
|
"""
|
4
|
-
|
4
|
+
Payment API
|
5
5
|
|
6
|
-
|
6
|
+
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
7
7
|
|
8
|
-
|
9
|
-
|
8
|
+
The version of the OpenAPI document: 0.1.0
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
10
10
|
|
11
|
-
|
11
|
+
Do not edit the class manually.
|
12
12
|
""" # noqa: E501
|
13
13
|
|
14
14
|
|