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,344 @@
|
|
|
1
|
+
from http import HTTPStatus
|
|
2
|
+
from typing import Any, cast
|
|
3
|
+
from urllib.parse import quote
|
|
4
|
+
|
|
5
|
+
import httpx
|
|
6
|
+
|
|
7
|
+
from ...client import AuthenticatedClient, Client
|
|
8
|
+
from ...types import Response, UNSET
|
|
9
|
+
from ... import errors
|
|
10
|
+
|
|
11
|
+
from ...models.boolean_api_response import BooleanApiResponse
|
|
12
|
+
from ...models.mt4_user_restore_input import MT4UserRestoreInput
|
|
13
|
+
from ...types import UNSET, Unset
|
|
14
|
+
from typing import cast
|
|
15
|
+
from uuid import UUID
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
def _get_kwargs(
|
|
20
|
+
trade_platform: UUID,
|
|
21
|
+
*,
|
|
22
|
+
body: list[MT4UserRestoreInput] | list[MT4UserRestoreInput] | list[MT4UserRestoreInput] | Unset = UNSET,
|
|
23
|
+
confirm: bool | Unset = False,
|
|
24
|
+
x_request_timeout: float | Unset = UNSET,
|
|
25
|
+
|
|
26
|
+
) -> dict[str, Any]:
|
|
27
|
+
headers: dict[str, Any] = {}
|
|
28
|
+
if not isinstance(x_request_timeout, Unset):
|
|
29
|
+
headers["X-Request-Timeout"] = str(x_request_timeout)
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
params: dict[str, Any] = {}
|
|
37
|
+
|
|
38
|
+
params["confirm"] = confirm
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
params = {k: v for k, v in params.items() if v is not UNSET and v is not None}
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
_kwargs: dict[str, Any] = {
|
|
45
|
+
"method": "post",
|
|
46
|
+
"url": "/api/v2/MT4/{trade_platform}/BackupRestoreUsers".format(trade_platform=quote(str(trade_platform), safe=""),),
|
|
47
|
+
"params": params,
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
if isinstance(body, list[MT4UserRestoreInput]):
|
|
51
|
+
|
|
52
|
+
if not isinstance(body, Unset):
|
|
53
|
+
_kwargs["json"] = []
|
|
54
|
+
for body_item_data in body:
|
|
55
|
+
body_item = body_item_data.to_dict()
|
|
56
|
+
_kwargs["json"].append(body_item)
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
headers["Content-Type"] = "application/json-patch+json"
|
|
61
|
+
if isinstance(body, list[MT4UserRestoreInput]):
|
|
62
|
+
|
|
63
|
+
if not isinstance(body, Unset):
|
|
64
|
+
_kwargs["json"] = []
|
|
65
|
+
for body_item_data in body:
|
|
66
|
+
body_item = body_item_data.to_dict()
|
|
67
|
+
_kwargs["json"].append(body_item)
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
headers["Content-Type"] = "application/json"
|
|
72
|
+
if isinstance(body, list[MT4UserRestoreInput]):
|
|
73
|
+
|
|
74
|
+
if not isinstance(body, Unset):
|
|
75
|
+
_kwargs["json"] = []
|
|
76
|
+
for body_item_data in body:
|
|
77
|
+
body_item = body_item_data.to_dict()
|
|
78
|
+
_kwargs["json"].append(body_item)
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
headers["Content-Type"] = "application/*+json"
|
|
83
|
+
|
|
84
|
+
_kwargs["headers"] = headers
|
|
85
|
+
return _kwargs
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
def _parse_response(*, client: AuthenticatedClient | Client, response: httpx.Response) -> BooleanApiResponse | None:
|
|
90
|
+
if response.status_code == 200:
|
|
91
|
+
response_200 = BooleanApiResponse.from_dict(response.json())
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
return response_200
|
|
96
|
+
|
|
97
|
+
if client.raise_on_unexpected_status:
|
|
98
|
+
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
99
|
+
else:
|
|
100
|
+
return None
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
def _build_response(*, client: AuthenticatedClient | Client, response: httpx.Response) -> Response[BooleanApiResponse]:
|
|
104
|
+
return Response(
|
|
105
|
+
status_code=HTTPStatus(response.status_code),
|
|
106
|
+
content=response.content,
|
|
107
|
+
headers=response.headers,
|
|
108
|
+
parsed=_parse_response(client=client, response=response),
|
|
109
|
+
)
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
def sync_detailed(
|
|
113
|
+
trade_platform: UUID,
|
|
114
|
+
*,
|
|
115
|
+
client: AuthenticatedClient | Client,
|
|
116
|
+
body: list[MT4UserRestoreInput] | list[MT4UserRestoreInput] | list[MT4UserRestoreInput] | Unset = UNSET,
|
|
117
|
+
confirm: bool | Unset = False,
|
|
118
|
+
x_request_timeout: float | Unset = UNSET,
|
|
119
|
+
|
|
120
|
+
) -> Response[BooleanApiResponse]:
|
|
121
|
+
""" Restore users from backup
|
|
122
|
+
|
|
123
|
+
Restore user records into the live MT4 database. Destructive — requires `?confirm=true`.
|
|
124
|
+
|
|
125
|
+
Manager (live) call to the wrapper's
|
|
126
|
+
`BackupRestoreUsers(UserRecord[] users)`. Each input
|
|
127
|
+
`MT4UserRestoreInput` is mapped to a fresh `UserRecord`
|
|
128
|
+
with the narrow restore field set — secrets, OTP, server-managed
|
|
129
|
+
timestamps, and reserved blobs are NOT carried (see DTO docs).
|
|
130
|
+
<br>
|
|
131
|
+
Idempotency-Key header is <b>strongly recommended</b>: a network
|
|
132
|
+
blip during a multi-user restore can leave the client uncertain
|
|
133
|
+
whether the write happened. Without the key, retry will double-write.
|
|
134
|
+
<br>
|
|
135
|
+
Batch cap: 10000 records per call. Larger restores must be split.
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
**Timeout:** 60 s by default, adjustable per request with the `X-Request-Timeout` header. When the
|
|
139
|
+
trade server does not answer in time: The operation may still be completed by the server
|
|
140
|
+
(`X-Request-Outcome: unknown`): check its result before repeating it.
|
|
141
|
+
|
|
142
|
+
Args:
|
|
143
|
+
trade_platform (UUID):
|
|
144
|
+
confirm (bool | Unset): Default: False.
|
|
145
|
+
x_request_timeout (float | Unset):
|
|
146
|
+
body (list[MT4UserRestoreInput] | Unset):
|
|
147
|
+
body (list[MT4UserRestoreInput] | Unset):
|
|
148
|
+
body (list[MT4UserRestoreInput] | Unset):
|
|
149
|
+
|
|
150
|
+
Raises:
|
|
151
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
152
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
153
|
+
|
|
154
|
+
Returns:
|
|
155
|
+
Response[BooleanApiResponse]
|
|
156
|
+
"""
|
|
157
|
+
|
|
158
|
+
|
|
159
|
+
kwargs = _get_kwargs(
|
|
160
|
+
trade_platform=trade_platform,
|
|
161
|
+
body=body,
|
|
162
|
+
confirm=confirm,
|
|
163
|
+
x_request_timeout=x_request_timeout,
|
|
164
|
+
|
|
165
|
+
)
|
|
166
|
+
|
|
167
|
+
response = client.get_httpx_client().request(
|
|
168
|
+
**kwargs,
|
|
169
|
+
)
|
|
170
|
+
|
|
171
|
+
return _build_response(client=client, response=response)
|
|
172
|
+
|
|
173
|
+
def sync(
|
|
174
|
+
trade_platform: UUID,
|
|
175
|
+
*,
|
|
176
|
+
client: AuthenticatedClient | Client,
|
|
177
|
+
body: list[MT4UserRestoreInput] | list[MT4UserRestoreInput] | list[MT4UserRestoreInput] | Unset = UNSET,
|
|
178
|
+
confirm: bool | Unset = False,
|
|
179
|
+
x_request_timeout: float | Unset = UNSET,
|
|
180
|
+
|
|
181
|
+
) -> BooleanApiResponse | None:
|
|
182
|
+
""" Restore users from backup
|
|
183
|
+
|
|
184
|
+
Restore user records into the live MT4 database. Destructive — requires `?confirm=true`.
|
|
185
|
+
|
|
186
|
+
Manager (live) call to the wrapper's
|
|
187
|
+
`BackupRestoreUsers(UserRecord[] users)`. Each input
|
|
188
|
+
`MT4UserRestoreInput` is mapped to a fresh `UserRecord`
|
|
189
|
+
with the narrow restore field set — secrets, OTP, server-managed
|
|
190
|
+
timestamps, and reserved blobs are NOT carried (see DTO docs).
|
|
191
|
+
<br>
|
|
192
|
+
Idempotency-Key header is <b>strongly recommended</b>: a network
|
|
193
|
+
blip during a multi-user restore can leave the client uncertain
|
|
194
|
+
whether the write happened. Without the key, retry will double-write.
|
|
195
|
+
<br>
|
|
196
|
+
Batch cap: 10000 records per call. Larger restores must be split.
|
|
197
|
+
|
|
198
|
+
|
|
199
|
+
**Timeout:** 60 s by default, adjustable per request with the `X-Request-Timeout` header. When the
|
|
200
|
+
trade server does not answer in time: The operation may still be completed by the server
|
|
201
|
+
(`X-Request-Outcome: unknown`): check its result before repeating it.
|
|
202
|
+
|
|
203
|
+
Args:
|
|
204
|
+
trade_platform (UUID):
|
|
205
|
+
confirm (bool | Unset): Default: False.
|
|
206
|
+
x_request_timeout (float | Unset):
|
|
207
|
+
body (list[MT4UserRestoreInput] | Unset):
|
|
208
|
+
body (list[MT4UserRestoreInput] | Unset):
|
|
209
|
+
body (list[MT4UserRestoreInput] | Unset):
|
|
210
|
+
|
|
211
|
+
Raises:
|
|
212
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
213
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
214
|
+
|
|
215
|
+
Returns:
|
|
216
|
+
BooleanApiResponse
|
|
217
|
+
"""
|
|
218
|
+
|
|
219
|
+
|
|
220
|
+
return sync_detailed(
|
|
221
|
+
trade_platform=trade_platform,
|
|
222
|
+
client=client,
|
|
223
|
+
body=body,
|
|
224
|
+
confirm=confirm,
|
|
225
|
+
x_request_timeout=x_request_timeout,
|
|
226
|
+
|
|
227
|
+
).parsed
|
|
228
|
+
|
|
229
|
+
async def asyncio_detailed(
|
|
230
|
+
trade_platform: UUID,
|
|
231
|
+
*,
|
|
232
|
+
client: AuthenticatedClient | Client,
|
|
233
|
+
body: list[MT4UserRestoreInput] | list[MT4UserRestoreInput] | list[MT4UserRestoreInput] | Unset = UNSET,
|
|
234
|
+
confirm: bool | Unset = False,
|
|
235
|
+
x_request_timeout: float | Unset = UNSET,
|
|
236
|
+
|
|
237
|
+
) -> Response[BooleanApiResponse]:
|
|
238
|
+
""" Restore users from backup
|
|
239
|
+
|
|
240
|
+
Restore user records into the live MT4 database. Destructive — requires `?confirm=true`.
|
|
241
|
+
|
|
242
|
+
Manager (live) call to the wrapper's
|
|
243
|
+
`BackupRestoreUsers(UserRecord[] users)`. Each input
|
|
244
|
+
`MT4UserRestoreInput` is mapped to a fresh `UserRecord`
|
|
245
|
+
with the narrow restore field set — secrets, OTP, server-managed
|
|
246
|
+
timestamps, and reserved blobs are NOT carried (see DTO docs).
|
|
247
|
+
<br>
|
|
248
|
+
Idempotency-Key header is <b>strongly recommended</b>: a network
|
|
249
|
+
blip during a multi-user restore can leave the client uncertain
|
|
250
|
+
whether the write happened. Without the key, retry will double-write.
|
|
251
|
+
<br>
|
|
252
|
+
Batch cap: 10000 records per call. Larger restores must be split.
|
|
253
|
+
|
|
254
|
+
|
|
255
|
+
**Timeout:** 60 s by default, adjustable per request with the `X-Request-Timeout` header. When the
|
|
256
|
+
trade server does not answer in time: The operation may still be completed by the server
|
|
257
|
+
(`X-Request-Outcome: unknown`): check its result before repeating it.
|
|
258
|
+
|
|
259
|
+
Args:
|
|
260
|
+
trade_platform (UUID):
|
|
261
|
+
confirm (bool | Unset): Default: False.
|
|
262
|
+
x_request_timeout (float | Unset):
|
|
263
|
+
body (list[MT4UserRestoreInput] | Unset):
|
|
264
|
+
body (list[MT4UserRestoreInput] | Unset):
|
|
265
|
+
body (list[MT4UserRestoreInput] | Unset):
|
|
266
|
+
|
|
267
|
+
Raises:
|
|
268
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
269
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
270
|
+
|
|
271
|
+
Returns:
|
|
272
|
+
Response[BooleanApiResponse]
|
|
273
|
+
"""
|
|
274
|
+
|
|
275
|
+
|
|
276
|
+
kwargs = _get_kwargs(
|
|
277
|
+
trade_platform=trade_platform,
|
|
278
|
+
body=body,
|
|
279
|
+
confirm=confirm,
|
|
280
|
+
x_request_timeout=x_request_timeout,
|
|
281
|
+
|
|
282
|
+
)
|
|
283
|
+
|
|
284
|
+
response = await client.get_async_httpx_client().request(
|
|
285
|
+
**kwargs
|
|
286
|
+
)
|
|
287
|
+
|
|
288
|
+
return _build_response(client=client, response=response)
|
|
289
|
+
|
|
290
|
+
async def asyncio(
|
|
291
|
+
trade_platform: UUID,
|
|
292
|
+
*,
|
|
293
|
+
client: AuthenticatedClient | Client,
|
|
294
|
+
body: list[MT4UserRestoreInput] | list[MT4UserRestoreInput] | list[MT4UserRestoreInput] | Unset = UNSET,
|
|
295
|
+
confirm: bool | Unset = False,
|
|
296
|
+
x_request_timeout: float | Unset = UNSET,
|
|
297
|
+
|
|
298
|
+
) -> BooleanApiResponse | None:
|
|
299
|
+
""" Restore users from backup
|
|
300
|
+
|
|
301
|
+
Restore user records into the live MT4 database. Destructive — requires `?confirm=true`.
|
|
302
|
+
|
|
303
|
+
Manager (live) call to the wrapper's
|
|
304
|
+
`BackupRestoreUsers(UserRecord[] users)`. Each input
|
|
305
|
+
`MT4UserRestoreInput` is mapped to a fresh `UserRecord`
|
|
306
|
+
with the narrow restore field set — secrets, OTP, server-managed
|
|
307
|
+
timestamps, and reserved blobs are NOT carried (see DTO docs).
|
|
308
|
+
<br>
|
|
309
|
+
Idempotency-Key header is <b>strongly recommended</b>: a network
|
|
310
|
+
blip during a multi-user restore can leave the client uncertain
|
|
311
|
+
whether the write happened. Without the key, retry will double-write.
|
|
312
|
+
<br>
|
|
313
|
+
Batch cap: 10000 records per call. Larger restores must be split.
|
|
314
|
+
|
|
315
|
+
|
|
316
|
+
**Timeout:** 60 s by default, adjustable per request with the `X-Request-Timeout` header. When the
|
|
317
|
+
trade server does not answer in time: The operation may still be completed by the server
|
|
318
|
+
(`X-Request-Outcome: unknown`): check its result before repeating it.
|
|
319
|
+
|
|
320
|
+
Args:
|
|
321
|
+
trade_platform (UUID):
|
|
322
|
+
confirm (bool | Unset): Default: False.
|
|
323
|
+
x_request_timeout (float | Unset):
|
|
324
|
+
body (list[MT4UserRestoreInput] | Unset):
|
|
325
|
+
body (list[MT4UserRestoreInput] | Unset):
|
|
326
|
+
body (list[MT4UserRestoreInput] | Unset):
|
|
327
|
+
|
|
328
|
+
Raises:
|
|
329
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
330
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
331
|
+
|
|
332
|
+
Returns:
|
|
333
|
+
BooleanApiResponse
|
|
334
|
+
"""
|
|
335
|
+
|
|
336
|
+
|
|
337
|
+
return (await asyncio_detailed(
|
|
338
|
+
trade_platform=trade_platform,
|
|
339
|
+
client=client,
|
|
340
|
+
body=body,
|
|
341
|
+
confirm=confirm,
|
|
342
|
+
x_request_timeout=x_request_timeout,
|
|
343
|
+
|
|
344
|
+
)).parsed
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
""" Contains endpoint functions for accessing the API """
|
cplugin_webapi_sdk/_generated/api/mt4_v_2_common/get_api_v_2_mt4_trade_platform_journal_request.py
ADDED
|
@@ -0,0 +1,326 @@
|
|
|
1
|
+
from http import HTTPStatus
|
|
2
|
+
from typing import Any, cast
|
|
3
|
+
from urllib.parse import quote
|
|
4
|
+
|
|
5
|
+
import httpx
|
|
6
|
+
|
|
7
|
+
from ...client import AuthenticatedClient, Client
|
|
8
|
+
from ...types import Response, UNSET
|
|
9
|
+
from ... import errors
|
|
10
|
+
|
|
11
|
+
from ...models.en_log_type import EnLogType
|
|
12
|
+
from ...models.mt4_server_log_list_api_response import MT4ServerLogListApiResponse
|
|
13
|
+
from ...types import UNSET, Unset
|
|
14
|
+
from typing import cast
|
|
15
|
+
from uuid import UUID
|
|
16
|
+
import datetime
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
def _get_kwargs(
|
|
21
|
+
trade_platform: UUID,
|
|
22
|
+
*,
|
|
23
|
+
from_: datetime.datetime | Unset = UNSET,
|
|
24
|
+
to: datetime.datetime | Unset = UNSET,
|
|
25
|
+
mode: EnLogType | Unset = UNSET,
|
|
26
|
+
filter_: str | Unset = UNSET,
|
|
27
|
+
x_request_timeout: float | Unset = UNSET,
|
|
28
|
+
|
|
29
|
+
) -> dict[str, Any]:
|
|
30
|
+
headers: dict[str, Any] = {}
|
|
31
|
+
if not isinstance(x_request_timeout, Unset):
|
|
32
|
+
headers["X-Request-Timeout"] = str(x_request_timeout)
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
params: dict[str, Any] = {}
|
|
40
|
+
|
|
41
|
+
json_from_: str | Unset = UNSET
|
|
42
|
+
if not isinstance(from_, Unset):
|
|
43
|
+
json_from_ = from_.isoformat()
|
|
44
|
+
params["from"] = json_from_
|
|
45
|
+
|
|
46
|
+
json_to: str | Unset = UNSET
|
|
47
|
+
if not isinstance(to, Unset):
|
|
48
|
+
json_to = to.isoformat()
|
|
49
|
+
params["to"] = json_to
|
|
50
|
+
|
|
51
|
+
json_mode: str | Unset = UNSET
|
|
52
|
+
if not isinstance(mode, Unset):
|
|
53
|
+
json_mode = mode.value
|
|
54
|
+
|
|
55
|
+
params["mode"] = json_mode
|
|
56
|
+
|
|
57
|
+
params["filter"] = filter_
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
params = {k: v for k, v in params.items() if v is not UNSET and v is not None}
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
_kwargs: dict[str, Any] = {
|
|
64
|
+
"method": "get",
|
|
65
|
+
"url": "/api/v2/MT4/{trade_platform}/JournalRequest".format(trade_platform=quote(str(trade_platform), safe=""),),
|
|
66
|
+
"params": params,
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
_kwargs["headers"] = headers
|
|
71
|
+
return _kwargs
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
def _parse_response(*, client: AuthenticatedClient | Client, response: httpx.Response) -> MT4ServerLogListApiResponse | None:
|
|
76
|
+
if response.status_code == 200:
|
|
77
|
+
response_200 = MT4ServerLogListApiResponse.from_dict(response.json())
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
return response_200
|
|
82
|
+
|
|
83
|
+
if client.raise_on_unexpected_status:
|
|
84
|
+
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
85
|
+
else:
|
|
86
|
+
return None
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
def _build_response(*, client: AuthenticatedClient | Client, response: httpx.Response) -> Response[MT4ServerLogListApiResponse]:
|
|
90
|
+
return Response(
|
|
91
|
+
status_code=HTTPStatus(response.status_code),
|
|
92
|
+
content=response.content,
|
|
93
|
+
headers=response.headers,
|
|
94
|
+
parsed=_parse_response(client=client, response=response),
|
|
95
|
+
)
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
def sync_detailed(
|
|
99
|
+
trade_platform: UUID,
|
|
100
|
+
*,
|
|
101
|
+
client: AuthenticatedClient | Client,
|
|
102
|
+
from_: datetime.datetime | Unset = UNSET,
|
|
103
|
+
to: datetime.datetime | Unset = UNSET,
|
|
104
|
+
mode: EnLogType | Unset = UNSET,
|
|
105
|
+
filter_: str | Unset = UNSET,
|
|
106
|
+
x_request_timeout: float | Unset = UNSET,
|
|
107
|
+
|
|
108
|
+
) -> Response[MT4ServerLogListApiResponse]:
|
|
109
|
+
""" Get server journal
|
|
110
|
+
|
|
111
|
+
Server journal (log) entries for a date window.
|
|
112
|
+
|
|
113
|
+
Manager (live) call — round-trips to MT4 server. Returns log entries
|
|
114
|
+
in `[from, to]` range filtered by `mode` and an optional
|
|
115
|
+
free-text `filter`. Defaults: `mode = Full`, `to = now`
|
|
116
|
+
(server time).
|
|
117
|
+
|
|
118
|
+
Heavier endpoint — large date windows return large arrays. Pair with
|
|
119
|
+
reasonable `from`/`to` bounds; consider `Idempotency-Key`
|
|
120
|
+
for retry safety on slow links.
|
|
121
|
+
|
|
122
|
+
**Timeout:** 30 s by default, adjustable per request with the `X-Request-Timeout` header. When the
|
|
123
|
+
trade server does not answer in time: Nothing was changed; the request is safe to repeat.
|
|
124
|
+
|
|
125
|
+
Args:
|
|
126
|
+
trade_platform (UUID):
|
|
127
|
+
from_ (datetime.datetime | Unset):
|
|
128
|
+
to (datetime.datetime | Unset):
|
|
129
|
+
mode (EnLogType | Unset):
|
|
130
|
+
filter_ (str | Unset):
|
|
131
|
+
x_request_timeout (float | Unset):
|
|
132
|
+
|
|
133
|
+
Raises:
|
|
134
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
135
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
136
|
+
|
|
137
|
+
Returns:
|
|
138
|
+
Response[MT4ServerLogListApiResponse]
|
|
139
|
+
"""
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
kwargs = _get_kwargs(
|
|
143
|
+
trade_platform=trade_platform,
|
|
144
|
+
from_=from_,
|
|
145
|
+
to=to,
|
|
146
|
+
mode=mode,
|
|
147
|
+
filter_=filter_,
|
|
148
|
+
x_request_timeout=x_request_timeout,
|
|
149
|
+
|
|
150
|
+
)
|
|
151
|
+
|
|
152
|
+
response = client.get_httpx_client().request(
|
|
153
|
+
**kwargs,
|
|
154
|
+
)
|
|
155
|
+
|
|
156
|
+
return _build_response(client=client, response=response)
|
|
157
|
+
|
|
158
|
+
def sync(
|
|
159
|
+
trade_platform: UUID,
|
|
160
|
+
*,
|
|
161
|
+
client: AuthenticatedClient | Client,
|
|
162
|
+
from_: datetime.datetime | Unset = UNSET,
|
|
163
|
+
to: datetime.datetime | Unset = UNSET,
|
|
164
|
+
mode: EnLogType | Unset = UNSET,
|
|
165
|
+
filter_: str | Unset = UNSET,
|
|
166
|
+
x_request_timeout: float | Unset = UNSET,
|
|
167
|
+
|
|
168
|
+
) -> MT4ServerLogListApiResponse | None:
|
|
169
|
+
""" Get server journal
|
|
170
|
+
|
|
171
|
+
Server journal (log) entries for a date window.
|
|
172
|
+
|
|
173
|
+
Manager (live) call — round-trips to MT4 server. Returns log entries
|
|
174
|
+
in `[from, to]` range filtered by `mode` and an optional
|
|
175
|
+
free-text `filter`. Defaults: `mode = Full`, `to = now`
|
|
176
|
+
(server time).
|
|
177
|
+
|
|
178
|
+
Heavier endpoint — large date windows return large arrays. Pair with
|
|
179
|
+
reasonable `from`/`to` bounds; consider `Idempotency-Key`
|
|
180
|
+
for retry safety on slow links.
|
|
181
|
+
|
|
182
|
+
**Timeout:** 30 s by default, adjustable per request with the `X-Request-Timeout` header. When the
|
|
183
|
+
trade server does not answer in time: Nothing was changed; the request is safe to repeat.
|
|
184
|
+
|
|
185
|
+
Args:
|
|
186
|
+
trade_platform (UUID):
|
|
187
|
+
from_ (datetime.datetime | Unset):
|
|
188
|
+
to (datetime.datetime | Unset):
|
|
189
|
+
mode (EnLogType | Unset):
|
|
190
|
+
filter_ (str | Unset):
|
|
191
|
+
x_request_timeout (float | Unset):
|
|
192
|
+
|
|
193
|
+
Raises:
|
|
194
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
195
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
196
|
+
|
|
197
|
+
Returns:
|
|
198
|
+
MT4ServerLogListApiResponse
|
|
199
|
+
"""
|
|
200
|
+
|
|
201
|
+
|
|
202
|
+
return sync_detailed(
|
|
203
|
+
trade_platform=trade_platform,
|
|
204
|
+
client=client,
|
|
205
|
+
from_=from_,
|
|
206
|
+
to=to,
|
|
207
|
+
mode=mode,
|
|
208
|
+
filter_=filter_,
|
|
209
|
+
x_request_timeout=x_request_timeout,
|
|
210
|
+
|
|
211
|
+
).parsed
|
|
212
|
+
|
|
213
|
+
async def asyncio_detailed(
|
|
214
|
+
trade_platform: UUID,
|
|
215
|
+
*,
|
|
216
|
+
client: AuthenticatedClient | Client,
|
|
217
|
+
from_: datetime.datetime | Unset = UNSET,
|
|
218
|
+
to: datetime.datetime | Unset = UNSET,
|
|
219
|
+
mode: EnLogType | Unset = UNSET,
|
|
220
|
+
filter_: str | Unset = UNSET,
|
|
221
|
+
x_request_timeout: float | Unset = UNSET,
|
|
222
|
+
|
|
223
|
+
) -> Response[MT4ServerLogListApiResponse]:
|
|
224
|
+
""" Get server journal
|
|
225
|
+
|
|
226
|
+
Server journal (log) entries for a date window.
|
|
227
|
+
|
|
228
|
+
Manager (live) call — round-trips to MT4 server. Returns log entries
|
|
229
|
+
in `[from, to]` range filtered by `mode` and an optional
|
|
230
|
+
free-text `filter`. Defaults: `mode = Full`, `to = now`
|
|
231
|
+
(server time).
|
|
232
|
+
|
|
233
|
+
Heavier endpoint — large date windows return large arrays. Pair with
|
|
234
|
+
reasonable `from`/`to` bounds; consider `Idempotency-Key`
|
|
235
|
+
for retry safety on slow links.
|
|
236
|
+
|
|
237
|
+
**Timeout:** 30 s by default, adjustable per request with the `X-Request-Timeout` header. When the
|
|
238
|
+
trade server does not answer in time: Nothing was changed; the request is safe to repeat.
|
|
239
|
+
|
|
240
|
+
Args:
|
|
241
|
+
trade_platform (UUID):
|
|
242
|
+
from_ (datetime.datetime | Unset):
|
|
243
|
+
to (datetime.datetime | Unset):
|
|
244
|
+
mode (EnLogType | Unset):
|
|
245
|
+
filter_ (str | Unset):
|
|
246
|
+
x_request_timeout (float | Unset):
|
|
247
|
+
|
|
248
|
+
Raises:
|
|
249
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
250
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
251
|
+
|
|
252
|
+
Returns:
|
|
253
|
+
Response[MT4ServerLogListApiResponse]
|
|
254
|
+
"""
|
|
255
|
+
|
|
256
|
+
|
|
257
|
+
kwargs = _get_kwargs(
|
|
258
|
+
trade_platform=trade_platform,
|
|
259
|
+
from_=from_,
|
|
260
|
+
to=to,
|
|
261
|
+
mode=mode,
|
|
262
|
+
filter_=filter_,
|
|
263
|
+
x_request_timeout=x_request_timeout,
|
|
264
|
+
|
|
265
|
+
)
|
|
266
|
+
|
|
267
|
+
response = await client.get_async_httpx_client().request(
|
|
268
|
+
**kwargs
|
|
269
|
+
)
|
|
270
|
+
|
|
271
|
+
return _build_response(client=client, response=response)
|
|
272
|
+
|
|
273
|
+
async def asyncio(
|
|
274
|
+
trade_platform: UUID,
|
|
275
|
+
*,
|
|
276
|
+
client: AuthenticatedClient | Client,
|
|
277
|
+
from_: datetime.datetime | Unset = UNSET,
|
|
278
|
+
to: datetime.datetime | Unset = UNSET,
|
|
279
|
+
mode: EnLogType | Unset = UNSET,
|
|
280
|
+
filter_: str | Unset = UNSET,
|
|
281
|
+
x_request_timeout: float | Unset = UNSET,
|
|
282
|
+
|
|
283
|
+
) -> MT4ServerLogListApiResponse | None:
|
|
284
|
+
""" Get server journal
|
|
285
|
+
|
|
286
|
+
Server journal (log) entries for a date window.
|
|
287
|
+
|
|
288
|
+
Manager (live) call — round-trips to MT4 server. Returns log entries
|
|
289
|
+
in `[from, to]` range filtered by `mode` and an optional
|
|
290
|
+
free-text `filter`. Defaults: `mode = Full`, `to = now`
|
|
291
|
+
(server time).
|
|
292
|
+
|
|
293
|
+
Heavier endpoint — large date windows return large arrays. Pair with
|
|
294
|
+
reasonable `from`/`to` bounds; consider `Idempotency-Key`
|
|
295
|
+
for retry safety on slow links.
|
|
296
|
+
|
|
297
|
+
**Timeout:** 30 s by default, adjustable per request with the `X-Request-Timeout` header. When the
|
|
298
|
+
trade server does not answer in time: Nothing was changed; the request is safe to repeat.
|
|
299
|
+
|
|
300
|
+
Args:
|
|
301
|
+
trade_platform (UUID):
|
|
302
|
+
from_ (datetime.datetime | Unset):
|
|
303
|
+
to (datetime.datetime | Unset):
|
|
304
|
+
mode (EnLogType | Unset):
|
|
305
|
+
filter_ (str | Unset):
|
|
306
|
+
x_request_timeout (float | Unset):
|
|
307
|
+
|
|
308
|
+
Raises:
|
|
309
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
310
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
311
|
+
|
|
312
|
+
Returns:
|
|
313
|
+
MT4ServerLogListApiResponse
|
|
314
|
+
"""
|
|
315
|
+
|
|
316
|
+
|
|
317
|
+
return (await asyncio_detailed(
|
|
318
|
+
trade_platform=trade_platform,
|
|
319
|
+
client=client,
|
|
320
|
+
from_=from_,
|
|
321
|
+
to=to,
|
|
322
|
+
mode=mode,
|
|
323
|
+
filter_=filter_,
|
|
324
|
+
x_request_timeout=x_request_timeout,
|
|
325
|
+
|
|
326
|
+
)).parsed
|