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
@@ -75,10 +75,7 @@ class StrategiesApi:
|
|
75
75
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
76
76
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
77
77
|
) -> Strategy:
|
78
|
-
"""Create Strategy
|
79
|
-
|
80
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
81
|
-
"""
|
78
|
+
"""Create Strategy"""
|
82
79
|
if self.is_sync:
|
83
80
|
return self._create_strategy_sync(
|
84
81
|
strategy_create=strategy_create,
|
@@ -115,10 +112,7 @@ class StrategiesApi:
|
|
115
112
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
116
113
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
117
114
|
) -> ApiResponse[Strategy]:
|
118
|
-
"""Create Strategy with HTTP info
|
119
|
-
|
120
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
121
|
-
"""
|
115
|
+
"""Create Strategy with HTTP info"""
|
122
116
|
if self.is_sync:
|
123
117
|
return self._create_strategy_sync_with_http_info(
|
124
118
|
strategy_create=strategy_create,
|
@@ -155,10 +149,7 @@ class StrategiesApi:
|
|
155
149
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
156
150
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
157
151
|
) -> RESTResponseType:
|
158
|
-
"""Create Strategy without preloading content
|
159
|
-
|
160
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
161
|
-
"""
|
152
|
+
"""Create Strategy without preloading content"""
|
162
153
|
if self.is_sync:
|
163
154
|
return self._create_strategy_sync_without_preload_content(
|
164
155
|
strategy_create=strategy_create,
|
@@ -537,10 +528,7 @@ class StrategiesApi:
|
|
537
528
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
538
529
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
539
530
|
) -> List[Strategy]:
|
540
|
-
"""Get Strategies
|
541
|
-
|
542
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
543
|
-
"""
|
531
|
+
"""Get Strategies"""
|
544
532
|
if self.is_sync:
|
545
533
|
return self._get_strategies_sync(
|
546
534
|
limit=limit,
|
@@ -590,10 +578,7 @@ class StrategiesApi:
|
|
590
578
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
591
579
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
592
580
|
) -> ApiResponse[List[Strategy]]:
|
593
|
-
"""Get Strategies with HTTP info
|
594
|
-
|
595
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
596
|
-
"""
|
581
|
+
"""Get Strategies with HTTP info"""
|
597
582
|
if self.is_sync:
|
598
583
|
return self._get_strategies_sync_with_http_info(
|
599
584
|
limit=limit,
|
@@ -643,10 +628,7 @@ class StrategiesApi:
|
|
643
628
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
644
629
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
645
630
|
) -> RESTResponseType:
|
646
|
-
"""Get Strategies without preloading content
|
647
|
-
|
648
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
649
|
-
"""
|
631
|
+
"""Get Strategies without preloading content"""
|
650
632
|
if self.is_sync:
|
651
633
|
return self._get_strategies_sync_without_preload_content(
|
652
634
|
limit=limit,
|
@@ -1090,10 +1072,7 @@ class StrategiesApi:
|
|
1090
1072
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1091
1073
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1092
1074
|
) -> List[List[object]]:
|
1093
|
-
"""Get Strategy Usage
|
1094
|
-
|
1095
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
1096
|
-
"""
|
1075
|
+
"""Get Strategy Usage"""
|
1097
1076
|
if self.is_sync:
|
1098
1077
|
return self._get_strategy_usage_sync(
|
1099
1078
|
_request_timeout=_request_timeout,
|
@@ -1127,10 +1106,7 @@ class StrategiesApi:
|
|
1127
1106
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1128
1107
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1129
1108
|
) -> ApiResponse[List[List[object]]]:
|
1130
|
-
"""Get Strategy Usage with HTTP info
|
1131
|
-
|
1132
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
1133
|
-
"""
|
1109
|
+
"""Get Strategy Usage with HTTP info"""
|
1134
1110
|
if self.is_sync:
|
1135
1111
|
return self._get_strategy_usage_sync_with_http_info(
|
1136
1112
|
_request_timeout=_request_timeout,
|
@@ -1164,10 +1140,7 @@ class StrategiesApi:
|
|
1164
1140
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1165
1141
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1166
1142
|
) -> RESTResponseType:
|
1167
|
-
"""Get Strategy Usage without preloading content
|
1168
|
-
|
1169
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
1170
|
-
"""
|
1143
|
+
"""Get Strategy Usage without preloading content"""
|
1171
1144
|
if self.is_sync:
|
1172
1145
|
return self._get_strategy_usage_sync_without_preload_content(
|
1173
1146
|
_request_timeout=_request_timeout,
|
@@ -1502,10 +1475,7 @@ class StrategiesApi:
|
|
1502
1475
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1503
1476
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1504
1477
|
) -> None:
|
1505
|
-
"""Kill Strategy
|
1506
|
-
|
1507
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
1508
|
-
"""
|
1478
|
+
"""Kill Strategy"""
|
1509
1479
|
if self.is_sync:
|
1510
1480
|
return self._kill_strategy_sync(
|
1511
1481
|
id=id,
|
@@ -1542,10 +1512,7 @@ class StrategiesApi:
|
|
1542
1512
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1543
1513
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1544
1514
|
) -> ApiResponse[None]:
|
1545
|
-
"""Kill Strategy with HTTP info
|
1546
|
-
|
1547
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
1548
|
-
"""
|
1515
|
+
"""Kill Strategy with HTTP info"""
|
1549
1516
|
if self.is_sync:
|
1550
1517
|
return self._kill_strategy_sync_with_http_info(
|
1551
1518
|
id=id,
|
@@ -1582,10 +1549,7 @@ class StrategiesApi:
|
|
1582
1549
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1583
1550
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1584
1551
|
) -> RESTResponseType:
|
1585
|
-
"""Kill Strategy without preloading content
|
1586
|
-
|
1587
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
1588
|
-
"""
|
1552
|
+
"""Kill Strategy without preloading content"""
|
1589
1553
|
if self.is_sync:
|
1590
1554
|
return self._kill_strategy_sync_without_preload_content(
|
1591
1555
|
id=id,
|
@@ -1946,10 +1910,7 @@ class StrategiesApi:
|
|
1946
1910
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1947
1911
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1948
1912
|
) -> Strategy:
|
1949
|
-
"""Update Strategy
|
1950
|
-
|
1951
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
1952
|
-
"""
|
1913
|
+
"""Update Strategy"""
|
1953
1914
|
if self.is_sync:
|
1954
1915
|
return self._update_strategy_sync(
|
1955
1916
|
id=id,
|
@@ -1991,10 +1952,7 @@ class StrategiesApi:
|
|
1991
1952
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1992
1953
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1993
1954
|
) -> ApiResponse[Strategy]:
|
1994
|
-
"""Update Strategy with HTTP info
|
1995
|
-
|
1996
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
1997
|
-
"""
|
1955
|
+
"""Update Strategy with HTTP info"""
|
1998
1956
|
if self.is_sync:
|
1999
1957
|
return self._update_strategy_sync_with_http_info(
|
2000
1958
|
id=id,
|
@@ -2036,10 +1994,7 @@ class StrategiesApi:
|
|
2036
1994
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
2037
1995
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
2038
1996
|
) -> RESTResponseType:
|
2039
|
-
"""Update Strategy without preloading content
|
2040
|
-
|
2041
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
2042
|
-
"""
|
1997
|
+
"""Update Strategy without preloading content"""
|
2043
1998
|
if self.is_sync:
|
2044
1999
|
return self._update_strategy_sync_without_preload_content(
|
2045
2000
|
id=id,
|