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
cplugin_webapi_sdk/_generated/api/mt4_v_2_config/post_api_v_2_mt4_trade_platform_cfg_update_time.py
ADDED
|
@@ -0,0 +1,421 @@
|
|
|
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_server_time import MT4ServerTime
|
|
12
|
+
from ...models.mt4_server_time_api_response import MT4ServerTimeApiResponse
|
|
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
|
+
*,
|
|
22
|
+
body: MT4ServerTime | MT4ServerTime | MT4ServerTime | Unset = UNSET,
|
|
23
|
+
x_request_timeout: float | Unset = UNSET,
|
|
24
|
+
|
|
25
|
+
) -> dict[str, Any]:
|
|
26
|
+
headers: dict[str, Any] = {}
|
|
27
|
+
if not isinstance(x_request_timeout, Unset):
|
|
28
|
+
headers["X-Request-Timeout"] = str(x_request_timeout)
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
_kwargs: dict[str, Any] = {
|
|
38
|
+
"method": "post",
|
|
39
|
+
"url": "/api/v2/MT4/{trade_platform}/CfgUpdateTime".format(trade_platform=quote(str(trade_platform), safe=""),),
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
if isinstance(body, MT4ServerTime):
|
|
43
|
+
|
|
44
|
+
if not isinstance(body, Unset):
|
|
45
|
+
_kwargs["json"] = body.to_dict()
|
|
46
|
+
|
|
47
|
+
headers["Content-Type"] = "application/json-patch+json"
|
|
48
|
+
if isinstance(body, MT4ServerTime):
|
|
49
|
+
|
|
50
|
+
if not isinstance(body, Unset):
|
|
51
|
+
_kwargs["json"] = body.to_dict()
|
|
52
|
+
|
|
53
|
+
headers["Content-Type"] = "application/json"
|
|
54
|
+
if isinstance(body, MT4ServerTime):
|
|
55
|
+
|
|
56
|
+
if not isinstance(body, Unset):
|
|
57
|
+
_kwargs["json"] = body.to_dict()
|
|
58
|
+
|
|
59
|
+
headers["Content-Type"] = "application/*+json"
|
|
60
|
+
|
|
61
|
+
_kwargs["headers"] = headers
|
|
62
|
+
return _kwargs
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
def _parse_response(*, client: AuthenticatedClient | Client, response: httpx.Response) -> MT4ServerTimeApiResponse | None:
|
|
67
|
+
if response.status_code == 200:
|
|
68
|
+
response_200 = MT4ServerTimeApiResponse.from_dict(response.json())
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
return response_200
|
|
73
|
+
|
|
74
|
+
if client.raise_on_unexpected_status:
|
|
75
|
+
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
76
|
+
else:
|
|
77
|
+
return None
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
def _build_response(*, client: AuthenticatedClient | Client, response: httpx.Response) -> Response[MT4ServerTimeApiResponse]:
|
|
81
|
+
return Response(
|
|
82
|
+
status_code=HTTPStatus(response.status_code),
|
|
83
|
+
content=response.content,
|
|
84
|
+
headers=response.headers,
|
|
85
|
+
parsed=_parse_response(client=client, response=response),
|
|
86
|
+
)
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
def sync_detailed(
|
|
90
|
+
trade_platform: UUID,
|
|
91
|
+
*,
|
|
92
|
+
client: AuthenticatedClient | Client,
|
|
93
|
+
body: MT4ServerTime | MT4ServerTime | MT4ServerTime | Unset = UNSET,
|
|
94
|
+
x_request_timeout: float | Unset = UNSET,
|
|
95
|
+
|
|
96
|
+
) -> Response[MT4ServerTimeApiResponse]:
|
|
97
|
+
""" Update access-hour matrix
|
|
98
|
+
|
|
99
|
+
Update the 7×24 access-hour matrix — Type 1 mutator.
|
|
100
|
+
|
|
101
|
+
Manager (live) call. Reads the current `ConTime`, replaces the
|
|
102
|
+
168-hour access matrix with the supplied `AccessHours`, and
|
|
103
|
+
writes back. The wrapper's internal `DaysControl` (server
|
|
104
|
+
housekeeping) and `Reserved` (forward-compat padding) fields
|
|
105
|
+
are preserved across the round-trip.
|
|
106
|
+
|
|
107
|
+
`AccessHours` must be exactly 168 entries long; index =
|
|
108
|
+
`day * 24 + hour` with day 0 = Sunday. Each value is
|
|
109
|
+
`0` (denied) or `1` (allowed) — any other value is
|
|
110
|
+
passed through verbatim (the wrapper does not validate, and
|
|
111
|
+
MT4 may treat anything non-zero as allowed depending on build).
|
|
112
|
+
|
|
113
|
+
Echoes the merged `MT4ServerTime` in the response.
|
|
114
|
+
|
|
115
|
+
**Timeout:** 15 s by default, adjustable per request with the `X-Request-Timeout` header. When the
|
|
116
|
+
trade server does not answer in time: The operation may still be completed by the server
|
|
117
|
+
(`X-Request-Outcome: unknown`): check its result before repeating it.
|
|
118
|
+
|
|
119
|
+
Args:
|
|
120
|
+
trade_platform (UUID):
|
|
121
|
+
x_request_timeout (float | Unset):
|
|
122
|
+
body (MT4ServerTime | Unset): v2 DTO for the MT4 server's per-hour access matrix
|
|
123
|
+
(wrapper's
|
|
124
|
+
`ConTime.Days` field). 168-element flat array; each element
|
|
125
|
+
is `0` (denied) or `1` (allowed) for one hour of the
|
|
126
|
+
week. Layout: `index = day * 24 + hour`, day-of-week 0..6
|
|
127
|
+
matches MT4's native convention where day 0 = Sunday.
|
|
128
|
+
<br>
|
|
129
|
+
Example: `AccessHours[24..47]` covers Monday's 24 hours.
|
|
130
|
+
Internal `DaysControl` and `Reserved` wrapper fields
|
|
131
|
+
are not part of the v2 contract.
|
|
132
|
+
body (MT4ServerTime | Unset): v2 DTO for the MT4 server's per-hour access matrix
|
|
133
|
+
(wrapper's
|
|
134
|
+
`ConTime.Days` field). 168-element flat array; each element
|
|
135
|
+
is `0` (denied) or `1` (allowed) for one hour of the
|
|
136
|
+
week. Layout: `index = day * 24 + hour`, day-of-week 0..6
|
|
137
|
+
matches MT4's native convention where day 0 = Sunday.
|
|
138
|
+
<br>
|
|
139
|
+
Example: `AccessHours[24..47]` covers Monday's 24 hours.
|
|
140
|
+
Internal `DaysControl` and `Reserved` wrapper fields
|
|
141
|
+
are not part of the v2 contract.
|
|
142
|
+
body (MT4ServerTime | Unset): v2 DTO for the MT4 server's per-hour access matrix
|
|
143
|
+
(wrapper's
|
|
144
|
+
`ConTime.Days` field). 168-element flat array; each element
|
|
145
|
+
is `0` (denied) or `1` (allowed) for one hour of the
|
|
146
|
+
week. Layout: `index = day * 24 + hour`, day-of-week 0..6
|
|
147
|
+
matches MT4's native convention where day 0 = Sunday.
|
|
148
|
+
<br>
|
|
149
|
+
Example: `AccessHours[24..47]` covers Monday's 24 hours.
|
|
150
|
+
Internal `DaysControl` and `Reserved` wrapper fields
|
|
151
|
+
are not part of the v2 contract.
|
|
152
|
+
|
|
153
|
+
Raises:
|
|
154
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
155
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
156
|
+
|
|
157
|
+
Returns:
|
|
158
|
+
Response[MT4ServerTimeApiResponse]
|
|
159
|
+
"""
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
kwargs = _get_kwargs(
|
|
163
|
+
trade_platform=trade_platform,
|
|
164
|
+
body=body,
|
|
165
|
+
x_request_timeout=x_request_timeout,
|
|
166
|
+
|
|
167
|
+
)
|
|
168
|
+
|
|
169
|
+
response = client.get_httpx_client().request(
|
|
170
|
+
**kwargs,
|
|
171
|
+
)
|
|
172
|
+
|
|
173
|
+
return _build_response(client=client, response=response)
|
|
174
|
+
|
|
175
|
+
def sync(
|
|
176
|
+
trade_platform: UUID,
|
|
177
|
+
*,
|
|
178
|
+
client: AuthenticatedClient | Client,
|
|
179
|
+
body: MT4ServerTime | MT4ServerTime | MT4ServerTime | Unset = UNSET,
|
|
180
|
+
x_request_timeout: float | Unset = UNSET,
|
|
181
|
+
|
|
182
|
+
) -> MT4ServerTimeApiResponse | None:
|
|
183
|
+
""" Update access-hour matrix
|
|
184
|
+
|
|
185
|
+
Update the 7×24 access-hour matrix — Type 1 mutator.
|
|
186
|
+
|
|
187
|
+
Manager (live) call. Reads the current `ConTime`, replaces the
|
|
188
|
+
168-hour access matrix with the supplied `AccessHours`, and
|
|
189
|
+
writes back. The wrapper's internal `DaysControl` (server
|
|
190
|
+
housekeeping) and `Reserved` (forward-compat padding) fields
|
|
191
|
+
are preserved across the round-trip.
|
|
192
|
+
|
|
193
|
+
`AccessHours` must be exactly 168 entries long; index =
|
|
194
|
+
`day * 24 + hour` with day 0 = Sunday. Each value is
|
|
195
|
+
`0` (denied) or `1` (allowed) — any other value is
|
|
196
|
+
passed through verbatim (the wrapper does not validate, and
|
|
197
|
+
MT4 may treat anything non-zero as allowed depending on build).
|
|
198
|
+
|
|
199
|
+
Echoes the merged `MT4ServerTime` in the response.
|
|
200
|
+
|
|
201
|
+
**Timeout:** 15 s by default, adjustable per request with the `X-Request-Timeout` header. When the
|
|
202
|
+
trade server does not answer in time: The operation may still be completed by the server
|
|
203
|
+
(`X-Request-Outcome: unknown`): check its result before repeating it.
|
|
204
|
+
|
|
205
|
+
Args:
|
|
206
|
+
trade_platform (UUID):
|
|
207
|
+
x_request_timeout (float | Unset):
|
|
208
|
+
body (MT4ServerTime | Unset): v2 DTO for the MT4 server's per-hour access matrix
|
|
209
|
+
(wrapper's
|
|
210
|
+
`ConTime.Days` field). 168-element flat array; each element
|
|
211
|
+
is `0` (denied) or `1` (allowed) for one hour of the
|
|
212
|
+
week. Layout: `index = day * 24 + hour`, day-of-week 0..6
|
|
213
|
+
matches MT4's native convention where day 0 = Sunday.
|
|
214
|
+
<br>
|
|
215
|
+
Example: `AccessHours[24..47]` covers Monday's 24 hours.
|
|
216
|
+
Internal `DaysControl` and `Reserved` wrapper fields
|
|
217
|
+
are not part of the v2 contract.
|
|
218
|
+
body (MT4ServerTime | Unset): v2 DTO for the MT4 server's per-hour access matrix
|
|
219
|
+
(wrapper's
|
|
220
|
+
`ConTime.Days` field). 168-element flat array; each element
|
|
221
|
+
is `0` (denied) or `1` (allowed) for one hour of the
|
|
222
|
+
week. Layout: `index = day * 24 + hour`, day-of-week 0..6
|
|
223
|
+
matches MT4's native convention where day 0 = Sunday.
|
|
224
|
+
<br>
|
|
225
|
+
Example: `AccessHours[24..47]` covers Monday's 24 hours.
|
|
226
|
+
Internal `DaysControl` and `Reserved` wrapper fields
|
|
227
|
+
are not part of the v2 contract.
|
|
228
|
+
body (MT4ServerTime | Unset): v2 DTO for the MT4 server's per-hour access matrix
|
|
229
|
+
(wrapper's
|
|
230
|
+
`ConTime.Days` field). 168-element flat array; each element
|
|
231
|
+
is `0` (denied) or `1` (allowed) for one hour of the
|
|
232
|
+
week. Layout: `index = day * 24 + hour`, day-of-week 0..6
|
|
233
|
+
matches MT4's native convention where day 0 = Sunday.
|
|
234
|
+
<br>
|
|
235
|
+
Example: `AccessHours[24..47]` covers Monday's 24 hours.
|
|
236
|
+
Internal `DaysControl` and `Reserved` wrapper fields
|
|
237
|
+
are not part of the v2 contract.
|
|
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
|
+
MT4ServerTimeApiResponse
|
|
245
|
+
"""
|
|
246
|
+
|
|
247
|
+
|
|
248
|
+
return sync_detailed(
|
|
249
|
+
trade_platform=trade_platform,
|
|
250
|
+
client=client,
|
|
251
|
+
body=body,
|
|
252
|
+
x_request_timeout=x_request_timeout,
|
|
253
|
+
|
|
254
|
+
).parsed
|
|
255
|
+
|
|
256
|
+
async def asyncio_detailed(
|
|
257
|
+
trade_platform: UUID,
|
|
258
|
+
*,
|
|
259
|
+
client: AuthenticatedClient | Client,
|
|
260
|
+
body: MT4ServerTime | MT4ServerTime | MT4ServerTime | Unset = UNSET,
|
|
261
|
+
x_request_timeout: float | Unset = UNSET,
|
|
262
|
+
|
|
263
|
+
) -> Response[MT4ServerTimeApiResponse]:
|
|
264
|
+
""" Update access-hour matrix
|
|
265
|
+
|
|
266
|
+
Update the 7×24 access-hour matrix — Type 1 mutator.
|
|
267
|
+
|
|
268
|
+
Manager (live) call. Reads the current `ConTime`, replaces the
|
|
269
|
+
168-hour access matrix with the supplied `AccessHours`, and
|
|
270
|
+
writes back. The wrapper's internal `DaysControl` (server
|
|
271
|
+
housekeeping) and `Reserved` (forward-compat padding) fields
|
|
272
|
+
are preserved across the round-trip.
|
|
273
|
+
|
|
274
|
+
`AccessHours` must be exactly 168 entries long; index =
|
|
275
|
+
`day * 24 + hour` with day 0 = Sunday. Each value is
|
|
276
|
+
`0` (denied) or `1` (allowed) — any other value is
|
|
277
|
+
passed through verbatim (the wrapper does not validate, and
|
|
278
|
+
MT4 may treat anything non-zero as allowed depending on build).
|
|
279
|
+
|
|
280
|
+
Echoes the merged `MT4ServerTime` in the response.
|
|
281
|
+
|
|
282
|
+
**Timeout:** 15 s by default, adjustable per request with the `X-Request-Timeout` header. When the
|
|
283
|
+
trade server does not answer in time: The operation may still be completed by the server
|
|
284
|
+
(`X-Request-Outcome: unknown`): check its result before repeating it.
|
|
285
|
+
|
|
286
|
+
Args:
|
|
287
|
+
trade_platform (UUID):
|
|
288
|
+
x_request_timeout (float | Unset):
|
|
289
|
+
body (MT4ServerTime | Unset): v2 DTO for the MT4 server's per-hour access matrix
|
|
290
|
+
(wrapper's
|
|
291
|
+
`ConTime.Days` field). 168-element flat array; each element
|
|
292
|
+
is `0` (denied) or `1` (allowed) for one hour of the
|
|
293
|
+
week. Layout: `index = day * 24 + hour`, day-of-week 0..6
|
|
294
|
+
matches MT4's native convention where day 0 = Sunday.
|
|
295
|
+
<br>
|
|
296
|
+
Example: `AccessHours[24..47]` covers Monday's 24 hours.
|
|
297
|
+
Internal `DaysControl` and `Reserved` wrapper fields
|
|
298
|
+
are not part of the v2 contract.
|
|
299
|
+
body (MT4ServerTime | Unset): v2 DTO for the MT4 server's per-hour access matrix
|
|
300
|
+
(wrapper's
|
|
301
|
+
`ConTime.Days` field). 168-element flat array; each element
|
|
302
|
+
is `0` (denied) or `1` (allowed) for one hour of the
|
|
303
|
+
week. Layout: `index = day * 24 + hour`, day-of-week 0..6
|
|
304
|
+
matches MT4's native convention where day 0 = Sunday.
|
|
305
|
+
<br>
|
|
306
|
+
Example: `AccessHours[24..47]` covers Monday's 24 hours.
|
|
307
|
+
Internal `DaysControl` and `Reserved` wrapper fields
|
|
308
|
+
are not part of the v2 contract.
|
|
309
|
+
body (MT4ServerTime | Unset): v2 DTO for the MT4 server's per-hour access matrix
|
|
310
|
+
(wrapper's
|
|
311
|
+
`ConTime.Days` field). 168-element flat array; each element
|
|
312
|
+
is `0` (denied) or `1` (allowed) for one hour of the
|
|
313
|
+
week. Layout: `index = day * 24 + hour`, day-of-week 0..6
|
|
314
|
+
matches MT4's native convention where day 0 = Sunday.
|
|
315
|
+
<br>
|
|
316
|
+
Example: `AccessHours[24..47]` covers Monday's 24 hours.
|
|
317
|
+
Internal `DaysControl` and `Reserved` wrapper fields
|
|
318
|
+
are not part of the v2 contract.
|
|
319
|
+
|
|
320
|
+
Raises:
|
|
321
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
322
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
323
|
+
|
|
324
|
+
Returns:
|
|
325
|
+
Response[MT4ServerTimeApiResponse]
|
|
326
|
+
"""
|
|
327
|
+
|
|
328
|
+
|
|
329
|
+
kwargs = _get_kwargs(
|
|
330
|
+
trade_platform=trade_platform,
|
|
331
|
+
body=body,
|
|
332
|
+
x_request_timeout=x_request_timeout,
|
|
333
|
+
|
|
334
|
+
)
|
|
335
|
+
|
|
336
|
+
response = await client.get_async_httpx_client().request(
|
|
337
|
+
**kwargs
|
|
338
|
+
)
|
|
339
|
+
|
|
340
|
+
return _build_response(client=client, response=response)
|
|
341
|
+
|
|
342
|
+
async def asyncio(
|
|
343
|
+
trade_platform: UUID,
|
|
344
|
+
*,
|
|
345
|
+
client: AuthenticatedClient | Client,
|
|
346
|
+
body: MT4ServerTime | MT4ServerTime | MT4ServerTime | Unset = UNSET,
|
|
347
|
+
x_request_timeout: float | Unset = UNSET,
|
|
348
|
+
|
|
349
|
+
) -> MT4ServerTimeApiResponse | None:
|
|
350
|
+
""" Update access-hour matrix
|
|
351
|
+
|
|
352
|
+
Update the 7×24 access-hour matrix — Type 1 mutator.
|
|
353
|
+
|
|
354
|
+
Manager (live) call. Reads the current `ConTime`, replaces the
|
|
355
|
+
168-hour access matrix with the supplied `AccessHours`, and
|
|
356
|
+
writes back. The wrapper's internal `DaysControl` (server
|
|
357
|
+
housekeeping) and `Reserved` (forward-compat padding) fields
|
|
358
|
+
are preserved across the round-trip.
|
|
359
|
+
|
|
360
|
+
`AccessHours` must be exactly 168 entries long; index =
|
|
361
|
+
`day * 24 + hour` with day 0 = Sunday. Each value is
|
|
362
|
+
`0` (denied) or `1` (allowed) — any other value is
|
|
363
|
+
passed through verbatim (the wrapper does not validate, and
|
|
364
|
+
MT4 may treat anything non-zero as allowed depending on build).
|
|
365
|
+
|
|
366
|
+
Echoes the merged `MT4ServerTime` in the response.
|
|
367
|
+
|
|
368
|
+
**Timeout:** 15 s by default, adjustable per request with the `X-Request-Timeout` header. When the
|
|
369
|
+
trade server does not answer in time: The operation may still be completed by the server
|
|
370
|
+
(`X-Request-Outcome: unknown`): check its result before repeating it.
|
|
371
|
+
|
|
372
|
+
Args:
|
|
373
|
+
trade_platform (UUID):
|
|
374
|
+
x_request_timeout (float | Unset):
|
|
375
|
+
body (MT4ServerTime | Unset): v2 DTO for the MT4 server's per-hour access matrix
|
|
376
|
+
(wrapper's
|
|
377
|
+
`ConTime.Days` field). 168-element flat array; each element
|
|
378
|
+
is `0` (denied) or `1` (allowed) for one hour of the
|
|
379
|
+
week. Layout: `index = day * 24 + hour`, day-of-week 0..6
|
|
380
|
+
matches MT4's native convention where day 0 = Sunday.
|
|
381
|
+
<br>
|
|
382
|
+
Example: `AccessHours[24..47]` covers Monday's 24 hours.
|
|
383
|
+
Internal `DaysControl` and `Reserved` wrapper fields
|
|
384
|
+
are not part of the v2 contract.
|
|
385
|
+
body (MT4ServerTime | Unset): v2 DTO for the MT4 server's per-hour access matrix
|
|
386
|
+
(wrapper's
|
|
387
|
+
`ConTime.Days` field). 168-element flat array; each element
|
|
388
|
+
is `0` (denied) or `1` (allowed) for one hour of the
|
|
389
|
+
week. Layout: `index = day * 24 + hour`, day-of-week 0..6
|
|
390
|
+
matches MT4's native convention where day 0 = Sunday.
|
|
391
|
+
<br>
|
|
392
|
+
Example: `AccessHours[24..47]` covers Monday's 24 hours.
|
|
393
|
+
Internal `DaysControl` and `Reserved` wrapper fields
|
|
394
|
+
are not part of the v2 contract.
|
|
395
|
+
body (MT4ServerTime | Unset): v2 DTO for the MT4 server's per-hour access matrix
|
|
396
|
+
(wrapper's
|
|
397
|
+
`ConTime.Days` field). 168-element flat array; each element
|
|
398
|
+
is `0` (denied) or `1` (allowed) for one hour of the
|
|
399
|
+
week. Layout: `index = day * 24 + hour`, day-of-week 0..6
|
|
400
|
+
matches MT4's native convention where day 0 = Sunday.
|
|
401
|
+
<br>
|
|
402
|
+
Example: `AccessHours[24..47]` covers Monday's 24 hours.
|
|
403
|
+
Internal `DaysControl` and `Reserved` wrapper fields
|
|
404
|
+
are not part of the v2 contract.
|
|
405
|
+
|
|
406
|
+
Raises:
|
|
407
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
408
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
409
|
+
|
|
410
|
+
Returns:
|
|
411
|
+
MT4ServerTimeApiResponse
|
|
412
|
+
"""
|
|
413
|
+
|
|
414
|
+
|
|
415
|
+
return (await asyncio_detailed(
|
|
416
|
+
trade_platform=trade_platform,
|
|
417
|
+
client=client,
|
|
418
|
+
body=body,
|
|
419
|
+
x_request_timeout=x_request_timeout,
|
|
420
|
+
|
|
421
|
+
)).parsed
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
""" Contains endpoint functions for accessing the API """
|
|
@@ -0,0 +1,274 @@
|
|
|
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.boolean_api_response import BooleanApiResponse
|
|
12
|
+
from ...types import UNSET, Unset
|
|
13
|
+
from typing import cast
|
|
14
|
+
from uuid import UUID
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
def _get_kwargs(
|
|
19
|
+
trade_platform: UUID,
|
|
20
|
+
group: str,
|
|
21
|
+
*,
|
|
22
|
+
x_request_timeout: float | Unset = UNSET,
|
|
23
|
+
|
|
24
|
+
) -> dict[str, Any]:
|
|
25
|
+
headers: dict[str, Any] = {}
|
|
26
|
+
if not isinstance(x_request_timeout, Unset):
|
|
27
|
+
headers["X-Request-Timeout"] = str(x_request_timeout)
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
_kwargs: dict[str, Any] = {
|
|
37
|
+
"method": "get",
|
|
38
|
+
"url": "/api/v2/MT4/{trade_platform}/EnsureGroupNameExist/{group}".format(trade_platform=quote(str(trade_platform), safe=""),group=quote(str(group), safe=""),),
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
_kwargs["headers"] = headers
|
|
43
|
+
return _kwargs
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
def _parse_response(*, client: AuthenticatedClient | Client, response: httpx.Response) -> BooleanApiResponse | None:
|
|
48
|
+
if response.status_code == 200:
|
|
49
|
+
response_200 = BooleanApiResponse.from_dict(response.json())
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
return response_200
|
|
54
|
+
|
|
55
|
+
if client.raise_on_unexpected_status:
|
|
56
|
+
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
57
|
+
else:
|
|
58
|
+
return None
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
def _build_response(*, client: AuthenticatedClient | Client, response: httpx.Response) -> Response[BooleanApiResponse]:
|
|
62
|
+
return Response(
|
|
63
|
+
status_code=HTTPStatus(response.status_code),
|
|
64
|
+
content=response.content,
|
|
65
|
+
headers=response.headers,
|
|
66
|
+
parsed=_parse_response(client=client, response=response),
|
|
67
|
+
)
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
def sync_detailed(
|
|
71
|
+
trade_platform: UUID,
|
|
72
|
+
group: str,
|
|
73
|
+
*,
|
|
74
|
+
client: AuthenticatedClient | Client,
|
|
75
|
+
x_request_timeout: float | Unset = UNSET,
|
|
76
|
+
|
|
77
|
+
) -> Response[BooleanApiResponse]:
|
|
78
|
+
r""" Check group exists
|
|
79
|
+
|
|
80
|
+
Checks whether a trading group exists on the connected MT4 server. Useful as a validation pre-flight
|
|
81
|
+
before creating users, moving users between groups, or wiring up automated provisioning.
|
|
82
|
+
|
|
83
|
+
Manager-live read. The wrapper's `EnsureGroupNameExist` helper
|
|
84
|
+
is internal/private, so this v2 endpoint re-implements the check
|
|
85
|
+
directly: enumerate the full group catalog via
|
|
86
|
+
`GroupsRequest` and look up the key. The same Manager request
|
|
87
|
+
is incurred either way; there is no cheaper \"exists\" call in the
|
|
88
|
+
MT4 ManagerAPI surface.
|
|
89
|
+
|
|
90
|
+
Returns `true` if the group is configured on the server,
|
|
91
|
+
`false` otherwise. Group lookup is case-sensitive (MT4 group
|
|
92
|
+
names are case-sensitive in the underlying API).
|
|
93
|
+
|
|
94
|
+
**Timeout:** 10 s by default, adjustable per request with the `X-Request-Timeout` header. When the
|
|
95
|
+
trade server does not answer in time: Nothing was changed; the request is safe to repeat.
|
|
96
|
+
|
|
97
|
+
Args:
|
|
98
|
+
trade_platform (UUID):
|
|
99
|
+
group (str):
|
|
100
|
+
x_request_timeout (float | Unset):
|
|
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[BooleanApiResponse]
|
|
108
|
+
"""
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
kwargs = _get_kwargs(
|
|
112
|
+
trade_platform=trade_platform,
|
|
113
|
+
group=group,
|
|
114
|
+
x_request_timeout=x_request_timeout,
|
|
115
|
+
|
|
116
|
+
)
|
|
117
|
+
|
|
118
|
+
response = client.get_httpx_client().request(
|
|
119
|
+
**kwargs,
|
|
120
|
+
)
|
|
121
|
+
|
|
122
|
+
return _build_response(client=client, response=response)
|
|
123
|
+
|
|
124
|
+
def sync(
|
|
125
|
+
trade_platform: UUID,
|
|
126
|
+
group: str,
|
|
127
|
+
*,
|
|
128
|
+
client: AuthenticatedClient | Client,
|
|
129
|
+
x_request_timeout: float | Unset = UNSET,
|
|
130
|
+
|
|
131
|
+
) -> BooleanApiResponse | None:
|
|
132
|
+
r""" Check group exists
|
|
133
|
+
|
|
134
|
+
Checks whether a trading group exists on the connected MT4 server. Useful as a validation pre-flight
|
|
135
|
+
before creating users, moving users between groups, or wiring up automated provisioning.
|
|
136
|
+
|
|
137
|
+
Manager-live read. The wrapper's `EnsureGroupNameExist` helper
|
|
138
|
+
is internal/private, so this v2 endpoint re-implements the check
|
|
139
|
+
directly: enumerate the full group catalog via
|
|
140
|
+
`GroupsRequest` and look up the key. The same Manager request
|
|
141
|
+
is incurred either way; there is no cheaper \"exists\" call in the
|
|
142
|
+
MT4 ManagerAPI surface.
|
|
143
|
+
|
|
144
|
+
Returns `true` if the group is configured on the server,
|
|
145
|
+
`false` otherwise. Group lookup is case-sensitive (MT4 group
|
|
146
|
+
names are case-sensitive in the underlying API).
|
|
147
|
+
|
|
148
|
+
**Timeout:** 10 s by default, adjustable per request with the `X-Request-Timeout` header. When the
|
|
149
|
+
trade server does not answer in time: Nothing was changed; the request is safe to repeat.
|
|
150
|
+
|
|
151
|
+
Args:
|
|
152
|
+
trade_platform (UUID):
|
|
153
|
+
group (str):
|
|
154
|
+
x_request_timeout (float | Unset):
|
|
155
|
+
|
|
156
|
+
Raises:
|
|
157
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
158
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
159
|
+
|
|
160
|
+
Returns:
|
|
161
|
+
BooleanApiResponse
|
|
162
|
+
"""
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
return sync_detailed(
|
|
166
|
+
trade_platform=trade_platform,
|
|
167
|
+
group=group,
|
|
168
|
+
client=client,
|
|
169
|
+
x_request_timeout=x_request_timeout,
|
|
170
|
+
|
|
171
|
+
).parsed
|
|
172
|
+
|
|
173
|
+
async def asyncio_detailed(
|
|
174
|
+
trade_platform: UUID,
|
|
175
|
+
group: str,
|
|
176
|
+
*,
|
|
177
|
+
client: AuthenticatedClient | Client,
|
|
178
|
+
x_request_timeout: float | Unset = UNSET,
|
|
179
|
+
|
|
180
|
+
) -> Response[BooleanApiResponse]:
|
|
181
|
+
r""" Check group exists
|
|
182
|
+
|
|
183
|
+
Checks whether a trading group exists on the connected MT4 server. Useful as a validation pre-flight
|
|
184
|
+
before creating users, moving users between groups, or wiring up automated provisioning.
|
|
185
|
+
|
|
186
|
+
Manager-live read. The wrapper's `EnsureGroupNameExist` helper
|
|
187
|
+
is internal/private, so this v2 endpoint re-implements the check
|
|
188
|
+
directly: enumerate the full group catalog via
|
|
189
|
+
`GroupsRequest` and look up the key. The same Manager request
|
|
190
|
+
is incurred either way; there is no cheaper \"exists\" call in the
|
|
191
|
+
MT4 ManagerAPI surface.
|
|
192
|
+
|
|
193
|
+
Returns `true` if the group is configured on the server,
|
|
194
|
+
`false` otherwise. Group lookup is case-sensitive (MT4 group
|
|
195
|
+
names are case-sensitive in the underlying API).
|
|
196
|
+
|
|
197
|
+
**Timeout:** 10 s by default, adjustable per request with the `X-Request-Timeout` header. When the
|
|
198
|
+
trade server does not answer in time: Nothing was changed; the request is safe to repeat.
|
|
199
|
+
|
|
200
|
+
Args:
|
|
201
|
+
trade_platform (UUID):
|
|
202
|
+
group (str):
|
|
203
|
+
x_request_timeout (float | Unset):
|
|
204
|
+
|
|
205
|
+
Raises:
|
|
206
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
207
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
208
|
+
|
|
209
|
+
Returns:
|
|
210
|
+
Response[BooleanApiResponse]
|
|
211
|
+
"""
|
|
212
|
+
|
|
213
|
+
|
|
214
|
+
kwargs = _get_kwargs(
|
|
215
|
+
trade_platform=trade_platform,
|
|
216
|
+
group=group,
|
|
217
|
+
x_request_timeout=x_request_timeout,
|
|
218
|
+
|
|
219
|
+
)
|
|
220
|
+
|
|
221
|
+
response = await client.get_async_httpx_client().request(
|
|
222
|
+
**kwargs
|
|
223
|
+
)
|
|
224
|
+
|
|
225
|
+
return _build_response(client=client, response=response)
|
|
226
|
+
|
|
227
|
+
async def asyncio(
|
|
228
|
+
trade_platform: UUID,
|
|
229
|
+
group: str,
|
|
230
|
+
*,
|
|
231
|
+
client: AuthenticatedClient | Client,
|
|
232
|
+
x_request_timeout: float | Unset = UNSET,
|
|
233
|
+
|
|
234
|
+
) -> BooleanApiResponse | None:
|
|
235
|
+
r""" Check group exists
|
|
236
|
+
|
|
237
|
+
Checks whether a trading group exists on the connected MT4 server. Useful as a validation pre-flight
|
|
238
|
+
before creating users, moving users between groups, or wiring up automated provisioning.
|
|
239
|
+
|
|
240
|
+
Manager-live read. The wrapper's `EnsureGroupNameExist` helper
|
|
241
|
+
is internal/private, so this v2 endpoint re-implements the check
|
|
242
|
+
directly: enumerate the full group catalog via
|
|
243
|
+
`GroupsRequest` and look up the key. The same Manager request
|
|
244
|
+
is incurred either way; there is no cheaper \"exists\" call in the
|
|
245
|
+
MT4 ManagerAPI surface.
|
|
246
|
+
|
|
247
|
+
Returns `true` if the group is configured on the server,
|
|
248
|
+
`false` otherwise. Group lookup is case-sensitive (MT4 group
|
|
249
|
+
names are case-sensitive in the underlying API).
|
|
250
|
+
|
|
251
|
+
**Timeout:** 10 s by default, adjustable per request with the `X-Request-Timeout` header. When the
|
|
252
|
+
trade server does not answer in time: Nothing was changed; the request is safe to repeat.
|
|
253
|
+
|
|
254
|
+
Args:
|
|
255
|
+
trade_platform (UUID):
|
|
256
|
+
group (str):
|
|
257
|
+
x_request_timeout (float | Unset):
|
|
258
|
+
|
|
259
|
+
Raises:
|
|
260
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
261
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
262
|
+
|
|
263
|
+
Returns:
|
|
264
|
+
BooleanApiResponse
|
|
265
|
+
"""
|
|
266
|
+
|
|
267
|
+
|
|
268
|
+
return (await asyncio_detailed(
|
|
269
|
+
trade_platform=trade_platform,
|
|
270
|
+
group=group,
|
|
271
|
+
client=client,
|
|
272
|
+
x_request_timeout=x_request_timeout,
|
|
273
|
+
|
|
274
|
+
)).parsed
|