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,505 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from collections.abc import Mapping
|
|
4
|
+
from typing import Any, TypeVar, BinaryIO, TextIO, TYPE_CHECKING, Generator
|
|
5
|
+
|
|
6
|
+
from attrs import define as _attrs_define
|
|
7
|
+
from attrs import field as _attrs_field
|
|
8
|
+
|
|
9
|
+
from ..types import UNSET, Unset
|
|
10
|
+
|
|
11
|
+
from ..models.margin_controlling_type import MarginControllingType
|
|
12
|
+
from ..models.margin_mode import MarginMode
|
|
13
|
+
from ..models.news_mode import NewsMode
|
|
14
|
+
from ..models.otp_mode import OTPMode
|
|
15
|
+
from ..types import UNSET, Unset
|
|
16
|
+
from typing import cast
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
T = TypeVar("T", bound="MT4Group")
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
@_attrs_define
|
|
28
|
+
class MT4Group:
|
|
29
|
+
""" v2 DTO describing a trading group configuration. Curated subset of the
|
|
30
|
+
wrapper's `ConGroup` — exposes the configuration fields that callers
|
|
31
|
+
need to inspect margin/leverage/rights settings.
|
|
32
|
+
|
|
33
|
+
Deliberately omitted from v2 (vs v1's full ConGroup shape):
|
|
34
|
+
* `SmtpServer`, `SmtpLogin`, `SmtpPassword` — SMTP
|
|
35
|
+
credentials must never cross the v2 boundary regardless of access
|
|
36
|
+
level. `SmtpServer` alone is dropped too because a server name
|
|
37
|
+
is rarely useful without its credentials and exposes infra topology.
|
|
38
|
+
* `Templates` — server-side filesystem path, irrelevant to API
|
|
39
|
+
consumers and a minor information-disclosure risk.
|
|
40
|
+
* `SecuritiesHash` — opaque byte[], wrapper bookkeeping.
|
|
41
|
+
* `Reserved`, `UnusedRights`, `SecGroups[32]`,
|
|
42
|
+
`SecMargins[128]` — reserved/internal arrays. The two nested
|
|
43
|
+
arrays (SecGroups, SecMargins) deserve their own dedicated v2
|
|
44
|
+
endpoints (`GroupSecGroupsGet/{group}`, `GroupSecMarginsGet/{group}`)
|
|
45
|
+
planned for Wave 3 — including them here would balloon the DTO.
|
|
46
|
+
* `NewsLanguages` (uint[]) and `NewsLanguagesTotal` —
|
|
47
|
+
rarely consumed; can be added later once the use case is clear.
|
|
48
|
+
|
|
49
|
+
Enums (`OTPMode`, `MarginMode`, `NewsMode`,
|
|
50
|
+
`MarginControllingType`) serialize as strings because
|
|
51
|
+
CPlugin.SaaSWebApps.WebAPI.Code.Json.V2JsonContext enables `UseStringEnumConverter`;
|
|
52
|
+
`GroupRights` is a flags string, the names of the set bits.
|
|
53
|
+
|
|
54
|
+
Attributes:
|
|
55
|
+
group (None | str | Unset): Group name (unique per platform, max 16 chars)
|
|
56
|
+
enable (int | Unset): 0 = group disabled, non-zero = enabled (accounts in this group can log in)
|
|
57
|
+
timeout (int | Unset): Trade confirmation timeout, seconds
|
|
58
|
+
otp_mode (OTPMode | Unset):
|
|
59
|
+
company (None | str | Unset): Company name shown on statements
|
|
60
|
+
signature (None | str | Unset): Statement signature line
|
|
61
|
+
support_page (None | str | Unset): Support page URL shown to clients
|
|
62
|
+
support_email (None | str | Unset): Support email shown to clients
|
|
63
|
+
copies (int | Unset): Number of statement copies sent to support address
|
|
64
|
+
reports (int | Unset): 0 = statements disabled, non-zero = nightly statements enabled
|
|
65
|
+
default_leverage (int | Unset): Default leverage applied when an account omits its own leverage
|
|
66
|
+
default_deposit (float | Unset): Default deposit applied when an account omits its own balance
|
|
67
|
+
max_securities (int | Unset): Max simultaneously open securities
|
|
68
|
+
sec_margins_total (int | Unset): Count of special securities settings (SecMargins) in use
|
|
69
|
+
currency (None | str | Unset): Deposit currency (e.g. "USD")
|
|
70
|
+
credit (float | Unset): Virtual credit applied to the group's accounts
|
|
71
|
+
margin_call (int | Unset): Margin call threshold (percent of equity)
|
|
72
|
+
margin_mode (MarginMode | Unset):
|
|
73
|
+
margin_stopout (int | Unset): Stop-out threshold
|
|
74
|
+
interest_rate (float | Unset): Annual interest rate (percent)
|
|
75
|
+
use_swap (int | Unset): 0 = no rollovers, non-zero = use rollovers and interest rate
|
|
76
|
+
news_mode (NewsMode | Unset):
|
|
77
|
+
group_rights (str | Unset): Flags: names of the set bits joined by ", " ("Signals, Trailing"), "None" when none
|
|
78
|
+
is set; a set bit without a name is "Bit<n>" (bit number). Bits: Signals = 0x1, Trailing = 0x2, Advisor = 0x4,
|
|
79
|
+
Expiration = 0x8, SignalAll = 0x10, SignalsOwn = 0x20, RiskWarning = 0x40, ForcedOTPUsage = 0x80. Example:
|
|
80
|
+
Signals, Trailing.
|
|
81
|
+
check_ie_prices (int | Unset): 0 = no IE check, non-zero = check Instant Execution prices
|
|
82
|
+
max_positions (int | Unset): Maximum simultaneous orders and open positions
|
|
83
|
+
close_reopen (int | Unset): 0 = standard close, non-zero = close-and-reopen mode
|
|
84
|
+
hedge_prohibited (int | Unset): 0 = hedging allowed, non-zero = hedging prohibited
|
|
85
|
+
close_fifo (int | Unset): 0 = LIFO, non-zero = FIFO close rule
|
|
86
|
+
hedge_large_leg (int | Unset): 0 = standard hedge, non-zero = treat large hedged leg specially
|
|
87
|
+
margin_controlling_type (MarginControllingType | Unset):
|
|
88
|
+
archive_period (int | Unset): Inactivity period (days) before account moves to archive
|
|
89
|
+
archive_max_balance (int | Unset): Maximum balance under which an account is eligible for archiving
|
|
90
|
+
stopout_skip_hedged (int | Unset): 0 = include hedged accounts in stop-out checks, non-zero = skip them
|
|
91
|
+
archive_pending_period (int | Unset): Pending orders clean-up period (days)
|
|
92
|
+
"""
|
|
93
|
+
|
|
94
|
+
group: None | str | Unset = UNSET
|
|
95
|
+
enable: int | Unset = UNSET
|
|
96
|
+
timeout: int | Unset = UNSET
|
|
97
|
+
otp_mode: OTPMode | Unset = UNSET
|
|
98
|
+
company: None | str | Unset = UNSET
|
|
99
|
+
signature: None | str | Unset = UNSET
|
|
100
|
+
support_page: None | str | Unset = UNSET
|
|
101
|
+
support_email: None | str | Unset = UNSET
|
|
102
|
+
copies: int | Unset = UNSET
|
|
103
|
+
reports: int | Unset = UNSET
|
|
104
|
+
default_leverage: int | Unset = UNSET
|
|
105
|
+
default_deposit: float | Unset = UNSET
|
|
106
|
+
max_securities: int | Unset = UNSET
|
|
107
|
+
sec_margins_total: int | Unset = UNSET
|
|
108
|
+
currency: None | str | Unset = UNSET
|
|
109
|
+
credit: float | Unset = UNSET
|
|
110
|
+
margin_call: int | Unset = UNSET
|
|
111
|
+
margin_mode: MarginMode | Unset = UNSET
|
|
112
|
+
margin_stopout: int | Unset = UNSET
|
|
113
|
+
interest_rate: float | Unset = UNSET
|
|
114
|
+
use_swap: int | Unset = UNSET
|
|
115
|
+
news_mode: NewsMode | Unset = UNSET
|
|
116
|
+
group_rights: str | Unset = UNSET
|
|
117
|
+
check_ie_prices: int | Unset = UNSET
|
|
118
|
+
max_positions: int | Unset = UNSET
|
|
119
|
+
close_reopen: int | Unset = UNSET
|
|
120
|
+
hedge_prohibited: int | Unset = UNSET
|
|
121
|
+
close_fifo: int | Unset = UNSET
|
|
122
|
+
hedge_large_leg: int | Unset = UNSET
|
|
123
|
+
margin_controlling_type: MarginControllingType | Unset = UNSET
|
|
124
|
+
archive_period: int | Unset = UNSET
|
|
125
|
+
archive_max_balance: int | Unset = UNSET
|
|
126
|
+
stopout_skip_hedged: int | Unset = UNSET
|
|
127
|
+
archive_pending_period: int | Unset = UNSET
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
def to_dict(self) -> dict[str, Any]:
|
|
134
|
+
group: None | str | Unset
|
|
135
|
+
if isinstance(self.group, Unset):
|
|
136
|
+
group = UNSET
|
|
137
|
+
else:
|
|
138
|
+
group = self.group
|
|
139
|
+
|
|
140
|
+
enable = self.enable
|
|
141
|
+
|
|
142
|
+
timeout = self.timeout
|
|
143
|
+
|
|
144
|
+
otp_mode: str | Unset = UNSET
|
|
145
|
+
if not isinstance(self.otp_mode, Unset):
|
|
146
|
+
otp_mode = self.otp_mode.value
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
company: None | str | Unset
|
|
150
|
+
if isinstance(self.company, Unset):
|
|
151
|
+
company = UNSET
|
|
152
|
+
else:
|
|
153
|
+
company = self.company
|
|
154
|
+
|
|
155
|
+
signature: None | str | Unset
|
|
156
|
+
if isinstance(self.signature, Unset):
|
|
157
|
+
signature = UNSET
|
|
158
|
+
else:
|
|
159
|
+
signature = self.signature
|
|
160
|
+
|
|
161
|
+
support_page: None | str | Unset
|
|
162
|
+
if isinstance(self.support_page, Unset):
|
|
163
|
+
support_page = UNSET
|
|
164
|
+
else:
|
|
165
|
+
support_page = self.support_page
|
|
166
|
+
|
|
167
|
+
support_email: None | str | Unset
|
|
168
|
+
if isinstance(self.support_email, Unset):
|
|
169
|
+
support_email = UNSET
|
|
170
|
+
else:
|
|
171
|
+
support_email = self.support_email
|
|
172
|
+
|
|
173
|
+
copies = self.copies
|
|
174
|
+
|
|
175
|
+
reports = self.reports
|
|
176
|
+
|
|
177
|
+
default_leverage = self.default_leverage
|
|
178
|
+
|
|
179
|
+
default_deposit = self.default_deposit
|
|
180
|
+
|
|
181
|
+
max_securities = self.max_securities
|
|
182
|
+
|
|
183
|
+
sec_margins_total = self.sec_margins_total
|
|
184
|
+
|
|
185
|
+
currency: None | str | Unset
|
|
186
|
+
if isinstance(self.currency, Unset):
|
|
187
|
+
currency = UNSET
|
|
188
|
+
else:
|
|
189
|
+
currency = self.currency
|
|
190
|
+
|
|
191
|
+
credit = self.credit
|
|
192
|
+
|
|
193
|
+
margin_call = self.margin_call
|
|
194
|
+
|
|
195
|
+
margin_mode: str | Unset = UNSET
|
|
196
|
+
if not isinstance(self.margin_mode, Unset):
|
|
197
|
+
margin_mode = self.margin_mode.value
|
|
198
|
+
|
|
199
|
+
|
|
200
|
+
margin_stopout = self.margin_stopout
|
|
201
|
+
|
|
202
|
+
interest_rate = self.interest_rate
|
|
203
|
+
|
|
204
|
+
use_swap = self.use_swap
|
|
205
|
+
|
|
206
|
+
news_mode: str | Unset = UNSET
|
|
207
|
+
if not isinstance(self.news_mode, Unset):
|
|
208
|
+
news_mode = self.news_mode.value
|
|
209
|
+
|
|
210
|
+
|
|
211
|
+
group_rights = self.group_rights
|
|
212
|
+
|
|
213
|
+
check_ie_prices = self.check_ie_prices
|
|
214
|
+
|
|
215
|
+
max_positions = self.max_positions
|
|
216
|
+
|
|
217
|
+
close_reopen = self.close_reopen
|
|
218
|
+
|
|
219
|
+
hedge_prohibited = self.hedge_prohibited
|
|
220
|
+
|
|
221
|
+
close_fifo = self.close_fifo
|
|
222
|
+
|
|
223
|
+
hedge_large_leg = self.hedge_large_leg
|
|
224
|
+
|
|
225
|
+
margin_controlling_type: str | Unset = UNSET
|
|
226
|
+
if not isinstance(self.margin_controlling_type, Unset):
|
|
227
|
+
margin_controlling_type = self.margin_controlling_type.value
|
|
228
|
+
|
|
229
|
+
|
|
230
|
+
archive_period = self.archive_period
|
|
231
|
+
|
|
232
|
+
archive_max_balance = self.archive_max_balance
|
|
233
|
+
|
|
234
|
+
stopout_skip_hedged = self.stopout_skip_hedged
|
|
235
|
+
|
|
236
|
+
archive_pending_period = self.archive_pending_period
|
|
237
|
+
|
|
238
|
+
|
|
239
|
+
field_dict: dict[str, Any] = {}
|
|
240
|
+
|
|
241
|
+
field_dict.update({
|
|
242
|
+
})
|
|
243
|
+
if group is not UNSET:
|
|
244
|
+
field_dict["group"] = group
|
|
245
|
+
if enable is not UNSET:
|
|
246
|
+
field_dict["enable"] = enable
|
|
247
|
+
if timeout is not UNSET:
|
|
248
|
+
field_dict["timeout"] = timeout
|
|
249
|
+
if otp_mode is not UNSET:
|
|
250
|
+
field_dict["otpMode"] = otp_mode
|
|
251
|
+
if company is not UNSET:
|
|
252
|
+
field_dict["company"] = company
|
|
253
|
+
if signature is not UNSET:
|
|
254
|
+
field_dict["signature"] = signature
|
|
255
|
+
if support_page is not UNSET:
|
|
256
|
+
field_dict["supportPage"] = support_page
|
|
257
|
+
if support_email is not UNSET:
|
|
258
|
+
field_dict["supportEmail"] = support_email
|
|
259
|
+
if copies is not UNSET:
|
|
260
|
+
field_dict["copies"] = copies
|
|
261
|
+
if reports is not UNSET:
|
|
262
|
+
field_dict["reports"] = reports
|
|
263
|
+
if default_leverage is not UNSET:
|
|
264
|
+
field_dict["defaultLeverage"] = default_leverage
|
|
265
|
+
if default_deposit is not UNSET:
|
|
266
|
+
field_dict["defaultDeposit"] = default_deposit
|
|
267
|
+
if max_securities is not UNSET:
|
|
268
|
+
field_dict["maxSecurities"] = max_securities
|
|
269
|
+
if sec_margins_total is not UNSET:
|
|
270
|
+
field_dict["secMarginsTotal"] = sec_margins_total
|
|
271
|
+
if currency is not UNSET:
|
|
272
|
+
field_dict["currency"] = currency
|
|
273
|
+
if credit is not UNSET:
|
|
274
|
+
field_dict["credit"] = credit
|
|
275
|
+
if margin_call is not UNSET:
|
|
276
|
+
field_dict["marginCall"] = margin_call
|
|
277
|
+
if margin_mode is not UNSET:
|
|
278
|
+
field_dict["marginMode"] = margin_mode
|
|
279
|
+
if margin_stopout is not UNSET:
|
|
280
|
+
field_dict["marginStopout"] = margin_stopout
|
|
281
|
+
if interest_rate is not UNSET:
|
|
282
|
+
field_dict["interestRate"] = interest_rate
|
|
283
|
+
if use_swap is not UNSET:
|
|
284
|
+
field_dict["useSwap"] = use_swap
|
|
285
|
+
if news_mode is not UNSET:
|
|
286
|
+
field_dict["newsMode"] = news_mode
|
|
287
|
+
if group_rights is not UNSET:
|
|
288
|
+
field_dict["groupRights"] = group_rights
|
|
289
|
+
if check_ie_prices is not UNSET:
|
|
290
|
+
field_dict["checkIEPrices"] = check_ie_prices
|
|
291
|
+
if max_positions is not UNSET:
|
|
292
|
+
field_dict["maxPositions"] = max_positions
|
|
293
|
+
if close_reopen is not UNSET:
|
|
294
|
+
field_dict["closeReopen"] = close_reopen
|
|
295
|
+
if hedge_prohibited is not UNSET:
|
|
296
|
+
field_dict["hedgeProhibited"] = hedge_prohibited
|
|
297
|
+
if close_fifo is not UNSET:
|
|
298
|
+
field_dict["closeFIFO"] = close_fifo
|
|
299
|
+
if hedge_large_leg is not UNSET:
|
|
300
|
+
field_dict["hedgeLargeLeg"] = hedge_large_leg
|
|
301
|
+
if margin_controlling_type is not UNSET:
|
|
302
|
+
field_dict["marginControllingType"] = margin_controlling_type
|
|
303
|
+
if archive_period is not UNSET:
|
|
304
|
+
field_dict["archivePeriod"] = archive_period
|
|
305
|
+
if archive_max_balance is not UNSET:
|
|
306
|
+
field_dict["archiveMaxBalance"] = archive_max_balance
|
|
307
|
+
if stopout_skip_hedged is not UNSET:
|
|
308
|
+
field_dict["stopoutSkipHedged"] = stopout_skip_hedged
|
|
309
|
+
if archive_pending_period is not UNSET:
|
|
310
|
+
field_dict["archivePendingPeriod"] = archive_pending_period
|
|
311
|
+
|
|
312
|
+
return field_dict
|
|
313
|
+
|
|
314
|
+
|
|
315
|
+
|
|
316
|
+
@classmethod
|
|
317
|
+
def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
|
|
318
|
+
d = dict(src_dict)
|
|
319
|
+
def _parse_group(data: object) -> None | str | Unset:
|
|
320
|
+
if data is None:
|
|
321
|
+
return data
|
|
322
|
+
if isinstance(data, Unset):
|
|
323
|
+
return data
|
|
324
|
+
return cast(None | str | Unset, data)
|
|
325
|
+
|
|
326
|
+
group = _parse_group(d.pop("group", UNSET))
|
|
327
|
+
|
|
328
|
+
|
|
329
|
+
enable = d.pop("enable", UNSET)
|
|
330
|
+
|
|
331
|
+
timeout = d.pop("timeout", UNSET)
|
|
332
|
+
|
|
333
|
+
_otp_mode = d.pop("otpMode", UNSET)
|
|
334
|
+
otp_mode: OTPMode | Unset
|
|
335
|
+
if isinstance(_otp_mode, Unset):
|
|
336
|
+
otp_mode = UNSET
|
|
337
|
+
else:
|
|
338
|
+
otp_mode = OTPMode(_otp_mode)
|
|
339
|
+
|
|
340
|
+
|
|
341
|
+
|
|
342
|
+
|
|
343
|
+
def _parse_company(data: object) -> None | str | Unset:
|
|
344
|
+
if data is None:
|
|
345
|
+
return data
|
|
346
|
+
if isinstance(data, Unset):
|
|
347
|
+
return data
|
|
348
|
+
return cast(None | str | Unset, data)
|
|
349
|
+
|
|
350
|
+
company = _parse_company(d.pop("company", UNSET))
|
|
351
|
+
|
|
352
|
+
|
|
353
|
+
def _parse_signature(data: object) -> None | str | Unset:
|
|
354
|
+
if data is None:
|
|
355
|
+
return data
|
|
356
|
+
if isinstance(data, Unset):
|
|
357
|
+
return data
|
|
358
|
+
return cast(None | str | Unset, data)
|
|
359
|
+
|
|
360
|
+
signature = _parse_signature(d.pop("signature", UNSET))
|
|
361
|
+
|
|
362
|
+
|
|
363
|
+
def _parse_support_page(data: object) -> None | str | Unset:
|
|
364
|
+
if data is None:
|
|
365
|
+
return data
|
|
366
|
+
if isinstance(data, Unset):
|
|
367
|
+
return data
|
|
368
|
+
return cast(None | str | Unset, data)
|
|
369
|
+
|
|
370
|
+
support_page = _parse_support_page(d.pop("supportPage", UNSET))
|
|
371
|
+
|
|
372
|
+
|
|
373
|
+
def _parse_support_email(data: object) -> None | str | Unset:
|
|
374
|
+
if data is None:
|
|
375
|
+
return data
|
|
376
|
+
if isinstance(data, Unset):
|
|
377
|
+
return data
|
|
378
|
+
return cast(None | str | Unset, data)
|
|
379
|
+
|
|
380
|
+
support_email = _parse_support_email(d.pop("supportEmail", UNSET))
|
|
381
|
+
|
|
382
|
+
|
|
383
|
+
copies = d.pop("copies", UNSET)
|
|
384
|
+
|
|
385
|
+
reports = d.pop("reports", UNSET)
|
|
386
|
+
|
|
387
|
+
default_leverage = d.pop("defaultLeverage", UNSET)
|
|
388
|
+
|
|
389
|
+
default_deposit = d.pop("defaultDeposit", UNSET)
|
|
390
|
+
|
|
391
|
+
max_securities = d.pop("maxSecurities", UNSET)
|
|
392
|
+
|
|
393
|
+
sec_margins_total = d.pop("secMarginsTotal", UNSET)
|
|
394
|
+
|
|
395
|
+
def _parse_currency(data: object) -> None | str | Unset:
|
|
396
|
+
if data is None:
|
|
397
|
+
return data
|
|
398
|
+
if isinstance(data, Unset):
|
|
399
|
+
return data
|
|
400
|
+
return cast(None | str | Unset, data)
|
|
401
|
+
|
|
402
|
+
currency = _parse_currency(d.pop("currency", UNSET))
|
|
403
|
+
|
|
404
|
+
|
|
405
|
+
credit = d.pop("credit", UNSET)
|
|
406
|
+
|
|
407
|
+
margin_call = d.pop("marginCall", UNSET)
|
|
408
|
+
|
|
409
|
+
_margin_mode = d.pop("marginMode", UNSET)
|
|
410
|
+
margin_mode: MarginMode | Unset
|
|
411
|
+
if isinstance(_margin_mode, Unset):
|
|
412
|
+
margin_mode = UNSET
|
|
413
|
+
else:
|
|
414
|
+
margin_mode = MarginMode(_margin_mode)
|
|
415
|
+
|
|
416
|
+
|
|
417
|
+
|
|
418
|
+
|
|
419
|
+
margin_stopout = d.pop("marginStopout", UNSET)
|
|
420
|
+
|
|
421
|
+
interest_rate = d.pop("interestRate", UNSET)
|
|
422
|
+
|
|
423
|
+
use_swap = d.pop("useSwap", UNSET)
|
|
424
|
+
|
|
425
|
+
_news_mode = d.pop("newsMode", UNSET)
|
|
426
|
+
news_mode: NewsMode | Unset
|
|
427
|
+
if isinstance(_news_mode, Unset):
|
|
428
|
+
news_mode = UNSET
|
|
429
|
+
else:
|
|
430
|
+
news_mode = NewsMode(_news_mode)
|
|
431
|
+
|
|
432
|
+
|
|
433
|
+
|
|
434
|
+
|
|
435
|
+
group_rights = d.pop("groupRights", UNSET)
|
|
436
|
+
|
|
437
|
+
check_ie_prices = d.pop("checkIEPrices", UNSET)
|
|
438
|
+
|
|
439
|
+
max_positions = d.pop("maxPositions", UNSET)
|
|
440
|
+
|
|
441
|
+
close_reopen = d.pop("closeReopen", UNSET)
|
|
442
|
+
|
|
443
|
+
hedge_prohibited = d.pop("hedgeProhibited", UNSET)
|
|
444
|
+
|
|
445
|
+
close_fifo = d.pop("closeFIFO", UNSET)
|
|
446
|
+
|
|
447
|
+
hedge_large_leg = d.pop("hedgeLargeLeg", UNSET)
|
|
448
|
+
|
|
449
|
+
_margin_controlling_type = d.pop("marginControllingType", UNSET)
|
|
450
|
+
margin_controlling_type: MarginControllingType | Unset
|
|
451
|
+
if isinstance(_margin_controlling_type, Unset):
|
|
452
|
+
margin_controlling_type = UNSET
|
|
453
|
+
else:
|
|
454
|
+
margin_controlling_type = MarginControllingType(_margin_controlling_type)
|
|
455
|
+
|
|
456
|
+
|
|
457
|
+
|
|
458
|
+
|
|
459
|
+
archive_period = d.pop("archivePeriod", UNSET)
|
|
460
|
+
|
|
461
|
+
archive_max_balance = d.pop("archiveMaxBalance", UNSET)
|
|
462
|
+
|
|
463
|
+
stopout_skip_hedged = d.pop("stopoutSkipHedged", UNSET)
|
|
464
|
+
|
|
465
|
+
archive_pending_period = d.pop("archivePendingPeriod", UNSET)
|
|
466
|
+
|
|
467
|
+
mt4_group = cls(
|
|
468
|
+
group=group,
|
|
469
|
+
enable=enable,
|
|
470
|
+
timeout=timeout,
|
|
471
|
+
otp_mode=otp_mode,
|
|
472
|
+
company=company,
|
|
473
|
+
signature=signature,
|
|
474
|
+
support_page=support_page,
|
|
475
|
+
support_email=support_email,
|
|
476
|
+
copies=copies,
|
|
477
|
+
reports=reports,
|
|
478
|
+
default_leverage=default_leverage,
|
|
479
|
+
default_deposit=default_deposit,
|
|
480
|
+
max_securities=max_securities,
|
|
481
|
+
sec_margins_total=sec_margins_total,
|
|
482
|
+
currency=currency,
|
|
483
|
+
credit=credit,
|
|
484
|
+
margin_call=margin_call,
|
|
485
|
+
margin_mode=margin_mode,
|
|
486
|
+
margin_stopout=margin_stopout,
|
|
487
|
+
interest_rate=interest_rate,
|
|
488
|
+
use_swap=use_swap,
|
|
489
|
+
news_mode=news_mode,
|
|
490
|
+
group_rights=group_rights,
|
|
491
|
+
check_ie_prices=check_ie_prices,
|
|
492
|
+
max_positions=max_positions,
|
|
493
|
+
close_reopen=close_reopen,
|
|
494
|
+
hedge_prohibited=hedge_prohibited,
|
|
495
|
+
close_fifo=close_fifo,
|
|
496
|
+
hedge_large_leg=hedge_large_leg,
|
|
497
|
+
margin_controlling_type=margin_controlling_type,
|
|
498
|
+
archive_period=archive_period,
|
|
499
|
+
archive_max_balance=archive_max_balance,
|
|
500
|
+
stopout_skip_hedged=stopout_skip_hedged,
|
|
501
|
+
archive_pending_period=archive_pending_period,
|
|
502
|
+
)
|
|
503
|
+
|
|
504
|
+
return mt4_group
|
|
505
|
+
|
|
@@ -0,0 +1,193 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from collections.abc import Mapping
|
|
4
|
+
from typing import Any, TypeVar, BinaryIO, TextIO, TYPE_CHECKING, Generator
|
|
5
|
+
|
|
6
|
+
from attrs import define as _attrs_define
|
|
7
|
+
from attrs import field as _attrs_field
|
|
8
|
+
|
|
9
|
+
from ..types import UNSET, Unset
|
|
10
|
+
|
|
11
|
+
from ..types import UNSET, Unset
|
|
12
|
+
from typing import cast
|
|
13
|
+
|
|
14
|
+
if TYPE_CHECKING:
|
|
15
|
+
from ..models.api_error import ApiError
|
|
16
|
+
from ..models.api_meta import ApiMeta
|
|
17
|
+
from ..models.mt4_group import MT4Group
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
T = TypeVar("T", bound="MT4GroupApiResponse")
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
@_attrs_define
|
|
28
|
+
class MT4GroupApiResponse:
|
|
29
|
+
""" Unified v2 response envelope: data is the payload (null on error); error is the
|
|
30
|
+
error object (null on success, always serialised); meta contains response metadata
|
|
31
|
+
(activityId and optional paging). HTTP status is always 200.
|
|
32
|
+
|
|
33
|
+
Attributes:
|
|
34
|
+
data (MT4Group | None | Unset): v2 DTO describing a trading group configuration. Curated subset of the
|
|
35
|
+
wrapper's `ConGroup` — exposes the configuration fields that callers
|
|
36
|
+
need to inspect margin/leverage/rights settings.
|
|
37
|
+
|
|
38
|
+
Deliberately omitted from v2 (vs v1's full ConGroup shape):
|
|
39
|
+
* `SmtpServer`, `SmtpLogin`, `SmtpPassword` — SMTP
|
|
40
|
+
credentials must never cross the v2 boundary regardless of access
|
|
41
|
+
level. `SmtpServer` alone is dropped too because a server name
|
|
42
|
+
is rarely useful without its credentials and exposes infra topology.
|
|
43
|
+
* `Templates` — server-side filesystem path, irrelevant to API
|
|
44
|
+
consumers and a minor information-disclosure risk.
|
|
45
|
+
* `SecuritiesHash` — opaque byte[], wrapper bookkeeping.
|
|
46
|
+
* `Reserved`, `UnusedRights`, `SecGroups[32]`,
|
|
47
|
+
`SecMargins[128]` — reserved/internal arrays. The two nested
|
|
48
|
+
arrays (SecGroups, SecMargins) deserve their own dedicated v2
|
|
49
|
+
endpoints (`GroupSecGroupsGet/{group}`, `GroupSecMarginsGet/{group}`)
|
|
50
|
+
planned for Wave 3 — including them here would balloon the DTO.
|
|
51
|
+
* `NewsLanguages` (uint[]) and `NewsLanguagesTotal` —
|
|
52
|
+
rarely consumed; can be added later once the use case is clear.
|
|
53
|
+
|
|
54
|
+
Enums (`OTPMode`, `MarginMode`, `NewsMode`,
|
|
55
|
+
`MarginControllingType`) serialize as strings because
|
|
56
|
+
CPlugin.SaaSWebApps.WebAPI.Code.Json.V2JsonContext enables `UseStringEnumConverter`;
|
|
57
|
+
`GroupRights` is a flags string, the names of the set bits.
|
|
58
|
+
error (ApiError | None | Unset): v2 error body. Code is the stable transport error code; ManagerCode is the raw
|
|
59
|
+
MT4
|
|
60
|
+
ResultCode (serialized as a string for a known enum member, or as a number for an
|
|
61
|
+
unrecognised value returned by MT4); Message is a human-readable description.
|
|
62
|
+
meta (ApiMeta | None | Unset): Response metadata. ActivityId is the W3C trace-id for correlation in Seq/SigNoz.
|
|
63
|
+
Paging is present only on paginated list responses; otherwise it is omitted —
|
|
64
|
+
the global JSON context policy serialises null fields, so we override that here
|
|
65
|
+
with System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull.
|
|
66
|
+
"""
|
|
67
|
+
|
|
68
|
+
data: MT4Group | None | Unset = UNSET
|
|
69
|
+
error: ApiError | None | Unset = UNSET
|
|
70
|
+
meta: ApiMeta | None | Unset = UNSET
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
def to_dict(self) -> dict[str, Any]:
|
|
77
|
+
from ..models.api_error import ApiError
|
|
78
|
+
from ..models.api_meta import ApiMeta
|
|
79
|
+
from ..models.mt4_group import MT4Group
|
|
80
|
+
data: dict[str, Any] | None | Unset
|
|
81
|
+
if isinstance(self.data, Unset):
|
|
82
|
+
data = UNSET
|
|
83
|
+
elif isinstance(self.data, MT4Group):
|
|
84
|
+
data = self.data.to_dict()
|
|
85
|
+
else:
|
|
86
|
+
data = self.data
|
|
87
|
+
|
|
88
|
+
error: dict[str, Any] | None | Unset
|
|
89
|
+
if isinstance(self.error, Unset):
|
|
90
|
+
error = UNSET
|
|
91
|
+
elif isinstance(self.error, ApiError):
|
|
92
|
+
error = self.error.to_dict()
|
|
93
|
+
else:
|
|
94
|
+
error = self.error
|
|
95
|
+
|
|
96
|
+
meta: dict[str, Any] | None | Unset
|
|
97
|
+
if isinstance(self.meta, Unset):
|
|
98
|
+
meta = UNSET
|
|
99
|
+
elif isinstance(self.meta, ApiMeta):
|
|
100
|
+
meta = self.meta.to_dict()
|
|
101
|
+
else:
|
|
102
|
+
meta = self.meta
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
field_dict: dict[str, Any] = {}
|
|
106
|
+
|
|
107
|
+
field_dict.update({
|
|
108
|
+
})
|
|
109
|
+
if data is not UNSET:
|
|
110
|
+
field_dict["data"] = data
|
|
111
|
+
if error is not UNSET:
|
|
112
|
+
field_dict["error"] = error
|
|
113
|
+
if meta is not UNSET:
|
|
114
|
+
field_dict["meta"] = meta
|
|
115
|
+
|
|
116
|
+
return field_dict
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
@classmethod
|
|
121
|
+
def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
|
|
122
|
+
from ..models.api_error import ApiError
|
|
123
|
+
from ..models.api_meta import ApiMeta
|
|
124
|
+
from ..models.mt4_group import MT4Group
|
|
125
|
+
d = dict(src_dict)
|
|
126
|
+
def _parse_data(data: object) -> MT4Group | None | Unset:
|
|
127
|
+
if data is None:
|
|
128
|
+
return data
|
|
129
|
+
if isinstance(data, Unset):
|
|
130
|
+
return data
|
|
131
|
+
try:
|
|
132
|
+
if not isinstance(data, dict):
|
|
133
|
+
raise TypeError()
|
|
134
|
+
data_type_1 = MT4Group.from_dict(data)
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
return data_type_1
|
|
139
|
+
except (TypeError, ValueError, AttributeError, KeyError):
|
|
140
|
+
pass
|
|
141
|
+
return cast(MT4Group | None | Unset, data)
|
|
142
|
+
|
|
143
|
+
data = _parse_data(d.pop("data", UNSET))
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
def _parse_error(data: object) -> ApiError | None | Unset:
|
|
147
|
+
if data is None:
|
|
148
|
+
return data
|
|
149
|
+
if isinstance(data, Unset):
|
|
150
|
+
return data
|
|
151
|
+
try:
|
|
152
|
+
if not isinstance(data, dict):
|
|
153
|
+
raise TypeError()
|
|
154
|
+
error_type_1 = ApiError.from_dict(data)
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
return error_type_1
|
|
159
|
+
except (TypeError, ValueError, AttributeError, KeyError):
|
|
160
|
+
pass
|
|
161
|
+
return cast(ApiError | None | Unset, data)
|
|
162
|
+
|
|
163
|
+
error = _parse_error(d.pop("error", UNSET))
|
|
164
|
+
|
|
165
|
+
|
|
166
|
+
def _parse_meta(data: object) -> ApiMeta | None | Unset:
|
|
167
|
+
if data is None:
|
|
168
|
+
return data
|
|
169
|
+
if isinstance(data, Unset):
|
|
170
|
+
return data
|
|
171
|
+
try:
|
|
172
|
+
if not isinstance(data, dict):
|
|
173
|
+
raise TypeError()
|
|
174
|
+
meta_type_1 = ApiMeta.from_dict(data)
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
return meta_type_1
|
|
179
|
+
except (TypeError, ValueError, AttributeError, KeyError):
|
|
180
|
+
pass
|
|
181
|
+
return cast(ApiMeta | None | Unset, data)
|
|
182
|
+
|
|
183
|
+
meta = _parse_meta(d.pop("meta", UNSET))
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
mt4_group_api_response = cls(
|
|
187
|
+
data=data,
|
|
188
|
+
error=error,
|
|
189
|
+
meta=meta,
|
|
190
|
+
)
|
|
191
|
+
|
|
192
|
+
return mt4_group_api_response
|
|
193
|
+
|