crypticorn 2.17.0rc4__py3-none-any.whl → 2.17.0rc5__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 +0 -2
- crypticorn/auth/client/api/auth_api.py +0 -4
- crypticorn/auth/client/api/service_api.py +0 -4
- crypticorn/auth/client/api/user_api.py +0 -4
- crypticorn/auth/client/api/wallet_api.py +0 -4
- 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/client.py +0 -1
- crypticorn/common/auth.py +1 -4
- crypticorn/common/decorators.py +1 -2
- crypticorn/common/enums.py +0 -2
- crypticorn/common/metrics.py +1 -1
- crypticorn/common/middleware.py +0 -1
- crypticorn/common/pagination.py +116 -24
- 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 +3046 -0
- crypticorn/dex/client/api/signals_api.py +1821 -0
- crypticorn/dex/client/api/status_api.py +907 -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 +0 -3
- crypticorn/hive/client/api/data_api.py +0 -4
- crypticorn/hive/client/api/models_api.py +1 -4
- crypticorn/hive/client/api/status_api.py +0 -3
- 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 +0 -3
- crypticorn/klines/client/api/change_in_timeframe_api.py +0 -4
- crypticorn/klines/client/api/funding_rates_api.py +0 -4
- crypticorn/klines/client/api/ohlcv_data_api.py +0 -4
- crypticorn/klines/client/api/status_api.py +0 -3
- crypticorn/klines/client/api/symbols_api.py +0 -4
- crypticorn/klines/client/api/udf_api.py +0 -2
- 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 +0 -3
- crypticorn/metrics/client/api/exchanges_api.py +0 -4
- crypticorn/metrics/client/api/indicators_api.py +0 -4
- crypticorn/metrics/client/api/logs_api.py +0 -4
- crypticorn/metrics/client/api/marketcap_api.py +0 -4
- crypticorn/metrics/client/api/markets_api.py +0 -4
- crypticorn/metrics/client/api/quote_currencies_api.py +0 -4
- crypticorn/metrics/client/api/status_api.py +0 -3
- crypticorn/metrics/client/api/tokens_api.py +0 -2
- 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 +0 -3
- crypticorn/pay/client/api/now_payments_api.py +0 -4
- crypticorn/pay/client/api/payments_api.py +0 -4
- crypticorn/pay/client/api/products_api.py +0 -4
- crypticorn/pay/client/api/status_api.py +0 -3
- 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 +5 -0
- crypticorn/trade/client/api/admin_api.py +22 -23
- crypticorn/trade/client/api/bots_api.py +4712 -168
- crypticorn/trade/client/api/orders_api.py +220 -106
- crypticorn/trade/client/configuration.py +2 -2
- crypticorn/trade/client/models/__init__.py +5 -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_order.py +134 -0
- crypticorn/trade/client/models/pn_l.py +95 -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.0rc5.dist-info}/METADATA +1 -1
- {crypticorn-2.17.0rc4.dist-info → crypticorn-2.17.0rc5.dist-info}/RECORD +137 -106
- {crypticorn-2.17.0rc4.dist-info → crypticorn-2.17.0rc5.dist-info}/WHEEL +0 -0
- {crypticorn-2.17.0rc4.dist-info → crypticorn-2.17.0rc5.dist-info}/entry_points.txt +0 -0
- {crypticorn-2.17.0rc4.dist-info → crypticorn-2.17.0rc5.dist-info}/licenses/LICENSE +0 -0
- {crypticorn-2.17.0rc4.dist-info → crypticorn-2.17.0rc5.dist-info}/top_level.txt +0 -0
@@ -16,8 +16,6 @@ from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
|
|
16
16
|
from typing import Any, Dict, List, Optional, Tuple, Union
|
17
17
|
from typing_extensions import Annotated
|
18
18
|
|
19
|
-
from pydantic import StrictInt, StrictStr
|
20
|
-
from typing import Any, List, Optional
|
21
19
|
from crypticorn.klines.client.models.ohlcv import OHLCV
|
22
20
|
from crypticorn.klines.client.models.resolution import Resolution
|
23
21
|
from crypticorn.klines.client.models.search_symbol import SearchSymbol
|
@@ -33,11 +33,6 @@ from crypticorn.klines.client import rest
|
|
33
33
|
from crypticorn.klines.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.klines.client.models.api_error_identifier import ApiErrorIdentifier
|
23
23
|
from crypticorn.klines.client.models.api_error_level import ApiErrorLevel
|
24
24
|
from crypticorn.klines.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
|
|
@@ -19,7 +19,7 @@ import json
|
|
19
19
|
|
20
20
|
from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt
|
21
21
|
from typing import Any, ClassVar, Dict, List, Optional, Union
|
22
|
-
from typing import
|
22
|
+
from typing import Set
|
23
23
|
from typing_extensions import Self
|
24
24
|
|
25
25
|
|
@@ -21,7 +21,7 @@ from pydantic import BaseModel, ConfigDict, StrictBool, StrictStr
|
|
21
21
|
from typing import Any, ClassVar, Dict, List, Optional
|
22
22
|
from crypticorn.klines.client.models.internal_exchange import InternalExchange
|
23
23
|
from crypticorn.klines.client.models.symbol_type import SymbolType
|
24
|
-
from typing import
|
24
|
+
from typing import Set
|
25
25
|
from typing_extensions import Self
|
26
26
|
|
27
27
|
|
@@ -16,9 +16,6 @@ from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
|
|
16
16
|
from typing import Any, Dict, List, Optional, Tuple, Union
|
17
17
|
from typing_extensions import Annotated
|
18
18
|
|
19
|
-
from pydantic import Field, StrictFloat, StrictInt, StrictStr, field_validator
|
20
|
-
from typing import Any, Dict, List, Optional, Union
|
21
|
-
from typing_extensions import Annotated
|
22
19
|
from crypticorn.metrics.client.models.log_level import LogLevel
|
23
20
|
|
24
21
|
from crypticorn.metrics.client.api_client import ApiClient, RequestSerialized
|
@@ -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 List, Optional
|
21
|
-
from typing_extensions import Annotated
|
22
18
|
from crypticorn.metrics.client.models.exchange_availability import ExchangeAvailability
|
23
19
|
from crypticorn.metrics.client.models.exchange_mapping import ExchangeMapping
|
24
20
|
from crypticorn.metrics.client.models.internal_exchange import InternalExchange
|
@@ -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
|
@@ -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
|
@@ -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 (
|
@@ -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
|
|
@@ -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
|
@@ -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
|
@@ -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
|
@@ -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
|
|
@@ -16,9 +16,6 @@ from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
|
|
16
16
|
from typing import Any, Dict, List, Optional, Tuple, Union
|
17
17
|
from typing_extensions import Annotated
|
18
18
|
|
19
|
-
from pydantic import Field, StrictFloat, StrictInt, StrictStr, field_validator
|
20
|
-
from typing import Any, Dict, List, Optional, Union
|
21
|
-
from typing_extensions import Annotated
|
22
19
|
from crypticorn.pay.client.models.log_level import LogLevel
|
23
20
|
|
24
21
|
from crypticorn.pay.client.api_client import ApiClient, RequestSerialized
|
@@ -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, List
|
21
|
-
from typing_extensions import Annotated
|
22
18
|
from crypticorn.pay.client.models.now_create_invoice_req import NowCreateInvoiceReq
|
23
19
|
from crypticorn.pay.client.models.now_create_invoice_res import NowCreateInvoiceRes
|
24
20
|
from crypticorn.pay.client.models.payment import Payment
|
@@ -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 List, Optional
|
21
|
-
from typing_extensions import Annotated
|
22
18
|
from crypticorn.pay.client.models.payment import Payment
|
23
19
|
from crypticorn.pay.client.models.subscription import Subscription
|
24
20
|
|
@@ -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, List, Optional
|
21
|
-
from typing_extensions import Annotated
|
22
18
|
from crypticorn.pay.client.models.product import Product
|
23
19
|
from crypticorn.pay.client.models.product_create import ProductCreate
|
24
20
|
from crypticorn.pay.client.models.product_update import ProductUpdate
|
@@ -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.pay.client.api_client import ApiClient, RequestSerialized
|
23
20
|
from crypticorn.pay.client.api_response import ApiResponse
|
@@ -33,11 +33,6 @@ from crypticorn.pay.client import rest
|
|
33
33
|
from crypticorn.pay.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.pay.client.models.api_error_identifier import ApiErrorIdentifier
|
23
23
|
from crypticorn.pay.client.models.api_error_level import ApiErrorLevel
|
24
24
|
from crypticorn.pay.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
|
|
@@ -66,6 +66,11 @@ from crypticorn.trade.client.models.notification_create import NotificationCreat
|
|
66
66
|
from crypticorn.trade.client.models.notification_update import NotificationUpdate
|
67
67
|
from crypticorn.trade.client.models.order import Order
|
68
68
|
from crypticorn.trade.client.models.order_status import OrderStatus
|
69
|
+
from crypticorn.trade.client.models.orders_count import OrdersCount
|
70
|
+
from crypticorn.trade.client.models.paginated_response_order import (
|
71
|
+
PaginatedResponseOrder,
|
72
|
+
)
|
73
|
+
from crypticorn.trade.client.models.pn_l import PnL
|
69
74
|
from crypticorn.trade.client.models.post_futures_action import PostFuturesAction
|
70
75
|
from crypticorn.trade.client.models.spot_balance import SpotBalance
|
71
76
|
from crypticorn.trade.client.models.spot_trading_action_create import (
|
@@ -472,7 +472,7 @@ class AdminApi:
|
|
472
472
|
def get_dependencies(
|
473
473
|
self,
|
474
474
|
include: Annotated[
|
475
|
-
Optional[List[StrictStr]],
|
475
|
+
Optional[List[Optional[StrictStr]]],
|
476
476
|
Field(
|
477
477
|
description="List of regex patterns to match against package names. If not provided, all installed packages will be returned."
|
478
478
|
),
|
@@ -488,7 +488,7 @@ class AdminApi:
|
|
488
488
|
_content_type: Optional[StrictStr] = None,
|
489
489
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
490
490
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
491
|
-
) -> Dict[str, str]:
|
491
|
+
) -> Dict[str, Optional[str]]:
|
492
492
|
"""List Installed Packages
|
493
493
|
|
494
494
|
This method can work in both sync and async modes based on the is_sync flag.
|
@@ -517,7 +517,7 @@ class AdminApi:
|
|
517
517
|
def get_dependencies_with_http_info(
|
518
518
|
self,
|
519
519
|
include: Annotated[
|
520
|
-
Optional[List[StrictStr]],
|
520
|
+
Optional[List[Optional[StrictStr]]],
|
521
521
|
Field(
|
522
522
|
description="List of regex patterns to match against package names. If not provided, all installed packages will be returned."
|
523
523
|
),
|
@@ -533,7 +533,7 @@ class AdminApi:
|
|
533
533
|
_content_type: Optional[StrictStr] = None,
|
534
534
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
535
535
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
536
|
-
) -> ApiResponse[Dict[str, str]]:
|
536
|
+
) -> ApiResponse[Dict[str, Optional[str]]]:
|
537
537
|
"""List Installed Packages with HTTP info
|
538
538
|
|
539
539
|
This method can work in both sync and async modes based on the is_sync flag.
|
@@ -562,7 +562,7 @@ class AdminApi:
|
|
562
562
|
def get_dependencies_without_preload_content(
|
563
563
|
self,
|
564
564
|
include: Annotated[
|
565
|
-
Optional[List[StrictStr]],
|
565
|
+
Optional[List[Optional[StrictStr]]],
|
566
566
|
Field(
|
567
567
|
description="List of regex patterns to match against package names. If not provided, all installed packages will be returned."
|
568
568
|
),
|
@@ -608,7 +608,7 @@ class AdminApi:
|
|
608
608
|
async def _get_dependencies_async(
|
609
609
|
self,
|
610
610
|
include: Annotated[
|
611
|
-
Optional[List[StrictStr]],
|
611
|
+
Optional[List[Optional[StrictStr]]],
|
612
612
|
Field(
|
613
613
|
description="List of regex patterns to match against package names. If not provided, all installed packages will be returned."
|
614
614
|
),
|
@@ -624,13 +624,13 @@ class AdminApi:
|
|
624
624
|
_content_type: Optional[StrictStr] = None,
|
625
625
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
626
626
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
627
|
-
) -> Dict[str, str]:
|
627
|
+
) -> Dict[str, Optional[str]]:
|
628
628
|
"""List Installed Packages
|
629
629
|
|
630
630
|
Return a list of installed packages and versions. The include parameter accepts regex patterns to match against package names. For example: - crypticorn.* will match all packages starting with 'crypticorn' - .*tic.* will match all packages containing 'tic' in their name
|
631
631
|
|
632
632
|
:param include: List of regex patterns to match against package names. If not provided, all installed packages will be returned.
|
633
|
-
:type include: List[str]
|
633
|
+
:type include: List[Optional[str]]
|
634
634
|
:param _request_timeout: timeout setting for this request. If one
|
635
635
|
number provided, it will be total request
|
636
636
|
timeout. It can also be a pair (tuple) of
|
@@ -662,7 +662,7 @@ class AdminApi:
|
|
662
662
|
)
|
663
663
|
|
664
664
|
_response_types_map: Dict[str, Optional[str]] = {
|
665
|
-
"200": "Dict[str, str]",
|
665
|
+
"200": "Dict[str, Optional[str]]",
|
666
666
|
}
|
667
667
|
response_data = await self.api_client.call_api(
|
668
668
|
*_param, _request_timeout=_request_timeout
|
@@ -677,7 +677,7 @@ class AdminApi:
|
|
677
677
|
async def _get_dependencies_async_with_http_info(
|
678
678
|
self,
|
679
679
|
include: Annotated[
|
680
|
-
Optional[List[StrictStr]],
|
680
|
+
Optional[List[Optional[StrictStr]]],
|
681
681
|
Field(
|
682
682
|
description="List of regex patterns to match against package names. If not provided, all installed packages will be returned."
|
683
683
|
),
|
@@ -693,13 +693,13 @@ class AdminApi:
|
|
693
693
|
_content_type: Optional[StrictStr] = None,
|
694
694
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
695
695
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
696
|
-
) -> ApiResponse[Dict[str, str]]:
|
696
|
+
) -> ApiResponse[Dict[str, Optional[str]]]:
|
697
697
|
"""List Installed Packages
|
698
698
|
|
699
699
|
Return a list of installed packages and versions. The include parameter accepts regex patterns to match against package names. For example: - crypticorn.* will match all packages starting with 'crypticorn' - .*tic.* will match all packages containing 'tic' in their name
|
700
700
|
|
701
701
|
:param include: List of regex patterns to match against package names. If not provided, all installed packages will be returned.
|
702
|
-
:type include: List[str]
|
702
|
+
:type include: List[Optional[str]]
|
703
703
|
:param _request_timeout: timeout setting for this request. If one
|
704
704
|
number provided, it will be total request
|
705
705
|
timeout. It can also be a pair (tuple) of
|
@@ -731,7 +731,7 @@ class AdminApi:
|
|
731
731
|
)
|
732
732
|
|
733
733
|
_response_types_map: Dict[str, Optional[str]] = {
|
734
|
-
"200": "Dict[str, str]",
|
734
|
+
"200": "Dict[str, Optional[str]]",
|
735
735
|
}
|
736
736
|
response_data = await self.api_client.call_api(
|
737
737
|
*_param, _request_timeout=_request_timeout
|
@@ -745,7 +745,7 @@ class AdminApi:
|
|
745
745
|
async def _get_dependencies_async_without_preload_content(
|
746
746
|
self,
|
747
747
|
include: Annotated[
|
748
|
-
Optional[List[StrictStr]],
|
748
|
+
Optional[List[Optional[StrictStr]]],
|
749
749
|
Field(
|
750
750
|
description="List of regex patterns to match against package names. If not provided, all installed packages will be returned."
|
751
751
|
),
|
@@ -767,7 +767,7 @@ class AdminApi:
|
|
767
767
|
Return a list of installed packages and versions. The include parameter accepts regex patterns to match against package names. For example: - crypticorn.* will match all packages starting with 'crypticorn' - .*tic.* will match all packages containing 'tic' in their name
|
768
768
|
|
769
769
|
:param include: List of regex patterns to match against package names. If not provided, all installed packages will be returned.
|
770
|
-
:type include: List[str]
|
770
|
+
:type include: List[Optional[str]]
|
771
771
|
:param _request_timeout: timeout setting for this request. If one
|
772
772
|
number provided, it will be total request
|
773
773
|
timeout. It can also be a pair (tuple) of
|
@@ -799,7 +799,7 @@ class AdminApi:
|
|
799
799
|
)
|
800
800
|
|
801
801
|
_response_types_map: Dict[str, Optional[str]] = {
|
802
|
-
"200": "Dict[str, str]",
|
802
|
+
"200": "Dict[str, Optional[str]]",
|
803
803
|
}
|
804
804
|
response_data = await self.api_client.call_api(
|
805
805
|
*_param, _request_timeout=_request_timeout
|
@@ -811,7 +811,7 @@ class AdminApi:
|
|
811
811
|
def _get_dependencies_sync(
|
812
812
|
self,
|
813
813
|
include: Annotated[
|
814
|
-
Optional[List[StrictStr]],
|
814
|
+
Optional[List[Optional[StrictStr]]],
|
815
815
|
Field(
|
816
816
|
description="List of regex patterns to match against package names. If not provided, all installed packages will be returned."
|
817
817
|
),
|
@@ -827,7 +827,7 @@ class AdminApi:
|
|
827
827
|
_content_type: Optional[StrictStr] = None,
|
828
828
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
829
829
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
830
|
-
) -> Dict[str, str]:
|
830
|
+
) -> Dict[str, Optional[str]]:
|
831
831
|
"""Synchronous version of get_dependencies"""
|
832
832
|
return async_to_sync(self._get_dependencies_async)(
|
833
833
|
include=include,
|
@@ -842,7 +842,7 @@ class AdminApi:
|
|
842
842
|
def _get_dependencies_sync_with_http_info(
|
843
843
|
self,
|
844
844
|
include: Annotated[
|
845
|
-
Optional[List[StrictStr]],
|
845
|
+
Optional[List[Optional[StrictStr]]],
|
846
846
|
Field(
|
847
847
|
description="List of regex patterns to match against package names. If not provided, all installed packages will be returned."
|
848
848
|
),
|
@@ -858,7 +858,7 @@ class AdminApi:
|
|
858
858
|
_content_type: Optional[StrictStr] = None,
|
859
859
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
860
860
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
861
|
-
) -> ApiResponse[Dict[str, str]]:
|
861
|
+
) -> ApiResponse[Dict[str, Optional[str]]]:
|
862
862
|
"""Synchronous version of get_dependencies_with_http_info"""
|
863
863
|
return async_to_sync(self._get_dependencies_async_with_http_info)(
|
864
864
|
include=include,
|
@@ -873,7 +873,7 @@ class AdminApi:
|
|
873
873
|
def _get_dependencies_sync_without_preload_content(
|
874
874
|
self,
|
875
875
|
include: Annotated[
|
876
|
-
Optional[List[StrictStr]],
|
876
|
+
Optional[List[Optional[StrictStr]]],
|
877
877
|
Field(
|
878
878
|
description="List of regex patterns to match against package names. If not provided, all installed packages will be returned."
|
879
879
|
),
|
@@ -2011,8 +2011,7 @@ class AdminApi:
|
|
2011
2011
|
)
|
2012
2012
|
await response_data.read()
|
2013
2013
|
return self.api_client.response_deserialize(
|
2014
|
-
response_data=response_data,
|
2015
|
-
response_types_map=_response_types_map,
|
2014
|
+
response_data=response_data, response_types_map=_response_types_map
|
2016
2015
|
)
|
2017
2016
|
|
2018
2017
|
@validate_call
|