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,752 @@
|
|
|
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
|
+
import datetime
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
T = TypeVar("T", bound="MT5User")
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
@_attrs_define
|
|
25
|
+
class MT5User:
|
|
26
|
+
""" MT5 user, v2 read DTO — full field set (A4 expansion). Includes all editable
|
|
27
|
+
fields mirrored from MT5UserUpdate plus read-only financial/metadata fields.
|
|
28
|
+
`Rights` is a flags string: the names of the set bits, `"Enabled, Password"`.
|
|
29
|
+
|
|
30
|
+
Attributes:
|
|
31
|
+
login (int | Unset): User login (identity, read-only).
|
|
32
|
+
group (None | str | Unset): User group name.
|
|
33
|
+
name (None | str | Unset): Full display name of the account holder.
|
|
34
|
+
company (None | str | Unset): Company or organisation name.
|
|
35
|
+
country (None | str | Unset): Client country.
|
|
36
|
+
city (None | str | Unset): Client city.
|
|
37
|
+
state (None | str | Unset): Client state or province.
|
|
38
|
+
zip_code (None | str | Unset): Client postal code.
|
|
39
|
+
phone (None | str | Unset): Client phone number.
|
|
40
|
+
e_mail (None | str | Unset): Client email address.
|
|
41
|
+
comment (None | str | Unset): Internal comment on the account.
|
|
42
|
+
color (int | Unset): Colour tag assigned to the account in MT5 Manager (ARGB uint).
|
|
43
|
+
leverage (int | Unset): Account leverage (e.g. 100 = 1:100).
|
|
44
|
+
account (None | str | Unset): Account ID string (external account identifier).
|
|
45
|
+
language (int | Unset): Client language code (MT5 locale uint).
|
|
46
|
+
address (None | str | Unset): Client postal/physical address.
|
|
47
|
+
id (None | str | Unset): Client document ID (passport, national ID, etc.).
|
|
48
|
+
status (None | str | Unset): Client KYC / account status label.
|
|
49
|
+
agent (int | Unset): Introducing agent login.
|
|
50
|
+
lead_campaign (None | str | Unset): Marketing lead campaign name.
|
|
51
|
+
lead_source (None | str | Unset): Marketing lead source name.
|
|
52
|
+
client_id (int | Unset): External CRM client ID.
|
|
53
|
+
first_name (None | str | Unset): Given name (first name).
|
|
54
|
+
last_name (None | str | Unset): Family name (last name).
|
|
55
|
+
middle_name (None | str | Unset): Patronymic / middle name.
|
|
56
|
+
rights (str | Unset): MT5 user permission flags. Values mirror CIMTUser.EnUsersRights.<br/>Flags: names of the
|
|
57
|
+
set bits joined by ", " ("Enabled, Password"), "None" when none is set; a set bit without a name is "Bit<n>"
|
|
58
|
+
(bit number). Bits: Enabled = 0x1, Password = 0x2, TradeDisabled = 0x4, Investor = 0x8, Confirmed = 0x10,
|
|
59
|
+
Trailing = 0x20, Expert = 0x40, Obsolete = 0x80, Reports = 0x100, Readonly = 0x200, ResetPass = 0x400,
|
|
60
|
+
OTPEnabled = 0x800, SponsoredHosting = 0x2000, APIEnabled = 0x4000, PushNotification = 0x8000, Technical =
|
|
61
|
+
0x10000, ExcludeReports = 0x20000. Example: Enabled, Password.
|
|
62
|
+
cert_serial_number (int | Unset): SSL certificate serial number (read-only).
|
|
63
|
+
registration (datetime.datetime | None | Unset): Account registration timestamp (UTC). Null when not set (unix
|
|
64
|
+
0).
|
|
65
|
+
last_access (datetime.datetime | None | Unset): Last login timestamp (UTC). Null when not set.
|
|
66
|
+
last_pass_change (datetime.datetime | None | Unset): Last password change timestamp (UTC). Null when not set.
|
|
67
|
+
last_ip (None | str | Unset): Last known client IP address.
|
|
68
|
+
balance (float | Unset): Current account balance.
|
|
69
|
+
credit (float | Unset): Current credit facility amount.
|
|
70
|
+
interest_rate (float | Unset): Annual interest rate on credit.
|
|
71
|
+
commission_daily (float | Unset): Accumulated commission for the current day.
|
|
72
|
+
commission_monthly (float | Unset): Accumulated commission for the current month.
|
|
73
|
+
commission_agent_daily (float | Unset): Agent commission accrued today.
|
|
74
|
+
commission_agent_monthly (float | Unset): Agent commission accrued this month.
|
|
75
|
+
balance_prev_day (float | Unset): Balance at end of previous trading day.
|
|
76
|
+
balance_prev_month (float | Unset): Balance at end of previous calendar month.
|
|
77
|
+
equity_prev_day (float | Unset): Equity at end of previous trading day.
|
|
78
|
+
equity_prev_month (float | Unset): Equity at end of previous calendar month.
|
|
79
|
+
"""
|
|
80
|
+
|
|
81
|
+
login: int | Unset = UNSET
|
|
82
|
+
group: None | str | Unset = UNSET
|
|
83
|
+
name: None | str | Unset = UNSET
|
|
84
|
+
company: None | str | Unset = UNSET
|
|
85
|
+
country: None | str | Unset = UNSET
|
|
86
|
+
city: None | str | Unset = UNSET
|
|
87
|
+
state: None | str | Unset = UNSET
|
|
88
|
+
zip_code: None | str | Unset = UNSET
|
|
89
|
+
phone: None | str | Unset = UNSET
|
|
90
|
+
e_mail: None | str | Unset = UNSET
|
|
91
|
+
comment: None | str | Unset = UNSET
|
|
92
|
+
color: int | Unset = UNSET
|
|
93
|
+
leverage: int | Unset = UNSET
|
|
94
|
+
account: None | str | Unset = UNSET
|
|
95
|
+
language: int | Unset = UNSET
|
|
96
|
+
address: None | str | Unset = UNSET
|
|
97
|
+
id: None | str | Unset = UNSET
|
|
98
|
+
status: None | str | Unset = UNSET
|
|
99
|
+
agent: int | Unset = UNSET
|
|
100
|
+
lead_campaign: None | str | Unset = UNSET
|
|
101
|
+
lead_source: None | str | Unset = UNSET
|
|
102
|
+
client_id: int | Unset = UNSET
|
|
103
|
+
first_name: None | str | Unset = UNSET
|
|
104
|
+
last_name: None | str | Unset = UNSET
|
|
105
|
+
middle_name: None | str | Unset = UNSET
|
|
106
|
+
rights: str | Unset = UNSET
|
|
107
|
+
cert_serial_number: int | Unset = UNSET
|
|
108
|
+
registration: datetime.datetime | None | Unset = UNSET
|
|
109
|
+
last_access: datetime.datetime | None | Unset = UNSET
|
|
110
|
+
last_pass_change: datetime.datetime | None | Unset = UNSET
|
|
111
|
+
last_ip: None | str | Unset = UNSET
|
|
112
|
+
balance: float | Unset = UNSET
|
|
113
|
+
credit: float | Unset = UNSET
|
|
114
|
+
interest_rate: float | Unset = UNSET
|
|
115
|
+
commission_daily: float | Unset = UNSET
|
|
116
|
+
commission_monthly: float | Unset = UNSET
|
|
117
|
+
commission_agent_daily: float | Unset = UNSET
|
|
118
|
+
commission_agent_monthly: float | Unset = UNSET
|
|
119
|
+
balance_prev_day: float | Unset = UNSET
|
|
120
|
+
balance_prev_month: float | Unset = UNSET
|
|
121
|
+
equity_prev_day: float | Unset = UNSET
|
|
122
|
+
equity_prev_month: float | Unset = UNSET
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
def to_dict(self) -> dict[str, Any]:
|
|
129
|
+
login = self.login
|
|
130
|
+
|
|
131
|
+
group: None | str | Unset
|
|
132
|
+
if isinstance(self.group, Unset):
|
|
133
|
+
group = UNSET
|
|
134
|
+
else:
|
|
135
|
+
group = self.group
|
|
136
|
+
|
|
137
|
+
name: None | str | Unset
|
|
138
|
+
if isinstance(self.name, Unset):
|
|
139
|
+
name = UNSET
|
|
140
|
+
else:
|
|
141
|
+
name = self.name
|
|
142
|
+
|
|
143
|
+
company: None | str | Unset
|
|
144
|
+
if isinstance(self.company, Unset):
|
|
145
|
+
company = UNSET
|
|
146
|
+
else:
|
|
147
|
+
company = self.company
|
|
148
|
+
|
|
149
|
+
country: None | str | Unset
|
|
150
|
+
if isinstance(self.country, Unset):
|
|
151
|
+
country = UNSET
|
|
152
|
+
else:
|
|
153
|
+
country = self.country
|
|
154
|
+
|
|
155
|
+
city: None | str | Unset
|
|
156
|
+
if isinstance(self.city, Unset):
|
|
157
|
+
city = UNSET
|
|
158
|
+
else:
|
|
159
|
+
city = self.city
|
|
160
|
+
|
|
161
|
+
state: None | str | Unset
|
|
162
|
+
if isinstance(self.state, Unset):
|
|
163
|
+
state = UNSET
|
|
164
|
+
else:
|
|
165
|
+
state = self.state
|
|
166
|
+
|
|
167
|
+
zip_code: None | str | Unset
|
|
168
|
+
if isinstance(self.zip_code, Unset):
|
|
169
|
+
zip_code = UNSET
|
|
170
|
+
else:
|
|
171
|
+
zip_code = self.zip_code
|
|
172
|
+
|
|
173
|
+
phone: None | str | Unset
|
|
174
|
+
if isinstance(self.phone, Unset):
|
|
175
|
+
phone = UNSET
|
|
176
|
+
else:
|
|
177
|
+
phone = self.phone
|
|
178
|
+
|
|
179
|
+
e_mail: None | str | Unset
|
|
180
|
+
if isinstance(self.e_mail, Unset):
|
|
181
|
+
e_mail = UNSET
|
|
182
|
+
else:
|
|
183
|
+
e_mail = self.e_mail
|
|
184
|
+
|
|
185
|
+
comment: None | str | Unset
|
|
186
|
+
if isinstance(self.comment, Unset):
|
|
187
|
+
comment = UNSET
|
|
188
|
+
else:
|
|
189
|
+
comment = self.comment
|
|
190
|
+
|
|
191
|
+
color = self.color
|
|
192
|
+
|
|
193
|
+
leverage = self.leverage
|
|
194
|
+
|
|
195
|
+
account: None | str | Unset
|
|
196
|
+
if isinstance(self.account, Unset):
|
|
197
|
+
account = UNSET
|
|
198
|
+
else:
|
|
199
|
+
account = self.account
|
|
200
|
+
|
|
201
|
+
language = self.language
|
|
202
|
+
|
|
203
|
+
address: None | str | Unset
|
|
204
|
+
if isinstance(self.address, Unset):
|
|
205
|
+
address = UNSET
|
|
206
|
+
else:
|
|
207
|
+
address = self.address
|
|
208
|
+
|
|
209
|
+
id: None | str | Unset
|
|
210
|
+
if isinstance(self.id, Unset):
|
|
211
|
+
id = UNSET
|
|
212
|
+
else:
|
|
213
|
+
id = self.id
|
|
214
|
+
|
|
215
|
+
status: None | str | Unset
|
|
216
|
+
if isinstance(self.status, Unset):
|
|
217
|
+
status = UNSET
|
|
218
|
+
else:
|
|
219
|
+
status = self.status
|
|
220
|
+
|
|
221
|
+
agent = self.agent
|
|
222
|
+
|
|
223
|
+
lead_campaign: None | str | Unset
|
|
224
|
+
if isinstance(self.lead_campaign, Unset):
|
|
225
|
+
lead_campaign = UNSET
|
|
226
|
+
else:
|
|
227
|
+
lead_campaign = self.lead_campaign
|
|
228
|
+
|
|
229
|
+
lead_source: None | str | Unset
|
|
230
|
+
if isinstance(self.lead_source, Unset):
|
|
231
|
+
lead_source = UNSET
|
|
232
|
+
else:
|
|
233
|
+
lead_source = self.lead_source
|
|
234
|
+
|
|
235
|
+
client_id = self.client_id
|
|
236
|
+
|
|
237
|
+
first_name: None | str | Unset
|
|
238
|
+
if isinstance(self.first_name, Unset):
|
|
239
|
+
first_name = UNSET
|
|
240
|
+
else:
|
|
241
|
+
first_name = self.first_name
|
|
242
|
+
|
|
243
|
+
last_name: None | str | Unset
|
|
244
|
+
if isinstance(self.last_name, Unset):
|
|
245
|
+
last_name = UNSET
|
|
246
|
+
else:
|
|
247
|
+
last_name = self.last_name
|
|
248
|
+
|
|
249
|
+
middle_name: None | str | Unset
|
|
250
|
+
if isinstance(self.middle_name, Unset):
|
|
251
|
+
middle_name = UNSET
|
|
252
|
+
else:
|
|
253
|
+
middle_name = self.middle_name
|
|
254
|
+
|
|
255
|
+
rights = self.rights
|
|
256
|
+
|
|
257
|
+
cert_serial_number = self.cert_serial_number
|
|
258
|
+
|
|
259
|
+
registration: None | str | Unset
|
|
260
|
+
if isinstance(self.registration, Unset):
|
|
261
|
+
registration = UNSET
|
|
262
|
+
elif isinstance(self.registration, datetime.datetime):
|
|
263
|
+
registration = self.registration.isoformat()
|
|
264
|
+
else:
|
|
265
|
+
registration = self.registration
|
|
266
|
+
|
|
267
|
+
last_access: None | str | Unset
|
|
268
|
+
if isinstance(self.last_access, Unset):
|
|
269
|
+
last_access = UNSET
|
|
270
|
+
elif isinstance(self.last_access, datetime.datetime):
|
|
271
|
+
last_access = self.last_access.isoformat()
|
|
272
|
+
else:
|
|
273
|
+
last_access = self.last_access
|
|
274
|
+
|
|
275
|
+
last_pass_change: None | str | Unset
|
|
276
|
+
if isinstance(self.last_pass_change, Unset):
|
|
277
|
+
last_pass_change = UNSET
|
|
278
|
+
elif isinstance(self.last_pass_change, datetime.datetime):
|
|
279
|
+
last_pass_change = self.last_pass_change.isoformat()
|
|
280
|
+
else:
|
|
281
|
+
last_pass_change = self.last_pass_change
|
|
282
|
+
|
|
283
|
+
last_ip: None | str | Unset
|
|
284
|
+
if isinstance(self.last_ip, Unset):
|
|
285
|
+
last_ip = UNSET
|
|
286
|
+
else:
|
|
287
|
+
last_ip = self.last_ip
|
|
288
|
+
|
|
289
|
+
balance = self.balance
|
|
290
|
+
|
|
291
|
+
credit = self.credit
|
|
292
|
+
|
|
293
|
+
interest_rate = self.interest_rate
|
|
294
|
+
|
|
295
|
+
commission_daily = self.commission_daily
|
|
296
|
+
|
|
297
|
+
commission_monthly = self.commission_monthly
|
|
298
|
+
|
|
299
|
+
commission_agent_daily = self.commission_agent_daily
|
|
300
|
+
|
|
301
|
+
commission_agent_monthly = self.commission_agent_monthly
|
|
302
|
+
|
|
303
|
+
balance_prev_day = self.balance_prev_day
|
|
304
|
+
|
|
305
|
+
balance_prev_month = self.balance_prev_month
|
|
306
|
+
|
|
307
|
+
equity_prev_day = self.equity_prev_day
|
|
308
|
+
|
|
309
|
+
equity_prev_month = self.equity_prev_month
|
|
310
|
+
|
|
311
|
+
|
|
312
|
+
field_dict: dict[str, Any] = {}
|
|
313
|
+
|
|
314
|
+
field_dict.update({
|
|
315
|
+
})
|
|
316
|
+
if login is not UNSET:
|
|
317
|
+
field_dict["login"] = login
|
|
318
|
+
if group is not UNSET:
|
|
319
|
+
field_dict["group"] = group
|
|
320
|
+
if name is not UNSET:
|
|
321
|
+
field_dict["name"] = name
|
|
322
|
+
if company is not UNSET:
|
|
323
|
+
field_dict["company"] = company
|
|
324
|
+
if country is not UNSET:
|
|
325
|
+
field_dict["country"] = country
|
|
326
|
+
if city is not UNSET:
|
|
327
|
+
field_dict["city"] = city
|
|
328
|
+
if state is not UNSET:
|
|
329
|
+
field_dict["state"] = state
|
|
330
|
+
if zip_code is not UNSET:
|
|
331
|
+
field_dict["zipCode"] = zip_code
|
|
332
|
+
if phone is not UNSET:
|
|
333
|
+
field_dict["phone"] = phone
|
|
334
|
+
if e_mail is not UNSET:
|
|
335
|
+
field_dict["eMail"] = e_mail
|
|
336
|
+
if comment is not UNSET:
|
|
337
|
+
field_dict["comment"] = comment
|
|
338
|
+
if color is not UNSET:
|
|
339
|
+
field_dict["color"] = color
|
|
340
|
+
if leverage is not UNSET:
|
|
341
|
+
field_dict["leverage"] = leverage
|
|
342
|
+
if account is not UNSET:
|
|
343
|
+
field_dict["account"] = account
|
|
344
|
+
if language is not UNSET:
|
|
345
|
+
field_dict["language"] = language
|
|
346
|
+
if address is not UNSET:
|
|
347
|
+
field_dict["address"] = address
|
|
348
|
+
if id is not UNSET:
|
|
349
|
+
field_dict["id"] = id
|
|
350
|
+
if status is not UNSET:
|
|
351
|
+
field_dict["status"] = status
|
|
352
|
+
if agent is not UNSET:
|
|
353
|
+
field_dict["agent"] = agent
|
|
354
|
+
if lead_campaign is not UNSET:
|
|
355
|
+
field_dict["leadCampaign"] = lead_campaign
|
|
356
|
+
if lead_source is not UNSET:
|
|
357
|
+
field_dict["leadSource"] = lead_source
|
|
358
|
+
if client_id is not UNSET:
|
|
359
|
+
field_dict["clientID"] = client_id
|
|
360
|
+
if first_name is not UNSET:
|
|
361
|
+
field_dict["firstName"] = first_name
|
|
362
|
+
if last_name is not UNSET:
|
|
363
|
+
field_dict["lastName"] = last_name
|
|
364
|
+
if middle_name is not UNSET:
|
|
365
|
+
field_dict["middleName"] = middle_name
|
|
366
|
+
if rights is not UNSET:
|
|
367
|
+
field_dict["rights"] = rights
|
|
368
|
+
if cert_serial_number is not UNSET:
|
|
369
|
+
field_dict["certSerialNumber"] = cert_serial_number
|
|
370
|
+
if registration is not UNSET:
|
|
371
|
+
field_dict["registration"] = registration
|
|
372
|
+
if last_access is not UNSET:
|
|
373
|
+
field_dict["lastAccess"] = last_access
|
|
374
|
+
if last_pass_change is not UNSET:
|
|
375
|
+
field_dict["lastPassChange"] = last_pass_change
|
|
376
|
+
if last_ip is not UNSET:
|
|
377
|
+
field_dict["lastIP"] = last_ip
|
|
378
|
+
if balance is not UNSET:
|
|
379
|
+
field_dict["balance"] = balance
|
|
380
|
+
if credit is not UNSET:
|
|
381
|
+
field_dict["credit"] = credit
|
|
382
|
+
if interest_rate is not UNSET:
|
|
383
|
+
field_dict["interestRate"] = interest_rate
|
|
384
|
+
if commission_daily is not UNSET:
|
|
385
|
+
field_dict["commissionDaily"] = commission_daily
|
|
386
|
+
if commission_monthly is not UNSET:
|
|
387
|
+
field_dict["commissionMonthly"] = commission_monthly
|
|
388
|
+
if commission_agent_daily is not UNSET:
|
|
389
|
+
field_dict["commissionAgentDaily"] = commission_agent_daily
|
|
390
|
+
if commission_agent_monthly is not UNSET:
|
|
391
|
+
field_dict["commissionAgentMonthly"] = commission_agent_monthly
|
|
392
|
+
if balance_prev_day is not UNSET:
|
|
393
|
+
field_dict["balancePrevDay"] = balance_prev_day
|
|
394
|
+
if balance_prev_month is not UNSET:
|
|
395
|
+
field_dict["balancePrevMonth"] = balance_prev_month
|
|
396
|
+
if equity_prev_day is not UNSET:
|
|
397
|
+
field_dict["equityPrevDay"] = equity_prev_day
|
|
398
|
+
if equity_prev_month is not UNSET:
|
|
399
|
+
field_dict["equityPrevMonth"] = equity_prev_month
|
|
400
|
+
|
|
401
|
+
return field_dict
|
|
402
|
+
|
|
403
|
+
|
|
404
|
+
|
|
405
|
+
@classmethod
|
|
406
|
+
def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
|
|
407
|
+
d = dict(src_dict)
|
|
408
|
+
login = d.pop("login", UNSET)
|
|
409
|
+
|
|
410
|
+
def _parse_group(data: object) -> None | str | Unset:
|
|
411
|
+
if data is None:
|
|
412
|
+
return data
|
|
413
|
+
if isinstance(data, Unset):
|
|
414
|
+
return data
|
|
415
|
+
return cast(None | str | Unset, data)
|
|
416
|
+
|
|
417
|
+
group = _parse_group(d.pop("group", UNSET))
|
|
418
|
+
|
|
419
|
+
|
|
420
|
+
def _parse_name(data: object) -> None | str | Unset:
|
|
421
|
+
if data is None:
|
|
422
|
+
return data
|
|
423
|
+
if isinstance(data, Unset):
|
|
424
|
+
return data
|
|
425
|
+
return cast(None | str | Unset, data)
|
|
426
|
+
|
|
427
|
+
name = _parse_name(d.pop("name", UNSET))
|
|
428
|
+
|
|
429
|
+
|
|
430
|
+
def _parse_company(data: object) -> None | str | Unset:
|
|
431
|
+
if data is None:
|
|
432
|
+
return data
|
|
433
|
+
if isinstance(data, Unset):
|
|
434
|
+
return data
|
|
435
|
+
return cast(None | str | Unset, data)
|
|
436
|
+
|
|
437
|
+
company = _parse_company(d.pop("company", UNSET))
|
|
438
|
+
|
|
439
|
+
|
|
440
|
+
def _parse_country(data: object) -> None | str | Unset:
|
|
441
|
+
if data is None:
|
|
442
|
+
return data
|
|
443
|
+
if isinstance(data, Unset):
|
|
444
|
+
return data
|
|
445
|
+
return cast(None | str | Unset, data)
|
|
446
|
+
|
|
447
|
+
country = _parse_country(d.pop("country", UNSET))
|
|
448
|
+
|
|
449
|
+
|
|
450
|
+
def _parse_city(data: object) -> None | str | Unset:
|
|
451
|
+
if data is None:
|
|
452
|
+
return data
|
|
453
|
+
if isinstance(data, Unset):
|
|
454
|
+
return data
|
|
455
|
+
return cast(None | str | Unset, data)
|
|
456
|
+
|
|
457
|
+
city = _parse_city(d.pop("city", UNSET))
|
|
458
|
+
|
|
459
|
+
|
|
460
|
+
def _parse_state(data: object) -> None | str | Unset:
|
|
461
|
+
if data is None:
|
|
462
|
+
return data
|
|
463
|
+
if isinstance(data, Unset):
|
|
464
|
+
return data
|
|
465
|
+
return cast(None | str | Unset, data)
|
|
466
|
+
|
|
467
|
+
state = _parse_state(d.pop("state", UNSET))
|
|
468
|
+
|
|
469
|
+
|
|
470
|
+
def _parse_zip_code(data: object) -> None | str | Unset:
|
|
471
|
+
if data is None:
|
|
472
|
+
return data
|
|
473
|
+
if isinstance(data, Unset):
|
|
474
|
+
return data
|
|
475
|
+
return cast(None | str | Unset, data)
|
|
476
|
+
|
|
477
|
+
zip_code = _parse_zip_code(d.pop("zipCode", UNSET))
|
|
478
|
+
|
|
479
|
+
|
|
480
|
+
def _parse_phone(data: object) -> None | str | Unset:
|
|
481
|
+
if data is None:
|
|
482
|
+
return data
|
|
483
|
+
if isinstance(data, Unset):
|
|
484
|
+
return data
|
|
485
|
+
return cast(None | str | Unset, data)
|
|
486
|
+
|
|
487
|
+
phone = _parse_phone(d.pop("phone", UNSET))
|
|
488
|
+
|
|
489
|
+
|
|
490
|
+
def _parse_e_mail(data: object) -> None | str | Unset:
|
|
491
|
+
if data is None:
|
|
492
|
+
return data
|
|
493
|
+
if isinstance(data, Unset):
|
|
494
|
+
return data
|
|
495
|
+
return cast(None | str | Unset, data)
|
|
496
|
+
|
|
497
|
+
e_mail = _parse_e_mail(d.pop("eMail", UNSET))
|
|
498
|
+
|
|
499
|
+
|
|
500
|
+
def _parse_comment(data: object) -> None | str | Unset:
|
|
501
|
+
if data is None:
|
|
502
|
+
return data
|
|
503
|
+
if isinstance(data, Unset):
|
|
504
|
+
return data
|
|
505
|
+
return cast(None | str | Unset, data)
|
|
506
|
+
|
|
507
|
+
comment = _parse_comment(d.pop("comment", UNSET))
|
|
508
|
+
|
|
509
|
+
|
|
510
|
+
color = d.pop("color", UNSET)
|
|
511
|
+
|
|
512
|
+
leverage = d.pop("leverage", UNSET)
|
|
513
|
+
|
|
514
|
+
def _parse_account(data: object) -> None | str | Unset:
|
|
515
|
+
if data is None:
|
|
516
|
+
return data
|
|
517
|
+
if isinstance(data, Unset):
|
|
518
|
+
return data
|
|
519
|
+
return cast(None | str | Unset, data)
|
|
520
|
+
|
|
521
|
+
account = _parse_account(d.pop("account", UNSET))
|
|
522
|
+
|
|
523
|
+
|
|
524
|
+
language = d.pop("language", UNSET)
|
|
525
|
+
|
|
526
|
+
def _parse_address(data: object) -> None | str | Unset:
|
|
527
|
+
if data is None:
|
|
528
|
+
return data
|
|
529
|
+
if isinstance(data, Unset):
|
|
530
|
+
return data
|
|
531
|
+
return cast(None | str | Unset, data)
|
|
532
|
+
|
|
533
|
+
address = _parse_address(d.pop("address", UNSET))
|
|
534
|
+
|
|
535
|
+
|
|
536
|
+
def _parse_id(data: object) -> None | str | Unset:
|
|
537
|
+
if data is None:
|
|
538
|
+
return data
|
|
539
|
+
if isinstance(data, Unset):
|
|
540
|
+
return data
|
|
541
|
+
return cast(None | str | Unset, data)
|
|
542
|
+
|
|
543
|
+
id = _parse_id(d.pop("id", UNSET))
|
|
544
|
+
|
|
545
|
+
|
|
546
|
+
def _parse_status(data: object) -> None | str | Unset:
|
|
547
|
+
if data is None:
|
|
548
|
+
return data
|
|
549
|
+
if isinstance(data, Unset):
|
|
550
|
+
return data
|
|
551
|
+
return cast(None | str | Unset, data)
|
|
552
|
+
|
|
553
|
+
status = _parse_status(d.pop("status", UNSET))
|
|
554
|
+
|
|
555
|
+
|
|
556
|
+
agent = d.pop("agent", UNSET)
|
|
557
|
+
|
|
558
|
+
def _parse_lead_campaign(data: object) -> None | str | Unset:
|
|
559
|
+
if data is None:
|
|
560
|
+
return data
|
|
561
|
+
if isinstance(data, Unset):
|
|
562
|
+
return data
|
|
563
|
+
return cast(None | str | Unset, data)
|
|
564
|
+
|
|
565
|
+
lead_campaign = _parse_lead_campaign(d.pop("leadCampaign", UNSET))
|
|
566
|
+
|
|
567
|
+
|
|
568
|
+
def _parse_lead_source(data: object) -> None | str | Unset:
|
|
569
|
+
if data is None:
|
|
570
|
+
return data
|
|
571
|
+
if isinstance(data, Unset):
|
|
572
|
+
return data
|
|
573
|
+
return cast(None | str | Unset, data)
|
|
574
|
+
|
|
575
|
+
lead_source = _parse_lead_source(d.pop("leadSource", UNSET))
|
|
576
|
+
|
|
577
|
+
|
|
578
|
+
client_id = d.pop("clientID", UNSET)
|
|
579
|
+
|
|
580
|
+
def _parse_first_name(data: object) -> None | str | Unset:
|
|
581
|
+
if data is None:
|
|
582
|
+
return data
|
|
583
|
+
if isinstance(data, Unset):
|
|
584
|
+
return data
|
|
585
|
+
return cast(None | str | Unset, data)
|
|
586
|
+
|
|
587
|
+
first_name = _parse_first_name(d.pop("firstName", UNSET))
|
|
588
|
+
|
|
589
|
+
|
|
590
|
+
def _parse_last_name(data: object) -> None | str | Unset:
|
|
591
|
+
if data is None:
|
|
592
|
+
return data
|
|
593
|
+
if isinstance(data, Unset):
|
|
594
|
+
return data
|
|
595
|
+
return cast(None | str | Unset, data)
|
|
596
|
+
|
|
597
|
+
last_name = _parse_last_name(d.pop("lastName", UNSET))
|
|
598
|
+
|
|
599
|
+
|
|
600
|
+
def _parse_middle_name(data: object) -> None | str | Unset:
|
|
601
|
+
if data is None:
|
|
602
|
+
return data
|
|
603
|
+
if isinstance(data, Unset):
|
|
604
|
+
return data
|
|
605
|
+
return cast(None | str | Unset, data)
|
|
606
|
+
|
|
607
|
+
middle_name = _parse_middle_name(d.pop("middleName", UNSET))
|
|
608
|
+
|
|
609
|
+
|
|
610
|
+
rights = d.pop("rights", UNSET)
|
|
611
|
+
|
|
612
|
+
cert_serial_number = d.pop("certSerialNumber", UNSET)
|
|
613
|
+
|
|
614
|
+
def _parse_registration(data: object) -> datetime.datetime | None | Unset:
|
|
615
|
+
if data is None:
|
|
616
|
+
return data
|
|
617
|
+
if isinstance(data, Unset):
|
|
618
|
+
return data
|
|
619
|
+
try:
|
|
620
|
+
if not isinstance(data, str):
|
|
621
|
+
raise TypeError()
|
|
622
|
+
registration_type_0 = datetime.datetime.fromisoformat(data)
|
|
623
|
+
|
|
624
|
+
|
|
625
|
+
|
|
626
|
+
return registration_type_0
|
|
627
|
+
except (TypeError, ValueError, AttributeError, KeyError):
|
|
628
|
+
pass
|
|
629
|
+
return cast(datetime.datetime | None | Unset, data)
|
|
630
|
+
|
|
631
|
+
registration = _parse_registration(d.pop("registration", UNSET))
|
|
632
|
+
|
|
633
|
+
|
|
634
|
+
def _parse_last_access(data: object) -> datetime.datetime | None | Unset:
|
|
635
|
+
if data is None:
|
|
636
|
+
return data
|
|
637
|
+
if isinstance(data, Unset):
|
|
638
|
+
return data
|
|
639
|
+
try:
|
|
640
|
+
if not isinstance(data, str):
|
|
641
|
+
raise TypeError()
|
|
642
|
+
last_access_type_0 = datetime.datetime.fromisoformat(data)
|
|
643
|
+
|
|
644
|
+
|
|
645
|
+
|
|
646
|
+
return last_access_type_0
|
|
647
|
+
except (TypeError, ValueError, AttributeError, KeyError):
|
|
648
|
+
pass
|
|
649
|
+
return cast(datetime.datetime | None | Unset, data)
|
|
650
|
+
|
|
651
|
+
last_access = _parse_last_access(d.pop("lastAccess", UNSET))
|
|
652
|
+
|
|
653
|
+
|
|
654
|
+
def _parse_last_pass_change(data: object) -> datetime.datetime | None | Unset:
|
|
655
|
+
if data is None:
|
|
656
|
+
return data
|
|
657
|
+
if isinstance(data, Unset):
|
|
658
|
+
return data
|
|
659
|
+
try:
|
|
660
|
+
if not isinstance(data, str):
|
|
661
|
+
raise TypeError()
|
|
662
|
+
last_pass_change_type_0 = datetime.datetime.fromisoformat(data)
|
|
663
|
+
|
|
664
|
+
|
|
665
|
+
|
|
666
|
+
return last_pass_change_type_0
|
|
667
|
+
except (TypeError, ValueError, AttributeError, KeyError):
|
|
668
|
+
pass
|
|
669
|
+
return cast(datetime.datetime | None | Unset, data)
|
|
670
|
+
|
|
671
|
+
last_pass_change = _parse_last_pass_change(d.pop("lastPassChange", UNSET))
|
|
672
|
+
|
|
673
|
+
|
|
674
|
+
def _parse_last_ip(data: object) -> None | str | Unset:
|
|
675
|
+
if data is None:
|
|
676
|
+
return data
|
|
677
|
+
if isinstance(data, Unset):
|
|
678
|
+
return data
|
|
679
|
+
return cast(None | str | Unset, data)
|
|
680
|
+
|
|
681
|
+
last_ip = _parse_last_ip(d.pop("lastIP", UNSET))
|
|
682
|
+
|
|
683
|
+
|
|
684
|
+
balance = d.pop("balance", UNSET)
|
|
685
|
+
|
|
686
|
+
credit = d.pop("credit", UNSET)
|
|
687
|
+
|
|
688
|
+
interest_rate = d.pop("interestRate", UNSET)
|
|
689
|
+
|
|
690
|
+
commission_daily = d.pop("commissionDaily", UNSET)
|
|
691
|
+
|
|
692
|
+
commission_monthly = d.pop("commissionMonthly", UNSET)
|
|
693
|
+
|
|
694
|
+
commission_agent_daily = d.pop("commissionAgentDaily", UNSET)
|
|
695
|
+
|
|
696
|
+
commission_agent_monthly = d.pop("commissionAgentMonthly", UNSET)
|
|
697
|
+
|
|
698
|
+
balance_prev_day = d.pop("balancePrevDay", UNSET)
|
|
699
|
+
|
|
700
|
+
balance_prev_month = d.pop("balancePrevMonth", UNSET)
|
|
701
|
+
|
|
702
|
+
equity_prev_day = d.pop("equityPrevDay", UNSET)
|
|
703
|
+
|
|
704
|
+
equity_prev_month = d.pop("equityPrevMonth", UNSET)
|
|
705
|
+
|
|
706
|
+
mt5_user = cls(
|
|
707
|
+
login=login,
|
|
708
|
+
group=group,
|
|
709
|
+
name=name,
|
|
710
|
+
company=company,
|
|
711
|
+
country=country,
|
|
712
|
+
city=city,
|
|
713
|
+
state=state,
|
|
714
|
+
zip_code=zip_code,
|
|
715
|
+
phone=phone,
|
|
716
|
+
e_mail=e_mail,
|
|
717
|
+
comment=comment,
|
|
718
|
+
color=color,
|
|
719
|
+
leverage=leverage,
|
|
720
|
+
account=account,
|
|
721
|
+
language=language,
|
|
722
|
+
address=address,
|
|
723
|
+
id=id,
|
|
724
|
+
status=status,
|
|
725
|
+
agent=agent,
|
|
726
|
+
lead_campaign=lead_campaign,
|
|
727
|
+
lead_source=lead_source,
|
|
728
|
+
client_id=client_id,
|
|
729
|
+
first_name=first_name,
|
|
730
|
+
last_name=last_name,
|
|
731
|
+
middle_name=middle_name,
|
|
732
|
+
rights=rights,
|
|
733
|
+
cert_serial_number=cert_serial_number,
|
|
734
|
+
registration=registration,
|
|
735
|
+
last_access=last_access,
|
|
736
|
+
last_pass_change=last_pass_change,
|
|
737
|
+
last_ip=last_ip,
|
|
738
|
+
balance=balance,
|
|
739
|
+
credit=credit,
|
|
740
|
+
interest_rate=interest_rate,
|
|
741
|
+
commission_daily=commission_daily,
|
|
742
|
+
commission_monthly=commission_monthly,
|
|
743
|
+
commission_agent_daily=commission_agent_daily,
|
|
744
|
+
commission_agent_monthly=commission_agent_monthly,
|
|
745
|
+
balance_prev_day=balance_prev_day,
|
|
746
|
+
balance_prev_month=balance_prev_month,
|
|
747
|
+
equity_prev_day=equity_prev_day,
|
|
748
|
+
equity_prev_month=equity_prev_month,
|
|
749
|
+
)
|
|
750
|
+
|
|
751
|
+
return mt5_user
|
|
752
|
+
|