volue-powerbot-client 2.35.0__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.
- volue_powerbot_client-2.35.0/PKG-INFO +139 -0
- volue_powerbot_client-2.35.0/README.md +123 -0
- volue_powerbot_client-2.35.0/pyproject.toml +26 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/__init__.py +8 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/__init__.py +1 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/activity/__init__.py +1 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/activity/get_order_action_quota_series.py +255 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/activity/get_trading_statistics.py +327 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/alert/__init__.py +1 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/alert/create_alert_notification_policy.py +187 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/alert/delete_alert_notification_policy.py +172 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/alert/get_alert_notification_policies.py +204 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/alert/get_alerts.py +285 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/alert/get_alerts_for_alert_notification_policy.py +277 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/alert/publish_alert.py +201 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/alert/resolve_alert.py +176 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/alert/resolve_alerts.py +197 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/alert/update_alert_notification_policy.py +198 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/algorithms/__init__.py +1 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/algorithms/add_algorithm.py +210 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/algorithms/delete_algorithm.py +175 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/algorithms/delete_algorithm_instance.py +201 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/algorithms/get_algo_instance_status.py +211 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/algorithms/get_algorithm.py +199 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/algorithms/get_algorithm_repositories.py +167 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/algorithms/get_algorithms.py +192 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/algorithms/modify_algorithm.py +204 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/algorithms/new_instance.py +226 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/algorithms/submit_command.py +248 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/algorithms/submit_heart_beat.py +230 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/algorithms/update_algo_instance.py +232 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/algorithms/update_algo_parameters.py +252 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/auction_configuration/__init__.py +1 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/auction_configuration/get_auction_config.py +169 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/auction_configuration/get_auction_config_deprecated.py +183 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/auction_configuration/get_auction_portfolio_currency.py +200 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/auction_configuration/get_auction_portfolio_currency_deprecated.py +214 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/auction_configuration/set_portfolio_mapping.py +250 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/auction_configuration/set_portfolio_mapping_deprecated.py +264 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/auction_exchange/__init__.py +1 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/auction_exchange/auction_login.py +184 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/auction_exchange/auction_login_deprecated.py +198 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/auction_exchange/auction_logout.py +157 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/auction_exchange/auction_logout_deprecated.py +171 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/auction_exchange/change_auction_exchange_password.py +187 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/auction_exchange/change_auction_exchange_password_deprecated.py +201 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/auction_exchange/list_exchanges.py +168 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/auction_order/__init__.py +1 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/auction_order/confirm_order.py +183 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/auction_order/confirm_order_deprecated.py +197 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/auction_order/get_auction_order_history.py +271 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/auction_order/get_auction_order_history_deprecated.py +285 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/auction_order/get_auction_orders.py +245 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/auction_order/get_auction_orders_deprecated.py +259 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/auction_order/save_order.py +219 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/auction_order/save_order_deprecated.py +233 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/auction_settings/__init__.py +1 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/auction_settings/get_settings.py +163 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/auction_settings/save_settings.py +190 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/auction_trade/__init__.py +1 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/auction_trade/find_auction_trades.py +328 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/auction_trade/find_auction_trades_deprecated.py +342 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/auction_trade/get_auction_positions.py +266 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/auction_trade/get_auction_positions_deprecated.py +280 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/auction_trade/get_auction_trades.py +235 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/auction_trade/get_auction_trades_deprecated.py +249 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/auctions/__init__.py +1 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/auctions/get_auction_constraints.py +205 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/auctions/get_auction_constraints_deprecated.py +219 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/auctions/get_auction_results.py +210 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/auctions/get_auction_results_deprecated.py +224 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/auctions/list_auctions.py +302 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/auctions/list_auctions_deprecated.py +316 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/authentication/__init__.py +1 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/authentication/add_api_key.py +270 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/authentication/add_sso_user.py +193 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/authentication/delete_api_key.py +180 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/authentication/delete_sso_user.py +178 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/authentication/get_api_keys.py +201 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/authentication/get_current_api_key_portfolios.py +165 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/authentication/get_sso_users_keys.py +189 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/authentication/update_api_key.py +192 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/authentication/update_api_key_portfolios.py +208 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/authentication/update_sso_user.py +192 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/authentication/update_sso_user_portfolios.py +204 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/capacities/__init__.py +1 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/capacities/get_capacities.py +267 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/contract/__init__.py +1 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/contract/calculate_bulk_statistics.py +322 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/contract/calculate_statistics.py +313 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/contract/find_contracts.py +293 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/contract/get_aggregated_order_books.py +379 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/contract/get_contract_history.py +451 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/contract/get_contract_signals.py +223 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/contract/get_limits.py +259 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/contract/get_order_book_statistics.py +308 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/contract/get_order_books.py +587 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/contract/get_orders.py +214 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/contract/get_public_trades.py +309 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/downtimes/__init__.py +1 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/downtimes/get_downtimes.py +239 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/historic_data/__init__.py +1 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/historic_data/get_bulk_exports.py +298 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/historic_data/get_historic_orders.py +320 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/historic_data/get_historic_trades.py +410 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/market/__init__.py +1 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/market/change_exchange_password.py +182 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/market/get_available_exchanges.py +144 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/market/get_delivery_area.py +177 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/market/get_delivery_areas.py +189 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/market/get_health.py +169 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/market/get_notifications.py +265 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/market/get_status.py +169 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/market/login.py +226 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/market/logout.py +190 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/market/set_market_options.py +250 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/market/switch_mode.py +246 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/messages/__init__.py +1 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/messages/get_messages.py +315 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/orders/__init__.py +1 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/orders/add_orders.py +409 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/orders/delete_orders.py +210 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/orders/get_own_order_history.py +194 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/orders/get_own_orders.py +530 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/orders/get_own_orders_history.py +241 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/orders/list_own_orders.py +479 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/orders/modify_order.py +333 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/orders/modify_orders.py +338 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/orders/update_status.py +190 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/portfolios/__init__.py +1 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/portfolios/add_portfolio.py +198 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/portfolios/delete_portfolio.py +179 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/portfolios/get_mmt_portfolios.py +144 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/portfolios/get_portfolio_risk_management_settings.py +177 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/portfolios/get_portfolio_status.py +185 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/portfolios/get_portfolios.py +176 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/portfolios/get_trading_activity_statistics.py +244 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/portfolios/update_portfolio.py +192 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/portfolios/update_portfolio_risk_management_settings.py +204 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/report/__init__.py +1 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/report/get_positions_report.py +293 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/report/get_report.py +385 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/report/get_report_csv_for_period.py +345 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/report/get_report_for_period.py +486 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/report/get_schedule_xml.py +330 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/schema/__init__.py +1 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/schema/add_schema.py +183 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/schema/delete_schema.py +200 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/schema/get_schemas.py +254 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/settings/__init__.py +1 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/settings/get_ip_allowlist.py +168 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/settings/set_ip_allowlist.py +197 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/signals/__init__.py +1 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/signals/delete_signals.py +271 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/signals/delete_time_slice.py +277 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/signals/delete_trading_signal.py +242 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/signals/find_trading_signals.py +501 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/signals/get_signals.py +349 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/signals/get_signals_history.py +390 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/signals/get_sources_durations.py +381 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/signals/save_trading_signals.py +345 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/signals/update_signals.py +333 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/sso/__init__.py +1 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/sso/add_sso_provider.py +229 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/sso/delete_sso_provider.py +171 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/sso/get_sso_providers_details.py +163 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/sso/get_sso_providers_overview.py +175 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/sso/update_sso_provider.py +197 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/subscriptions/__init__.py +1 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/subscriptions/get_subscription_topics.py +192 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/tenants/__init__.py +1 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/tenants/add_tenant.py +186 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/tenants/delete_tenant.py +175 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/tenants/get_identity_tenants.py +139 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/tenants/get_tenant_risk_management.py +177 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/tenants/get_tenants.py +170 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/tenants/update_tenant.py +192 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/tenants/update_tenant_risk_management_settings.py +204 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/trades/__init__.py +1 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/trades/add_internal_trade.py +198 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/trades/add_internal_trades.py +183 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/trades/get_internal_trades.py +526 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/trades/get_trades.py +623 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/trades/list_internal_trades.py +524 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/trades/list_trades.py +571 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/api/trades/recall_trade.py +196 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/client.py +268 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/errors.py +16 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/__init__.py +523 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/active_order_limit.py +85 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/aggregated_order_book.py +143 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/aggregated_order_books.py +79 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/aggressor_indicator.py +10 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/alert.py +190 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/alert_notification_policy.py +163 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/alert_resolve_request.py +161 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/alert_resolve_result.py +87 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/alert_resolve_result_status.py +9 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/alert_tags.py +52 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/algo_command.py +69 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/algo_command_command.py +9 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/algo_details.py +202 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/algo_event.py +172 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/algo_event_instance_parameters.py +47 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/algo_heartbeat.py +78 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/algo_image_repository.py +90 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/algo_instance_change.py +10 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/algo_instance_event.py +97 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/algo_instance_parameters.py +124 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/algo_instance_parameters_parameters.py +47 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/algo_instance_pb.py +228 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/algo_instance_pb_parameters.py +47 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/algo_repositories_response.py +75 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/algo_setup.py +173 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/algo_status.py +10 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/api_key.py +72 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/api_key_details.py +211 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/api_key_portfolio_update.py +74 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/api_key_type.py +13 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/atc_status.py +96 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/auction.py +185 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/auction_area_result.py +100 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/auction_area_result_trade.py +95 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/auction_config.py +76 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/auction_constraints.py +81 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/auction_contract.py +88 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/auction_contract_result.py +86 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/auction_credentials.py +114 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/auction_exchange.py +82 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/auction_exchange_portfolio.py +89 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/auction_exchange_portfolio_currency.py +70 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/auction_exchange_portfolio_delivery_area.py +82 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/auction_exchange_portfolio_mapping.py +110 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/auction_exchange_status.py +11 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/auction_limits.py +95 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/auction_order.py +199 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/auction_order_confirmation.py +9 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/auction_order_data.py +103 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/auction_order_entry.py +102 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/auction_order_state.py +11 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/auction_order_submission_type.py +11 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/auction_order_type.py +9 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/auction_positions.py +154 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/auction_product_positions.py +134 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/auction_result.py +130 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/auction_result_event.py +126 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/auction_result_state.py +11 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/auction_settings.py +82 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/auction_state.py +12 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/auction_trade.py +258 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/auction_trade_state.py +10 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/auction_trade_submission_type.py +10 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/auction_type.py +10 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/audit_log_entry.py +196 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/audit_log_entry_new_value_item.py +47 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/audit_log_entry_old_value_item.py +47 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/block.py +163 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/block_period.py +70 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/block_state.py +10 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/block_type.py +13 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/bulk_contract_statistics.py +79 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/bulk_exports_format.py +8 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/bulk_exports_response.py +88 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/bulk_signal.py +176 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/bulk_signal_response.py +96 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/bulk_signal_response_status.py +9 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/bulk_signal_value.py +52 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/capacity.py +148 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/capacity_changes.py +106 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/cash_limit.py +95 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/cash_limit_direction.py +9 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/certificate.py +70 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/changed_credentials.py +69 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/contract.py +479 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/contract_changed_event.py +167 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/contract_history_item.py +299 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/contract_item.py +220 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/contract_item_contract_details.py +47 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/contract_reference.py +106 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/contract_state.py +9 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/contract_statistics.py +125 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/contract_type.py +10 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/credentials.py +132 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/currency_price.py +69 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/curve.py +96 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/curve_point.py +70 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/default_account_mapping.py +83 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/default_account_mapping_mapping.py +47 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/default_unit_mapping.py +80 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/default_unit_mapping_mapping.py +47 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/delivery_area_currency_mapping.py +72 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/delivery_area_pb.py +174 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/delivery_area_pb_state.py +10 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/delivery_area_state.py +114 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/delivery_area_state_state.py +11 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/error.py +108 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/error_code.py +25 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/error_response.py +90 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/error_variables.py +53 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/exchange.py +22 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/exchange_cash_limit.py +81 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/exchange_downtime.py +97 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/exchange_position.py +71 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/execution_instruction.py +10 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/historic_orders_response.py +105 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/historic_trades_response.py +91 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/identity_tenant.py +107 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/identity_tenants_response.py +75 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/initialization.py +105 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/initialization_type.py +8 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/instance_heartbeat_status.py +9 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/internal_trade.py +362 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/ip_allowlist_entry.py +72 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/log_entry.py +134 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/log_entry_added.py +101 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/market_availability.py +85 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/market_mode.py +63 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/market_mode_mode.py +9 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/market_options.py +265 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/market_options_block_potential_self_trades.py +10 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/market_options_internal_trading.py +11 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/market_options_throttling_user_action.py +9 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/market_state.py +11 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/market_status.py +469 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/market_status_changed_event.py +101 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/market_status_exchange_mode.py +9 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/market_status_mode.py +9 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/message.py +180 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/message_category.py +11 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/message_content.py +47 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/message_direction.py +9 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/mmt_portfolio.py +89 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/new_api_key.py +147 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/new_internal_trade.py +254 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/new_portfolio.py +165 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/new_sso_provider.py +86 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/new_sso_user.py +165 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/new_tenant.py +97 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/notification.py +139 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/notification_target.py +73 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/notification_type.py +9 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/on_missing_heartbeat.py +9 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/order_action.py +31 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/order_action_quota_exchange_series.py +135 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/order_action_quota_limit.py +72 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/order_action_quota_series.py +88 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/order_book.py +133 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/order_book_bulk_statistics.py +112 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/order_book_changed_event.py +249 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/order_book_changes.py +271 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/order_book_depth_value.py +79 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/order_book_entry.py +160 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/order_book_group.py +167 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/order_book_level.py +81 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/order_book_product_details.py +47 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/order_book_revision.py +117 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/order_book_statistics.py +113 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/order_book_statistics_contract.py +245 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/order_books.py +203 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/order_count_limit.py +85 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/order_entry.py +467 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/order_entry_state.py +9 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/order_execution_restriction.py +12 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/order_modify.py +304 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/order_modify_action.py +11 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/order_modify_item.py +91 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/order_side.py +9 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/order_state.py +11 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/order_type.py +10 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/orders.py +155 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/own_order.py +560 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/own_order_changed_event.py +169 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/own_order_changes.py +106 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/own_order_details.py +50 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/own_order_trading_statistics.py +112 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/own_trade_changes.py +129 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/portfolio.py +154 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/portfolio_area_position.py +130 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/portfolio_changes.py +244 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/portfolio_information.py +349 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/portfolio_status.py +80 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/portfolio_type.py +10 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/position_limit.py +126 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/position_source.py +106 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/position_source_value.py +113 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/positions_report.py +76 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/product_information.py +107 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/public_order_revision.py +99 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/public_trade.py +218 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/public_trade_changes.py +106 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/public_trade_state.py +15 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/related_contract.py +256 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/report.py +143 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/report_element.py +304 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/requests.py +74 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/resources.py +75 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/risk_management_settings.py +230 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/risk_settings_and_portfolio_information.py +119 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/rolling_window_count.py +71 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/save_settings.py +82 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/schedule_format.py +9 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/self_trade_selector.py +10 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/settings.py +103 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/severity.py +12 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/signal.py +308 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/signal_changes.py +115 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/signal_entry.py +136 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/signal_entry_response.py +80 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/signal_entry_result.py +134 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/signal_entry_result_status.py +9 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/signal_search_item.py +151 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/signal_search_result.py +81 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/signal_source_durations.py +72 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/signal_time_slice.py +184 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/signal_time_slice_parameters.py +52 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/signal_value.py +52 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/sso_provider_organization.py +69 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/sso_provider_overview.py +79 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/sso_provider_overview_item.py +136 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/sso_provider_update.py +98 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/stats_segment_by.py +10 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/subscription_endpoint.py +101 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/tag_matcher.py +80 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/tag_matcher_operator.py +9 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/tenant.py +69 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/text_matching_mode.py +10 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/time_slice_entry.py +98 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/time_slice_entry_parameters.py +53 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/trade.py +547 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/trade_changed_event.py +215 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/trade_changed_event_trade_type.py +9 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/trade_state.py +15 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/trading_activity.py +89 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/trading_activity_segment.py +164 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/trading_area.py +71 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/update_algo_parameters_body.py +47 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/update_algo_setup.py +170 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/update_instance_request.py +85 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/update_status.py +87 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/update_status_order_mod_type.py +10 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/updated_api_key.py +61 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/updated_portfolio.py +113 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/updated_sso_user.py +61 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/updated_tenant.py +71 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/validation_schema.py +104 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/validation_schema_parameters.py +47 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/validation_schema_type.py +9 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/models/validity_restriction.py +10 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/py.typed +1 -0
- volue_powerbot_client-2.35.0/volue_powerbot_client/types.py +53 -0
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
Metadata-Version: 2.3
|
|
2
|
+
Name: volue-powerbot-client
|
|
3
|
+
Version: 2.35.0
|
|
4
|
+
Summary: A client library for accessing PowerBot - Webservice for algotrading
|
|
5
|
+
Requires-Python: >=3.10,<4.0
|
|
6
|
+
Classifier: Programming Language :: Python :: 3
|
|
7
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
8
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
9
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
10
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
11
|
+
Requires-Dist: attrs (>=22.2.0)
|
|
12
|
+
Requires-Dist: httpx (>=0.23.0,<0.29.0)
|
|
13
|
+
Requires-Dist: python-dateutil (>=2.8.0,<3.0.0)
|
|
14
|
+
Description-Content-Type: text/markdown
|
|
15
|
+
|
|
16
|
+
# volue-powerbot-client
|
|
17
|
+
A client library for accessing PowerBot - Webservice for algotrading
|
|
18
|
+
|
|
19
|
+
## Usage
|
|
20
|
+
First, create a client:
|
|
21
|
+
|
|
22
|
+
```python
|
|
23
|
+
from volue_powerbot_client import Client
|
|
24
|
+
|
|
25
|
+
client = Client(base_url="https://api.example.com")
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
If the endpoints you're going to hit require authentication, use `AuthenticatedClient` instead:
|
|
29
|
+
|
|
30
|
+
```python
|
|
31
|
+
from volue_powerbot_client import AuthenticatedClient
|
|
32
|
+
|
|
33
|
+
client = AuthenticatedClient(base_url="https://api.example.com", token="SuperSecretToken")
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
Now call your endpoint and use your models:
|
|
37
|
+
|
|
38
|
+
```python
|
|
39
|
+
from volue_powerbot_client.models import MyDataModel
|
|
40
|
+
from volue_powerbot_client.api.my_tag import get_my_data_model
|
|
41
|
+
from volue_powerbot_client.types import Response
|
|
42
|
+
|
|
43
|
+
with client as client:
|
|
44
|
+
my_data: MyDataModel = get_my_data_model.sync(client=client)
|
|
45
|
+
# or if you need more info (e.g. status_code)
|
|
46
|
+
response: Response[MyDataModel] = get_my_data_model.sync_detailed(client=client)
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
Or do the same thing with an async version:
|
|
50
|
+
|
|
51
|
+
```python
|
|
52
|
+
from volue_powerbot_client.models import MyDataModel
|
|
53
|
+
from volue_powerbot_client.api.my_tag import get_my_data_model
|
|
54
|
+
from volue_powerbot_client.types import Response
|
|
55
|
+
|
|
56
|
+
async with client as client:
|
|
57
|
+
my_data: MyDataModel = await get_my_data_model.asyncio(client=client)
|
|
58
|
+
response: Response[MyDataModel] = await get_my_data_model.asyncio_detailed(client=client)
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
By default, when you're calling an HTTPS API it will attempt to verify that SSL is working correctly. Using certificate verification is highly recommended most of the time, but sometimes you may need to authenticate to a server (especially an internal server) using a custom certificate bundle.
|
|
62
|
+
|
|
63
|
+
```python
|
|
64
|
+
client = AuthenticatedClient(
|
|
65
|
+
base_url="https://internal_api.example.com",
|
|
66
|
+
token="SuperSecretToken",
|
|
67
|
+
verify_ssl="/path/to/certificate_bundle.pem",
|
|
68
|
+
)
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
You can also disable certificate validation altogether, but beware that **this is a security risk**.
|
|
72
|
+
|
|
73
|
+
```python
|
|
74
|
+
client = AuthenticatedClient(base_url="https://internal_api.example.com", token="SuperSecretToken", verify_ssl=False)
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
Things to know:
|
|
78
|
+
1. Every path/method combo becomes a Python module with four functions:
|
|
79
|
+
1. `sync`: Blocking request that returns parsed data (if successful) or `None`
|
|
80
|
+
1. `sync_detailed`: Blocking request that always returns a `Request`, optionally with `parsed` set if the request was successful.
|
|
81
|
+
1. `asyncio`: Like `sync` but async instead of blocking
|
|
82
|
+
1. `asyncio_detailed`: Like `sync_detailed` but async instead of blocking
|
|
83
|
+
|
|
84
|
+
1. All path/query params, and bodies become method arguments.
|
|
85
|
+
1. If your endpoint had any tags on it, the first tag will be used as a module name for the function (my_tag above)
|
|
86
|
+
1. Any endpoint which did not have a tag will be in `volue_powerbot_client.api.default`
|
|
87
|
+
|
|
88
|
+
## Advanced customizations
|
|
89
|
+
|
|
90
|
+
There are more settings on the generated `Client` class which let you control more runtime behavior, check out the docstring on that class for more info. You can also customize the underlying `httpx.Client` or `httpx.AsyncClient` (depending on your use-case):
|
|
91
|
+
|
|
92
|
+
```python
|
|
93
|
+
from volue_powerbot_client import Client
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
def log_request(request):
|
|
97
|
+
print(f"Request event hook: {request.method} {request.url} - Waiting for response")
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
def log_response(response):
|
|
101
|
+
request = response.request
|
|
102
|
+
print(f"Response event hook: {request.method} {request.url} - Status {response.status_code}")
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
client = Client(
|
|
106
|
+
base_url="https://api.example.com",
|
|
107
|
+
httpx_args={"event_hooks": {"request": [log_request], "response": [log_response]}},
|
|
108
|
+
)
|
|
109
|
+
|
|
110
|
+
# Or get the underlying httpx client to modify directly with client.get_httpx_client() or client.get_async_httpx_client()
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
You can even set the httpx client directly, but beware that this will override any existing settings (e.g., base_url):
|
|
114
|
+
|
|
115
|
+
```python
|
|
116
|
+
import httpx
|
|
117
|
+
from volue_powerbot_client import Client
|
|
118
|
+
|
|
119
|
+
client = Client(
|
|
120
|
+
base_url="https://api.example.com",
|
|
121
|
+
)
|
|
122
|
+
# Note that base_url needs to be re-set, as would any shared cookies, headers, etc.
|
|
123
|
+
client.set_httpx_client(httpx.Client(base_url="https://api.example.com", proxies="http://localhost:8030"))
|
|
124
|
+
```
|
|
125
|
+
|
|
126
|
+
## Building / publishing this package
|
|
127
|
+
This project uses [Poetry](https://python-poetry.org/) to manage dependencies and packaging. Here are the basics:
|
|
128
|
+
1. Update the metadata in pyproject.toml (e.g. authors, version)
|
|
129
|
+
1. If you're using a private repository, configure it with Poetry
|
|
130
|
+
1. `poetry config repositories.<your-repository-name> <url-to-your-repository>`
|
|
131
|
+
1. `poetry config http-basic.<your-repository-name> <username> <password>`
|
|
132
|
+
1. Publish the client with `poetry publish --build -r <your-repository-name>` or, if for public PyPI, just `poetry publish --build`
|
|
133
|
+
|
|
134
|
+
If you want to install this client into another project without publishing it (e.g. for development) then:
|
|
135
|
+
1. If that project **is using Poetry**, you can simply do `poetry add <path-to-this-client>` from that project
|
|
136
|
+
1. If that project is not using Poetry:
|
|
137
|
+
1. Build a wheel with `poetry build -f wheel`
|
|
138
|
+
1. Install that wheel from the other project `pip install <path-to-wheel>`
|
|
139
|
+
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
# volue-powerbot-client
|
|
2
|
+
A client library for accessing PowerBot - Webservice for algotrading
|
|
3
|
+
|
|
4
|
+
## Usage
|
|
5
|
+
First, create a client:
|
|
6
|
+
|
|
7
|
+
```python
|
|
8
|
+
from volue_powerbot_client import Client
|
|
9
|
+
|
|
10
|
+
client = Client(base_url="https://api.example.com")
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
If the endpoints you're going to hit require authentication, use `AuthenticatedClient` instead:
|
|
14
|
+
|
|
15
|
+
```python
|
|
16
|
+
from volue_powerbot_client import AuthenticatedClient
|
|
17
|
+
|
|
18
|
+
client = AuthenticatedClient(base_url="https://api.example.com", token="SuperSecretToken")
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
Now call your endpoint and use your models:
|
|
22
|
+
|
|
23
|
+
```python
|
|
24
|
+
from volue_powerbot_client.models import MyDataModel
|
|
25
|
+
from volue_powerbot_client.api.my_tag import get_my_data_model
|
|
26
|
+
from volue_powerbot_client.types import Response
|
|
27
|
+
|
|
28
|
+
with client as client:
|
|
29
|
+
my_data: MyDataModel = get_my_data_model.sync(client=client)
|
|
30
|
+
# or if you need more info (e.g. status_code)
|
|
31
|
+
response: Response[MyDataModel] = get_my_data_model.sync_detailed(client=client)
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
Or do the same thing with an async version:
|
|
35
|
+
|
|
36
|
+
```python
|
|
37
|
+
from volue_powerbot_client.models import MyDataModel
|
|
38
|
+
from volue_powerbot_client.api.my_tag import get_my_data_model
|
|
39
|
+
from volue_powerbot_client.types import Response
|
|
40
|
+
|
|
41
|
+
async with client as client:
|
|
42
|
+
my_data: MyDataModel = await get_my_data_model.asyncio(client=client)
|
|
43
|
+
response: Response[MyDataModel] = await get_my_data_model.asyncio_detailed(client=client)
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
By default, when you're calling an HTTPS API it will attempt to verify that SSL is working correctly. Using certificate verification is highly recommended most of the time, but sometimes you may need to authenticate to a server (especially an internal server) using a custom certificate bundle.
|
|
47
|
+
|
|
48
|
+
```python
|
|
49
|
+
client = AuthenticatedClient(
|
|
50
|
+
base_url="https://internal_api.example.com",
|
|
51
|
+
token="SuperSecretToken",
|
|
52
|
+
verify_ssl="/path/to/certificate_bundle.pem",
|
|
53
|
+
)
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
You can also disable certificate validation altogether, but beware that **this is a security risk**.
|
|
57
|
+
|
|
58
|
+
```python
|
|
59
|
+
client = AuthenticatedClient(base_url="https://internal_api.example.com", token="SuperSecretToken", verify_ssl=False)
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
Things to know:
|
|
63
|
+
1. Every path/method combo becomes a Python module with four functions:
|
|
64
|
+
1. `sync`: Blocking request that returns parsed data (if successful) or `None`
|
|
65
|
+
1. `sync_detailed`: Blocking request that always returns a `Request`, optionally with `parsed` set if the request was successful.
|
|
66
|
+
1. `asyncio`: Like `sync` but async instead of blocking
|
|
67
|
+
1. `asyncio_detailed`: Like `sync_detailed` but async instead of blocking
|
|
68
|
+
|
|
69
|
+
1. All path/query params, and bodies become method arguments.
|
|
70
|
+
1. If your endpoint had any tags on it, the first tag will be used as a module name for the function (my_tag above)
|
|
71
|
+
1. Any endpoint which did not have a tag will be in `volue_powerbot_client.api.default`
|
|
72
|
+
|
|
73
|
+
## Advanced customizations
|
|
74
|
+
|
|
75
|
+
There are more settings on the generated `Client` class which let you control more runtime behavior, check out the docstring on that class for more info. You can also customize the underlying `httpx.Client` or `httpx.AsyncClient` (depending on your use-case):
|
|
76
|
+
|
|
77
|
+
```python
|
|
78
|
+
from volue_powerbot_client import Client
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
def log_request(request):
|
|
82
|
+
print(f"Request event hook: {request.method} {request.url} - Waiting for response")
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
def log_response(response):
|
|
86
|
+
request = response.request
|
|
87
|
+
print(f"Response event hook: {request.method} {request.url} - Status {response.status_code}")
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
client = Client(
|
|
91
|
+
base_url="https://api.example.com",
|
|
92
|
+
httpx_args={"event_hooks": {"request": [log_request], "response": [log_response]}},
|
|
93
|
+
)
|
|
94
|
+
|
|
95
|
+
# Or get the underlying httpx client to modify directly with client.get_httpx_client() or client.get_async_httpx_client()
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
You can even set the httpx client directly, but beware that this will override any existing settings (e.g., base_url):
|
|
99
|
+
|
|
100
|
+
```python
|
|
101
|
+
import httpx
|
|
102
|
+
from volue_powerbot_client import Client
|
|
103
|
+
|
|
104
|
+
client = Client(
|
|
105
|
+
base_url="https://api.example.com",
|
|
106
|
+
)
|
|
107
|
+
# Note that base_url needs to be re-set, as would any shared cookies, headers, etc.
|
|
108
|
+
client.set_httpx_client(httpx.Client(base_url="https://api.example.com", proxies="http://localhost:8030"))
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
## Building / publishing this package
|
|
112
|
+
This project uses [Poetry](https://python-poetry.org/) to manage dependencies and packaging. Here are the basics:
|
|
113
|
+
1. Update the metadata in pyproject.toml (e.g. authors, version)
|
|
114
|
+
1. If you're using a private repository, configure it with Poetry
|
|
115
|
+
1. `poetry config repositories.<your-repository-name> <url-to-your-repository>`
|
|
116
|
+
1. `poetry config http-basic.<your-repository-name> <username> <password>`
|
|
117
|
+
1. Publish the client with `poetry publish --build -r <your-repository-name>` or, if for public PyPI, just `poetry publish --build`
|
|
118
|
+
|
|
119
|
+
If you want to install this client into another project without publishing it (e.g. for development) then:
|
|
120
|
+
1. If that project **is using Poetry**, you can simply do `poetry add <path-to-this-client>` from that project
|
|
121
|
+
1. If that project is not using Poetry:
|
|
122
|
+
1. Build a wheel with `poetry build -f wheel`
|
|
123
|
+
1. Install that wheel from the other project `pip install <path-to-wheel>`
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
[tool.poetry]
|
|
2
|
+
name = "volue-powerbot-client"
|
|
3
|
+
version = "2.35.0"
|
|
4
|
+
description = "A client library for accessing PowerBot - Webservice for algotrading"
|
|
5
|
+
authors = []
|
|
6
|
+
readme = "README.md"
|
|
7
|
+
packages = [
|
|
8
|
+
{ include = "volue_powerbot_client" },
|
|
9
|
+
]
|
|
10
|
+
include = ["volue_powerbot_client/py.typed"]
|
|
11
|
+
|
|
12
|
+
[tool.poetry.dependencies]
|
|
13
|
+
python = "^3.10"
|
|
14
|
+
httpx = ">=0.23.0,<0.29.0"
|
|
15
|
+
attrs = ">=22.2.0"
|
|
16
|
+
python-dateutil = "^2.8.0"
|
|
17
|
+
|
|
18
|
+
[build-system]
|
|
19
|
+
requires = ["poetry-core>=2.0.0,<3.0.0"]
|
|
20
|
+
build-backend = "poetry.core.masonry.api"
|
|
21
|
+
|
|
22
|
+
[tool.ruff]
|
|
23
|
+
line-length = 120
|
|
24
|
+
|
|
25
|
+
[tool.ruff.lint]
|
|
26
|
+
select = ["F", "I", "UP"]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"""Contains methods for accessing the API"""
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"""Contains endpoint functions for accessing the API"""
|
volue_powerbot_client-2.35.0/volue_powerbot_client/api/activity/get_order_action_quota_series.py
ADDED
|
@@ -0,0 +1,255 @@
|
|
|
1
|
+
import datetime
|
|
2
|
+
from http import HTTPStatus
|
|
3
|
+
from typing import Any
|
|
4
|
+
|
|
5
|
+
import httpx
|
|
6
|
+
|
|
7
|
+
from ...client import AuthenticatedClient, Client
|
|
8
|
+
from ...models.error_response import ErrorResponse
|
|
9
|
+
from ...models.exchange import Exchange
|
|
10
|
+
from ...models.order_action_quota_series import OrderActionQuotaSeries
|
|
11
|
+
from ...types import UNSET, Response, Unset
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
def _get_kwargs(
|
|
15
|
+
*,
|
|
16
|
+
exchanges: list[Exchange] | Unset = UNSET,
|
|
17
|
+
from_: datetime.datetime,
|
|
18
|
+
to: datetime.datetime,
|
|
19
|
+
bucket_size_seconds: int,
|
|
20
|
+
) -> dict[str, Any]:
|
|
21
|
+
|
|
22
|
+
params: dict[str, Any] = {}
|
|
23
|
+
|
|
24
|
+
json_exchanges: list[str] | Unset = UNSET
|
|
25
|
+
if not isinstance(exchanges, Unset):
|
|
26
|
+
json_exchanges = []
|
|
27
|
+
for exchanges_item_data in exchanges:
|
|
28
|
+
exchanges_item = exchanges_item_data.value
|
|
29
|
+
json_exchanges.append(exchanges_item)
|
|
30
|
+
|
|
31
|
+
params["exchanges"] = json_exchanges
|
|
32
|
+
|
|
33
|
+
json_from_ = from_.isoformat()
|
|
34
|
+
params["from"] = json_from_
|
|
35
|
+
|
|
36
|
+
json_to = to.isoformat()
|
|
37
|
+
params["to"] = json_to
|
|
38
|
+
|
|
39
|
+
params["bucket_size_seconds"] = bucket_size_seconds
|
|
40
|
+
|
|
41
|
+
params = {k: v for k, v in params.items() if v is not UNSET and v is not None}
|
|
42
|
+
|
|
43
|
+
_kwargs: dict[str, Any] = {
|
|
44
|
+
"method": "get",
|
|
45
|
+
"url": "/v2/api/activity/order-action-quota",
|
|
46
|
+
"params": params,
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
return _kwargs
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
def _parse_response(
|
|
53
|
+
*, client: AuthenticatedClient | Client, response: httpx.Response
|
|
54
|
+
) -> ErrorResponse | OrderActionQuotaSeries:
|
|
55
|
+
if response.status_code == 200:
|
|
56
|
+
response_200 = OrderActionQuotaSeries.from_dict(response.json())
|
|
57
|
+
|
|
58
|
+
return response_200
|
|
59
|
+
|
|
60
|
+
response_default = ErrorResponse.from_dict(response.json())
|
|
61
|
+
|
|
62
|
+
return response_default
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
def _build_response(
|
|
66
|
+
*, client: AuthenticatedClient | Client, response: httpx.Response
|
|
67
|
+
) -> Response[ErrorResponse | OrderActionQuotaSeries]:
|
|
68
|
+
return Response(
|
|
69
|
+
status_code=HTTPStatus(response.status_code),
|
|
70
|
+
content=response.content,
|
|
71
|
+
headers=response.headers,
|
|
72
|
+
parsed=_parse_response(client=client, response=response),
|
|
73
|
+
)
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
def sync_detailed(
|
|
77
|
+
*,
|
|
78
|
+
client: AuthenticatedClient | Client,
|
|
79
|
+
exchanges: list[Exchange] | Unset = UNSET,
|
|
80
|
+
from_: datetime.datetime,
|
|
81
|
+
to: datetime.datetime,
|
|
82
|
+
bucket_size_seconds: int,
|
|
83
|
+
) -> Response[ErrorResponse | OrderActionQuotaSeries]:
|
|
84
|
+
"""Order-action-quota usage time series
|
|
85
|
+
|
|
86
|
+
Returns the order-action rate-limit quota usage (consumed ÷ allowed) per exchange over the requested
|
|
87
|
+
period, bucketed into fixed-width buckets of `bucket_size_seconds`.
|
|
88
|
+
|
|
89
|
+
Buckets are aligned to a fixed UTC-epoch grid (independent of `from`), so the same
|
|
90
|
+
`bucket_size_seconds` always yields the same boundaries. Overlapping viewports share buckets and are
|
|
91
|
+
cacheable.
|
|
92
|
+
Each bucket carries the average, minimum and maximum usage within it. A `null` entry means no value
|
|
93
|
+
for that bucket; either no samples, or a region so old that only a coarser stored resolution
|
|
94
|
+
survives (in which case only one of every N buckets is populated).
|
|
95
|
+
|
|
96
|
+
Args:
|
|
97
|
+
exchanges (list[Exchange] | Unset):
|
|
98
|
+
from_ (datetime.datetime): Example: 2026-06-23T09:00:00Z.
|
|
99
|
+
to (datetime.datetime): Example: 2026-06-23T10:00:00Z.
|
|
100
|
+
bucket_size_seconds (int): Example: 300.
|
|
101
|
+
|
|
102
|
+
Raises:
|
|
103
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
104
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
105
|
+
|
|
106
|
+
Returns:
|
|
107
|
+
Response[ErrorResponse | OrderActionQuotaSeries]
|
|
108
|
+
"""
|
|
109
|
+
|
|
110
|
+
kwargs = _get_kwargs(
|
|
111
|
+
exchanges=exchanges,
|
|
112
|
+
from_=from_,
|
|
113
|
+
to=to,
|
|
114
|
+
bucket_size_seconds=bucket_size_seconds,
|
|
115
|
+
)
|
|
116
|
+
|
|
117
|
+
response = client.get_httpx_client().request(
|
|
118
|
+
**kwargs,
|
|
119
|
+
)
|
|
120
|
+
|
|
121
|
+
return _build_response(client=client, response=response)
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
def sync(
|
|
125
|
+
*,
|
|
126
|
+
client: AuthenticatedClient | Client,
|
|
127
|
+
exchanges: list[Exchange] | Unset = UNSET,
|
|
128
|
+
from_: datetime.datetime,
|
|
129
|
+
to: datetime.datetime,
|
|
130
|
+
bucket_size_seconds: int,
|
|
131
|
+
) -> ErrorResponse | OrderActionQuotaSeries | None:
|
|
132
|
+
"""Order-action-quota usage time series
|
|
133
|
+
|
|
134
|
+
Returns the order-action rate-limit quota usage (consumed ÷ allowed) per exchange over the requested
|
|
135
|
+
period, bucketed into fixed-width buckets of `bucket_size_seconds`.
|
|
136
|
+
|
|
137
|
+
Buckets are aligned to a fixed UTC-epoch grid (independent of `from`), so the same
|
|
138
|
+
`bucket_size_seconds` always yields the same boundaries. Overlapping viewports share buckets and are
|
|
139
|
+
cacheable.
|
|
140
|
+
Each bucket carries the average, minimum and maximum usage within it. A `null` entry means no value
|
|
141
|
+
for that bucket; either no samples, or a region so old that only a coarser stored resolution
|
|
142
|
+
survives (in which case only one of every N buckets is populated).
|
|
143
|
+
|
|
144
|
+
Args:
|
|
145
|
+
exchanges (list[Exchange] | Unset):
|
|
146
|
+
from_ (datetime.datetime): Example: 2026-06-23T09:00:00Z.
|
|
147
|
+
to (datetime.datetime): Example: 2026-06-23T10:00:00Z.
|
|
148
|
+
bucket_size_seconds (int): Example: 300.
|
|
149
|
+
|
|
150
|
+
Raises:
|
|
151
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
152
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
153
|
+
|
|
154
|
+
Returns:
|
|
155
|
+
ErrorResponse | OrderActionQuotaSeries
|
|
156
|
+
"""
|
|
157
|
+
|
|
158
|
+
return sync_detailed(
|
|
159
|
+
client=client,
|
|
160
|
+
exchanges=exchanges,
|
|
161
|
+
from_=from_,
|
|
162
|
+
to=to,
|
|
163
|
+
bucket_size_seconds=bucket_size_seconds,
|
|
164
|
+
).parsed
|
|
165
|
+
|
|
166
|
+
|
|
167
|
+
async def asyncio_detailed(
|
|
168
|
+
*,
|
|
169
|
+
client: AuthenticatedClient | Client,
|
|
170
|
+
exchanges: list[Exchange] | Unset = UNSET,
|
|
171
|
+
from_: datetime.datetime,
|
|
172
|
+
to: datetime.datetime,
|
|
173
|
+
bucket_size_seconds: int,
|
|
174
|
+
) -> Response[ErrorResponse | OrderActionQuotaSeries]:
|
|
175
|
+
"""Order-action-quota usage time series
|
|
176
|
+
|
|
177
|
+
Returns the order-action rate-limit quota usage (consumed ÷ allowed) per exchange over the requested
|
|
178
|
+
period, bucketed into fixed-width buckets of `bucket_size_seconds`.
|
|
179
|
+
|
|
180
|
+
Buckets are aligned to a fixed UTC-epoch grid (independent of `from`), so the same
|
|
181
|
+
`bucket_size_seconds` always yields the same boundaries. Overlapping viewports share buckets and are
|
|
182
|
+
cacheable.
|
|
183
|
+
Each bucket carries the average, minimum and maximum usage within it. A `null` entry means no value
|
|
184
|
+
for that bucket; either no samples, or a region so old that only a coarser stored resolution
|
|
185
|
+
survives (in which case only one of every N buckets is populated).
|
|
186
|
+
|
|
187
|
+
Args:
|
|
188
|
+
exchanges (list[Exchange] | Unset):
|
|
189
|
+
from_ (datetime.datetime): Example: 2026-06-23T09:00:00Z.
|
|
190
|
+
to (datetime.datetime): Example: 2026-06-23T10:00:00Z.
|
|
191
|
+
bucket_size_seconds (int): Example: 300.
|
|
192
|
+
|
|
193
|
+
Raises:
|
|
194
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
195
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
196
|
+
|
|
197
|
+
Returns:
|
|
198
|
+
Response[ErrorResponse | OrderActionQuotaSeries]
|
|
199
|
+
"""
|
|
200
|
+
|
|
201
|
+
kwargs = _get_kwargs(
|
|
202
|
+
exchanges=exchanges,
|
|
203
|
+
from_=from_,
|
|
204
|
+
to=to,
|
|
205
|
+
bucket_size_seconds=bucket_size_seconds,
|
|
206
|
+
)
|
|
207
|
+
|
|
208
|
+
response = await client.get_async_httpx_client().request(**kwargs)
|
|
209
|
+
|
|
210
|
+
return _build_response(client=client, response=response)
|
|
211
|
+
|
|
212
|
+
|
|
213
|
+
async def asyncio(
|
|
214
|
+
*,
|
|
215
|
+
client: AuthenticatedClient | Client,
|
|
216
|
+
exchanges: list[Exchange] | Unset = UNSET,
|
|
217
|
+
from_: datetime.datetime,
|
|
218
|
+
to: datetime.datetime,
|
|
219
|
+
bucket_size_seconds: int,
|
|
220
|
+
) -> ErrorResponse | OrderActionQuotaSeries | None:
|
|
221
|
+
"""Order-action-quota usage time series
|
|
222
|
+
|
|
223
|
+
Returns the order-action rate-limit quota usage (consumed ÷ allowed) per exchange over the requested
|
|
224
|
+
period, bucketed into fixed-width buckets of `bucket_size_seconds`.
|
|
225
|
+
|
|
226
|
+
Buckets are aligned to a fixed UTC-epoch grid (independent of `from`), so the same
|
|
227
|
+
`bucket_size_seconds` always yields the same boundaries. Overlapping viewports share buckets and are
|
|
228
|
+
cacheable.
|
|
229
|
+
Each bucket carries the average, minimum and maximum usage within it. A `null` entry means no value
|
|
230
|
+
for that bucket; either no samples, or a region so old that only a coarser stored resolution
|
|
231
|
+
survives (in which case only one of every N buckets is populated).
|
|
232
|
+
|
|
233
|
+
Args:
|
|
234
|
+
exchanges (list[Exchange] | Unset):
|
|
235
|
+
from_ (datetime.datetime): Example: 2026-06-23T09:00:00Z.
|
|
236
|
+
to (datetime.datetime): Example: 2026-06-23T10:00:00Z.
|
|
237
|
+
bucket_size_seconds (int): Example: 300.
|
|
238
|
+
|
|
239
|
+
Raises:
|
|
240
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
241
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
242
|
+
|
|
243
|
+
Returns:
|
|
244
|
+
ErrorResponse | OrderActionQuotaSeries
|
|
245
|
+
"""
|
|
246
|
+
|
|
247
|
+
return (
|
|
248
|
+
await asyncio_detailed(
|
|
249
|
+
client=client,
|
|
250
|
+
exchanges=exchanges,
|
|
251
|
+
from_=from_,
|
|
252
|
+
to=to,
|
|
253
|
+
bucket_size_seconds=bucket_size_seconds,
|
|
254
|
+
)
|
|
255
|
+
).parsed
|