crypticorn 2.1.4__tar.gz → 2.1.5__tar.gz
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-2.1.4 → crypticorn-2.1.5}/PKG-INFO +3 -3
- {crypticorn-2.1.4 → crypticorn-2.1.5}/README.md +2 -2
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/common/errors.py +1 -1
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/common/sorter.py +9 -7
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/pay/client/api/products_api.py +15 -15
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/pay/client/models/now_webhook_payload.py +1 -1
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/trade/client/api/futures_trading_panel_api.py +15 -15
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/trade/client/models/api_error_identifier.py +49 -47
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/trade/client/models/api_error_level.py +2 -2
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn.egg-info/PKG-INFO +3 -3
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn.egg-info/SOURCES.txt +0 -3
- {crypticorn-2.1.4 → crypticorn-2.1.5}/pyproject.toml +1 -1
- crypticorn-2.1.4/crypticorn/trade/client/models/notification_type.py +0 -37
- crypticorn-2.1.4/crypticorn/trade/client/models/strategy_model.py +0 -158
- crypticorn-2.1.4/crypticorn/trade/client/models/update_notification.py +0 -95
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/__init__.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/auth/__init__.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/auth/client/__init__.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/auth/client/api/__init__.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/auth/client/api/admin_api.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/auth/client/api/auth_api.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/auth/client/api/service_api.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/auth/client/api/user_api.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/auth/client/api/wallet_api.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/auth/client/api_client.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/auth/client/api_response.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/auth/client/configuration.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/auth/client/exceptions.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/auth/client/models/__init__.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/auth/client/models/add_wallet200_response.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/auth/client/models/add_wallet_request.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/auth/client/models/authorize_user200_response.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/auth/client/models/authorize_user200_response_auth.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/auth/client/models/authorize_user_request.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/auth/client/models/create_api_key200_response.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/auth/client/models/create_api_key_request.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/auth/client/models/create_user_request.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/auth/client/models/get_api_keys200_response_inner.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/auth/client/models/list_wallets200_response.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/auth/client/models/list_wallets200_response_balances_inner.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/auth/client/models/list_wallets200_response_balances_inner_sale_round.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/auth/client/models/list_wallets200_response_balances_inner_wallet.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/auth/client/models/list_wallets200_response_balances_inner_wallet_vesting_wallets_inner.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/auth/client/models/list_wallets200_response_data_inner.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/auth/client/models/list_wallets200_response_user_value.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/auth/client/models/logout_default_response.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/auth/client/models/logout_default_response_issues_inner.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/auth/client/models/oauth_callback200_response.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/auth/client/models/oauth_callback200_response_user.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/auth/client/models/refresh_token_info200_response.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/auth/client/models/refresh_token_info200_response_user_session.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/auth/client/models/resend_verification_email_request.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/auth/client/models/revoke_user_tokens_request.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/auth/client/models/rotate_tokens200_response.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/auth/client/models/token_info200_response.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/auth/client/models/unlink_wallet_request.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/auth/client/models/update_user_request.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/auth/client/models/user_reset_password_request.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/auth/client/models/user_set_password_request.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/auth/client/models/verify200_response.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/auth/client/models/verify_email200_response.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/auth/client/models/verify_email200_response_auth.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/auth/client/models/verify_email200_response_auth_auth.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/auth/client/models/verify_email_request.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/auth/client/models/verify_wallet_request.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/auth/client/models/wallet_verified200_response.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/auth/client/models/whoami200_response.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/auth/client/py.typed +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/auth/client/rest.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/auth/main.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/client.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/common/__init__.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/common/auth.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/common/auth_client.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/common/scopes.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/common/urls.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/hive/__init__.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/hive/client/__init__.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/hive/client/api/__init__.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/hive/client/api/data_api.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/hive/client/api/models_api.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/hive/client/api/status_api.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/hive/client/api_client.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/hive/client/api_response.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/hive/client/configuration.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/hive/client/exceptions.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/hive/client/models/__init__.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/hive/client/models/coins.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/hive/client/models/data_download_response.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/hive/client/models/data_info.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/hive/client/models/data_value_value_value_inner.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/hive/client/models/data_version.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/hive/client/models/download_links.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/hive/client/models/evaluation.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/hive/client/models/evaluation_response.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/hive/client/models/feature_size.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/hive/client/models/http_validation_error.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/hive/client/models/model.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/hive/client/models/model_create.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/hive/client/models/model_status.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/hive/client/models/model_update.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/hive/client/models/target.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/hive/client/models/target_type.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/hive/client/models/validation_error.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/hive/client/models/validation_error_loc_inner.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/hive/client/py.typed +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/hive/client/rest.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/hive/main.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/klines/__init__.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/klines/client/__init__.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/klines/client/api/__init__.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/klines/client/api/funding_rates_api.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/klines/client/api/health_check_api.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/klines/client/api/ohlcv_data_api.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/klines/client/api/symbols_api.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/klines/client/api/udf_api.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/klines/client/api_client.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/klines/client/api_response.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/klines/client/configuration.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/klines/client/exceptions.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/klines/client/models/__init__.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/klines/client/models/base_response_health_check_response.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/klines/client/models/base_response_list_funding_rate_response.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/klines/client/models/base_response_list_str.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/klines/client/models/base_response_ohlcv_response.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/klines/client/models/error_response.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/klines/client/models/exchange.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/klines/client/models/funding_rate_response.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/klines/client/models/health_check_response.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/klines/client/models/history_error_response.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/klines/client/models/history_no_data_response.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/klines/client/models/history_success_response.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/klines/client/models/http_validation_error.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/klines/client/models/market.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/klines/client/models/ohlcv_response.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/klines/client/models/resolution.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/klines/client/models/response_get_history_udf_history_get.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/klines/client/models/search_symbol_response.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/klines/client/models/sort_direction.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/klines/client/models/symbol_group_response.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/klines/client/models/symbol_info_response.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/klines/client/models/symbol_type.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/klines/client/models/timeframe.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/klines/client/models/udf_config_response.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/klines/client/models/validation_error.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/klines/client/models/validation_error_loc_inner.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/klines/client/py.typed +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/klines/client/rest.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/klines/main.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/pay/__init__.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/pay/client/__init__.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/pay/client/api/__init__.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/pay/client/api/now_payments_api.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/pay/client/api/payments_api.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/pay/client/api/status_api.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/pay/client/api_client.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/pay/client/api_response.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/pay/client/configuration.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/pay/client/exceptions.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/pay/client/models/__init__.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/pay/client/models/api_status_res.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/pay/client/models/body_create_now_invoice.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/pay/client/models/body_create_product.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/pay/client/models/body_get_products.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/pay/client/models/body_handle_now_webhook.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/pay/client/models/body_update_product.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/pay/client/models/combined_payment_history.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/pay/client/models/create_invoice_req.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/pay/client/models/create_invoice_res.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/pay/client/models/currency.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/pay/client/models/estimate_price_req.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/pay/client/models/estimate_price_res.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/pay/client/models/get_currencies_res.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/pay/client/models/get_payment_status_res.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/pay/client/models/get_payments_list_res.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/pay/client/models/http_validation_error.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/pay/client/models/min_amount_req.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/pay/client/models/min_amount_res.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/pay/client/models/now_api_status_res.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/pay/client/models/now_create_invoice_req.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/pay/client/models/now_create_invoice_res.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/pay/client/models/now_fee_structure.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/pay/client/models/now_payment_model.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/pay/client/models/now_payment_status.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/pay/client/models/payment.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/pay/client/models/payment_status.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/pay/client/models/product.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/pay/client/models/product_model.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/pay/client/models/product_subs_model.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/pay/client/models/scope.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/pay/client/models/services.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/pay/client/models/unified_payment_model.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/pay/client/models/validation_error.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/pay/client/models/validation_error_loc_inner.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/pay/client/py.typed +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/pay/client/rest.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/pay/main.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/trade/__init__.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/trade/client/__init__.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/trade/client/api/__init__.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/trade/client/api/api_keys_api.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/trade/client/api/bots_api.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/trade/client/api/exchanges_api.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/trade/client/api/notifications_api.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/trade/client/api/orders_api.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/trade/client/api/status_api.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/trade/client/api/strategies_api.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/trade/client/api/trading_actions_api.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/trade/client/api_client.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/trade/client/api_response.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/trade/client/configuration.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/trade/client/exceptions.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/trade/client/models/__init__.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/trade/client/models/action_model.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/trade/client/models/api_error_type.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/trade/client/models/api_key_model.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/trade/client/models/bot_model.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/trade/client/models/bot_status.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/trade/client/models/exchange.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/trade/client/models/execution_ids.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/trade/client/models/futures_balance.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/trade/client/models/futures_trading_action.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/trade/client/models/http_validation_error.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/trade/client/models/margin_mode.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/trade/client/models/market_type.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/trade/client/models/notification_model.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/trade/client/models/order_model.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/trade/client/models/order_status.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/trade/client/models/post_futures_action.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/trade/client/models/strategy_exchange_info.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/trade/client/models/strategy_model_input.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/trade/client/models/strategy_model_output.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/trade/client/models/tpsl.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/trade/client/models/trading_action_type.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/trade/client/models/validation_error.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/trade/client/models/validation_error_loc_inner.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/trade/client/py.typed +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/trade/client/rest.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/trade/main.py +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn.egg-info/dependency_links.txt +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn.egg-info/requires.txt +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn.egg-info/top_level.txt +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/requirements/dev.txt +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/requirements/main.txt +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/requirements/test.txt +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/setup.cfg +0 -0
- {crypticorn-2.1.4 → crypticorn-2.1.5}/tests/test_auth_client.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: crypticorn
|
3
|
-
Version: 2.1.
|
3
|
+
Version: 2.1.5
|
4
4
|
Summary: Maximise Your Crypto Trading Profits with AI Predictions
|
5
5
|
Author-email: Crypticorn <timon@crypticorn.com>
|
6
6
|
Project-URL: Homepage, https://crypticorn.com
|
@@ -71,7 +71,7 @@ As of know the library is available in async mode only. There are two was of usi
|
|
71
71
|
|
72
72
|
## With Async Context Protocol
|
73
73
|
```python
|
74
|
-
async with ApiClient(base_url=
|
74
|
+
async with ApiClient(base_url=BaseUrl.Prod, api_key="your-api-key") as client:
|
75
75
|
# json response
|
76
76
|
response = await client.pay.products.get_products_without_preload_content()
|
77
77
|
print(await response.json())
|
@@ -86,7 +86,7 @@ async with ApiClient(base_url="http://localhost", jwt=jwt) as client:
|
|
86
86
|
## Without Async Context Protocol
|
87
87
|
Without the context you need to close the session manually.
|
88
88
|
```python
|
89
|
-
client = ApiClient(base_url=
|
89
|
+
client = ApiClient(base_url=BaseUrl.Prod, api_key="your-api-key")
|
90
90
|
response = asyncio.run(client.hive.models.get_all_models())
|
91
91
|
asyncio.run(client.close())
|
92
92
|
```
|
@@ -33,7 +33,7 @@ As of know the library is available in async mode only. There are two was of usi
|
|
33
33
|
|
34
34
|
## With Async Context Protocol
|
35
35
|
```python
|
36
|
-
async with ApiClient(base_url=
|
36
|
+
async with ApiClient(base_url=BaseUrl.Prod, api_key="your-api-key") as client:
|
37
37
|
# json response
|
38
38
|
response = await client.pay.products.get_products_without_preload_content()
|
39
39
|
print(await response.json())
|
@@ -48,7 +48,7 @@ async with ApiClient(base_url="http://localhost", jwt=jwt) as client:
|
|
48
48
|
## Without Async Context Protocol
|
49
49
|
Without the context you need to close the session manually.
|
50
50
|
```python
|
51
|
-
client = ApiClient(base_url=
|
51
|
+
client = ApiClient(base_url=BaseUrl.Prod, api_key="your-api-key")
|
52
52
|
response = asyncio.run(client.hive.models.get_all_models())
|
53
53
|
asyncio.run(client.close())
|
54
54
|
```
|
@@ -1,36 +1,38 @@
|
|
1
1
|
import re
|
2
2
|
import pyperclip
|
3
3
|
|
4
|
+
|
4
5
|
def sort_api_errors(file_content):
|
5
6
|
# Find the start of the ApiError class definition
|
6
7
|
class_start = file_content.find("class ApiErrorIdentifier(str, Enum):")
|
7
8
|
if class_start == -1:
|
8
9
|
return "Could not find ApiErrorIdentifier class"
|
9
|
-
|
10
|
+
|
10
11
|
# Find all enum definitions
|
11
12
|
enum_pattern = r' ([A-Z_]+)\s*=\s*"([a-z_]+)"'
|
12
13
|
enum_matches = re.finditer(enum_pattern, file_content)
|
13
|
-
|
14
|
+
|
14
15
|
# Extract all enum entries
|
15
16
|
enum_entries = []
|
16
17
|
for match in enum_matches:
|
17
18
|
full_match = match.group(0)
|
18
19
|
enum_name = match.group(1)
|
19
20
|
enum_entries.append((enum_name, full_match.strip()))
|
20
|
-
|
21
|
+
|
21
22
|
# Sort entries by enum name
|
22
23
|
sorted_entries = sorted(enum_entries, key=lambda x: x[0])
|
23
|
-
|
24
|
+
|
24
25
|
# Reconstruct the class content
|
25
26
|
class_header = "class ApiErrorIdentifier(str, Enum):\n\n"
|
26
27
|
sorted_content = class_header + "\n ".join(entry[1] for entry in sorted_entries)
|
27
|
-
|
28
|
+
|
28
29
|
return sorted_content
|
29
30
|
|
31
|
+
|
30
32
|
# Example usage:
|
31
33
|
if __name__ == "__main__":
|
32
34
|
with open("python/crypticorn/common/errors.py", "r") as f:
|
33
35
|
content = f.read()
|
34
|
-
|
36
|
+
|
35
37
|
sorted_content = sort_api_errors(content)
|
36
|
-
pyperclip.copy(sorted_content)
|
38
|
+
pyperclip.copy(sorted_content)
|
@@ -297,7 +297,7 @@ class ProductsApi:
|
|
297
297
|
self,
|
298
298
|
limit: Optional[StrictInt] = None,
|
299
299
|
offset: Optional[StrictInt] = None,
|
300
|
-
|
300
|
+
body: Optional[Dict[str, Any]] = None,
|
301
301
|
_request_timeout: Union[
|
302
302
|
None,
|
303
303
|
Annotated[StrictFloat, Field(gt=0)],
|
@@ -318,8 +318,8 @@ class ProductsApi:
|
|
318
318
|
:type limit: int
|
319
319
|
:param offset:
|
320
320
|
:type offset: int
|
321
|
-
:param
|
322
|
-
:type
|
321
|
+
:param body:
|
322
|
+
:type body: object
|
323
323
|
:param _request_timeout: timeout setting for this request. If one
|
324
324
|
number provided, it will be total request
|
325
325
|
timeout. It can also be a pair (tuple) of
|
@@ -345,7 +345,7 @@ class ProductsApi:
|
|
345
345
|
_param = self._get_products_serialize(
|
346
346
|
limit=limit,
|
347
347
|
offset=offset,
|
348
|
-
|
348
|
+
body=body,
|
349
349
|
_request_auth=_request_auth,
|
350
350
|
_content_type=_content_type,
|
351
351
|
_headers=_headers,
|
@@ -370,7 +370,7 @@ class ProductsApi:
|
|
370
370
|
self,
|
371
371
|
limit: Optional[StrictInt] = None,
|
372
372
|
offset: Optional[StrictInt] = None,
|
373
|
-
|
373
|
+
body: Optional[Dict[str, Any]] = None,
|
374
374
|
_request_timeout: Union[
|
375
375
|
None,
|
376
376
|
Annotated[StrictFloat, Field(gt=0)],
|
@@ -391,8 +391,8 @@ class ProductsApi:
|
|
391
391
|
:type limit: int
|
392
392
|
:param offset:
|
393
393
|
:type offset: int
|
394
|
-
:param
|
395
|
-
:type
|
394
|
+
:param body:
|
395
|
+
:type body: object
|
396
396
|
:param _request_timeout: timeout setting for this request. If one
|
397
397
|
number provided, it will be total request
|
398
398
|
timeout. It can also be a pair (tuple) of
|
@@ -418,7 +418,7 @@ class ProductsApi:
|
|
418
418
|
_param = self._get_products_serialize(
|
419
419
|
limit=limit,
|
420
420
|
offset=offset,
|
421
|
-
|
421
|
+
body=body,
|
422
422
|
_request_auth=_request_auth,
|
423
423
|
_content_type=_content_type,
|
424
424
|
_headers=_headers,
|
@@ -443,7 +443,7 @@ class ProductsApi:
|
|
443
443
|
self,
|
444
444
|
limit: Optional[StrictInt] = None,
|
445
445
|
offset: Optional[StrictInt] = None,
|
446
|
-
|
446
|
+
body: Optional[Dict[str, Any]] = None,
|
447
447
|
_request_timeout: Union[
|
448
448
|
None,
|
449
449
|
Annotated[StrictFloat, Field(gt=0)],
|
@@ -464,8 +464,8 @@ class ProductsApi:
|
|
464
464
|
:type limit: int
|
465
465
|
:param offset:
|
466
466
|
:type offset: int
|
467
|
-
:param
|
468
|
-
:type
|
467
|
+
:param body:
|
468
|
+
:type body: object
|
469
469
|
:param _request_timeout: timeout setting for this request. If one
|
470
470
|
number provided, it will be total request
|
471
471
|
timeout. It can also be a pair (tuple) of
|
@@ -491,7 +491,7 @@ class ProductsApi:
|
|
491
491
|
_param = self._get_products_serialize(
|
492
492
|
limit=limit,
|
493
493
|
offset=offset,
|
494
|
-
|
494
|
+
body=body,
|
495
495
|
_request_auth=_request_auth,
|
496
496
|
_content_type=_content_type,
|
497
497
|
_headers=_headers,
|
@@ -511,7 +511,7 @@ class ProductsApi:
|
|
511
511
|
self,
|
512
512
|
limit,
|
513
513
|
offset,
|
514
|
-
|
514
|
+
body,
|
515
515
|
_request_auth,
|
516
516
|
_content_type,
|
517
517
|
_headers,
|
@@ -544,8 +544,8 @@ class ProductsApi:
|
|
544
544
|
# process the header parameters
|
545
545
|
# process the form parameters
|
546
546
|
# process the body parameter
|
547
|
-
if
|
548
|
-
_body_params =
|
547
|
+
if body is not None:
|
548
|
+
_body_params = body
|
549
549
|
|
550
550
|
# set the HTTP header `Accept`
|
551
551
|
if "Accept" not in _header_params:
|
@@ -36,7 +36,7 @@ class NowWebhookPayload(BaseModel):
|
|
36
36
|
actually_paid_at_fiat: Union[StrictFloat, StrictInt] = Field(
|
37
37
|
description="Actually paid amount in fiat currency"
|
38
38
|
)
|
39
|
-
fee: NowFeeStructure
|
39
|
+
fee: NowFeeStructure = Field(description="Fee structure for the payment")
|
40
40
|
invoice_id: StrictInt = Field(description="Associated invoice ID")
|
41
41
|
order_description: StrictStr = Field(description="Order description")
|
42
42
|
order_id: StrictStr = Field(description="Internal order ID")
|
{crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/trade/client/api/futures_trading_panel_api.py
RENAMED
@@ -1031,7 +1031,7 @@ class FuturesTradingPanelApi:
|
|
1031
1031
|
async def place_futures_order(
|
1032
1032
|
self,
|
1033
1033
|
key: StrictStr,
|
1034
|
-
|
1034
|
+
body: Dict[str, Any],
|
1035
1035
|
_request_timeout: Union[
|
1036
1036
|
None,
|
1037
1037
|
Annotated[StrictFloat, Field(gt=0)],
|
@@ -1049,8 +1049,8 @@ class FuturesTradingPanelApi:
|
|
1049
1049
|
|
1050
1050
|
:param key: (required)
|
1051
1051
|
:type key: str
|
1052
|
-
:param
|
1053
|
-
:type
|
1052
|
+
:param body: (required)
|
1053
|
+
:type body: object
|
1054
1054
|
:param _request_timeout: timeout setting for this request. If one
|
1055
1055
|
number provided, it will be total request
|
1056
1056
|
timeout. It can also be a pair (tuple) of
|
@@ -1075,7 +1075,7 @@ class FuturesTradingPanelApi:
|
|
1075
1075
|
|
1076
1076
|
_param = self._place_futures_order_serialize(
|
1077
1077
|
key=key,
|
1078
|
-
|
1078
|
+
body=body,
|
1079
1079
|
_request_auth=_request_auth,
|
1080
1080
|
_content_type=_content_type,
|
1081
1081
|
_headers=_headers,
|
@@ -1099,7 +1099,7 @@ class FuturesTradingPanelApi:
|
|
1099
1099
|
async def place_futures_order_with_http_info(
|
1100
1100
|
self,
|
1101
1101
|
key: StrictStr,
|
1102
|
-
|
1102
|
+
body: Dict[str, Any],
|
1103
1103
|
_request_timeout: Union[
|
1104
1104
|
None,
|
1105
1105
|
Annotated[StrictFloat, Field(gt=0)],
|
@@ -1117,8 +1117,8 @@ class FuturesTradingPanelApi:
|
|
1117
1117
|
|
1118
1118
|
:param key: (required)
|
1119
1119
|
:type key: str
|
1120
|
-
:param
|
1121
|
-
:type
|
1120
|
+
:param body: (required)
|
1121
|
+
:type body: object
|
1122
1122
|
:param _request_timeout: timeout setting for this request. If one
|
1123
1123
|
number provided, it will be total request
|
1124
1124
|
timeout. It can also be a pair (tuple) of
|
@@ -1143,7 +1143,7 @@ class FuturesTradingPanelApi:
|
|
1143
1143
|
|
1144
1144
|
_param = self._place_futures_order_serialize(
|
1145
1145
|
key=key,
|
1146
|
-
|
1146
|
+
body=body,
|
1147
1147
|
_request_auth=_request_auth,
|
1148
1148
|
_content_type=_content_type,
|
1149
1149
|
_headers=_headers,
|
@@ -1167,7 +1167,7 @@ class FuturesTradingPanelApi:
|
|
1167
1167
|
async def place_futures_order_without_preload_content(
|
1168
1168
|
self,
|
1169
1169
|
key: StrictStr,
|
1170
|
-
|
1170
|
+
body: Dict[str, Any],
|
1171
1171
|
_request_timeout: Union[
|
1172
1172
|
None,
|
1173
1173
|
Annotated[StrictFloat, Field(gt=0)],
|
@@ -1185,8 +1185,8 @@ class FuturesTradingPanelApi:
|
|
1185
1185
|
|
1186
1186
|
:param key: (required)
|
1187
1187
|
:type key: str
|
1188
|
-
:param
|
1189
|
-
:type
|
1188
|
+
:param body: (required)
|
1189
|
+
:type body: object
|
1190
1190
|
:param _request_timeout: timeout setting for this request. If one
|
1191
1191
|
number provided, it will be total request
|
1192
1192
|
timeout. It can also be a pair (tuple) of
|
@@ -1211,7 +1211,7 @@ class FuturesTradingPanelApi:
|
|
1211
1211
|
|
1212
1212
|
_param = self._place_futures_order_serialize(
|
1213
1213
|
key=key,
|
1214
|
-
|
1214
|
+
body=body,
|
1215
1215
|
_request_auth=_request_auth,
|
1216
1216
|
_content_type=_content_type,
|
1217
1217
|
_headers=_headers,
|
@@ -1230,7 +1230,7 @@ class FuturesTradingPanelApi:
|
|
1230
1230
|
def _place_futures_order_serialize(
|
1231
1231
|
self,
|
1232
1232
|
key,
|
1233
|
-
|
1233
|
+
body,
|
1234
1234
|
_request_auth,
|
1235
1235
|
_content_type,
|
1236
1236
|
_headers,
|
@@ -1259,8 +1259,8 @@ class FuturesTradingPanelApi:
|
|
1259
1259
|
# process the header parameters
|
1260
1260
|
# process the form parameters
|
1261
1261
|
# process the body parameter
|
1262
|
-
if
|
1263
|
-
_body_params =
|
1262
|
+
if body is not None:
|
1263
|
+
_body_params = body
|
1264
1264
|
|
1265
1265
|
# set the HTTP header `Accept`
|
1266
1266
|
if "Accept" not in _header_params:
|
{crypticorn-2.1.4 → crypticorn-2.1.5}/crypticorn/trade/client/models/api_error_identifier.py
RENAMED
@@ -26,69 +26,71 @@ class ApiErrorIdentifier(str, Enum):
|
|
26
26
|
"""
|
27
27
|
allowed enum values
|
28
28
|
"""
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
29
|
+
API_KEY_ALREADY_EXISTS = "api_key_already_exists"
|
30
|
+
BLACK_SWAN = "black_swan"
|
31
|
+
BOT_ALREADY_DELETED = "bot_already_deleted"
|
32
|
+
BOT_DISABLED = "bot_disabled"
|
33
|
+
BOT_STOPPING_COMPLETED = "bot_stopping_completed"
|
34
|
+
CLIENT_ORDER_ID_ALREADY_EXISTS = "client_order_id_already_exists"
|
35
|
+
INVALID_CONTENT_TYPE = "invalid_content_type"
|
36
|
+
DELETE_BOT_ERROR = "delete_bot_error"
|
37
|
+
EXCHANGE_API_KEY_IN_USE = "exchange_api_key_in_use"
|
38
|
+
EXCHANGE_INVALID_SIGNATURE = "exchange_invalid_signature"
|
39
|
+
EXCHANGE_INVALID_TIMESTAMP = "exchange_invalid_timestamp"
|
40
|
+
EXCHANGE_IP_ADDRESS_IS_NOT_AUTHORIZED = "exchange_ip_address_is_not_authorized"
|
41
|
+
EXCHANGE_SYSTEM_UNDER_MAINTENANCE = "exchange_system_under_maintenance"
|
42
|
+
EXCHANGE_RATE_LIMIT_EXCEEDED = "exchange_rate_limit_exceeded"
|
43
|
+
EXCHANGE_SERVICE_TEMPORARILY_UNAVAILABLE = (
|
44
|
+
"exchange_service_temporarily_unavailable"
|
45
|
+
)
|
46
|
+
EXCHANGE_SYSTEM_IS_BUSY = "exchange_system_is_busy"
|
47
|
+
EXCHANGE_SYSTEM_CONFIGURATION_ERROR = "exchange_system_configuration_error"
|
48
|
+
EXCHANGE_INTERNAL_SYSTEM_ERROR = "exchange_internal_system_error"
|
49
|
+
EXCHANGE_USER_ACCOUNT_IS_FROZEN = "exchange_user_account_is_frozen"
|
34
50
|
INSUFFICIENT_PERMISSIONS_SPOT_AND_FUTURES_REQUIRED = (
|
35
51
|
"insufficient_permissions_spot_and_futures_required"
|
36
52
|
)
|
37
|
-
|
38
|
-
|
53
|
+
HEDGE_MODE_NOT_ACTIVE = "hedge_mode_not_active"
|
54
|
+
HTTP_REQUEST_ERROR = "http_request_error"
|
55
|
+
INSUFFICIENT_BALANCE = "insufficient_balance"
|
56
|
+
INSUFFICIENT_MARGIN = "insufficient_margin"
|
57
|
+
INSUFFICIENT_SCOPES = "insufficient_scopes"
|
58
|
+
INVALID_API_KEY = "invalid_api_key"
|
59
|
+
INVALID_BEARER = "invalid_bearer"
|
60
|
+
INVALID_EXCHANGE_API_KEY = "invalid_exchange_api_key"
|
61
|
+
INVALID_MARGIN_MODE = "invalid_margin_mode"
|
39
62
|
INVALID_PARAMETER_PROVIDED = "invalid_parameter_provided"
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
63
|
+
JWT_EXPIRED = "jwt_expired"
|
64
|
+
LEVERAGE_LIMIT_EXCEEDED = "leverage_limit_exceeded"
|
65
|
+
ORDER_VIOLATES_LIQUIDATION_PRICE_CONSTRAINTS = (
|
66
|
+
"order_violates_liquidation_price_constraints"
|
67
|
+
)
|
68
|
+
NO_CREDENTIALS = "no_credentials"
|
69
|
+
OBJECT_NOT_FOUND = "object_not_found"
|
44
70
|
ORDER_IS_ALREADY_FILLED = "order_is_already_filled"
|
45
71
|
ORDER_IS_BEING_PROCESSED = "order_is_being_processed"
|
46
72
|
ORDER_QUANTITY_LIMIT_EXCEEDED = "order_quantity_limit_exceeded"
|
73
|
+
ORDER_DOES_NOT_EXIST = "order_does_not_exist"
|
47
74
|
ORDER_PRICE_IS_INVALID = "order_price_is_invalid"
|
48
|
-
|
49
|
-
|
50
|
-
CLIENT_ORDER_ID_ALREADY_EXISTS = "client_order_id_already_exists"
|
51
|
-
POSITION_DOES_NOT_EXIST = "position_does_not_exist"
|
75
|
+
ORDER_SIZE_TOO_LARGE = "order_size_too_large"
|
76
|
+
ORDER_SIZE_TOO_SMALL = "order_size_too_small"
|
52
77
|
POSITION_LIMIT_EXCEEDED = "position_limit_exceeded"
|
78
|
+
POSITION_DOES_NOT_EXIST = "position_does_not_exist"
|
53
79
|
POSITION_OPENING_TEMPORARILY_SUSPENDED = "position_opening_temporarily_suspended"
|
54
|
-
|
55
|
-
|
56
|
-
LEVERAGE_LIMIT_EXCEEDED = "leverage_limit_exceeded"
|
80
|
+
POST_ONLY_ORDER_WOULD_IMMEDIATELY_MATCH = "post_only_order_would_immediately_match"
|
81
|
+
REQUEST_SCOPE_LIMIT_EXCEEDED = "request_scope_limit_exceeded"
|
57
82
|
RISK_LIMIT_EXCEEDED = "risk_limit_exceeded"
|
58
|
-
ORDER_VIOLATES_LIQUIDATION_PRICE_CONSTRAINTS = (
|
59
|
-
"order_violates_liquidation_price_constraints"
|
60
|
-
)
|
61
|
-
INVALID_MARGIN_MODE = "invalid_margin_mode"
|
62
|
-
INTERNAL_SYSTEM_ERROR = "internal_system_error"
|
63
|
-
SYSTEM_CONFIGURATION_ERROR = "system_configuration_error"
|
64
|
-
SERVICE_TEMPORARILY_UNAVAILABLE = "service_temporarily_unavailable"
|
65
|
-
SYSTEM_IS_BUSY_PLEASE_TRY_AGAIN_LATER = "system_is_busy_please_try_again_later"
|
66
|
-
SYSTEM_UNDER_MAINTENANCE = "system_under_maintenance"
|
67
83
|
RPC_TIMEOUT = "rpc_timeout"
|
68
84
|
SYSTEM_SETTLEMENT_IN_PROCESS = "system_settlement_in_process"
|
69
|
-
|
85
|
+
STRATEGY_DISABLED = "strategy_disabled"
|
86
|
+
SUCCESS = "success"
|
87
|
+
SYMBOL_DOES_NOT_EXIST = "symbol_does_not_exist"
|
70
88
|
TRADING_HAS_BEEN_LOCKED = "trading_has_been_locked"
|
71
|
-
UNKNOWN_ERROR_OCCURRED = "unknown_error_occurred"
|
72
|
-
HTTP_REQUEST_ERROR = "http_request_error"
|
73
|
-
BLACK_SWAN = "black_swan"
|
74
89
|
TRADING_ACTION_EXPIRED = "trading_action_expired"
|
75
90
|
TRADING_ACTION_SKIPPED = "trading_action_skipped"
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
HEDGE_MODE_NOT_ACTIVE = "hedge_mode_not_active"
|
80
|
-
API_KEY_ALREADY_EXISTS = "api_key_already_exists"
|
81
|
-
DELETE_BOT_ERROR = "delete_bot_error"
|
82
|
-
JWT_EXPIRED = "jwt_expired"
|
83
|
-
BOT_STOPPING_COMPLETED = "bot_stopping_completed"
|
84
|
-
OBJECT_NOT_FOUND = "object_not_found"
|
85
|
-
STRATEGY_DISABLED = "strategy_disabled"
|
86
|
-
API_KEY_IN_USE_BY_BOTS = "api_key_in_use_by_bots"
|
87
|
-
BOT_ALREADY_DELETED = "bot_already_deleted"
|
88
|
-
INVALID_API_KEY = "invalid_api_key"
|
89
|
-
INVALID_BEARER = "invalid_bearer"
|
90
|
-
NO_CREDENTIALS = "no_credentials"
|
91
|
-
INSUFFICIENT_SCOPES = "insufficient_scopes"
|
91
|
+
TRADING_IS_SUSPENDED = "trading_is_suspended"
|
92
|
+
UNKNOWN_ERROR_OCCURRED = "unknown_error_occurred"
|
93
|
+
REQUESTED_RESOURCE_NOT_FOUND = "requested_resource_not_found"
|
92
94
|
|
93
95
|
@classmethod
|
94
96
|
def from_json(cls, json_str: str) -> Self:
|
@@ -20,15 +20,15 @@ from typing_extensions import Self
|
|
20
20
|
|
21
21
|
class ApiErrorLevel(str, Enum):
|
22
22
|
"""
|
23
|
-
|
23
|
+
API error levels
|
24
24
|
"""
|
25
25
|
|
26
26
|
"""
|
27
27
|
allowed enum values
|
28
28
|
"""
|
29
29
|
ERROR = "error"
|
30
|
-
SUCCESS = "success"
|
31
30
|
INFO = "info"
|
31
|
+
SUCCESS = "success"
|
32
32
|
WARNING = "warning"
|
33
33
|
|
34
34
|
@classmethod
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: crypticorn
|
3
|
-
Version: 2.1.
|
3
|
+
Version: 2.1.5
|
4
4
|
Summary: Maximise Your Crypto Trading Profits with AI Predictions
|
5
5
|
Author-email: Crypticorn <timon@crypticorn.com>
|
6
6
|
Project-URL: Homepage, https://crypticorn.com
|
@@ -71,7 +71,7 @@ As of know the library is available in async mode only. There are two was of usi
|
|
71
71
|
|
72
72
|
## With Async Context Protocol
|
73
73
|
```python
|
74
|
-
async with ApiClient(base_url=
|
74
|
+
async with ApiClient(base_url=BaseUrl.Prod, api_key="your-api-key") as client:
|
75
75
|
# json response
|
76
76
|
response = await client.pay.products.get_products_without_preload_content()
|
77
77
|
print(await response.json())
|
@@ -86,7 +86,7 @@ async with ApiClient(base_url="http://localhost", jwt=jwt) as client:
|
|
86
86
|
## Without Async Context Protocol
|
87
87
|
Without the context you need to close the session manually.
|
88
88
|
```python
|
89
|
-
client = ApiClient(base_url=
|
89
|
+
client = ApiClient(base_url=BaseUrl.Prod, api_key="your-api-key")
|
90
90
|
response = asyncio.run(client.hive.models.get_all_models())
|
91
91
|
asyncio.run(client.close())
|
92
92
|
```
|
@@ -226,17 +226,14 @@ crypticorn/trade/client/models/http_validation_error.py
|
|
226
226
|
crypticorn/trade/client/models/margin_mode.py
|
227
227
|
crypticorn/trade/client/models/market_type.py
|
228
228
|
crypticorn/trade/client/models/notification_model.py
|
229
|
-
crypticorn/trade/client/models/notification_type.py
|
230
229
|
crypticorn/trade/client/models/order_model.py
|
231
230
|
crypticorn/trade/client/models/order_status.py
|
232
231
|
crypticorn/trade/client/models/post_futures_action.py
|
233
232
|
crypticorn/trade/client/models/strategy_exchange_info.py
|
234
|
-
crypticorn/trade/client/models/strategy_model.py
|
235
233
|
crypticorn/trade/client/models/strategy_model_input.py
|
236
234
|
crypticorn/trade/client/models/strategy_model_output.py
|
237
235
|
crypticorn/trade/client/models/tpsl.py
|
238
236
|
crypticorn/trade/client/models/trading_action_type.py
|
239
|
-
crypticorn/trade/client/models/update_notification.py
|
240
237
|
crypticorn/trade/client/models/validation_error.py
|
241
238
|
crypticorn/trade/client/models/validation_error_loc_inner.py
|
242
239
|
requirements/dev.txt
|
@@ -4,7 +4,7 @@ description = "Maximise Your Crypto Trading Profits with AI Predictions"
|
|
4
4
|
readme = "README.md"
|
5
5
|
requires-python = ">=3.10"
|
6
6
|
authors = [{name = "Crypticorn", email = "timon@crypticorn.com"}]
|
7
|
-
version = "2.1.
|
7
|
+
version = "2.1.5"
|
8
8
|
keywords = ["machine learning", "data science", "crypto", "modelling"]
|
9
9
|
dynamic = ["dependencies", "optional-dependencies"]
|
10
10
|
|
@@ -1,37 +0,0 @@
|
|
1
|
-
# coding: utf-8
|
2
|
-
|
3
|
-
"""
|
4
|
-
FastAPI
|
5
|
-
|
6
|
-
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
7
|
-
|
8
|
-
The version of the OpenAPI document: 0.1.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 NotificationType(str, Enum):
|
22
|
-
"""
|
23
|
-
NotificationType
|
24
|
-
"""
|
25
|
-
|
26
|
-
"""
|
27
|
-
allowed enum values
|
28
|
-
"""
|
29
|
-
ERROR = "error"
|
30
|
-
SUCCESS = "success"
|
31
|
-
INFO = "info"
|
32
|
-
WARNING = "warning"
|
33
|
-
|
34
|
-
@classmethod
|
35
|
-
def from_json(cls, json_str: str) -> Self:
|
36
|
-
"""Create an instance of NotificationType from a JSON string"""
|
37
|
-
return cls(json.loads(json_str))
|