mywebapi-sdk 0.3.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- cplugin_webapi_sdk/__init__.py +79 -0
- cplugin_webapi_sdk/_generated/__init__.py +8 -0
- cplugin_webapi_sdk/_generated/api/__init__.py +1 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_authentication/__init__.py +1 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_authentication/post_api_v_2_mt4_trade_platform_user_password_check_login.py +306 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_authentication/post_api_v_2_mt4_trade_platform_user_password_set_login.py +377 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_backup/__init__.py +1 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_backup/get_api_v_2_mt4_trade_platform_backup_info_orders_mode.py +246 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_backup/get_api_v_2_mt4_trade_platform_backup_info_users_mode.py +262 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_backup/get_api_v_2_mt4_trade_platform_backup_request_orders_file.py +285 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_backup/get_api_v_2_mt4_trade_platform_backup_request_users_file.py +325 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_backup_destructive/__init__.py +1 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_backup_destructive/post_api_v_2_mt4_trade_platform_backup_restore_orders.py +332 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_backup_destructive/post_api_v_2_mt4_trade_platform_backup_restore_users.py +344 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_common/__init__.py +1 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_common/get_api_v_2_mt4_trade_platform_journal_request.py +326 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_common/get_api_v_2_mt4_trade_platform_manager_common.py +229 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_common/get_api_v_2_mt4_trade_platform_server_time.py +225 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_config/__init__.py +1 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_config/get_api_v_2_mt4_trade_platform_cfg_request_access.py +280 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_config/get_api_v_2_mt4_trade_platform_cfg_request_backup.py +241 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_config/get_api_v_2_mt4_trade_platform_cfg_request_common.py +237 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_config/get_api_v_2_mt4_trade_platform_cfg_request_data_server.py +276 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_config/get_api_v_2_mt4_trade_platform_cfg_request_feeder.py +276 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_config/get_api_v_2_mt4_trade_platform_cfg_request_gateway_account.py +280 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_config/get_api_v_2_mt4_trade_platform_cfg_request_gateway_markup.py +280 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_config/get_api_v_2_mt4_trade_platform_cfg_request_gateway_rule.py +272 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_config/get_api_v_2_mt4_trade_platform_cfg_request_holiday.py +296 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_config/get_api_v_2_mt4_trade_platform_cfg_request_live_update.py +272 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_config/get_api_v_2_mt4_trade_platform_cfg_request_manager.py +272 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_config/get_api_v_2_mt4_trade_platform_cfg_request_sync.py +276 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_config/get_api_v_2_mt4_trade_platform_cfg_request_time.py +245 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_config/post_api_v_2_mt4_trade_platform_cfg_delete_access_pos.py +254 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_config/post_api_v_2_mt4_trade_platform_cfg_delete_data_server_pos.py +234 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_config/post_api_v_2_mt4_trade_platform_cfg_delete_feeder_pos.py +230 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_config/post_api_v_2_mt4_trade_platform_cfg_delete_gateway_account_pos.py +230 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_config/post_api_v_2_mt4_trade_platform_cfg_delete_gateway_markup_pos.py +230 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_config/post_api_v_2_mt4_trade_platform_cfg_delete_gateway_rule_pos.py +230 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_config/post_api_v_2_mt4_trade_platform_cfg_delete_holiday_pos.py +230 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_config/post_api_v_2_mt4_trade_platform_cfg_delete_live_update_pos.py +230 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_config/post_api_v_2_mt4_trade_platform_cfg_delete_manager_pos.py +230 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_config/post_api_v_2_mt4_trade_platform_cfg_delete_symbol_pos.py +238 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_config/post_api_v_2_mt4_trade_platform_cfg_delete_sync_pos.py +230 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_config/post_api_v_2_mt4_trade_platform_cfg_shift_access_pos.py +250 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_config/post_api_v_2_mt4_trade_platform_cfg_shift_data_server_pos.py +250 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_config/post_api_v_2_mt4_trade_platform_cfg_shift_feeder_pos.py +250 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_config/post_api_v_2_mt4_trade_platform_cfg_shift_gateway_account_pos.py +250 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_config/post_api_v_2_mt4_trade_platform_cfg_shift_gateway_markup_pos.py +250 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_config/post_api_v_2_mt4_trade_platform_cfg_shift_gateway_rule_pos.py +250 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_config/post_api_v_2_mt4_trade_platform_cfg_shift_group_pos.py +250 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_config/post_api_v_2_mt4_trade_platform_cfg_shift_holiday_pos.py +250 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_config/post_api_v_2_mt4_trade_platform_cfg_shift_live_update_pos.py +250 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_config/post_api_v_2_mt4_trade_platform_cfg_shift_manager_pos.py +250 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_config/post_api_v_2_mt4_trade_platform_cfg_shift_plugin_pos.py +266 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_config/post_api_v_2_mt4_trade_platform_cfg_shift_symbol_pos.py +250 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_config/post_api_v_2_mt4_trade_platform_cfg_shift_sync_pos.py +250 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_config/post_api_v_2_mt4_trade_platform_cfg_update_access_pos.py +378 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_config/post_api_v_2_mt4_trade_platform_cfg_update_backup.py +361 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_config/post_api_v_2_mt4_trade_platform_cfg_update_common.py +389 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_config/post_api_v_2_mt4_trade_platform_cfg_update_data_server_pos.py +354 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_config/post_api_v_2_mt4_trade_platform_cfg_update_feeder.py +305 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_config/post_api_v_2_mt4_trade_platform_cfg_update_gateway_account.py +361 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_config/post_api_v_2_mt4_trade_platform_cfg_update_gateway_markup.py +345 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_config/post_api_v_2_mt4_trade_platform_cfg_update_gateway_rule.py +377 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_config/post_api_v_2_mt4_trade_platform_cfg_update_holiday_pos.py +350 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_config/post_api_v_2_mt4_trade_platform_cfg_update_live_update.py +385 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_config/post_api_v_2_mt4_trade_platform_cfg_update_manager.py +385 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_config/post_api_v_2_mt4_trade_platform_cfg_update_symbol_group_pos.py +342 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_config/post_api_v_2_mt4_trade_platform_cfg_update_sync.py +349 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_config/post_api_v_2_mt4_trade_platform_cfg_update_time.py +421 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_groups/__init__.py +1 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_groups/get_api_v_2_mt4_trade_platform_ensure_group_name_exist_group.py +274 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_groups/get_api_v_2_mt4_trade_platform_group_record_get_group.py +242 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_groups/get_api_v_2_mt4_trade_platform_group_sec_groups_get_group.py +246 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_groups/get_api_v_2_mt4_trade_platform_group_sec_margins_get_group.py +246 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_groups/get_api_v_2_mt4_trade_platform_groups_get.py +233 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_groups/get_api_v_2_mt4_trade_platform_groups_request.py +256 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_groups/patch_api_v_2_mt4_trade_platform_group_record_group.py +255 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_groups/post_api_v_2_mt4_trade_platform_group_record_update_group.py +542 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_history/__init__.py +1 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_history/get_api_v_2_mt4_trade_platform_trades_user_history_login.py +292 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_mail/__init__.py +1 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_mail/get_api_v_2_mt4_trade_platform_mail_last.py +225 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_margins/__init__.py +1 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_margins/get_api_v_2_mt4_trade_platform_margin_level_get_login.py +246 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_margins/get_api_v_2_mt4_trade_platform_margin_level_request_login.py +246 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_margins/get_api_v_2_mt4_trade_platform_margins_get.py +233 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_news/__init__.py +1 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_news/get_api_v_2_mt4_trade_platform_news_body_get_key.py +238 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_news/get_api_v_2_mt4_trade_platform_news_get.py +237 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_news/get_api_v_2_mt4_trade_platform_news_topic_get_pos.py +246 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_news/get_api_v_2_mt4_trade_platform_news_total.py +225 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_news/post_api_v_2_mt4_trade_platform_news_body_request_key.py +254 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_online/__init__.py +1 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_online/get_api_v_2_mt4_trade_platform_online_get.py +276 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_online/get_api_v_2_mt4_trade_platform_online_request.py +276 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_plugins/__init__.py +1 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_plugins/post_api_v_2_mt4_trade_platform_external_command_json.py +309 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_prices/__init__.py +1 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_prices/get_api_v_2_mt4_trade_platform_chart_request_symbol.py +332 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_prices/get_api_v_2_mt4_trade_platform_tick_info_last.py +233 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_prices/get_api_v_2_mt4_trade_platform_tick_info_last_symbol.py +250 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_prices/get_api_v_2_mt4_trade_platform_ticks_request_symbol.py +311 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_prices/post_api_v_2_mt4_trade_platform_chart_add_symbol.py +375 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_prices/post_api_v_2_mt4_trade_platform_chart_delete_symbol.py +375 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_prices/post_api_v_2_mt4_trade_platform_chart_update_symbol.py +367 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_prices/post_api_v_2_mt4_trade_platform_history_correct_symbol.py +274 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_reports/__init__.py +1 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_reports/get_api_v_2_mt4_trade_platform_daily_reports_request.py +362 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_reports/get_api_v_2_mt4_trade_platform_daily_reports_request_ex.py +334 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_reports/get_api_v_2_mt4_trade_platform_performance_request.py +281 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_reports/get_api_v_2_mt4_trade_platform_reports_request.py +370 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_reports/post_api_v_2_mt4_trade_platform_daily_sync_read.py +253 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_reports/post_api_v_2_mt4_trade_platform_daily_sync_start.py +289 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_server_admin/__init__.py +1 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_server_admin/get_api_v_2_mt4_trade_platform_license_check_license_name.py +250 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_server_admin/get_api_v_2_mt4_trade_platform_srv_feeder_log_name.py +246 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_server_admin/get_api_v_2_mt4_trade_platform_srv_feeders.py +288 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_server_admin/post_api_v_2_mt4_trade_platform_notifications_send.py +289 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_server_admin_destructive/__init__.py +1 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_server_admin_destructive/post_api_v_2_mt4_trade_platform_srv_charts_sync.py +257 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_server_admin_destructive/post_api_v_2_mt4_trade_platform_srv_feeds_restart.py +253 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_server_admin_destructive/post_api_v_2_mt4_trade_platform_srv_live_update_start.py +253 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_server_admin_destructive/post_api_v_2_mt4_trade_platform_srv_restart.py +281 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_sidecar_batch_reads/__init__.py +1 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_sidecar_batch_reads/get_api_v_2_mt4_trade_platform_trades_snapshot.py +245 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_sidecar_batch_reads/get_api_v_2_mt4_trade_platform_trades_sync_read.py +249 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_sidecar_batch_reads/get_api_v_2_mt4_trade_platform_users_snapshot.py +257 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_sidecar_batch_reads/get_api_v_2_mt4_trade_platform_users_sync_read.py +253 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_sidecar_external_command/__init__.py +1 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_sidecar_external_command/post_api_v_2_mt4_trade_platform_external_command_binary.py +393 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_sidecar_messaging/__init__.py +1 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_sidecar_messaging/get_api_v_2_mt4_trade_platform_mails_request.py +233 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_sidecar_messaging/post_api_v_2_mt4_trade_platform_mail_send.py +317 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_sidecar_messaging/post_api_v_2_mt4_trade_platform_news_send.py +309 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_sidecar_plugins/__init__.py +1 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_sidecar_plugins/get_api_v_2_mt4_trade_platform_cfg_request_plugin.py +233 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_sidecar_plugins/get_api_v_2_mt4_trade_platform_plugin_param_get_pos.py +242 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_sidecar_plugins/get_api_v_2_mt4_trade_platform_plugins_get.py +233 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_sidecar_plugins/post_api_v_2_mt4_trade_platform_cfg_update_plugin.py +301 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_sidecar_plugins/post_api_v_2_mt4_trade_platform_plugin_update.py +293 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_symbols/__init__.py +1 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_symbols/get_api_v_2_mt4_trade_platform_cfg_request_symbol.py +229 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_symbols/get_api_v_2_mt4_trade_platform_cfg_request_symbol_symbol.py +242 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_symbols/get_api_v_2_mt4_trade_platform_symbol_info_get.py +253 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_symbols/get_api_v_2_mt4_trade_platform_symbol_info_updated.py +268 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_symbols/get_api_v_2_mt4_trade_platform_symbol_sessions_get_symbol.py +258 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_symbols/get_api_v_2_mt4_trade_platform_symbols_groups_get.py +233 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_symbols/patch_api_v_2_mt4_trade_platform_symbol_config_symbol.py +255 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_symbols/post_api_v_2_mt4_trade_platform_cfg_update_symbol_symbol.py +530 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_symbols/post_api_v_2_mt4_trade_platform_symbol_add_symbol.py +270 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_symbols/post_api_v_2_mt4_trade_platform_symbol_change.py +417 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_symbols/post_api_v_2_mt4_trade_platform_symbol_hide_symbol.py +246 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_symbols/post_api_v_2_mt4_trade_platform_symbol_send_tick.py +319 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_symbols/post_api_v_2_mt4_trade_platform_symbols_refresh.py +233 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_trades/__init__.py +1 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_trades/get_api_v_2_mt4_trade_platform_adm_trades_request_group.py +266 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_trades/get_api_v_2_mt4_trade_platform_trade_record_get_order.py +246 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_trades/get_api_v_2_mt4_trade_platform_trade_record_request_order.py +258 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_trades/get_api_v_2_mt4_trade_platform_trade_records_request.py +278 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_trades/get_api_v_2_mt4_trade_platform_trades_get.py +252 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_trades/get_api_v_2_mt4_trade_platform_trades_get_by_login_login_group.py +259 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_trades/get_api_v_2_mt4_trade_platform_trades_get_by_market.py +229 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_trades/get_api_v_2_mt4_trade_platform_trades_get_by_symbol.py +249 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_trades/get_api_v_2_mt4_trade_platform_trades_get_ticket.py +254 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_trades/get_api_v_2_mt4_trade_platform_trades_request.py +299 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_trades/post_api_v_2_mt4_trade_platform_adm_trade_record_modify_ticket.py +462 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_trades/post_api_v_2_mt4_trade_platform_adm_trades_delete.py +290 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_trades/post_api_v_2_mt4_trade_platform_trade_check_stops.py +453 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_trades/post_api_v_2_mt4_trade_platform_trade_clear_rollback_order.py +262 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_trades/post_api_v_2_mt4_trade_platform_trade_transaction.py +453 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_trades/post_api_v_2_mt4_trade_platform_trades_sync_start.py +261 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_users/__init__.py +1 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_users/get_api_v_2_mt4_trade_platform_adm_balance_check.py +266 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_users/get_api_v_2_mt4_trade_platform_adm_balance_check_login.py +266 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_users/get_api_v_2_mt4_trade_platform_adm_users_request_safe_group.py +274 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_users/get_api_v_2_mt4_trade_platform_user_record_get_login.py +250 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_users/get_api_v_2_mt4_trade_platform_user_record_request_login.py +250 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_users/get_api_v_2_mt4_trade_platform_user_records_request.py +274 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_users/get_api_v_2_mt4_trade_platform_users_request.py +276 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_users/patch_api_v_2_mt4_trade_platform_user_record_login.py +283 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_users/post_api_v_2_mt4_trade_platform_adm_balance_fix.py +290 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_users/post_api_v_2_mt4_trade_platform_user_record_new.py +465 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_users/post_api_v_2_mt4_trade_platform_user_record_update_login.py +678 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_users/post_api_v_2_mt4_trade_platform_users_group_op.py +349 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_users/post_api_v_2_mt4_trade_platform_users_sync_start.py +273 -0
- cplugin_webapi_sdk/_generated/api/mt5_v_2_common/__init__.py +1 -0
- cplugin_webapi_sdk/_generated/api/mt5_v_2_common/get_api_v_2_mt5_trade_platform_server_time.py +205 -0
- cplugin_webapi_sdk/_generated/api/mt5_v_2_common/get_api_v_2_mt5_trade_platform_time_get.py +205 -0
- cplugin_webapi_sdk/_generated/api/mt5_v_2_groups/__init__.py +1 -0
- cplugin_webapi_sdk/_generated/api/mt5_v_2_groups/get_api_v_2_mt5_trade_platform_group_get_group.py +218 -0
- cplugin_webapi_sdk/_generated/api/mt5_v_2_groups/patch_api_v_2_mt5_trade_platform_group_record_group.py +255 -0
- cplugin_webapi_sdk/_generated/api/mt5_v_2_managers/__init__.py +1 -0
- cplugin_webapi_sdk/_generated/api/mt5_v_2_managers/get_api_v_2_mt5_trade_platform_manager_current.py +205 -0
- cplugin_webapi_sdk/_generated/api/mt5_v_2_symbols/__init__.py +1 -0
- cplugin_webapi_sdk/_generated/api/mt5_v_2_symbols/get_api_v_2_mt5_trade_platform_symbol_get_symbol.py +218 -0
- cplugin_webapi_sdk/_generated/api/mt5_v_2_symbols/patch_api_v_2_mt5_trade_platform_symbol_record_symbol.py +255 -0
- cplugin_webapi_sdk/_generated/api/mt5_v_2_trades/__init__.py +1 -0
- cplugin_webapi_sdk/_generated/api/mt5_v_2_trades/get_api_v_2_mt5_trade_platform_deal_by_group_mask.py +265 -0
- cplugin_webapi_sdk/_generated/api/mt5_v_2_trades/get_api_v_2_mt5_trade_platform_order_by_group_mask.py +265 -0
- cplugin_webapi_sdk/_generated/api/mt5_v_2_trades/get_api_v_2_mt5_trade_platform_position_by_group_mask.py +265 -0
- cplugin_webapi_sdk/_generated/api/mt5_v_2_users/__init__.py +1 -0
- cplugin_webapi_sdk/_generated/api/mt5_v_2_users/get_api_v_2_mt5_trade_platform_user_get_login.py +218 -0
- cplugin_webapi_sdk/_generated/api/mt5_v_2_users/patch_api_v_2_mt5_trade_platform_user_record_login.py +255 -0
- cplugin_webapi_sdk/_generated/client.py +271 -0
- cplugin_webapi_sdk/_generated/errors.py +14 -0
- cplugin_webapi_sdk/_generated/models/__init__.py +469 -0
- cplugin_webapi_sdk/_generated/models/activation_modes.py +10 -0
- cplugin_webapi_sdk/_generated/models/activation_type.py +15 -0
- cplugin_webapi_sdk/_generated/models/api_error.py +135 -0
- cplugin_webapi_sdk/_generated/models/api_meta.py +114 -0
- cplugin_webapi_sdk/_generated/models/arc_backup_execution_period.py +10 -0
- cplugin_webapi_sdk/_generated/models/arc_backup_store_period.py +11 -0
- cplugin_webapi_sdk/_generated/models/backup_execution_period.py +9 -0
- cplugin_webapi_sdk/_generated/models/backup_store_period.py +10 -0
- cplugin_webapi_sdk/_generated/models/boolean_api_response.py +143 -0
- cplugin_webapi_sdk/_generated/models/chart_period.py +15 -0
- cplugin_webapi_sdk/_generated/models/data_feed_mode.py +9 -0
- cplugin_webapi_sdk/_generated/models/date_time_api_response.py +154 -0
- cplugin_webapi_sdk/_generated/models/deal_action.py +27 -0
- cplugin_webapi_sdk/_generated/models/deal_reason.py +26 -0
- cplugin_webapi_sdk/_generated/models/en_auth_mode.py +10 -0
- cplugin_webapi_sdk/_generated/models/en_auth_otp_mode.py +9 -0
- cplugin_webapi_sdk/_generated/models/en_calc_mode.py +21 -0
- cplugin_webapi_sdk/_generated/models/en_chart_mode.py +9 -0
- cplugin_webapi_sdk/_generated/models/en_comm_action_mode.py +9 -0
- cplugin_webapi_sdk/_generated/models/en_comm_charge_mode.py +9 -0
- cplugin_webapi_sdk/_generated/models/en_comm_entry_mode.py +9 -0
- cplugin_webapi_sdk/_generated/models/en_comm_mode.py +9 -0
- cplugin_webapi_sdk/_generated/models/en_comm_profit_mode.py +9 -0
- cplugin_webapi_sdk/_generated/models/en_comm_range_mode.py +11 -0
- cplugin_webapi_sdk/_generated/models/en_commission_mode.py +14 -0
- cplugin_webapi_sdk/_generated/models/en_commission_volume_type.py +8 -0
- cplugin_webapi_sdk/_generated/models/en_execution_mode.py +10 -0
- cplugin_webapi_sdk/_generated/models/en_free_margin_mode.py +10 -0
- cplugin_webapi_sdk/_generated/models/en_gateway_account_flags.py +8 -0
- cplugin_webapi_sdk/_generated/models/en_gtc_mode.py +9 -0
- cplugin_webapi_sdk/_generated/models/en_history_limit.py +13 -0
- cplugin_webapi_sdk/_generated/models/en_industries.py +172 -0
- cplugin_webapi_sdk/_generated/models/en_instant_mode.py +7 -0
- cplugin_webapi_sdk/_generated/models/en_log_type.py +14 -0
- cplugin_webapi_sdk/_generated/models/en_mail_mode.py +8 -0
- cplugin_webapi_sdk/_generated/models/en_manager_limit.py +13 -0
- cplugin_webapi_sdk/_generated/models/en_manager_rights.py +82 -0
- cplugin_webapi_sdk/_generated/models/en_margin_mode.py +9 -0
- cplugin_webapi_sdk/_generated/models/en_news_mode.py +9 -0
- cplugin_webapi_sdk/_generated/models/en_option_mode.py +10 -0
- cplugin_webapi_sdk/_generated/models/en_reports_mode.py +10 -0
- cplugin_webapi_sdk/_generated/models/en_sectors.py +22 -0
- cplugin_webapi_sdk/_generated/models/en_splice_time_type.py +7 -0
- cplugin_webapi_sdk/_generated/models/en_splice_type.py +9 -0
- cplugin_webapi_sdk/_generated/models/en_stop_out_mode.py +8 -0
- cplugin_webapi_sdk/_generated/models/en_swap_days.py +14 -0
- cplugin_webapi_sdk/_generated/models/en_swap_mode.py +16 -0
- cplugin_webapi_sdk/_generated/models/en_trade_mode.py +11 -0
- cplugin_webapi_sdk/_generated/models/en_transfer_mode.py +10 -0
- cplugin_webapi_sdk/_generated/models/entry_flag.py +10 -0
- cplugin_webapi_sdk/_generated/models/export_execution_period.py +11 -0
- cplugin_webapi_sdk/_generated/models/gtc_mode.py +9 -0
- cplugin_webapi_sdk/_generated/models/int_32_api_response.py +143 -0
- cplugin_webapi_sdk/_generated/models/int_32mt4_daily_report_list_dictionary_api_response.py +170 -0
- cplugin_webapi_sdk/_generated/models/int_32mt4_daily_report_list_dictionary_api_response_data_type_0.py +107 -0
- cplugin_webapi_sdk/_generated/models/json_node.py +155 -0
- cplugin_webapi_sdk/_generated/models/json_node_api_response.py +170 -0
- cplugin_webapi_sdk/_generated/models/json_node_options.py +60 -0
- cplugin_webapi_sdk/_generated/models/margin_calculation_mode.py +11 -0
- cplugin_webapi_sdk/_generated/models/margin_controlling_type.py +8 -0
- cplugin_webapi_sdk/_generated/models/margin_level_type.py +9 -0
- cplugin_webapi_sdk/_generated/models/margin_mode.py +10 -0
- cplugin_webapi_sdk/_generated/models/mt4_access.py +106 -0
- cplugin_webapi_sdk/_generated/models/mt4_access_api_response.py +173 -0
- cplugin_webapi_sdk/_generated/models/mt4_access_list_api_response.py +180 -0
- cplugin_webapi_sdk/_generated/models/mt4_backup.py +442 -0
- cplugin_webapi_sdk/_generated/models/mt4_backup_api_response.py +174 -0
- cplugin_webapi_sdk/_generated/models/mt4_backup_info.py +107 -0
- cplugin_webapi_sdk/_generated/models/mt4_backup_info_list_api_response.py +180 -0
- cplugin_webapi_sdk/_generated/models/mt4_balance_diff.py +74 -0
- cplugin_webapi_sdk/_generated/models/mt4_balance_diff_api_response.py +174 -0
- cplugin_webapi_sdk/_generated/models/mt4_balance_diff_list_api_response.py +180 -0
- cplugin_webapi_sdk/_generated/models/mt4_chart_bar.py +121 -0
- cplugin_webapi_sdk/_generated/models/mt4_chart_bar_list_api_response.py +180 -0
- cplugin_webapi_sdk/_generated/models/mt4_chart_write_request.py +103 -0
- cplugin_webapi_sdk/_generated/models/mt4_common.py +124 -0
- cplugin_webapi_sdk/_generated/models/mt4_common_api_response.py +172 -0
- cplugin_webapi_sdk/_generated/models/mt4_common_update.py +201 -0
- cplugin_webapi_sdk/_generated/models/mt4_daily_report.py +212 -0
- cplugin_webapi_sdk/_generated/models/mt4_daily_report_list_api_response.py +180 -0
- cplugin_webapi_sdk/_generated/models/mt4_data_server.py +153 -0
- cplugin_webapi_sdk/_generated/models/mt4_data_server_api_response.py +174 -0
- cplugin_webapi_sdk/_generated/models/mt4_data_server_list_api_response.py +180 -0
- cplugin_webapi_sdk/_generated/models/mt4_external_command_binary_request.py +77 -0
- cplugin_webapi_sdk/_generated/models/mt4_external_command_binary_response.py +74 -0
- cplugin_webapi_sdk/_generated/models/mt4_external_command_binary_response_api_response.py +171 -0
- cplugin_webapi_sdk/_generated/models/mt4_feeder.py +235 -0
- cplugin_webapi_sdk/_generated/models/mt4_feeder_api_response.py +172 -0
- cplugin_webapi_sdk/_generated/models/mt4_feeder_list_api_response.py +180 -0
- cplugin_webapi_sdk/_generated/models/mt4_gateway_account.py +190 -0
- cplugin_webapi_sdk/_generated/models/mt4_gateway_account_api_response.py +174 -0
- cplugin_webapi_sdk/_generated/models/mt4_gateway_account_list_api_response.py +180 -0
- cplugin_webapi_sdk/_generated/models/mt4_gateway_markup.py +157 -0
- cplugin_webapi_sdk/_generated/models/mt4_gateway_markup_api_response.py +174 -0
- cplugin_webapi_sdk/_generated/models/mt4_gateway_markup_list_api_response.py +180 -0
- cplugin_webapi_sdk/_generated/models/mt4_gateway_rule.py +234 -0
- cplugin_webapi_sdk/_generated/models/mt4_gateway_rule_api_response.py +177 -0
- cplugin_webapi_sdk/_generated/models/mt4_gateway_rule_list_api_response.py +180 -0
- cplugin_webapi_sdk/_generated/models/mt4_group.py +505 -0
- cplugin_webapi_sdk/_generated/models/mt4_group_api_response.py +193 -0
- cplugin_webapi_sdk/_generated/models/mt4_group_list_api_response.py +180 -0
- cplugin_webapi_sdk/_generated/models/mt4_group_margin.py +104 -0
- cplugin_webapi_sdk/_generated/models/mt4_group_margin_list_api_response.py +180 -0
- cplugin_webapi_sdk/_generated/models/mt4_group_sec.py +321 -0
- cplugin_webapi_sdk/_generated/models/mt4_group_sec_list_api_response.py +180 -0
- cplugin_webapi_sdk/_generated/models/mt4_group_update.py +467 -0
- cplugin_webapi_sdk/_generated/models/mt4_holiday.py +153 -0
- cplugin_webapi_sdk/_generated/models/mt4_holiday_api_response.py +174 -0
- cplugin_webapi_sdk/_generated/models/mt4_holiday_list_api_response.py +180 -0
- cplugin_webapi_sdk/_generated/models/mt4_live_update.py +165 -0
- cplugin_webapi_sdk/_generated/models/mt4_live_update_api_response.py +177 -0
- cplugin_webapi_sdk/_generated/models/mt4_live_update_list_api_response.py +180 -0
- cplugin_webapi_sdk/_generated/models/mt4_mail_box.py +148 -0
- cplugin_webapi_sdk/_generated/models/mt4_mail_box_list_api_response.py +180 -0
- cplugin_webapi_sdk/_generated/models/mt4_mail_send_request.py +160 -0
- cplugin_webapi_sdk/_generated/models/mt4_manager_rights.py +338 -0
- cplugin_webapi_sdk/_generated/models/mt4_manager_rights_api_response.py +175 -0
- cplugin_webapi_sdk/_generated/models/mt4_manager_rights_list_api_response.py +180 -0
- cplugin_webapi_sdk/_generated/models/mt4_margin_level.py +201 -0
- cplugin_webapi_sdk/_generated/models/mt4_margin_level_api_response.py +174 -0
- cplugin_webapi_sdk/_generated/models/mt4_margin_level_list_api_response.py +180 -0
- cplugin_webapi_sdk/_generated/models/mt4_news_send_request.py +127 -0
- cplugin_webapi_sdk/_generated/models/mt4_news_topic.py +177 -0
- cplugin_webapi_sdk/_generated/models/mt4_news_topic_api_response.py +178 -0
- cplugin_webapi_sdk/_generated/models/mt4_news_topic_list_api_response.py +180 -0
- cplugin_webapi_sdk/_generated/models/mt4_notifications_send_request.py +114 -0
- cplugin_webapi_sdk/_generated/models/mt4_online.py +88 -0
- cplugin_webapi_sdk/_generated/models/mt4_online_list_api_response.py +180 -0
- cplugin_webapi_sdk/_generated/models/mt4_performance.py +124 -0
- cplugin_webapi_sdk/_generated/models/mt4_performance_list_api_response.py +180 -0
- cplugin_webapi_sdk/_generated/models/mt4_plugin.py +153 -0
- cplugin_webapi_sdk/_generated/models/mt4_plugin_config.py +96 -0
- cplugin_webapi_sdk/_generated/models/mt4_plugin_list_api_response.py +180 -0
- cplugin_webapi_sdk/_generated/models/mt4_plugin_param.py +137 -0
- cplugin_webapi_sdk/_generated/models/mt4_plugin_param_api_response.py +171 -0
- cplugin_webapi_sdk/_generated/models/mt4_plugin_param_list_api_response.py +180 -0
- cplugin_webapi_sdk/_generated/models/mt4_server_log.py +151 -0
- cplugin_webapi_sdk/_generated/models/mt4_server_log_list_api_response.py +180 -0
- cplugin_webapi_sdk/_generated/models/mt4_server_time.py +95 -0
- cplugin_webapi_sdk/_generated/models/mt4_server_time_api_response.py +178 -0
- cplugin_webapi_sdk/_generated/models/mt4_symbol_change_request.py +148 -0
- cplugin_webapi_sdk/_generated/models/mt4_symbol_config.py +683 -0
- cplugin_webapi_sdk/_generated/models/mt4_symbol_config_api_response.py +177 -0
- cplugin_webapi_sdk/_generated/models/mt4_symbol_config_list_api_response.py +180 -0
- cplugin_webapi_sdk/_generated/models/mt4_symbol_config_update.py +608 -0
- cplugin_webapi_sdk/_generated/models/mt4_symbol_day_sessions.py +171 -0
- cplugin_webapi_sdk/_generated/models/mt4_symbol_day_sessions_list_api_response.py +180 -0
- cplugin_webapi_sdk/_generated/models/mt4_symbol_group.py +99 -0
- cplugin_webapi_sdk/_generated/models/mt4_symbol_group_api_response.py +174 -0
- cplugin_webapi_sdk/_generated/models/mt4_symbol_group_list_api_response.py +180 -0
- cplugin_webapi_sdk/_generated/models/mt4_symbol_info.py +210 -0
- cplugin_webapi_sdk/_generated/models/mt4_symbol_info_api_response.py +178 -0
- cplugin_webapi_sdk/_generated/models/mt4_symbol_info_list_api_response.py +180 -0
- cplugin_webapi_sdk/_generated/models/mt4_symbol_session.py +91 -0
- cplugin_webapi_sdk/_generated/models/mt4_sync.py +176 -0
- cplugin_webapi_sdk/_generated/models/mt4_sync_api_response.py +173 -0
- cplugin_webapi_sdk/_generated/models/mt4_sync_list_api_response.py +180 -0
- cplugin_webapi_sdk/_generated/models/mt4_tick_info.py +117 -0
- cplugin_webapi_sdk/_generated/models/mt4_tick_info_api_response.py +175 -0
- cplugin_webapi_sdk/_generated/models/mt4_tick_info_list_api_response.py +180 -0
- cplugin_webapi_sdk/_generated/models/mt4_tick_record.py +126 -0
- cplugin_webapi_sdk/_generated/models/mt4_tick_record_list_api_response.py +180 -0
- cplugin_webapi_sdk/_generated/models/mt4_trade.py +409 -0
- cplugin_webapi_sdk/_generated/models/mt4_trade_api_response.py +179 -0
- cplugin_webapi_sdk/_generated/models/mt4_trade_list_api_response.py +180 -0
- cplugin_webapi_sdk/_generated/models/mt4_trade_restore_input.py +274 -0
- cplugin_webapi_sdk/_generated/models/mt4_trade_restore_result.py +72 -0
- cplugin_webapi_sdk/_generated/models/mt4_trade_restore_result_list_api_response.py +180 -0
- cplugin_webapi_sdk/_generated/models/mt4_trade_transaction.py +262 -0
- cplugin_webapi_sdk/_generated/models/mt4_trade_transaction_api_response.py +181 -0
- cplugin_webapi_sdk/_generated/models/mt4_trade_update.py +165 -0
- cplugin_webapi_sdk/_generated/models/mt4_user.py +533 -0
- cplugin_webapi_sdk/_generated/models/mt4_user_api_response.py +184 -0
- cplugin_webapi_sdk/_generated/models/mt4_user_create.py +420 -0
- cplugin_webapi_sdk/_generated/models/mt4_user_list_api_response.py +180 -0
- cplugin_webapi_sdk/_generated/models/mt4_user_restore_input.py +193 -0
- cplugin_webapi_sdk/_generated/models/mt4_user_update.py +441 -0
- cplugin_webapi_sdk/_generated/models/mt4_users_group_op.py +140 -0
- cplugin_webapi_sdk/_generated/models/mt5_con_comm_tier.py +246 -0
- cplugin_webapi_sdk/_generated/models/mt5_con_commission.py +409 -0
- cplugin_webapi_sdk/_generated/models/mt5_con_group.py +1162 -0
- cplugin_webapi_sdk/_generated/models/mt5_con_group_api_response.py +170 -0
- cplugin_webapi_sdk/_generated/models/mt5_con_group_commissions_type_0.py +83 -0
- cplugin_webapi_sdk/_generated/models/mt5_con_manager.py +227 -0
- cplugin_webapi_sdk/_generated/models/mt5_con_manager_api_response.py +156 -0
- cplugin_webapi_sdk/_generated/models/mt5_deal.py +1045 -0
- cplugin_webapi_sdk/_generated/models/mt5_deal_list_api_response.py +180 -0
- cplugin_webapi_sdk/_generated/models/mt5_order.py +1008 -0
- cplugin_webapi_sdk/_generated/models/mt5_order_list_api_response.py +180 -0
- cplugin_webapi_sdk/_generated/models/mt5_position.py +829 -0
- cplugin_webapi_sdk/_generated/models/mt5_position_list_api_response.py +180 -0
- cplugin_webapi_sdk/_generated/models/mt5_symbol.py +2743 -0
- cplugin_webapi_sdk/_generated/models/mt5_symbol_api_response.py +170 -0
- cplugin_webapi_sdk/_generated/models/mt5_symbol_margin_rate_initial_type_0.py +124 -0
- cplugin_webapi_sdk/_generated/models/mt5_symbol_margin_rate_maintenance_type_0.py +124 -0
- cplugin_webapi_sdk/_generated/models/mt5_symbol_session.py +182 -0
- cplugin_webapi_sdk/_generated/models/mt5_time.py +101 -0
- cplugin_webapi_sdk/_generated/models/mt5_time_api_response.py +170 -0
- cplugin_webapi_sdk/_generated/models/mt5_user.py +752 -0
- cplugin_webapi_sdk/_generated/models/mt5_user_api_response.py +172 -0
- cplugin_webapi_sdk/_generated/models/news_mode.py +9 -0
- cplugin_webapi_sdk/_generated/models/order_filling.py +10 -0
- cplugin_webapi_sdk/_generated/models/order_reason.py +26 -0
- cplugin_webapi_sdk/_generated/models/order_state.py +16 -0
- cplugin_webapi_sdk/_generated/models/order_time.py +10 -0
- cplugin_webapi_sdk/_generated/models/order_type.py +15 -0
- cplugin_webapi_sdk/_generated/models/otp_mode.py +8 -0
- cplugin_webapi_sdk/_generated/models/paging_meta.py +88 -0
- cplugin_webapi_sdk/_generated/models/patch_api_v2mt4_trade_platform_group_record_group_json_body.py +66 -0
- cplugin_webapi_sdk/_generated/models/patch_api_v2mt4_trade_platform_symbol_config_symbol_json_body.py +66 -0
- cplugin_webapi_sdk/_generated/models/patch_api_v2mt4_trade_platform_user_record_login_json_body.py +66 -0
- cplugin_webapi_sdk/_generated/models/patch_api_v2mt5_trade_platform_group_record_group_json_body.py +66 -0
- cplugin_webapi_sdk/_generated/models/patch_api_v2mt5_trade_platform_symbol_record_symbol_json_body.py +66 -0
- cplugin_webapi_sdk/_generated/models/patch_api_v2mt5_trade_platform_user_record_login_json_body.py +66 -0
- cplugin_webapi_sdk/_generated/models/position_actions.py +8 -0
- cplugin_webapi_sdk/_generated/models/position_reasons.py +26 -0
- cplugin_webapi_sdk/_generated/models/profit_calculation_mode.py +9 -0
- cplugin_webapi_sdk/_generated/models/request_mode.py +10 -0
- cplugin_webapi_sdk/_generated/models/result_code.py +46 -0
- cplugin_webapi_sdk/_generated/models/server_role.py +9 -0
- cplugin_webapi_sdk/_generated/models/string_api_response.py +155 -0
- cplugin_webapi_sdk/_generated/models/swap_type.py +10 -0
- cplugin_webapi_sdk/_generated/models/symbol_exec_mode.py +9 -0
- cplugin_webapi_sdk/_generated/models/symbol_price_direction.py +9 -0
- cplugin_webapi_sdk/_generated/models/synchronization_mode.py +11 -0
- cplugin_webapi_sdk/_generated/models/trade_command.py +14 -0
- cplugin_webapi_sdk/_generated/models/trade_mode.py +9 -0
- cplugin_webapi_sdk/_generated/models/trade_record_reason.py +14 -0
- cplugin_webapi_sdk/_generated/models/trade_record_state.py +13 -0
- cplugin_webapi_sdk/_generated/models/watchdog_failover_mode.py +9 -0
- cplugin_webapi_sdk/_generated/models/watchdog_state.py +9 -0
- cplugin_webapi_sdk/_generated/models/web_api_error_code.py +17 -0
- cplugin_webapi_sdk/_generated/operation_timeouts.py +181 -0
- cplugin_webapi_sdk/_generated/types.py +53 -0
- cplugin_webapi_sdk/auth.py +278 -0
- cplugin_webapi_sdk/client.py +1215 -0
- cplugin_webapi_sdk/discovery.py +109 -0
- cplugin_webapi_sdk/envelope.py +77 -0
- cplugin_webapi_sdk/environments.py +45 -0
- cplugin_webapi_sdk/errors.py +79 -0
- cplugin_webapi_sdk/flags.py +36 -0
- cplugin_webapi_sdk/pagination.py +141 -0
- cplugin_webapi_sdk/realtime.py +408 -0
- cplugin_webapi_sdk/timeouts.py +197 -0
- cplugin_webapi_sdk/unwrap.py +153 -0
- mywebapi_sdk-0.3.0.dist-info/METADATA +312 -0
- mywebapi_sdk-0.3.0.dist-info/RECORD +456 -0
- mywebapi_sdk-0.3.0.dist-info/WHEEL +4 -0
- mywebapi_sdk-0.3.0.dist-info/licenses/LICENSE +21 -0
|
@@ -0,0 +1,542 @@
|
|
|
1
|
+
from http import HTTPStatus
|
|
2
|
+
from typing import Any, cast
|
|
3
|
+
from urllib.parse import quote
|
|
4
|
+
|
|
5
|
+
import httpx
|
|
6
|
+
|
|
7
|
+
from ...client import AuthenticatedClient, Client
|
|
8
|
+
from ...types import Response, UNSET
|
|
9
|
+
from ... import errors
|
|
10
|
+
|
|
11
|
+
from ...models.mt4_group_api_response import MT4GroupApiResponse
|
|
12
|
+
from ...models.mt4_group_update import MT4GroupUpdate
|
|
13
|
+
from ...types import UNSET, Unset
|
|
14
|
+
from typing import cast
|
|
15
|
+
from uuid import UUID
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
def _get_kwargs(
|
|
20
|
+
trade_platform: UUID,
|
|
21
|
+
group: str,
|
|
22
|
+
*,
|
|
23
|
+
body: MT4GroupUpdate | MT4GroupUpdate | MT4GroupUpdate | Unset = UNSET,
|
|
24
|
+
x_request_timeout: float | Unset = UNSET,
|
|
25
|
+
|
|
26
|
+
) -> dict[str, Any]:
|
|
27
|
+
headers: dict[str, Any] = {}
|
|
28
|
+
if not isinstance(x_request_timeout, Unset):
|
|
29
|
+
headers["X-Request-Timeout"] = str(x_request_timeout)
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
_kwargs: dict[str, Any] = {
|
|
39
|
+
"method": "post",
|
|
40
|
+
"url": "/api/v2/MT4/{trade_platform}/GroupRecordUpdate/{group}".format(trade_platform=quote(str(trade_platform), safe=""),group=quote(str(group), safe=""),),
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
if isinstance(body, MT4GroupUpdate):
|
|
44
|
+
|
|
45
|
+
if not isinstance(body, Unset):
|
|
46
|
+
_kwargs["json"] = body.to_dict()
|
|
47
|
+
|
|
48
|
+
headers["Content-Type"] = "application/json-patch+json"
|
|
49
|
+
if isinstance(body, MT4GroupUpdate):
|
|
50
|
+
|
|
51
|
+
if not isinstance(body, Unset):
|
|
52
|
+
_kwargs["json"] = body.to_dict()
|
|
53
|
+
|
|
54
|
+
headers["Content-Type"] = "application/json"
|
|
55
|
+
if isinstance(body, MT4GroupUpdate):
|
|
56
|
+
|
|
57
|
+
if not isinstance(body, Unset):
|
|
58
|
+
_kwargs["json"] = body.to_dict()
|
|
59
|
+
|
|
60
|
+
headers["Content-Type"] = "application/*+json"
|
|
61
|
+
|
|
62
|
+
_kwargs["headers"] = headers
|
|
63
|
+
return _kwargs
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
def _parse_response(*, client: AuthenticatedClient | Client, response: httpx.Response) -> MT4GroupApiResponse | None:
|
|
68
|
+
if response.status_code == 200:
|
|
69
|
+
response_200 = MT4GroupApiResponse.from_dict(response.json())
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
return response_200
|
|
74
|
+
|
|
75
|
+
if client.raise_on_unexpected_status:
|
|
76
|
+
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
77
|
+
else:
|
|
78
|
+
return None
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
def _build_response(*, client: AuthenticatedClient | Client, response: httpx.Response) -> Response[MT4GroupApiResponse]:
|
|
82
|
+
return Response(
|
|
83
|
+
status_code=HTTPStatus(response.status_code),
|
|
84
|
+
content=response.content,
|
|
85
|
+
headers=response.headers,
|
|
86
|
+
parsed=_parse_response(client=client, response=response),
|
|
87
|
+
)
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
def sync_detailed(
|
|
91
|
+
trade_platform: UUID,
|
|
92
|
+
group: str,
|
|
93
|
+
*,
|
|
94
|
+
client: AuthenticatedClient | Client,
|
|
95
|
+
body: MT4GroupUpdate | MT4GroupUpdate | MT4GroupUpdate | Unset = UNSET,
|
|
96
|
+
x_request_timeout: float | Unset = UNSET,
|
|
97
|
+
|
|
98
|
+
) -> Response[MT4GroupApiResponse]:
|
|
99
|
+
""" Update trading group
|
|
100
|
+
|
|
101
|
+
Update a group configuration — Type 1 mutator with secret-preservation read.
|
|
102
|
+
|
|
103
|
+
<br>
|
|
104
|
+
Same flow as `UserRecordUpdate`: read the existing
|
|
105
|
+
`ConGroup` from the MT4 server, overlay the
|
|
106
|
+
`MT4GroupUpdate` DTO over the in-memory record, write the
|
|
107
|
+
merged structure back. Preserves SMTP credentials, template paths,
|
|
108
|
+
SecuritiesHash, reserved arrays, the nested SecGroups/SecMargins
|
|
109
|
+
arrays, and NewsLanguages — none of those are on the input DTO so
|
|
110
|
+
they survive untouched.
|
|
111
|
+
<br>
|
|
112
|
+
Wraps the wrapper's `CfgUpdateGroup` — v2 renames to
|
|
113
|
+
`GroupRecordUpdate` for consistency with
|
|
114
|
+
`UserRecordUpdate`; the underlying wrapper call is the same as
|
|
115
|
+
v1's `POST CfgUpdateGroup` endpoint.
|
|
116
|
+
<br>
|
|
117
|
+
Idempotency-Key strongly recommended for safe retries.
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
**Timeout:** 15 s by default, adjustable per request with the `X-Request-Timeout` header. When the
|
|
121
|
+
trade server does not answer in time: The operation may still be completed by the server
|
|
122
|
+
(`X-Request-Outcome: unknown`): check its result before repeating it.
|
|
123
|
+
|
|
124
|
+
Args:
|
|
125
|
+
trade_platform (UUID):
|
|
126
|
+
group (str):
|
|
127
|
+
x_request_timeout (float | Unset):
|
|
128
|
+
body (MT4GroupUpdate | Unset): Type 1 mutator input — full-replace shape for
|
|
129
|
+
`GroupRecordUpdate`.
|
|
130
|
+
Same field set as the read DTO CPlugin.SaaSWebApps.WebAPI.DTOs.MT4.v2.MT4Group minus the
|
|
131
|
+
immutable
|
|
132
|
+
group name (path parameter) and the derived `SecMarginsTotal`
|
|
133
|
+
(computed from SecMargins length).
|
|
134
|
+
|
|
135
|
+
Fields preserved by the server-side read step (NOT on this DTO):
|
|
136
|
+
* `Group` — path param, immutable identity.
|
|
137
|
+
* `SmtpServer`, `SmtpLogin`, `SmtpPassword` — SMTP creds,
|
|
138
|
+
never client-controlled.
|
|
139
|
+
* `Templates` — server-side filesystem path.
|
|
140
|
+
* `SecuritiesHash` — opaque wrapper bookkeeping.
|
|
141
|
+
* `Reserved`, `UnusedRights` — reserved arrays.
|
|
142
|
+
* `SecGroups[32]`, `SecMargins[128]` — nested arrays, planned
|
|
143
|
+
as dedicated v2 endpoints.
|
|
144
|
+
* `NewsLanguages`, `NewsLanguagesTotal` — separate management.
|
|
145
|
+
* `SecMarginsTotal` — derived from SecMargins length.
|
|
146
|
+
body (MT4GroupUpdate | Unset): Type 1 mutator input — full-replace shape for
|
|
147
|
+
`GroupRecordUpdate`.
|
|
148
|
+
Same field set as the read DTO CPlugin.SaaSWebApps.WebAPI.DTOs.MT4.v2.MT4Group minus the
|
|
149
|
+
immutable
|
|
150
|
+
group name (path parameter) and the derived `SecMarginsTotal`
|
|
151
|
+
(computed from SecMargins length).
|
|
152
|
+
|
|
153
|
+
Fields preserved by the server-side read step (NOT on this DTO):
|
|
154
|
+
* `Group` — path param, immutable identity.
|
|
155
|
+
* `SmtpServer`, `SmtpLogin`, `SmtpPassword` — SMTP creds,
|
|
156
|
+
never client-controlled.
|
|
157
|
+
* `Templates` — server-side filesystem path.
|
|
158
|
+
* `SecuritiesHash` — opaque wrapper bookkeeping.
|
|
159
|
+
* `Reserved`, `UnusedRights` — reserved arrays.
|
|
160
|
+
* `SecGroups[32]`, `SecMargins[128]` — nested arrays, planned
|
|
161
|
+
as dedicated v2 endpoints.
|
|
162
|
+
* `NewsLanguages`, `NewsLanguagesTotal` — separate management.
|
|
163
|
+
* `SecMarginsTotal` — derived from SecMargins length.
|
|
164
|
+
body (MT4GroupUpdate | Unset): Type 1 mutator input — full-replace shape for
|
|
165
|
+
`GroupRecordUpdate`.
|
|
166
|
+
Same field set as the read DTO CPlugin.SaaSWebApps.WebAPI.DTOs.MT4.v2.MT4Group minus the
|
|
167
|
+
immutable
|
|
168
|
+
group name (path parameter) and the derived `SecMarginsTotal`
|
|
169
|
+
(computed from SecMargins length).
|
|
170
|
+
|
|
171
|
+
Fields preserved by the server-side read step (NOT on this DTO):
|
|
172
|
+
* `Group` — path param, immutable identity.
|
|
173
|
+
* `SmtpServer`, `SmtpLogin`, `SmtpPassword` — SMTP creds,
|
|
174
|
+
never client-controlled.
|
|
175
|
+
* `Templates` — server-side filesystem path.
|
|
176
|
+
* `SecuritiesHash` — opaque wrapper bookkeeping.
|
|
177
|
+
* `Reserved`, `UnusedRights` — reserved arrays.
|
|
178
|
+
* `SecGroups[32]`, `SecMargins[128]` — nested arrays, planned
|
|
179
|
+
as dedicated v2 endpoints.
|
|
180
|
+
* `NewsLanguages`, `NewsLanguagesTotal` — separate management.
|
|
181
|
+
* `SecMarginsTotal` — derived from SecMargins length.
|
|
182
|
+
|
|
183
|
+
Raises:
|
|
184
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
185
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
186
|
+
|
|
187
|
+
Returns:
|
|
188
|
+
Response[MT4GroupApiResponse]
|
|
189
|
+
"""
|
|
190
|
+
|
|
191
|
+
|
|
192
|
+
kwargs = _get_kwargs(
|
|
193
|
+
trade_platform=trade_platform,
|
|
194
|
+
group=group,
|
|
195
|
+
body=body,
|
|
196
|
+
x_request_timeout=x_request_timeout,
|
|
197
|
+
|
|
198
|
+
)
|
|
199
|
+
|
|
200
|
+
response = client.get_httpx_client().request(
|
|
201
|
+
**kwargs,
|
|
202
|
+
)
|
|
203
|
+
|
|
204
|
+
return _build_response(client=client, response=response)
|
|
205
|
+
|
|
206
|
+
def sync(
|
|
207
|
+
trade_platform: UUID,
|
|
208
|
+
group: str,
|
|
209
|
+
*,
|
|
210
|
+
client: AuthenticatedClient | Client,
|
|
211
|
+
body: MT4GroupUpdate | MT4GroupUpdate | MT4GroupUpdate | Unset = UNSET,
|
|
212
|
+
x_request_timeout: float | Unset = UNSET,
|
|
213
|
+
|
|
214
|
+
) -> MT4GroupApiResponse | None:
|
|
215
|
+
""" Update trading group
|
|
216
|
+
|
|
217
|
+
Update a group configuration — Type 1 mutator with secret-preservation read.
|
|
218
|
+
|
|
219
|
+
<br>
|
|
220
|
+
Same flow as `UserRecordUpdate`: read the existing
|
|
221
|
+
`ConGroup` from the MT4 server, overlay the
|
|
222
|
+
`MT4GroupUpdate` DTO over the in-memory record, write the
|
|
223
|
+
merged structure back. Preserves SMTP credentials, template paths,
|
|
224
|
+
SecuritiesHash, reserved arrays, the nested SecGroups/SecMargins
|
|
225
|
+
arrays, and NewsLanguages — none of those are on the input DTO so
|
|
226
|
+
they survive untouched.
|
|
227
|
+
<br>
|
|
228
|
+
Wraps the wrapper's `CfgUpdateGroup` — v2 renames to
|
|
229
|
+
`GroupRecordUpdate` for consistency with
|
|
230
|
+
`UserRecordUpdate`; the underlying wrapper call is the same as
|
|
231
|
+
v1's `POST CfgUpdateGroup` endpoint.
|
|
232
|
+
<br>
|
|
233
|
+
Idempotency-Key strongly recommended for safe retries.
|
|
234
|
+
|
|
235
|
+
|
|
236
|
+
**Timeout:** 15 s by default, adjustable per request with the `X-Request-Timeout` header. When the
|
|
237
|
+
trade server does not answer in time: The operation may still be completed by the server
|
|
238
|
+
(`X-Request-Outcome: unknown`): check its result before repeating it.
|
|
239
|
+
|
|
240
|
+
Args:
|
|
241
|
+
trade_platform (UUID):
|
|
242
|
+
group (str):
|
|
243
|
+
x_request_timeout (float | Unset):
|
|
244
|
+
body (MT4GroupUpdate | Unset): Type 1 mutator input — full-replace shape for
|
|
245
|
+
`GroupRecordUpdate`.
|
|
246
|
+
Same field set as the read DTO CPlugin.SaaSWebApps.WebAPI.DTOs.MT4.v2.MT4Group minus the
|
|
247
|
+
immutable
|
|
248
|
+
group name (path parameter) and the derived `SecMarginsTotal`
|
|
249
|
+
(computed from SecMargins length).
|
|
250
|
+
|
|
251
|
+
Fields preserved by the server-side read step (NOT on this DTO):
|
|
252
|
+
* `Group` — path param, immutable identity.
|
|
253
|
+
* `SmtpServer`, `SmtpLogin`, `SmtpPassword` — SMTP creds,
|
|
254
|
+
never client-controlled.
|
|
255
|
+
* `Templates` — server-side filesystem path.
|
|
256
|
+
* `SecuritiesHash` — opaque wrapper bookkeeping.
|
|
257
|
+
* `Reserved`, `UnusedRights` — reserved arrays.
|
|
258
|
+
* `SecGroups[32]`, `SecMargins[128]` — nested arrays, planned
|
|
259
|
+
as dedicated v2 endpoints.
|
|
260
|
+
* `NewsLanguages`, `NewsLanguagesTotal` — separate management.
|
|
261
|
+
* `SecMarginsTotal` — derived from SecMargins length.
|
|
262
|
+
body (MT4GroupUpdate | Unset): Type 1 mutator input — full-replace shape for
|
|
263
|
+
`GroupRecordUpdate`.
|
|
264
|
+
Same field set as the read DTO CPlugin.SaaSWebApps.WebAPI.DTOs.MT4.v2.MT4Group minus the
|
|
265
|
+
immutable
|
|
266
|
+
group name (path parameter) and the derived `SecMarginsTotal`
|
|
267
|
+
(computed from SecMargins length).
|
|
268
|
+
|
|
269
|
+
Fields preserved by the server-side read step (NOT on this DTO):
|
|
270
|
+
* `Group` — path param, immutable identity.
|
|
271
|
+
* `SmtpServer`, `SmtpLogin`, `SmtpPassword` — SMTP creds,
|
|
272
|
+
never client-controlled.
|
|
273
|
+
* `Templates` — server-side filesystem path.
|
|
274
|
+
* `SecuritiesHash` — opaque wrapper bookkeeping.
|
|
275
|
+
* `Reserved`, `UnusedRights` — reserved arrays.
|
|
276
|
+
* `SecGroups[32]`, `SecMargins[128]` — nested arrays, planned
|
|
277
|
+
as dedicated v2 endpoints.
|
|
278
|
+
* `NewsLanguages`, `NewsLanguagesTotal` — separate management.
|
|
279
|
+
* `SecMarginsTotal` — derived from SecMargins length.
|
|
280
|
+
body (MT4GroupUpdate | Unset): Type 1 mutator input — full-replace shape for
|
|
281
|
+
`GroupRecordUpdate`.
|
|
282
|
+
Same field set as the read DTO CPlugin.SaaSWebApps.WebAPI.DTOs.MT4.v2.MT4Group minus the
|
|
283
|
+
immutable
|
|
284
|
+
group name (path parameter) and the derived `SecMarginsTotal`
|
|
285
|
+
(computed from SecMargins length).
|
|
286
|
+
|
|
287
|
+
Fields preserved by the server-side read step (NOT on this DTO):
|
|
288
|
+
* `Group` — path param, immutable identity.
|
|
289
|
+
* `SmtpServer`, `SmtpLogin`, `SmtpPassword` — SMTP creds,
|
|
290
|
+
never client-controlled.
|
|
291
|
+
* `Templates` — server-side filesystem path.
|
|
292
|
+
* `SecuritiesHash` — opaque wrapper bookkeeping.
|
|
293
|
+
* `Reserved`, `UnusedRights` — reserved arrays.
|
|
294
|
+
* `SecGroups[32]`, `SecMargins[128]` — nested arrays, planned
|
|
295
|
+
as dedicated v2 endpoints.
|
|
296
|
+
* `NewsLanguages`, `NewsLanguagesTotal` — separate management.
|
|
297
|
+
* `SecMarginsTotal` — derived from SecMargins length.
|
|
298
|
+
|
|
299
|
+
Raises:
|
|
300
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
301
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
302
|
+
|
|
303
|
+
Returns:
|
|
304
|
+
MT4GroupApiResponse
|
|
305
|
+
"""
|
|
306
|
+
|
|
307
|
+
|
|
308
|
+
return sync_detailed(
|
|
309
|
+
trade_platform=trade_platform,
|
|
310
|
+
group=group,
|
|
311
|
+
client=client,
|
|
312
|
+
body=body,
|
|
313
|
+
x_request_timeout=x_request_timeout,
|
|
314
|
+
|
|
315
|
+
).parsed
|
|
316
|
+
|
|
317
|
+
async def asyncio_detailed(
|
|
318
|
+
trade_platform: UUID,
|
|
319
|
+
group: str,
|
|
320
|
+
*,
|
|
321
|
+
client: AuthenticatedClient | Client,
|
|
322
|
+
body: MT4GroupUpdate | MT4GroupUpdate | MT4GroupUpdate | Unset = UNSET,
|
|
323
|
+
x_request_timeout: float | Unset = UNSET,
|
|
324
|
+
|
|
325
|
+
) -> Response[MT4GroupApiResponse]:
|
|
326
|
+
""" Update trading group
|
|
327
|
+
|
|
328
|
+
Update a group configuration — Type 1 mutator with secret-preservation read.
|
|
329
|
+
|
|
330
|
+
<br>
|
|
331
|
+
Same flow as `UserRecordUpdate`: read the existing
|
|
332
|
+
`ConGroup` from the MT4 server, overlay the
|
|
333
|
+
`MT4GroupUpdate` DTO over the in-memory record, write the
|
|
334
|
+
merged structure back. Preserves SMTP credentials, template paths,
|
|
335
|
+
SecuritiesHash, reserved arrays, the nested SecGroups/SecMargins
|
|
336
|
+
arrays, and NewsLanguages — none of those are on the input DTO so
|
|
337
|
+
they survive untouched.
|
|
338
|
+
<br>
|
|
339
|
+
Wraps the wrapper's `CfgUpdateGroup` — v2 renames to
|
|
340
|
+
`GroupRecordUpdate` for consistency with
|
|
341
|
+
`UserRecordUpdate`; the underlying wrapper call is the same as
|
|
342
|
+
v1's `POST CfgUpdateGroup` endpoint.
|
|
343
|
+
<br>
|
|
344
|
+
Idempotency-Key strongly recommended for safe retries.
|
|
345
|
+
|
|
346
|
+
|
|
347
|
+
**Timeout:** 15 s by default, adjustable per request with the `X-Request-Timeout` header. When the
|
|
348
|
+
trade server does not answer in time: The operation may still be completed by the server
|
|
349
|
+
(`X-Request-Outcome: unknown`): check its result before repeating it.
|
|
350
|
+
|
|
351
|
+
Args:
|
|
352
|
+
trade_platform (UUID):
|
|
353
|
+
group (str):
|
|
354
|
+
x_request_timeout (float | Unset):
|
|
355
|
+
body (MT4GroupUpdate | Unset): Type 1 mutator input — full-replace shape for
|
|
356
|
+
`GroupRecordUpdate`.
|
|
357
|
+
Same field set as the read DTO CPlugin.SaaSWebApps.WebAPI.DTOs.MT4.v2.MT4Group minus the
|
|
358
|
+
immutable
|
|
359
|
+
group name (path parameter) and the derived `SecMarginsTotal`
|
|
360
|
+
(computed from SecMargins length).
|
|
361
|
+
|
|
362
|
+
Fields preserved by the server-side read step (NOT on this DTO):
|
|
363
|
+
* `Group` — path param, immutable identity.
|
|
364
|
+
* `SmtpServer`, `SmtpLogin`, `SmtpPassword` — SMTP creds,
|
|
365
|
+
never client-controlled.
|
|
366
|
+
* `Templates` — server-side filesystem path.
|
|
367
|
+
* `SecuritiesHash` — opaque wrapper bookkeeping.
|
|
368
|
+
* `Reserved`, `UnusedRights` — reserved arrays.
|
|
369
|
+
* `SecGroups[32]`, `SecMargins[128]` — nested arrays, planned
|
|
370
|
+
as dedicated v2 endpoints.
|
|
371
|
+
* `NewsLanguages`, `NewsLanguagesTotal` — separate management.
|
|
372
|
+
* `SecMarginsTotal` — derived from SecMargins length.
|
|
373
|
+
body (MT4GroupUpdate | Unset): Type 1 mutator input — full-replace shape for
|
|
374
|
+
`GroupRecordUpdate`.
|
|
375
|
+
Same field set as the read DTO CPlugin.SaaSWebApps.WebAPI.DTOs.MT4.v2.MT4Group minus the
|
|
376
|
+
immutable
|
|
377
|
+
group name (path parameter) and the derived `SecMarginsTotal`
|
|
378
|
+
(computed from SecMargins length).
|
|
379
|
+
|
|
380
|
+
Fields preserved by the server-side read step (NOT on this DTO):
|
|
381
|
+
* `Group` — path param, immutable identity.
|
|
382
|
+
* `SmtpServer`, `SmtpLogin`, `SmtpPassword` — SMTP creds,
|
|
383
|
+
never client-controlled.
|
|
384
|
+
* `Templates` — server-side filesystem path.
|
|
385
|
+
* `SecuritiesHash` — opaque wrapper bookkeeping.
|
|
386
|
+
* `Reserved`, `UnusedRights` — reserved arrays.
|
|
387
|
+
* `SecGroups[32]`, `SecMargins[128]` — nested arrays, planned
|
|
388
|
+
as dedicated v2 endpoints.
|
|
389
|
+
* `NewsLanguages`, `NewsLanguagesTotal` — separate management.
|
|
390
|
+
* `SecMarginsTotal` — derived from SecMargins length.
|
|
391
|
+
body (MT4GroupUpdate | Unset): Type 1 mutator input — full-replace shape for
|
|
392
|
+
`GroupRecordUpdate`.
|
|
393
|
+
Same field set as the read DTO CPlugin.SaaSWebApps.WebAPI.DTOs.MT4.v2.MT4Group minus the
|
|
394
|
+
immutable
|
|
395
|
+
group name (path parameter) and the derived `SecMarginsTotal`
|
|
396
|
+
(computed from SecMargins length).
|
|
397
|
+
|
|
398
|
+
Fields preserved by the server-side read step (NOT on this DTO):
|
|
399
|
+
* `Group` — path param, immutable identity.
|
|
400
|
+
* `SmtpServer`, `SmtpLogin`, `SmtpPassword` — SMTP creds,
|
|
401
|
+
never client-controlled.
|
|
402
|
+
* `Templates` — server-side filesystem path.
|
|
403
|
+
* `SecuritiesHash` — opaque wrapper bookkeeping.
|
|
404
|
+
* `Reserved`, `UnusedRights` — reserved arrays.
|
|
405
|
+
* `SecGroups[32]`, `SecMargins[128]` — nested arrays, planned
|
|
406
|
+
as dedicated v2 endpoints.
|
|
407
|
+
* `NewsLanguages`, `NewsLanguagesTotal` — separate management.
|
|
408
|
+
* `SecMarginsTotal` — derived from SecMargins length.
|
|
409
|
+
|
|
410
|
+
Raises:
|
|
411
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
412
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
413
|
+
|
|
414
|
+
Returns:
|
|
415
|
+
Response[MT4GroupApiResponse]
|
|
416
|
+
"""
|
|
417
|
+
|
|
418
|
+
|
|
419
|
+
kwargs = _get_kwargs(
|
|
420
|
+
trade_platform=trade_platform,
|
|
421
|
+
group=group,
|
|
422
|
+
body=body,
|
|
423
|
+
x_request_timeout=x_request_timeout,
|
|
424
|
+
|
|
425
|
+
)
|
|
426
|
+
|
|
427
|
+
response = await client.get_async_httpx_client().request(
|
|
428
|
+
**kwargs
|
|
429
|
+
)
|
|
430
|
+
|
|
431
|
+
return _build_response(client=client, response=response)
|
|
432
|
+
|
|
433
|
+
async def asyncio(
|
|
434
|
+
trade_platform: UUID,
|
|
435
|
+
group: str,
|
|
436
|
+
*,
|
|
437
|
+
client: AuthenticatedClient | Client,
|
|
438
|
+
body: MT4GroupUpdate | MT4GroupUpdate | MT4GroupUpdate | Unset = UNSET,
|
|
439
|
+
x_request_timeout: float | Unset = UNSET,
|
|
440
|
+
|
|
441
|
+
) -> MT4GroupApiResponse | None:
|
|
442
|
+
""" Update trading group
|
|
443
|
+
|
|
444
|
+
Update a group configuration — Type 1 mutator with secret-preservation read.
|
|
445
|
+
|
|
446
|
+
<br>
|
|
447
|
+
Same flow as `UserRecordUpdate`: read the existing
|
|
448
|
+
`ConGroup` from the MT4 server, overlay the
|
|
449
|
+
`MT4GroupUpdate` DTO over the in-memory record, write the
|
|
450
|
+
merged structure back. Preserves SMTP credentials, template paths,
|
|
451
|
+
SecuritiesHash, reserved arrays, the nested SecGroups/SecMargins
|
|
452
|
+
arrays, and NewsLanguages — none of those are on the input DTO so
|
|
453
|
+
they survive untouched.
|
|
454
|
+
<br>
|
|
455
|
+
Wraps the wrapper's `CfgUpdateGroup` — v2 renames to
|
|
456
|
+
`GroupRecordUpdate` for consistency with
|
|
457
|
+
`UserRecordUpdate`; the underlying wrapper call is the same as
|
|
458
|
+
v1's `POST CfgUpdateGroup` endpoint.
|
|
459
|
+
<br>
|
|
460
|
+
Idempotency-Key strongly recommended for safe retries.
|
|
461
|
+
|
|
462
|
+
|
|
463
|
+
**Timeout:** 15 s by default, adjustable per request with the `X-Request-Timeout` header. When the
|
|
464
|
+
trade server does not answer in time: The operation may still be completed by the server
|
|
465
|
+
(`X-Request-Outcome: unknown`): check its result before repeating it.
|
|
466
|
+
|
|
467
|
+
Args:
|
|
468
|
+
trade_platform (UUID):
|
|
469
|
+
group (str):
|
|
470
|
+
x_request_timeout (float | Unset):
|
|
471
|
+
body (MT4GroupUpdate | Unset): Type 1 mutator input — full-replace shape for
|
|
472
|
+
`GroupRecordUpdate`.
|
|
473
|
+
Same field set as the read DTO CPlugin.SaaSWebApps.WebAPI.DTOs.MT4.v2.MT4Group minus the
|
|
474
|
+
immutable
|
|
475
|
+
group name (path parameter) and the derived `SecMarginsTotal`
|
|
476
|
+
(computed from SecMargins length).
|
|
477
|
+
|
|
478
|
+
Fields preserved by the server-side read step (NOT on this DTO):
|
|
479
|
+
* `Group` — path param, immutable identity.
|
|
480
|
+
* `SmtpServer`, `SmtpLogin`, `SmtpPassword` — SMTP creds,
|
|
481
|
+
never client-controlled.
|
|
482
|
+
* `Templates` — server-side filesystem path.
|
|
483
|
+
* `SecuritiesHash` — opaque wrapper bookkeeping.
|
|
484
|
+
* `Reserved`, `UnusedRights` — reserved arrays.
|
|
485
|
+
* `SecGroups[32]`, `SecMargins[128]` — nested arrays, planned
|
|
486
|
+
as dedicated v2 endpoints.
|
|
487
|
+
* `NewsLanguages`, `NewsLanguagesTotal` — separate management.
|
|
488
|
+
* `SecMarginsTotal` — derived from SecMargins length.
|
|
489
|
+
body (MT4GroupUpdate | Unset): Type 1 mutator input — full-replace shape for
|
|
490
|
+
`GroupRecordUpdate`.
|
|
491
|
+
Same field set as the read DTO CPlugin.SaaSWebApps.WebAPI.DTOs.MT4.v2.MT4Group minus the
|
|
492
|
+
immutable
|
|
493
|
+
group name (path parameter) and the derived `SecMarginsTotal`
|
|
494
|
+
(computed from SecMargins length).
|
|
495
|
+
|
|
496
|
+
Fields preserved by the server-side read step (NOT on this DTO):
|
|
497
|
+
* `Group` — path param, immutable identity.
|
|
498
|
+
* `SmtpServer`, `SmtpLogin`, `SmtpPassword` — SMTP creds,
|
|
499
|
+
never client-controlled.
|
|
500
|
+
* `Templates` — server-side filesystem path.
|
|
501
|
+
* `SecuritiesHash` — opaque wrapper bookkeeping.
|
|
502
|
+
* `Reserved`, `UnusedRights` — reserved arrays.
|
|
503
|
+
* `SecGroups[32]`, `SecMargins[128]` — nested arrays, planned
|
|
504
|
+
as dedicated v2 endpoints.
|
|
505
|
+
* `NewsLanguages`, `NewsLanguagesTotal` — separate management.
|
|
506
|
+
* `SecMarginsTotal` — derived from SecMargins length.
|
|
507
|
+
body (MT4GroupUpdate | Unset): Type 1 mutator input — full-replace shape for
|
|
508
|
+
`GroupRecordUpdate`.
|
|
509
|
+
Same field set as the read DTO CPlugin.SaaSWebApps.WebAPI.DTOs.MT4.v2.MT4Group minus the
|
|
510
|
+
immutable
|
|
511
|
+
group name (path parameter) and the derived `SecMarginsTotal`
|
|
512
|
+
(computed from SecMargins length).
|
|
513
|
+
|
|
514
|
+
Fields preserved by the server-side read step (NOT on this DTO):
|
|
515
|
+
* `Group` — path param, immutable identity.
|
|
516
|
+
* `SmtpServer`, `SmtpLogin`, `SmtpPassword` — SMTP creds,
|
|
517
|
+
never client-controlled.
|
|
518
|
+
* `Templates` — server-side filesystem path.
|
|
519
|
+
* `SecuritiesHash` — opaque wrapper bookkeeping.
|
|
520
|
+
* `Reserved`, `UnusedRights` — reserved arrays.
|
|
521
|
+
* `SecGroups[32]`, `SecMargins[128]` — nested arrays, planned
|
|
522
|
+
as dedicated v2 endpoints.
|
|
523
|
+
* `NewsLanguages`, `NewsLanguagesTotal` — separate management.
|
|
524
|
+
* `SecMarginsTotal` — derived from SecMargins length.
|
|
525
|
+
|
|
526
|
+
Raises:
|
|
527
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
528
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
529
|
+
|
|
530
|
+
Returns:
|
|
531
|
+
MT4GroupApiResponse
|
|
532
|
+
"""
|
|
533
|
+
|
|
534
|
+
|
|
535
|
+
return (await asyncio_detailed(
|
|
536
|
+
trade_platform=trade_platform,
|
|
537
|
+
group=group,
|
|
538
|
+
client=client,
|
|
539
|
+
body=body,
|
|
540
|
+
x_request_timeout=x_request_timeout,
|
|
541
|
+
|
|
542
|
+
)).parsed
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
""" Contains endpoint functions for accessing the API """
|