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,179 @@
|
|
|
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_trade import MT4Trade
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
T = TypeVar("T", bound="MT4TradeApiResponse")
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
@_attrs_define
|
|
28
|
+
class MT4TradeApiResponse:
|
|
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 (MT4Trade | None | Unset): v2 DTO mirroring the wrapper's TradeRecord. The set of fields is curated
|
|
35
|
+
for typical client use-cases — order monitoring, P&L reporting, trade
|
|
36
|
+
history reconciliation. Internal padding/reserved/gateway-internal/raw
|
|
37
|
+
underscore-prefixed fields are intentionally excluded. Span<>-typed
|
|
38
|
+
helpers (ConvRates, ConvReserv, APIData) are excluded because System.Text.Json
|
|
39
|
+
cannot serialize ref-struct-backed properties — those would force callers
|
|
40
|
+
onto a custom converter for marginal value.
|
|
41
|
+
Enum members (TradeCommand, TradeRecordState, TradeRecordReason,
|
|
42
|
+
ActivationType) serialize as string names via V2JsonContext
|
|
43
|
+
UseStringEnumConverter — e.g. "Buy" rather than 0.
|
|
44
|
+
error (ApiError | None | Unset): v2 error body. Code is the stable transport error code; ManagerCode is the raw
|
|
45
|
+
MT4
|
|
46
|
+
ResultCode (serialized as a string for a known enum member, or as a number for an
|
|
47
|
+
unrecognised value returned by MT4); Message is a human-readable description.
|
|
48
|
+
meta (ApiMeta | None | Unset): Response metadata. ActivityId is the W3C trace-id for correlation in Seq/SigNoz.
|
|
49
|
+
Paging is present only on paginated list responses; otherwise it is omitted —
|
|
50
|
+
the global JSON context policy serialises null fields, so we override that here
|
|
51
|
+
with System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull.
|
|
52
|
+
"""
|
|
53
|
+
|
|
54
|
+
data: MT4Trade | None | Unset = UNSET
|
|
55
|
+
error: ApiError | None | Unset = UNSET
|
|
56
|
+
meta: ApiMeta | None | Unset = UNSET
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
def to_dict(self) -> dict[str, Any]:
|
|
63
|
+
from ..models.api_error import ApiError
|
|
64
|
+
from ..models.api_meta import ApiMeta
|
|
65
|
+
from ..models.mt4_trade import MT4Trade
|
|
66
|
+
data: dict[str, Any] | None | Unset
|
|
67
|
+
if isinstance(self.data, Unset):
|
|
68
|
+
data = UNSET
|
|
69
|
+
elif isinstance(self.data, MT4Trade):
|
|
70
|
+
data = self.data.to_dict()
|
|
71
|
+
else:
|
|
72
|
+
data = self.data
|
|
73
|
+
|
|
74
|
+
error: dict[str, Any] | None | Unset
|
|
75
|
+
if isinstance(self.error, Unset):
|
|
76
|
+
error = UNSET
|
|
77
|
+
elif isinstance(self.error, ApiError):
|
|
78
|
+
error = self.error.to_dict()
|
|
79
|
+
else:
|
|
80
|
+
error = self.error
|
|
81
|
+
|
|
82
|
+
meta: dict[str, Any] | None | Unset
|
|
83
|
+
if isinstance(self.meta, Unset):
|
|
84
|
+
meta = UNSET
|
|
85
|
+
elif isinstance(self.meta, ApiMeta):
|
|
86
|
+
meta = self.meta.to_dict()
|
|
87
|
+
else:
|
|
88
|
+
meta = self.meta
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
field_dict: dict[str, Any] = {}
|
|
92
|
+
|
|
93
|
+
field_dict.update({
|
|
94
|
+
})
|
|
95
|
+
if data is not UNSET:
|
|
96
|
+
field_dict["data"] = data
|
|
97
|
+
if error is not UNSET:
|
|
98
|
+
field_dict["error"] = error
|
|
99
|
+
if meta is not UNSET:
|
|
100
|
+
field_dict["meta"] = meta
|
|
101
|
+
|
|
102
|
+
return field_dict
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
@classmethod
|
|
107
|
+
def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
|
|
108
|
+
from ..models.api_error import ApiError
|
|
109
|
+
from ..models.api_meta import ApiMeta
|
|
110
|
+
from ..models.mt4_trade import MT4Trade
|
|
111
|
+
d = dict(src_dict)
|
|
112
|
+
def _parse_data(data: object) -> MT4Trade | None | Unset:
|
|
113
|
+
if data is None:
|
|
114
|
+
return data
|
|
115
|
+
if isinstance(data, Unset):
|
|
116
|
+
return data
|
|
117
|
+
try:
|
|
118
|
+
if not isinstance(data, dict):
|
|
119
|
+
raise TypeError()
|
|
120
|
+
data_type_1 = MT4Trade.from_dict(data)
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
return data_type_1
|
|
125
|
+
except (TypeError, ValueError, AttributeError, KeyError):
|
|
126
|
+
pass
|
|
127
|
+
return cast(MT4Trade | None | Unset, data)
|
|
128
|
+
|
|
129
|
+
data = _parse_data(d.pop("data", UNSET))
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
def _parse_error(data: object) -> ApiError | None | Unset:
|
|
133
|
+
if data is None:
|
|
134
|
+
return data
|
|
135
|
+
if isinstance(data, Unset):
|
|
136
|
+
return data
|
|
137
|
+
try:
|
|
138
|
+
if not isinstance(data, dict):
|
|
139
|
+
raise TypeError()
|
|
140
|
+
error_type_1 = ApiError.from_dict(data)
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
return error_type_1
|
|
145
|
+
except (TypeError, ValueError, AttributeError, KeyError):
|
|
146
|
+
pass
|
|
147
|
+
return cast(ApiError | None | Unset, data)
|
|
148
|
+
|
|
149
|
+
error = _parse_error(d.pop("error", UNSET))
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
def _parse_meta(data: object) -> ApiMeta | None | Unset:
|
|
153
|
+
if data is None:
|
|
154
|
+
return data
|
|
155
|
+
if isinstance(data, Unset):
|
|
156
|
+
return data
|
|
157
|
+
try:
|
|
158
|
+
if not isinstance(data, dict):
|
|
159
|
+
raise TypeError()
|
|
160
|
+
meta_type_1 = ApiMeta.from_dict(data)
|
|
161
|
+
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
return meta_type_1
|
|
165
|
+
except (TypeError, ValueError, AttributeError, KeyError):
|
|
166
|
+
pass
|
|
167
|
+
return cast(ApiMeta | None | Unset, data)
|
|
168
|
+
|
|
169
|
+
meta = _parse_meta(d.pop("meta", UNSET))
|
|
170
|
+
|
|
171
|
+
|
|
172
|
+
mt4_trade_api_response = cls(
|
|
173
|
+
data=data,
|
|
174
|
+
error=error,
|
|
175
|
+
meta=meta,
|
|
176
|
+
)
|
|
177
|
+
|
|
178
|
+
return mt4_trade_api_response
|
|
179
|
+
|
|
@@ -0,0 +1,180 @@
|
|
|
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_trade import MT4Trade
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
T = TypeVar("T", bound="MT4TradeListApiResponse")
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
@_attrs_define
|
|
28
|
+
class MT4TradeListApiResponse:
|
|
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 (list[MT4Trade] | None | Unset):
|
|
35
|
+
error (ApiError | None | Unset): v2 error body. Code is the stable transport error code; ManagerCode is the raw
|
|
36
|
+
MT4
|
|
37
|
+
ResultCode (serialized as a string for a known enum member, or as a number for an
|
|
38
|
+
unrecognised value returned by MT4); Message is a human-readable description.
|
|
39
|
+
meta (ApiMeta | None | Unset): Response metadata. ActivityId is the W3C trace-id for correlation in Seq/SigNoz.
|
|
40
|
+
Paging is present only on paginated list responses; otherwise it is omitted —
|
|
41
|
+
the global JSON context policy serialises null fields, so we override that here
|
|
42
|
+
with System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull.
|
|
43
|
+
"""
|
|
44
|
+
|
|
45
|
+
data: list[MT4Trade] | None | Unset = UNSET
|
|
46
|
+
error: ApiError | None | Unset = UNSET
|
|
47
|
+
meta: ApiMeta | None | Unset = UNSET
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
def to_dict(self) -> dict[str, Any]:
|
|
54
|
+
from ..models.api_error import ApiError
|
|
55
|
+
from ..models.api_meta import ApiMeta
|
|
56
|
+
from ..models.mt4_trade import MT4Trade
|
|
57
|
+
data: list[dict[str, Any]] | None | Unset
|
|
58
|
+
if isinstance(self.data, Unset):
|
|
59
|
+
data = UNSET
|
|
60
|
+
elif isinstance(self.data, list):
|
|
61
|
+
data = []
|
|
62
|
+
for data_type_0_item_data in self.data:
|
|
63
|
+
data_type_0_item = data_type_0_item_data.to_dict()
|
|
64
|
+
data.append(data_type_0_item)
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
else:
|
|
68
|
+
data = self.data
|
|
69
|
+
|
|
70
|
+
error: dict[str, Any] | None | Unset
|
|
71
|
+
if isinstance(self.error, Unset):
|
|
72
|
+
error = UNSET
|
|
73
|
+
elif isinstance(self.error, ApiError):
|
|
74
|
+
error = self.error.to_dict()
|
|
75
|
+
else:
|
|
76
|
+
error = self.error
|
|
77
|
+
|
|
78
|
+
meta: dict[str, Any] | None | Unset
|
|
79
|
+
if isinstance(self.meta, Unset):
|
|
80
|
+
meta = UNSET
|
|
81
|
+
elif isinstance(self.meta, ApiMeta):
|
|
82
|
+
meta = self.meta.to_dict()
|
|
83
|
+
else:
|
|
84
|
+
meta = self.meta
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
field_dict: dict[str, Any] = {}
|
|
88
|
+
|
|
89
|
+
field_dict.update({
|
|
90
|
+
})
|
|
91
|
+
if data is not UNSET:
|
|
92
|
+
field_dict["data"] = data
|
|
93
|
+
if error is not UNSET:
|
|
94
|
+
field_dict["error"] = error
|
|
95
|
+
if meta is not UNSET:
|
|
96
|
+
field_dict["meta"] = meta
|
|
97
|
+
|
|
98
|
+
return field_dict
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
@classmethod
|
|
103
|
+
def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
|
|
104
|
+
from ..models.api_error import ApiError
|
|
105
|
+
from ..models.api_meta import ApiMeta
|
|
106
|
+
from ..models.mt4_trade import MT4Trade
|
|
107
|
+
d = dict(src_dict)
|
|
108
|
+
def _parse_data(data: object) -> list[MT4Trade] | None | Unset:
|
|
109
|
+
if data is None:
|
|
110
|
+
return data
|
|
111
|
+
if isinstance(data, Unset):
|
|
112
|
+
return data
|
|
113
|
+
try:
|
|
114
|
+
if not isinstance(data, list):
|
|
115
|
+
raise TypeError()
|
|
116
|
+
data_type_0 = []
|
|
117
|
+
_data_type_0 = data
|
|
118
|
+
for data_type_0_item_data in (_data_type_0):
|
|
119
|
+
data_type_0_item = MT4Trade.from_dict(data_type_0_item_data)
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
data_type_0.append(data_type_0_item)
|
|
124
|
+
|
|
125
|
+
return data_type_0
|
|
126
|
+
except (TypeError, ValueError, AttributeError, KeyError):
|
|
127
|
+
pass
|
|
128
|
+
return cast(list[MT4Trade] | None | Unset, data)
|
|
129
|
+
|
|
130
|
+
data = _parse_data(d.pop("data", UNSET))
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
def _parse_error(data: object) -> ApiError | None | Unset:
|
|
134
|
+
if data is None:
|
|
135
|
+
return data
|
|
136
|
+
if isinstance(data, Unset):
|
|
137
|
+
return data
|
|
138
|
+
try:
|
|
139
|
+
if not isinstance(data, dict):
|
|
140
|
+
raise TypeError()
|
|
141
|
+
error_type_1 = ApiError.from_dict(data)
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
return error_type_1
|
|
146
|
+
except (TypeError, ValueError, AttributeError, KeyError):
|
|
147
|
+
pass
|
|
148
|
+
return cast(ApiError | None | Unset, data)
|
|
149
|
+
|
|
150
|
+
error = _parse_error(d.pop("error", UNSET))
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
def _parse_meta(data: object) -> ApiMeta | None | Unset:
|
|
154
|
+
if data is None:
|
|
155
|
+
return data
|
|
156
|
+
if isinstance(data, Unset):
|
|
157
|
+
return data
|
|
158
|
+
try:
|
|
159
|
+
if not isinstance(data, dict):
|
|
160
|
+
raise TypeError()
|
|
161
|
+
meta_type_1 = ApiMeta.from_dict(data)
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
return meta_type_1
|
|
166
|
+
except (TypeError, ValueError, AttributeError, KeyError):
|
|
167
|
+
pass
|
|
168
|
+
return cast(ApiMeta | None | Unset, data)
|
|
169
|
+
|
|
170
|
+
meta = _parse_meta(d.pop("meta", UNSET))
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
mt4_trade_list_api_response = cls(
|
|
174
|
+
data=data,
|
|
175
|
+
error=error,
|
|
176
|
+
meta=meta,
|
|
177
|
+
)
|
|
178
|
+
|
|
179
|
+
return mt4_trade_list_api_response
|
|
180
|
+
|
|
@@ -0,0 +1,274 @@
|
|
|
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.trade_command import TradeCommand
|
|
12
|
+
from ..types import UNSET, Unset
|
|
13
|
+
from typing import cast
|
|
14
|
+
import datetime
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
T = TypeVar("T", bound="MT4TradeRestoreInput")
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
@_attrs_define
|
|
26
|
+
class MT4TradeRestoreInput:
|
|
27
|
+
""" v2 narrow input DTO for `BackupRestoreOrders`. Carries the trade
|
|
28
|
+
identity + economic state that a disaster-recovery flow needs.
|
|
29
|
+
|
|
30
|
+
Attributes:
|
|
31
|
+
order (int | Unset): Order ticket (the input array position is the binding key for the result)
|
|
32
|
+
login (int | Unset): Owner's login
|
|
33
|
+
symbol (None | str | Unset): Symbol (e.g. `EURUSD`; max 12 ASCII chars on the wrapper side)
|
|
34
|
+
trade_command (TradeCommand | Unset):
|
|
35
|
+
volume (int | Unset): Volume in 1/100 lots (15 = 0.15 lot)
|
|
36
|
+
open_price (float | Unset): Open price
|
|
37
|
+
sl (float | Unset): Stop loss
|
|
38
|
+
tp (float | Unset): Take profit
|
|
39
|
+
close_price (float | Unset): Close price (0 for still-open trades)
|
|
40
|
+
profit (float | Unset): Trade profit/loss
|
|
41
|
+
storage (float | Unset): Swap (rollover charge)
|
|
42
|
+
commission (float | Unset): Commission
|
|
43
|
+
open_time (datetime.datetime | Unset): Open time (UTC)
|
|
44
|
+
close_time (datetime.datetime | Unset): Close time (UTC; default for still-open)
|
|
45
|
+
expiration (datetime.datetime | Unset): Expiration time (UTC; default for non-pending orders)
|
|
46
|
+
magic (int | Unset): Magic number (EA identifier)
|
|
47
|
+
comment (None | str | Unset): Free-form comment (max ~31 ASCII chars on the wrapper side)
|
|
48
|
+
"""
|
|
49
|
+
|
|
50
|
+
order: int | Unset = UNSET
|
|
51
|
+
login: int | Unset = UNSET
|
|
52
|
+
symbol: None | str | Unset = UNSET
|
|
53
|
+
trade_command: TradeCommand | Unset = UNSET
|
|
54
|
+
volume: int | Unset = UNSET
|
|
55
|
+
open_price: float | Unset = UNSET
|
|
56
|
+
sl: float | Unset = UNSET
|
|
57
|
+
tp: float | Unset = UNSET
|
|
58
|
+
close_price: float | Unset = UNSET
|
|
59
|
+
profit: float | Unset = UNSET
|
|
60
|
+
storage: float | Unset = UNSET
|
|
61
|
+
commission: float | Unset = UNSET
|
|
62
|
+
open_time: datetime.datetime | Unset = UNSET
|
|
63
|
+
close_time: datetime.datetime | Unset = UNSET
|
|
64
|
+
expiration: datetime.datetime | Unset = UNSET
|
|
65
|
+
magic: int | Unset = UNSET
|
|
66
|
+
comment: None | str | Unset = UNSET
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
def to_dict(self) -> dict[str, Any]:
|
|
73
|
+
order = self.order
|
|
74
|
+
|
|
75
|
+
login = self.login
|
|
76
|
+
|
|
77
|
+
symbol: None | str | Unset
|
|
78
|
+
if isinstance(self.symbol, Unset):
|
|
79
|
+
symbol = UNSET
|
|
80
|
+
else:
|
|
81
|
+
symbol = self.symbol
|
|
82
|
+
|
|
83
|
+
trade_command: str | Unset = UNSET
|
|
84
|
+
if not isinstance(self.trade_command, Unset):
|
|
85
|
+
trade_command = self.trade_command.value
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
volume = self.volume
|
|
89
|
+
|
|
90
|
+
open_price = self.open_price
|
|
91
|
+
|
|
92
|
+
sl = self.sl
|
|
93
|
+
|
|
94
|
+
tp = self.tp
|
|
95
|
+
|
|
96
|
+
close_price = self.close_price
|
|
97
|
+
|
|
98
|
+
profit = self.profit
|
|
99
|
+
|
|
100
|
+
storage = self.storage
|
|
101
|
+
|
|
102
|
+
commission = self.commission
|
|
103
|
+
|
|
104
|
+
open_time: str | Unset = UNSET
|
|
105
|
+
if not isinstance(self.open_time, Unset):
|
|
106
|
+
open_time = self.open_time.isoformat()
|
|
107
|
+
|
|
108
|
+
close_time: str | Unset = UNSET
|
|
109
|
+
if not isinstance(self.close_time, Unset):
|
|
110
|
+
close_time = self.close_time.isoformat()
|
|
111
|
+
|
|
112
|
+
expiration: str | Unset = UNSET
|
|
113
|
+
if not isinstance(self.expiration, Unset):
|
|
114
|
+
expiration = self.expiration.isoformat()
|
|
115
|
+
|
|
116
|
+
magic = self.magic
|
|
117
|
+
|
|
118
|
+
comment: None | str | Unset
|
|
119
|
+
if isinstance(self.comment, Unset):
|
|
120
|
+
comment = UNSET
|
|
121
|
+
else:
|
|
122
|
+
comment = self.comment
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
field_dict: dict[str, Any] = {}
|
|
126
|
+
|
|
127
|
+
field_dict.update({
|
|
128
|
+
})
|
|
129
|
+
if order is not UNSET:
|
|
130
|
+
field_dict["order"] = order
|
|
131
|
+
if login is not UNSET:
|
|
132
|
+
field_dict["login"] = login
|
|
133
|
+
if symbol is not UNSET:
|
|
134
|
+
field_dict["symbol"] = symbol
|
|
135
|
+
if trade_command is not UNSET:
|
|
136
|
+
field_dict["tradeCommand"] = trade_command
|
|
137
|
+
if volume is not UNSET:
|
|
138
|
+
field_dict["volume"] = volume
|
|
139
|
+
if open_price is not UNSET:
|
|
140
|
+
field_dict["openPrice"] = open_price
|
|
141
|
+
if sl is not UNSET:
|
|
142
|
+
field_dict["sl"] = sl
|
|
143
|
+
if tp is not UNSET:
|
|
144
|
+
field_dict["tp"] = tp
|
|
145
|
+
if close_price is not UNSET:
|
|
146
|
+
field_dict["closePrice"] = close_price
|
|
147
|
+
if profit is not UNSET:
|
|
148
|
+
field_dict["profit"] = profit
|
|
149
|
+
if storage is not UNSET:
|
|
150
|
+
field_dict["storage"] = storage
|
|
151
|
+
if commission is not UNSET:
|
|
152
|
+
field_dict["commission"] = commission
|
|
153
|
+
if open_time is not UNSET:
|
|
154
|
+
field_dict["openTime"] = open_time
|
|
155
|
+
if close_time is not UNSET:
|
|
156
|
+
field_dict["closeTime"] = close_time
|
|
157
|
+
if expiration is not UNSET:
|
|
158
|
+
field_dict["expiration"] = expiration
|
|
159
|
+
if magic is not UNSET:
|
|
160
|
+
field_dict["magic"] = magic
|
|
161
|
+
if comment is not UNSET:
|
|
162
|
+
field_dict["comment"] = comment
|
|
163
|
+
|
|
164
|
+
return field_dict
|
|
165
|
+
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
@classmethod
|
|
169
|
+
def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
|
|
170
|
+
d = dict(src_dict)
|
|
171
|
+
order = d.pop("order", UNSET)
|
|
172
|
+
|
|
173
|
+
login = d.pop("login", UNSET)
|
|
174
|
+
|
|
175
|
+
def _parse_symbol(data: object) -> None | str | Unset:
|
|
176
|
+
if data is None:
|
|
177
|
+
return data
|
|
178
|
+
if isinstance(data, Unset):
|
|
179
|
+
return data
|
|
180
|
+
return cast(None | str | Unset, data)
|
|
181
|
+
|
|
182
|
+
symbol = _parse_symbol(d.pop("symbol", UNSET))
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
_trade_command = d.pop("tradeCommand", UNSET)
|
|
186
|
+
trade_command: TradeCommand | Unset
|
|
187
|
+
if isinstance(_trade_command, Unset):
|
|
188
|
+
trade_command = UNSET
|
|
189
|
+
else:
|
|
190
|
+
trade_command = TradeCommand(_trade_command)
|
|
191
|
+
|
|
192
|
+
|
|
193
|
+
|
|
194
|
+
|
|
195
|
+
volume = d.pop("volume", UNSET)
|
|
196
|
+
|
|
197
|
+
open_price = d.pop("openPrice", UNSET)
|
|
198
|
+
|
|
199
|
+
sl = d.pop("sl", UNSET)
|
|
200
|
+
|
|
201
|
+
tp = d.pop("tp", UNSET)
|
|
202
|
+
|
|
203
|
+
close_price = d.pop("closePrice", UNSET)
|
|
204
|
+
|
|
205
|
+
profit = d.pop("profit", UNSET)
|
|
206
|
+
|
|
207
|
+
storage = d.pop("storage", UNSET)
|
|
208
|
+
|
|
209
|
+
commission = d.pop("commission", UNSET)
|
|
210
|
+
|
|
211
|
+
_open_time = d.pop("openTime", UNSET)
|
|
212
|
+
open_time: datetime.datetime | Unset
|
|
213
|
+
if isinstance(_open_time, Unset):
|
|
214
|
+
open_time = UNSET
|
|
215
|
+
else:
|
|
216
|
+
open_time = datetime.datetime.fromisoformat(_open_time)
|
|
217
|
+
|
|
218
|
+
|
|
219
|
+
|
|
220
|
+
|
|
221
|
+
_close_time = d.pop("closeTime", UNSET)
|
|
222
|
+
close_time: datetime.datetime | Unset
|
|
223
|
+
if isinstance(_close_time, Unset):
|
|
224
|
+
close_time = UNSET
|
|
225
|
+
else:
|
|
226
|
+
close_time = datetime.datetime.fromisoformat(_close_time)
|
|
227
|
+
|
|
228
|
+
|
|
229
|
+
|
|
230
|
+
|
|
231
|
+
_expiration = d.pop("expiration", UNSET)
|
|
232
|
+
expiration: datetime.datetime | Unset
|
|
233
|
+
if isinstance(_expiration, Unset):
|
|
234
|
+
expiration = UNSET
|
|
235
|
+
else:
|
|
236
|
+
expiration = datetime.datetime.fromisoformat(_expiration)
|
|
237
|
+
|
|
238
|
+
|
|
239
|
+
|
|
240
|
+
|
|
241
|
+
magic = d.pop("magic", UNSET)
|
|
242
|
+
|
|
243
|
+
def _parse_comment(data: object) -> None | str | Unset:
|
|
244
|
+
if data is None:
|
|
245
|
+
return data
|
|
246
|
+
if isinstance(data, Unset):
|
|
247
|
+
return data
|
|
248
|
+
return cast(None | str | Unset, data)
|
|
249
|
+
|
|
250
|
+
comment = _parse_comment(d.pop("comment", UNSET))
|
|
251
|
+
|
|
252
|
+
|
|
253
|
+
mt4_trade_restore_input = cls(
|
|
254
|
+
order=order,
|
|
255
|
+
login=login,
|
|
256
|
+
symbol=symbol,
|
|
257
|
+
trade_command=trade_command,
|
|
258
|
+
volume=volume,
|
|
259
|
+
open_price=open_price,
|
|
260
|
+
sl=sl,
|
|
261
|
+
tp=tp,
|
|
262
|
+
close_price=close_price,
|
|
263
|
+
profit=profit,
|
|
264
|
+
storage=storage,
|
|
265
|
+
commission=commission,
|
|
266
|
+
open_time=open_time,
|
|
267
|
+
close_time=close_time,
|
|
268
|
+
expiration=expiration,
|
|
269
|
+
magic=magic,
|
|
270
|
+
comment=comment,
|
|
271
|
+
)
|
|
272
|
+
|
|
273
|
+
return mt4_trade_restore_input
|
|
274
|
+
|
|
@@ -0,0 +1,72 @@
|
|
|
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
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
T = TypeVar("T", bound="MT4TradeRestoreResult")
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
@_attrs_define
|
|
23
|
+
class MT4TradeRestoreResult:
|
|
24
|
+
""" v2 DTO for a single per-order result of a backup-restore operation.
|
|
25
|
+
Mirrors the wrapper's `TradeRestoreResult` — order ticket plus
|
|
26
|
+
a 1-byte status flag.
|
|
27
|
+
|
|
28
|
+
Attributes:
|
|
29
|
+
order (int | Unset): Order ticket from the input array (matches by position)
|
|
30
|
+
res (int | Unset): Per-order restore status: `0` = error, `1` = restored
|
|
31
|
+
"""
|
|
32
|
+
|
|
33
|
+
order: int | Unset = UNSET
|
|
34
|
+
res: int | Unset = UNSET
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
def to_dict(self) -> dict[str, Any]:
|
|
41
|
+
order = self.order
|
|
42
|
+
|
|
43
|
+
res = self.res
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
field_dict: dict[str, Any] = {}
|
|
47
|
+
|
|
48
|
+
field_dict.update({
|
|
49
|
+
})
|
|
50
|
+
if order is not UNSET:
|
|
51
|
+
field_dict["order"] = order
|
|
52
|
+
if res is not UNSET:
|
|
53
|
+
field_dict["res"] = res
|
|
54
|
+
|
|
55
|
+
return field_dict
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
@classmethod
|
|
60
|
+
def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
|
|
61
|
+
d = dict(src_dict)
|
|
62
|
+
order = d.pop("order", UNSET)
|
|
63
|
+
|
|
64
|
+
res = d.pop("res", UNSET)
|
|
65
|
+
|
|
66
|
+
mt4_trade_restore_result = cls(
|
|
67
|
+
order=order,
|
|
68
|
+
res=res,
|
|
69
|
+
)
|
|
70
|
+
|
|
71
|
+
return mt4_trade_restore_result
|
|
72
|
+
|