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.
Files changed (456) hide show
  1. cplugin_webapi_sdk/__init__.py +79 -0
  2. cplugin_webapi_sdk/_generated/__init__.py +8 -0
  3. cplugin_webapi_sdk/_generated/api/__init__.py +1 -0
  4. cplugin_webapi_sdk/_generated/api/mt4_v_2_authentication/__init__.py +1 -0
  5. cplugin_webapi_sdk/_generated/api/mt4_v_2_authentication/post_api_v_2_mt4_trade_platform_user_password_check_login.py +306 -0
  6. cplugin_webapi_sdk/_generated/api/mt4_v_2_authentication/post_api_v_2_mt4_trade_platform_user_password_set_login.py +377 -0
  7. cplugin_webapi_sdk/_generated/api/mt4_v_2_backup/__init__.py +1 -0
  8. cplugin_webapi_sdk/_generated/api/mt4_v_2_backup/get_api_v_2_mt4_trade_platform_backup_info_orders_mode.py +246 -0
  9. cplugin_webapi_sdk/_generated/api/mt4_v_2_backup/get_api_v_2_mt4_trade_platform_backup_info_users_mode.py +262 -0
  10. cplugin_webapi_sdk/_generated/api/mt4_v_2_backup/get_api_v_2_mt4_trade_platform_backup_request_orders_file.py +285 -0
  11. cplugin_webapi_sdk/_generated/api/mt4_v_2_backup/get_api_v_2_mt4_trade_platform_backup_request_users_file.py +325 -0
  12. cplugin_webapi_sdk/_generated/api/mt4_v_2_backup_destructive/__init__.py +1 -0
  13. cplugin_webapi_sdk/_generated/api/mt4_v_2_backup_destructive/post_api_v_2_mt4_trade_platform_backup_restore_orders.py +332 -0
  14. cplugin_webapi_sdk/_generated/api/mt4_v_2_backup_destructive/post_api_v_2_mt4_trade_platform_backup_restore_users.py +344 -0
  15. cplugin_webapi_sdk/_generated/api/mt4_v_2_common/__init__.py +1 -0
  16. cplugin_webapi_sdk/_generated/api/mt4_v_2_common/get_api_v_2_mt4_trade_platform_journal_request.py +326 -0
  17. cplugin_webapi_sdk/_generated/api/mt4_v_2_common/get_api_v_2_mt4_trade_platform_manager_common.py +229 -0
  18. cplugin_webapi_sdk/_generated/api/mt4_v_2_common/get_api_v_2_mt4_trade_platform_server_time.py +225 -0
  19. cplugin_webapi_sdk/_generated/api/mt4_v_2_config/__init__.py +1 -0
  20. cplugin_webapi_sdk/_generated/api/mt4_v_2_config/get_api_v_2_mt4_trade_platform_cfg_request_access.py +280 -0
  21. cplugin_webapi_sdk/_generated/api/mt4_v_2_config/get_api_v_2_mt4_trade_platform_cfg_request_backup.py +241 -0
  22. cplugin_webapi_sdk/_generated/api/mt4_v_2_config/get_api_v_2_mt4_trade_platform_cfg_request_common.py +237 -0
  23. cplugin_webapi_sdk/_generated/api/mt4_v_2_config/get_api_v_2_mt4_trade_platform_cfg_request_data_server.py +276 -0
  24. cplugin_webapi_sdk/_generated/api/mt4_v_2_config/get_api_v_2_mt4_trade_platform_cfg_request_feeder.py +276 -0
  25. cplugin_webapi_sdk/_generated/api/mt4_v_2_config/get_api_v_2_mt4_trade_platform_cfg_request_gateway_account.py +280 -0
  26. cplugin_webapi_sdk/_generated/api/mt4_v_2_config/get_api_v_2_mt4_trade_platform_cfg_request_gateway_markup.py +280 -0
  27. cplugin_webapi_sdk/_generated/api/mt4_v_2_config/get_api_v_2_mt4_trade_platform_cfg_request_gateway_rule.py +272 -0
  28. cplugin_webapi_sdk/_generated/api/mt4_v_2_config/get_api_v_2_mt4_trade_platform_cfg_request_holiday.py +296 -0
  29. cplugin_webapi_sdk/_generated/api/mt4_v_2_config/get_api_v_2_mt4_trade_platform_cfg_request_live_update.py +272 -0
  30. cplugin_webapi_sdk/_generated/api/mt4_v_2_config/get_api_v_2_mt4_trade_platform_cfg_request_manager.py +272 -0
  31. cplugin_webapi_sdk/_generated/api/mt4_v_2_config/get_api_v_2_mt4_trade_platform_cfg_request_sync.py +276 -0
  32. cplugin_webapi_sdk/_generated/api/mt4_v_2_config/get_api_v_2_mt4_trade_platform_cfg_request_time.py +245 -0
  33. cplugin_webapi_sdk/_generated/api/mt4_v_2_config/post_api_v_2_mt4_trade_platform_cfg_delete_access_pos.py +254 -0
  34. cplugin_webapi_sdk/_generated/api/mt4_v_2_config/post_api_v_2_mt4_trade_platform_cfg_delete_data_server_pos.py +234 -0
  35. cplugin_webapi_sdk/_generated/api/mt4_v_2_config/post_api_v_2_mt4_trade_platform_cfg_delete_feeder_pos.py +230 -0
  36. cplugin_webapi_sdk/_generated/api/mt4_v_2_config/post_api_v_2_mt4_trade_platform_cfg_delete_gateway_account_pos.py +230 -0
  37. cplugin_webapi_sdk/_generated/api/mt4_v_2_config/post_api_v_2_mt4_trade_platform_cfg_delete_gateway_markup_pos.py +230 -0
  38. cplugin_webapi_sdk/_generated/api/mt4_v_2_config/post_api_v_2_mt4_trade_platform_cfg_delete_gateway_rule_pos.py +230 -0
  39. cplugin_webapi_sdk/_generated/api/mt4_v_2_config/post_api_v_2_mt4_trade_platform_cfg_delete_holiday_pos.py +230 -0
  40. cplugin_webapi_sdk/_generated/api/mt4_v_2_config/post_api_v_2_mt4_trade_platform_cfg_delete_live_update_pos.py +230 -0
  41. cplugin_webapi_sdk/_generated/api/mt4_v_2_config/post_api_v_2_mt4_trade_platform_cfg_delete_manager_pos.py +230 -0
  42. cplugin_webapi_sdk/_generated/api/mt4_v_2_config/post_api_v_2_mt4_trade_platform_cfg_delete_symbol_pos.py +238 -0
  43. cplugin_webapi_sdk/_generated/api/mt4_v_2_config/post_api_v_2_mt4_trade_platform_cfg_delete_sync_pos.py +230 -0
  44. cplugin_webapi_sdk/_generated/api/mt4_v_2_config/post_api_v_2_mt4_trade_platform_cfg_shift_access_pos.py +250 -0
  45. cplugin_webapi_sdk/_generated/api/mt4_v_2_config/post_api_v_2_mt4_trade_platform_cfg_shift_data_server_pos.py +250 -0
  46. cplugin_webapi_sdk/_generated/api/mt4_v_2_config/post_api_v_2_mt4_trade_platform_cfg_shift_feeder_pos.py +250 -0
  47. cplugin_webapi_sdk/_generated/api/mt4_v_2_config/post_api_v_2_mt4_trade_platform_cfg_shift_gateway_account_pos.py +250 -0
  48. cplugin_webapi_sdk/_generated/api/mt4_v_2_config/post_api_v_2_mt4_trade_platform_cfg_shift_gateway_markup_pos.py +250 -0
  49. cplugin_webapi_sdk/_generated/api/mt4_v_2_config/post_api_v_2_mt4_trade_platform_cfg_shift_gateway_rule_pos.py +250 -0
  50. cplugin_webapi_sdk/_generated/api/mt4_v_2_config/post_api_v_2_mt4_trade_platform_cfg_shift_group_pos.py +250 -0
  51. cplugin_webapi_sdk/_generated/api/mt4_v_2_config/post_api_v_2_mt4_trade_platform_cfg_shift_holiday_pos.py +250 -0
  52. cplugin_webapi_sdk/_generated/api/mt4_v_2_config/post_api_v_2_mt4_trade_platform_cfg_shift_live_update_pos.py +250 -0
  53. cplugin_webapi_sdk/_generated/api/mt4_v_2_config/post_api_v_2_mt4_trade_platform_cfg_shift_manager_pos.py +250 -0
  54. cplugin_webapi_sdk/_generated/api/mt4_v_2_config/post_api_v_2_mt4_trade_platform_cfg_shift_plugin_pos.py +266 -0
  55. cplugin_webapi_sdk/_generated/api/mt4_v_2_config/post_api_v_2_mt4_trade_platform_cfg_shift_symbol_pos.py +250 -0
  56. cplugin_webapi_sdk/_generated/api/mt4_v_2_config/post_api_v_2_mt4_trade_platform_cfg_shift_sync_pos.py +250 -0
  57. cplugin_webapi_sdk/_generated/api/mt4_v_2_config/post_api_v_2_mt4_trade_platform_cfg_update_access_pos.py +378 -0
  58. cplugin_webapi_sdk/_generated/api/mt4_v_2_config/post_api_v_2_mt4_trade_platform_cfg_update_backup.py +361 -0
  59. cplugin_webapi_sdk/_generated/api/mt4_v_2_config/post_api_v_2_mt4_trade_platform_cfg_update_common.py +389 -0
  60. cplugin_webapi_sdk/_generated/api/mt4_v_2_config/post_api_v_2_mt4_trade_platform_cfg_update_data_server_pos.py +354 -0
  61. cplugin_webapi_sdk/_generated/api/mt4_v_2_config/post_api_v_2_mt4_trade_platform_cfg_update_feeder.py +305 -0
  62. cplugin_webapi_sdk/_generated/api/mt4_v_2_config/post_api_v_2_mt4_trade_platform_cfg_update_gateway_account.py +361 -0
  63. cplugin_webapi_sdk/_generated/api/mt4_v_2_config/post_api_v_2_mt4_trade_platform_cfg_update_gateway_markup.py +345 -0
  64. cplugin_webapi_sdk/_generated/api/mt4_v_2_config/post_api_v_2_mt4_trade_platform_cfg_update_gateway_rule.py +377 -0
  65. cplugin_webapi_sdk/_generated/api/mt4_v_2_config/post_api_v_2_mt4_trade_platform_cfg_update_holiday_pos.py +350 -0
  66. cplugin_webapi_sdk/_generated/api/mt4_v_2_config/post_api_v_2_mt4_trade_platform_cfg_update_live_update.py +385 -0
  67. cplugin_webapi_sdk/_generated/api/mt4_v_2_config/post_api_v_2_mt4_trade_platform_cfg_update_manager.py +385 -0
  68. cplugin_webapi_sdk/_generated/api/mt4_v_2_config/post_api_v_2_mt4_trade_platform_cfg_update_symbol_group_pos.py +342 -0
  69. cplugin_webapi_sdk/_generated/api/mt4_v_2_config/post_api_v_2_mt4_trade_platform_cfg_update_sync.py +349 -0
  70. cplugin_webapi_sdk/_generated/api/mt4_v_2_config/post_api_v_2_mt4_trade_platform_cfg_update_time.py +421 -0
  71. cplugin_webapi_sdk/_generated/api/mt4_v_2_groups/__init__.py +1 -0
  72. cplugin_webapi_sdk/_generated/api/mt4_v_2_groups/get_api_v_2_mt4_trade_platform_ensure_group_name_exist_group.py +274 -0
  73. cplugin_webapi_sdk/_generated/api/mt4_v_2_groups/get_api_v_2_mt4_trade_platform_group_record_get_group.py +242 -0
  74. cplugin_webapi_sdk/_generated/api/mt4_v_2_groups/get_api_v_2_mt4_trade_platform_group_sec_groups_get_group.py +246 -0
  75. cplugin_webapi_sdk/_generated/api/mt4_v_2_groups/get_api_v_2_mt4_trade_platform_group_sec_margins_get_group.py +246 -0
  76. cplugin_webapi_sdk/_generated/api/mt4_v_2_groups/get_api_v_2_mt4_trade_platform_groups_get.py +233 -0
  77. cplugin_webapi_sdk/_generated/api/mt4_v_2_groups/get_api_v_2_mt4_trade_platform_groups_request.py +256 -0
  78. cplugin_webapi_sdk/_generated/api/mt4_v_2_groups/patch_api_v_2_mt4_trade_platform_group_record_group.py +255 -0
  79. cplugin_webapi_sdk/_generated/api/mt4_v_2_groups/post_api_v_2_mt4_trade_platform_group_record_update_group.py +542 -0
  80. cplugin_webapi_sdk/_generated/api/mt4_v_2_history/__init__.py +1 -0
  81. cplugin_webapi_sdk/_generated/api/mt4_v_2_history/get_api_v_2_mt4_trade_platform_trades_user_history_login.py +292 -0
  82. cplugin_webapi_sdk/_generated/api/mt4_v_2_mail/__init__.py +1 -0
  83. cplugin_webapi_sdk/_generated/api/mt4_v_2_mail/get_api_v_2_mt4_trade_platform_mail_last.py +225 -0
  84. cplugin_webapi_sdk/_generated/api/mt4_v_2_margins/__init__.py +1 -0
  85. cplugin_webapi_sdk/_generated/api/mt4_v_2_margins/get_api_v_2_mt4_trade_platform_margin_level_get_login.py +246 -0
  86. cplugin_webapi_sdk/_generated/api/mt4_v_2_margins/get_api_v_2_mt4_trade_platform_margin_level_request_login.py +246 -0
  87. cplugin_webapi_sdk/_generated/api/mt4_v_2_margins/get_api_v_2_mt4_trade_platform_margins_get.py +233 -0
  88. cplugin_webapi_sdk/_generated/api/mt4_v_2_news/__init__.py +1 -0
  89. cplugin_webapi_sdk/_generated/api/mt4_v_2_news/get_api_v_2_mt4_trade_platform_news_body_get_key.py +238 -0
  90. cplugin_webapi_sdk/_generated/api/mt4_v_2_news/get_api_v_2_mt4_trade_platform_news_get.py +237 -0
  91. cplugin_webapi_sdk/_generated/api/mt4_v_2_news/get_api_v_2_mt4_trade_platform_news_topic_get_pos.py +246 -0
  92. cplugin_webapi_sdk/_generated/api/mt4_v_2_news/get_api_v_2_mt4_trade_platform_news_total.py +225 -0
  93. cplugin_webapi_sdk/_generated/api/mt4_v_2_news/post_api_v_2_mt4_trade_platform_news_body_request_key.py +254 -0
  94. cplugin_webapi_sdk/_generated/api/mt4_v_2_online/__init__.py +1 -0
  95. cplugin_webapi_sdk/_generated/api/mt4_v_2_online/get_api_v_2_mt4_trade_platform_online_get.py +276 -0
  96. cplugin_webapi_sdk/_generated/api/mt4_v_2_online/get_api_v_2_mt4_trade_platform_online_request.py +276 -0
  97. cplugin_webapi_sdk/_generated/api/mt4_v_2_plugins/__init__.py +1 -0
  98. cplugin_webapi_sdk/_generated/api/mt4_v_2_plugins/post_api_v_2_mt4_trade_platform_external_command_json.py +309 -0
  99. cplugin_webapi_sdk/_generated/api/mt4_v_2_prices/__init__.py +1 -0
  100. cplugin_webapi_sdk/_generated/api/mt4_v_2_prices/get_api_v_2_mt4_trade_platform_chart_request_symbol.py +332 -0
  101. cplugin_webapi_sdk/_generated/api/mt4_v_2_prices/get_api_v_2_mt4_trade_platform_tick_info_last.py +233 -0
  102. cplugin_webapi_sdk/_generated/api/mt4_v_2_prices/get_api_v_2_mt4_trade_platform_tick_info_last_symbol.py +250 -0
  103. cplugin_webapi_sdk/_generated/api/mt4_v_2_prices/get_api_v_2_mt4_trade_platform_ticks_request_symbol.py +311 -0
  104. cplugin_webapi_sdk/_generated/api/mt4_v_2_prices/post_api_v_2_mt4_trade_platform_chart_add_symbol.py +375 -0
  105. cplugin_webapi_sdk/_generated/api/mt4_v_2_prices/post_api_v_2_mt4_trade_platform_chart_delete_symbol.py +375 -0
  106. cplugin_webapi_sdk/_generated/api/mt4_v_2_prices/post_api_v_2_mt4_trade_platform_chart_update_symbol.py +367 -0
  107. cplugin_webapi_sdk/_generated/api/mt4_v_2_prices/post_api_v_2_mt4_trade_platform_history_correct_symbol.py +274 -0
  108. cplugin_webapi_sdk/_generated/api/mt4_v_2_reports/__init__.py +1 -0
  109. cplugin_webapi_sdk/_generated/api/mt4_v_2_reports/get_api_v_2_mt4_trade_platform_daily_reports_request.py +362 -0
  110. cplugin_webapi_sdk/_generated/api/mt4_v_2_reports/get_api_v_2_mt4_trade_platform_daily_reports_request_ex.py +334 -0
  111. cplugin_webapi_sdk/_generated/api/mt4_v_2_reports/get_api_v_2_mt4_trade_platform_performance_request.py +281 -0
  112. cplugin_webapi_sdk/_generated/api/mt4_v_2_reports/get_api_v_2_mt4_trade_platform_reports_request.py +370 -0
  113. cplugin_webapi_sdk/_generated/api/mt4_v_2_reports/post_api_v_2_mt4_trade_platform_daily_sync_read.py +253 -0
  114. cplugin_webapi_sdk/_generated/api/mt4_v_2_reports/post_api_v_2_mt4_trade_platform_daily_sync_start.py +289 -0
  115. cplugin_webapi_sdk/_generated/api/mt4_v_2_server_admin/__init__.py +1 -0
  116. cplugin_webapi_sdk/_generated/api/mt4_v_2_server_admin/get_api_v_2_mt4_trade_platform_license_check_license_name.py +250 -0
  117. cplugin_webapi_sdk/_generated/api/mt4_v_2_server_admin/get_api_v_2_mt4_trade_platform_srv_feeder_log_name.py +246 -0
  118. cplugin_webapi_sdk/_generated/api/mt4_v_2_server_admin/get_api_v_2_mt4_trade_platform_srv_feeders.py +288 -0
  119. cplugin_webapi_sdk/_generated/api/mt4_v_2_server_admin/post_api_v_2_mt4_trade_platform_notifications_send.py +289 -0
  120. cplugin_webapi_sdk/_generated/api/mt4_v_2_server_admin_destructive/__init__.py +1 -0
  121. cplugin_webapi_sdk/_generated/api/mt4_v_2_server_admin_destructive/post_api_v_2_mt4_trade_platform_srv_charts_sync.py +257 -0
  122. cplugin_webapi_sdk/_generated/api/mt4_v_2_server_admin_destructive/post_api_v_2_mt4_trade_platform_srv_feeds_restart.py +253 -0
  123. 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
  124. cplugin_webapi_sdk/_generated/api/mt4_v_2_server_admin_destructive/post_api_v_2_mt4_trade_platform_srv_restart.py +281 -0
  125. cplugin_webapi_sdk/_generated/api/mt4_v_2_sidecar_batch_reads/__init__.py +1 -0
  126. cplugin_webapi_sdk/_generated/api/mt4_v_2_sidecar_batch_reads/get_api_v_2_mt4_trade_platform_trades_snapshot.py +245 -0
  127. cplugin_webapi_sdk/_generated/api/mt4_v_2_sidecar_batch_reads/get_api_v_2_mt4_trade_platform_trades_sync_read.py +249 -0
  128. cplugin_webapi_sdk/_generated/api/mt4_v_2_sidecar_batch_reads/get_api_v_2_mt4_trade_platform_users_snapshot.py +257 -0
  129. cplugin_webapi_sdk/_generated/api/mt4_v_2_sidecar_batch_reads/get_api_v_2_mt4_trade_platform_users_sync_read.py +253 -0
  130. cplugin_webapi_sdk/_generated/api/mt4_v_2_sidecar_external_command/__init__.py +1 -0
  131. cplugin_webapi_sdk/_generated/api/mt4_v_2_sidecar_external_command/post_api_v_2_mt4_trade_platform_external_command_binary.py +393 -0
  132. cplugin_webapi_sdk/_generated/api/mt4_v_2_sidecar_messaging/__init__.py +1 -0
  133. cplugin_webapi_sdk/_generated/api/mt4_v_2_sidecar_messaging/get_api_v_2_mt4_trade_platform_mails_request.py +233 -0
  134. cplugin_webapi_sdk/_generated/api/mt4_v_2_sidecar_messaging/post_api_v_2_mt4_trade_platform_mail_send.py +317 -0
  135. cplugin_webapi_sdk/_generated/api/mt4_v_2_sidecar_messaging/post_api_v_2_mt4_trade_platform_news_send.py +309 -0
  136. cplugin_webapi_sdk/_generated/api/mt4_v_2_sidecar_plugins/__init__.py +1 -0
  137. cplugin_webapi_sdk/_generated/api/mt4_v_2_sidecar_plugins/get_api_v_2_mt4_trade_platform_cfg_request_plugin.py +233 -0
  138. cplugin_webapi_sdk/_generated/api/mt4_v_2_sidecar_plugins/get_api_v_2_mt4_trade_platform_plugin_param_get_pos.py +242 -0
  139. cplugin_webapi_sdk/_generated/api/mt4_v_2_sidecar_plugins/get_api_v_2_mt4_trade_platform_plugins_get.py +233 -0
  140. cplugin_webapi_sdk/_generated/api/mt4_v_2_sidecar_plugins/post_api_v_2_mt4_trade_platform_cfg_update_plugin.py +301 -0
  141. cplugin_webapi_sdk/_generated/api/mt4_v_2_sidecar_plugins/post_api_v_2_mt4_trade_platform_plugin_update.py +293 -0
  142. cplugin_webapi_sdk/_generated/api/mt4_v_2_symbols/__init__.py +1 -0
  143. cplugin_webapi_sdk/_generated/api/mt4_v_2_symbols/get_api_v_2_mt4_trade_platform_cfg_request_symbol.py +229 -0
  144. cplugin_webapi_sdk/_generated/api/mt4_v_2_symbols/get_api_v_2_mt4_trade_platform_cfg_request_symbol_symbol.py +242 -0
  145. cplugin_webapi_sdk/_generated/api/mt4_v_2_symbols/get_api_v_2_mt4_trade_platform_symbol_info_get.py +253 -0
  146. cplugin_webapi_sdk/_generated/api/mt4_v_2_symbols/get_api_v_2_mt4_trade_platform_symbol_info_updated.py +268 -0
  147. cplugin_webapi_sdk/_generated/api/mt4_v_2_symbols/get_api_v_2_mt4_trade_platform_symbol_sessions_get_symbol.py +258 -0
  148. cplugin_webapi_sdk/_generated/api/mt4_v_2_symbols/get_api_v_2_mt4_trade_platform_symbols_groups_get.py +233 -0
  149. cplugin_webapi_sdk/_generated/api/mt4_v_2_symbols/patch_api_v_2_mt4_trade_platform_symbol_config_symbol.py +255 -0
  150. cplugin_webapi_sdk/_generated/api/mt4_v_2_symbols/post_api_v_2_mt4_trade_platform_cfg_update_symbol_symbol.py +530 -0
  151. cplugin_webapi_sdk/_generated/api/mt4_v_2_symbols/post_api_v_2_mt4_trade_platform_symbol_add_symbol.py +270 -0
  152. cplugin_webapi_sdk/_generated/api/mt4_v_2_symbols/post_api_v_2_mt4_trade_platform_symbol_change.py +417 -0
  153. cplugin_webapi_sdk/_generated/api/mt4_v_2_symbols/post_api_v_2_mt4_trade_platform_symbol_hide_symbol.py +246 -0
  154. cplugin_webapi_sdk/_generated/api/mt4_v_2_symbols/post_api_v_2_mt4_trade_platform_symbol_send_tick.py +319 -0
  155. cplugin_webapi_sdk/_generated/api/mt4_v_2_symbols/post_api_v_2_mt4_trade_platform_symbols_refresh.py +233 -0
  156. cplugin_webapi_sdk/_generated/api/mt4_v_2_trades/__init__.py +1 -0
  157. cplugin_webapi_sdk/_generated/api/mt4_v_2_trades/get_api_v_2_mt4_trade_platform_adm_trades_request_group.py +266 -0
  158. cplugin_webapi_sdk/_generated/api/mt4_v_2_trades/get_api_v_2_mt4_trade_platform_trade_record_get_order.py +246 -0
  159. cplugin_webapi_sdk/_generated/api/mt4_v_2_trades/get_api_v_2_mt4_trade_platform_trade_record_request_order.py +258 -0
  160. cplugin_webapi_sdk/_generated/api/mt4_v_2_trades/get_api_v_2_mt4_trade_platform_trade_records_request.py +278 -0
  161. cplugin_webapi_sdk/_generated/api/mt4_v_2_trades/get_api_v_2_mt4_trade_platform_trades_get.py +252 -0
  162. 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
  163. cplugin_webapi_sdk/_generated/api/mt4_v_2_trades/get_api_v_2_mt4_trade_platform_trades_get_by_market.py +229 -0
  164. cplugin_webapi_sdk/_generated/api/mt4_v_2_trades/get_api_v_2_mt4_trade_platform_trades_get_by_symbol.py +249 -0
  165. cplugin_webapi_sdk/_generated/api/mt4_v_2_trades/get_api_v_2_mt4_trade_platform_trades_get_ticket.py +254 -0
  166. cplugin_webapi_sdk/_generated/api/mt4_v_2_trades/get_api_v_2_mt4_trade_platform_trades_request.py +299 -0
  167. cplugin_webapi_sdk/_generated/api/mt4_v_2_trades/post_api_v_2_mt4_trade_platform_adm_trade_record_modify_ticket.py +462 -0
  168. cplugin_webapi_sdk/_generated/api/mt4_v_2_trades/post_api_v_2_mt4_trade_platform_adm_trades_delete.py +290 -0
  169. cplugin_webapi_sdk/_generated/api/mt4_v_2_trades/post_api_v_2_mt4_trade_platform_trade_check_stops.py +453 -0
  170. cplugin_webapi_sdk/_generated/api/mt4_v_2_trades/post_api_v_2_mt4_trade_platform_trade_clear_rollback_order.py +262 -0
  171. cplugin_webapi_sdk/_generated/api/mt4_v_2_trades/post_api_v_2_mt4_trade_platform_trade_transaction.py +453 -0
  172. cplugin_webapi_sdk/_generated/api/mt4_v_2_trades/post_api_v_2_mt4_trade_platform_trades_sync_start.py +261 -0
  173. cplugin_webapi_sdk/_generated/api/mt4_v_2_users/__init__.py +1 -0
  174. cplugin_webapi_sdk/_generated/api/mt4_v_2_users/get_api_v_2_mt4_trade_platform_adm_balance_check.py +266 -0
  175. cplugin_webapi_sdk/_generated/api/mt4_v_2_users/get_api_v_2_mt4_trade_platform_adm_balance_check_login.py +266 -0
  176. cplugin_webapi_sdk/_generated/api/mt4_v_2_users/get_api_v_2_mt4_trade_platform_adm_users_request_safe_group.py +274 -0
  177. cplugin_webapi_sdk/_generated/api/mt4_v_2_users/get_api_v_2_mt4_trade_platform_user_record_get_login.py +250 -0
  178. cplugin_webapi_sdk/_generated/api/mt4_v_2_users/get_api_v_2_mt4_trade_platform_user_record_request_login.py +250 -0
  179. cplugin_webapi_sdk/_generated/api/mt4_v_2_users/get_api_v_2_mt4_trade_platform_user_records_request.py +274 -0
  180. cplugin_webapi_sdk/_generated/api/mt4_v_2_users/get_api_v_2_mt4_trade_platform_users_request.py +276 -0
  181. cplugin_webapi_sdk/_generated/api/mt4_v_2_users/patch_api_v_2_mt4_trade_platform_user_record_login.py +283 -0
  182. cplugin_webapi_sdk/_generated/api/mt4_v_2_users/post_api_v_2_mt4_trade_platform_adm_balance_fix.py +290 -0
  183. cplugin_webapi_sdk/_generated/api/mt4_v_2_users/post_api_v_2_mt4_trade_platform_user_record_new.py +465 -0
  184. cplugin_webapi_sdk/_generated/api/mt4_v_2_users/post_api_v_2_mt4_trade_platform_user_record_update_login.py +678 -0
  185. cplugin_webapi_sdk/_generated/api/mt4_v_2_users/post_api_v_2_mt4_trade_platform_users_group_op.py +349 -0
  186. cplugin_webapi_sdk/_generated/api/mt4_v_2_users/post_api_v_2_mt4_trade_platform_users_sync_start.py +273 -0
  187. cplugin_webapi_sdk/_generated/api/mt5_v_2_common/__init__.py +1 -0
  188. cplugin_webapi_sdk/_generated/api/mt5_v_2_common/get_api_v_2_mt5_trade_platform_server_time.py +205 -0
  189. cplugin_webapi_sdk/_generated/api/mt5_v_2_common/get_api_v_2_mt5_trade_platform_time_get.py +205 -0
  190. cplugin_webapi_sdk/_generated/api/mt5_v_2_groups/__init__.py +1 -0
  191. cplugin_webapi_sdk/_generated/api/mt5_v_2_groups/get_api_v_2_mt5_trade_platform_group_get_group.py +218 -0
  192. cplugin_webapi_sdk/_generated/api/mt5_v_2_groups/patch_api_v_2_mt5_trade_platform_group_record_group.py +255 -0
  193. cplugin_webapi_sdk/_generated/api/mt5_v_2_managers/__init__.py +1 -0
  194. cplugin_webapi_sdk/_generated/api/mt5_v_2_managers/get_api_v_2_mt5_trade_platform_manager_current.py +205 -0
  195. cplugin_webapi_sdk/_generated/api/mt5_v_2_symbols/__init__.py +1 -0
  196. cplugin_webapi_sdk/_generated/api/mt5_v_2_symbols/get_api_v_2_mt5_trade_platform_symbol_get_symbol.py +218 -0
  197. cplugin_webapi_sdk/_generated/api/mt5_v_2_symbols/patch_api_v_2_mt5_trade_platform_symbol_record_symbol.py +255 -0
  198. cplugin_webapi_sdk/_generated/api/mt5_v_2_trades/__init__.py +1 -0
  199. cplugin_webapi_sdk/_generated/api/mt5_v_2_trades/get_api_v_2_mt5_trade_platform_deal_by_group_mask.py +265 -0
  200. cplugin_webapi_sdk/_generated/api/mt5_v_2_trades/get_api_v_2_mt5_trade_platform_order_by_group_mask.py +265 -0
  201. cplugin_webapi_sdk/_generated/api/mt5_v_2_trades/get_api_v_2_mt5_trade_platform_position_by_group_mask.py +265 -0
  202. cplugin_webapi_sdk/_generated/api/mt5_v_2_users/__init__.py +1 -0
  203. cplugin_webapi_sdk/_generated/api/mt5_v_2_users/get_api_v_2_mt5_trade_platform_user_get_login.py +218 -0
  204. cplugin_webapi_sdk/_generated/api/mt5_v_2_users/patch_api_v_2_mt5_trade_platform_user_record_login.py +255 -0
  205. cplugin_webapi_sdk/_generated/client.py +271 -0
  206. cplugin_webapi_sdk/_generated/errors.py +14 -0
  207. cplugin_webapi_sdk/_generated/models/__init__.py +469 -0
  208. cplugin_webapi_sdk/_generated/models/activation_modes.py +10 -0
  209. cplugin_webapi_sdk/_generated/models/activation_type.py +15 -0
  210. cplugin_webapi_sdk/_generated/models/api_error.py +135 -0
  211. cplugin_webapi_sdk/_generated/models/api_meta.py +114 -0
  212. cplugin_webapi_sdk/_generated/models/arc_backup_execution_period.py +10 -0
  213. cplugin_webapi_sdk/_generated/models/arc_backup_store_period.py +11 -0
  214. cplugin_webapi_sdk/_generated/models/backup_execution_period.py +9 -0
  215. cplugin_webapi_sdk/_generated/models/backup_store_period.py +10 -0
  216. cplugin_webapi_sdk/_generated/models/boolean_api_response.py +143 -0
  217. cplugin_webapi_sdk/_generated/models/chart_period.py +15 -0
  218. cplugin_webapi_sdk/_generated/models/data_feed_mode.py +9 -0
  219. cplugin_webapi_sdk/_generated/models/date_time_api_response.py +154 -0
  220. cplugin_webapi_sdk/_generated/models/deal_action.py +27 -0
  221. cplugin_webapi_sdk/_generated/models/deal_reason.py +26 -0
  222. cplugin_webapi_sdk/_generated/models/en_auth_mode.py +10 -0
  223. cplugin_webapi_sdk/_generated/models/en_auth_otp_mode.py +9 -0
  224. cplugin_webapi_sdk/_generated/models/en_calc_mode.py +21 -0
  225. cplugin_webapi_sdk/_generated/models/en_chart_mode.py +9 -0
  226. cplugin_webapi_sdk/_generated/models/en_comm_action_mode.py +9 -0
  227. cplugin_webapi_sdk/_generated/models/en_comm_charge_mode.py +9 -0
  228. cplugin_webapi_sdk/_generated/models/en_comm_entry_mode.py +9 -0
  229. cplugin_webapi_sdk/_generated/models/en_comm_mode.py +9 -0
  230. cplugin_webapi_sdk/_generated/models/en_comm_profit_mode.py +9 -0
  231. cplugin_webapi_sdk/_generated/models/en_comm_range_mode.py +11 -0
  232. cplugin_webapi_sdk/_generated/models/en_commission_mode.py +14 -0
  233. cplugin_webapi_sdk/_generated/models/en_commission_volume_type.py +8 -0
  234. cplugin_webapi_sdk/_generated/models/en_execution_mode.py +10 -0
  235. cplugin_webapi_sdk/_generated/models/en_free_margin_mode.py +10 -0
  236. cplugin_webapi_sdk/_generated/models/en_gateway_account_flags.py +8 -0
  237. cplugin_webapi_sdk/_generated/models/en_gtc_mode.py +9 -0
  238. cplugin_webapi_sdk/_generated/models/en_history_limit.py +13 -0
  239. cplugin_webapi_sdk/_generated/models/en_industries.py +172 -0
  240. cplugin_webapi_sdk/_generated/models/en_instant_mode.py +7 -0
  241. cplugin_webapi_sdk/_generated/models/en_log_type.py +14 -0
  242. cplugin_webapi_sdk/_generated/models/en_mail_mode.py +8 -0
  243. cplugin_webapi_sdk/_generated/models/en_manager_limit.py +13 -0
  244. cplugin_webapi_sdk/_generated/models/en_manager_rights.py +82 -0
  245. cplugin_webapi_sdk/_generated/models/en_margin_mode.py +9 -0
  246. cplugin_webapi_sdk/_generated/models/en_news_mode.py +9 -0
  247. cplugin_webapi_sdk/_generated/models/en_option_mode.py +10 -0
  248. cplugin_webapi_sdk/_generated/models/en_reports_mode.py +10 -0
  249. cplugin_webapi_sdk/_generated/models/en_sectors.py +22 -0
  250. cplugin_webapi_sdk/_generated/models/en_splice_time_type.py +7 -0
  251. cplugin_webapi_sdk/_generated/models/en_splice_type.py +9 -0
  252. cplugin_webapi_sdk/_generated/models/en_stop_out_mode.py +8 -0
  253. cplugin_webapi_sdk/_generated/models/en_swap_days.py +14 -0
  254. cplugin_webapi_sdk/_generated/models/en_swap_mode.py +16 -0
  255. cplugin_webapi_sdk/_generated/models/en_trade_mode.py +11 -0
  256. cplugin_webapi_sdk/_generated/models/en_transfer_mode.py +10 -0
  257. cplugin_webapi_sdk/_generated/models/entry_flag.py +10 -0
  258. cplugin_webapi_sdk/_generated/models/export_execution_period.py +11 -0
  259. cplugin_webapi_sdk/_generated/models/gtc_mode.py +9 -0
  260. cplugin_webapi_sdk/_generated/models/int_32_api_response.py +143 -0
  261. cplugin_webapi_sdk/_generated/models/int_32mt4_daily_report_list_dictionary_api_response.py +170 -0
  262. cplugin_webapi_sdk/_generated/models/int_32mt4_daily_report_list_dictionary_api_response_data_type_0.py +107 -0
  263. cplugin_webapi_sdk/_generated/models/json_node.py +155 -0
  264. cplugin_webapi_sdk/_generated/models/json_node_api_response.py +170 -0
  265. cplugin_webapi_sdk/_generated/models/json_node_options.py +60 -0
  266. cplugin_webapi_sdk/_generated/models/margin_calculation_mode.py +11 -0
  267. cplugin_webapi_sdk/_generated/models/margin_controlling_type.py +8 -0
  268. cplugin_webapi_sdk/_generated/models/margin_level_type.py +9 -0
  269. cplugin_webapi_sdk/_generated/models/margin_mode.py +10 -0
  270. cplugin_webapi_sdk/_generated/models/mt4_access.py +106 -0
  271. cplugin_webapi_sdk/_generated/models/mt4_access_api_response.py +173 -0
  272. cplugin_webapi_sdk/_generated/models/mt4_access_list_api_response.py +180 -0
  273. cplugin_webapi_sdk/_generated/models/mt4_backup.py +442 -0
  274. cplugin_webapi_sdk/_generated/models/mt4_backup_api_response.py +174 -0
  275. cplugin_webapi_sdk/_generated/models/mt4_backup_info.py +107 -0
  276. cplugin_webapi_sdk/_generated/models/mt4_backup_info_list_api_response.py +180 -0
  277. cplugin_webapi_sdk/_generated/models/mt4_balance_diff.py +74 -0
  278. cplugin_webapi_sdk/_generated/models/mt4_balance_diff_api_response.py +174 -0
  279. cplugin_webapi_sdk/_generated/models/mt4_balance_diff_list_api_response.py +180 -0
  280. cplugin_webapi_sdk/_generated/models/mt4_chart_bar.py +121 -0
  281. cplugin_webapi_sdk/_generated/models/mt4_chart_bar_list_api_response.py +180 -0
  282. cplugin_webapi_sdk/_generated/models/mt4_chart_write_request.py +103 -0
  283. cplugin_webapi_sdk/_generated/models/mt4_common.py +124 -0
  284. cplugin_webapi_sdk/_generated/models/mt4_common_api_response.py +172 -0
  285. cplugin_webapi_sdk/_generated/models/mt4_common_update.py +201 -0
  286. cplugin_webapi_sdk/_generated/models/mt4_daily_report.py +212 -0
  287. cplugin_webapi_sdk/_generated/models/mt4_daily_report_list_api_response.py +180 -0
  288. cplugin_webapi_sdk/_generated/models/mt4_data_server.py +153 -0
  289. cplugin_webapi_sdk/_generated/models/mt4_data_server_api_response.py +174 -0
  290. cplugin_webapi_sdk/_generated/models/mt4_data_server_list_api_response.py +180 -0
  291. cplugin_webapi_sdk/_generated/models/mt4_external_command_binary_request.py +77 -0
  292. cplugin_webapi_sdk/_generated/models/mt4_external_command_binary_response.py +74 -0
  293. cplugin_webapi_sdk/_generated/models/mt4_external_command_binary_response_api_response.py +171 -0
  294. cplugin_webapi_sdk/_generated/models/mt4_feeder.py +235 -0
  295. cplugin_webapi_sdk/_generated/models/mt4_feeder_api_response.py +172 -0
  296. cplugin_webapi_sdk/_generated/models/mt4_feeder_list_api_response.py +180 -0
  297. cplugin_webapi_sdk/_generated/models/mt4_gateway_account.py +190 -0
  298. cplugin_webapi_sdk/_generated/models/mt4_gateway_account_api_response.py +174 -0
  299. cplugin_webapi_sdk/_generated/models/mt4_gateway_account_list_api_response.py +180 -0
  300. cplugin_webapi_sdk/_generated/models/mt4_gateway_markup.py +157 -0
  301. cplugin_webapi_sdk/_generated/models/mt4_gateway_markup_api_response.py +174 -0
  302. cplugin_webapi_sdk/_generated/models/mt4_gateway_markup_list_api_response.py +180 -0
  303. cplugin_webapi_sdk/_generated/models/mt4_gateway_rule.py +234 -0
  304. cplugin_webapi_sdk/_generated/models/mt4_gateway_rule_api_response.py +177 -0
  305. cplugin_webapi_sdk/_generated/models/mt4_gateway_rule_list_api_response.py +180 -0
  306. cplugin_webapi_sdk/_generated/models/mt4_group.py +505 -0
  307. cplugin_webapi_sdk/_generated/models/mt4_group_api_response.py +193 -0
  308. cplugin_webapi_sdk/_generated/models/mt4_group_list_api_response.py +180 -0
  309. cplugin_webapi_sdk/_generated/models/mt4_group_margin.py +104 -0
  310. cplugin_webapi_sdk/_generated/models/mt4_group_margin_list_api_response.py +180 -0
  311. cplugin_webapi_sdk/_generated/models/mt4_group_sec.py +321 -0
  312. cplugin_webapi_sdk/_generated/models/mt4_group_sec_list_api_response.py +180 -0
  313. cplugin_webapi_sdk/_generated/models/mt4_group_update.py +467 -0
  314. cplugin_webapi_sdk/_generated/models/mt4_holiday.py +153 -0
  315. cplugin_webapi_sdk/_generated/models/mt4_holiday_api_response.py +174 -0
  316. cplugin_webapi_sdk/_generated/models/mt4_holiday_list_api_response.py +180 -0
  317. cplugin_webapi_sdk/_generated/models/mt4_live_update.py +165 -0
  318. cplugin_webapi_sdk/_generated/models/mt4_live_update_api_response.py +177 -0
  319. cplugin_webapi_sdk/_generated/models/mt4_live_update_list_api_response.py +180 -0
  320. cplugin_webapi_sdk/_generated/models/mt4_mail_box.py +148 -0
  321. cplugin_webapi_sdk/_generated/models/mt4_mail_box_list_api_response.py +180 -0
  322. cplugin_webapi_sdk/_generated/models/mt4_mail_send_request.py +160 -0
  323. cplugin_webapi_sdk/_generated/models/mt4_manager_rights.py +338 -0
  324. cplugin_webapi_sdk/_generated/models/mt4_manager_rights_api_response.py +175 -0
  325. cplugin_webapi_sdk/_generated/models/mt4_manager_rights_list_api_response.py +180 -0
  326. cplugin_webapi_sdk/_generated/models/mt4_margin_level.py +201 -0
  327. cplugin_webapi_sdk/_generated/models/mt4_margin_level_api_response.py +174 -0
  328. cplugin_webapi_sdk/_generated/models/mt4_margin_level_list_api_response.py +180 -0
  329. cplugin_webapi_sdk/_generated/models/mt4_news_send_request.py +127 -0
  330. cplugin_webapi_sdk/_generated/models/mt4_news_topic.py +177 -0
  331. cplugin_webapi_sdk/_generated/models/mt4_news_topic_api_response.py +178 -0
  332. cplugin_webapi_sdk/_generated/models/mt4_news_topic_list_api_response.py +180 -0
  333. cplugin_webapi_sdk/_generated/models/mt4_notifications_send_request.py +114 -0
  334. cplugin_webapi_sdk/_generated/models/mt4_online.py +88 -0
  335. cplugin_webapi_sdk/_generated/models/mt4_online_list_api_response.py +180 -0
  336. cplugin_webapi_sdk/_generated/models/mt4_performance.py +124 -0
  337. cplugin_webapi_sdk/_generated/models/mt4_performance_list_api_response.py +180 -0
  338. cplugin_webapi_sdk/_generated/models/mt4_plugin.py +153 -0
  339. cplugin_webapi_sdk/_generated/models/mt4_plugin_config.py +96 -0
  340. cplugin_webapi_sdk/_generated/models/mt4_plugin_list_api_response.py +180 -0
  341. cplugin_webapi_sdk/_generated/models/mt4_plugin_param.py +137 -0
  342. cplugin_webapi_sdk/_generated/models/mt4_plugin_param_api_response.py +171 -0
  343. cplugin_webapi_sdk/_generated/models/mt4_plugin_param_list_api_response.py +180 -0
  344. cplugin_webapi_sdk/_generated/models/mt4_server_log.py +151 -0
  345. cplugin_webapi_sdk/_generated/models/mt4_server_log_list_api_response.py +180 -0
  346. cplugin_webapi_sdk/_generated/models/mt4_server_time.py +95 -0
  347. cplugin_webapi_sdk/_generated/models/mt4_server_time_api_response.py +178 -0
  348. cplugin_webapi_sdk/_generated/models/mt4_symbol_change_request.py +148 -0
  349. cplugin_webapi_sdk/_generated/models/mt4_symbol_config.py +683 -0
  350. cplugin_webapi_sdk/_generated/models/mt4_symbol_config_api_response.py +177 -0
  351. cplugin_webapi_sdk/_generated/models/mt4_symbol_config_list_api_response.py +180 -0
  352. cplugin_webapi_sdk/_generated/models/mt4_symbol_config_update.py +608 -0
  353. cplugin_webapi_sdk/_generated/models/mt4_symbol_day_sessions.py +171 -0
  354. cplugin_webapi_sdk/_generated/models/mt4_symbol_day_sessions_list_api_response.py +180 -0
  355. cplugin_webapi_sdk/_generated/models/mt4_symbol_group.py +99 -0
  356. cplugin_webapi_sdk/_generated/models/mt4_symbol_group_api_response.py +174 -0
  357. cplugin_webapi_sdk/_generated/models/mt4_symbol_group_list_api_response.py +180 -0
  358. cplugin_webapi_sdk/_generated/models/mt4_symbol_info.py +210 -0
  359. cplugin_webapi_sdk/_generated/models/mt4_symbol_info_api_response.py +178 -0
  360. cplugin_webapi_sdk/_generated/models/mt4_symbol_info_list_api_response.py +180 -0
  361. cplugin_webapi_sdk/_generated/models/mt4_symbol_session.py +91 -0
  362. cplugin_webapi_sdk/_generated/models/mt4_sync.py +176 -0
  363. cplugin_webapi_sdk/_generated/models/mt4_sync_api_response.py +173 -0
  364. cplugin_webapi_sdk/_generated/models/mt4_sync_list_api_response.py +180 -0
  365. cplugin_webapi_sdk/_generated/models/mt4_tick_info.py +117 -0
  366. cplugin_webapi_sdk/_generated/models/mt4_tick_info_api_response.py +175 -0
  367. cplugin_webapi_sdk/_generated/models/mt4_tick_info_list_api_response.py +180 -0
  368. cplugin_webapi_sdk/_generated/models/mt4_tick_record.py +126 -0
  369. cplugin_webapi_sdk/_generated/models/mt4_tick_record_list_api_response.py +180 -0
  370. cplugin_webapi_sdk/_generated/models/mt4_trade.py +409 -0
  371. cplugin_webapi_sdk/_generated/models/mt4_trade_api_response.py +179 -0
  372. cplugin_webapi_sdk/_generated/models/mt4_trade_list_api_response.py +180 -0
  373. cplugin_webapi_sdk/_generated/models/mt4_trade_restore_input.py +274 -0
  374. cplugin_webapi_sdk/_generated/models/mt4_trade_restore_result.py +72 -0
  375. cplugin_webapi_sdk/_generated/models/mt4_trade_restore_result_list_api_response.py +180 -0
  376. cplugin_webapi_sdk/_generated/models/mt4_trade_transaction.py +262 -0
  377. cplugin_webapi_sdk/_generated/models/mt4_trade_transaction_api_response.py +181 -0
  378. cplugin_webapi_sdk/_generated/models/mt4_trade_update.py +165 -0
  379. cplugin_webapi_sdk/_generated/models/mt4_user.py +533 -0
  380. cplugin_webapi_sdk/_generated/models/mt4_user_api_response.py +184 -0
  381. cplugin_webapi_sdk/_generated/models/mt4_user_create.py +420 -0
  382. cplugin_webapi_sdk/_generated/models/mt4_user_list_api_response.py +180 -0
  383. cplugin_webapi_sdk/_generated/models/mt4_user_restore_input.py +193 -0
  384. cplugin_webapi_sdk/_generated/models/mt4_user_update.py +441 -0
  385. cplugin_webapi_sdk/_generated/models/mt4_users_group_op.py +140 -0
  386. cplugin_webapi_sdk/_generated/models/mt5_con_comm_tier.py +246 -0
  387. cplugin_webapi_sdk/_generated/models/mt5_con_commission.py +409 -0
  388. cplugin_webapi_sdk/_generated/models/mt5_con_group.py +1162 -0
  389. cplugin_webapi_sdk/_generated/models/mt5_con_group_api_response.py +170 -0
  390. cplugin_webapi_sdk/_generated/models/mt5_con_group_commissions_type_0.py +83 -0
  391. cplugin_webapi_sdk/_generated/models/mt5_con_manager.py +227 -0
  392. cplugin_webapi_sdk/_generated/models/mt5_con_manager_api_response.py +156 -0
  393. cplugin_webapi_sdk/_generated/models/mt5_deal.py +1045 -0
  394. cplugin_webapi_sdk/_generated/models/mt5_deal_list_api_response.py +180 -0
  395. cplugin_webapi_sdk/_generated/models/mt5_order.py +1008 -0
  396. cplugin_webapi_sdk/_generated/models/mt5_order_list_api_response.py +180 -0
  397. cplugin_webapi_sdk/_generated/models/mt5_position.py +829 -0
  398. cplugin_webapi_sdk/_generated/models/mt5_position_list_api_response.py +180 -0
  399. cplugin_webapi_sdk/_generated/models/mt5_symbol.py +2743 -0
  400. cplugin_webapi_sdk/_generated/models/mt5_symbol_api_response.py +170 -0
  401. cplugin_webapi_sdk/_generated/models/mt5_symbol_margin_rate_initial_type_0.py +124 -0
  402. cplugin_webapi_sdk/_generated/models/mt5_symbol_margin_rate_maintenance_type_0.py +124 -0
  403. cplugin_webapi_sdk/_generated/models/mt5_symbol_session.py +182 -0
  404. cplugin_webapi_sdk/_generated/models/mt5_time.py +101 -0
  405. cplugin_webapi_sdk/_generated/models/mt5_time_api_response.py +170 -0
  406. cplugin_webapi_sdk/_generated/models/mt5_user.py +752 -0
  407. cplugin_webapi_sdk/_generated/models/mt5_user_api_response.py +172 -0
  408. cplugin_webapi_sdk/_generated/models/news_mode.py +9 -0
  409. cplugin_webapi_sdk/_generated/models/order_filling.py +10 -0
  410. cplugin_webapi_sdk/_generated/models/order_reason.py +26 -0
  411. cplugin_webapi_sdk/_generated/models/order_state.py +16 -0
  412. cplugin_webapi_sdk/_generated/models/order_time.py +10 -0
  413. cplugin_webapi_sdk/_generated/models/order_type.py +15 -0
  414. cplugin_webapi_sdk/_generated/models/otp_mode.py +8 -0
  415. cplugin_webapi_sdk/_generated/models/paging_meta.py +88 -0
  416. cplugin_webapi_sdk/_generated/models/patch_api_v2mt4_trade_platform_group_record_group_json_body.py +66 -0
  417. cplugin_webapi_sdk/_generated/models/patch_api_v2mt4_trade_platform_symbol_config_symbol_json_body.py +66 -0
  418. cplugin_webapi_sdk/_generated/models/patch_api_v2mt4_trade_platform_user_record_login_json_body.py +66 -0
  419. cplugin_webapi_sdk/_generated/models/patch_api_v2mt5_trade_platform_group_record_group_json_body.py +66 -0
  420. cplugin_webapi_sdk/_generated/models/patch_api_v2mt5_trade_platform_symbol_record_symbol_json_body.py +66 -0
  421. cplugin_webapi_sdk/_generated/models/patch_api_v2mt5_trade_platform_user_record_login_json_body.py +66 -0
  422. cplugin_webapi_sdk/_generated/models/position_actions.py +8 -0
  423. cplugin_webapi_sdk/_generated/models/position_reasons.py +26 -0
  424. cplugin_webapi_sdk/_generated/models/profit_calculation_mode.py +9 -0
  425. cplugin_webapi_sdk/_generated/models/request_mode.py +10 -0
  426. cplugin_webapi_sdk/_generated/models/result_code.py +46 -0
  427. cplugin_webapi_sdk/_generated/models/server_role.py +9 -0
  428. cplugin_webapi_sdk/_generated/models/string_api_response.py +155 -0
  429. cplugin_webapi_sdk/_generated/models/swap_type.py +10 -0
  430. cplugin_webapi_sdk/_generated/models/symbol_exec_mode.py +9 -0
  431. cplugin_webapi_sdk/_generated/models/symbol_price_direction.py +9 -0
  432. cplugin_webapi_sdk/_generated/models/synchronization_mode.py +11 -0
  433. cplugin_webapi_sdk/_generated/models/trade_command.py +14 -0
  434. cplugin_webapi_sdk/_generated/models/trade_mode.py +9 -0
  435. cplugin_webapi_sdk/_generated/models/trade_record_reason.py +14 -0
  436. cplugin_webapi_sdk/_generated/models/trade_record_state.py +13 -0
  437. cplugin_webapi_sdk/_generated/models/watchdog_failover_mode.py +9 -0
  438. cplugin_webapi_sdk/_generated/models/watchdog_state.py +9 -0
  439. cplugin_webapi_sdk/_generated/models/web_api_error_code.py +17 -0
  440. cplugin_webapi_sdk/_generated/operation_timeouts.py +181 -0
  441. cplugin_webapi_sdk/_generated/types.py +53 -0
  442. cplugin_webapi_sdk/auth.py +278 -0
  443. cplugin_webapi_sdk/client.py +1215 -0
  444. cplugin_webapi_sdk/discovery.py +109 -0
  445. cplugin_webapi_sdk/envelope.py +77 -0
  446. cplugin_webapi_sdk/environments.py +45 -0
  447. cplugin_webapi_sdk/errors.py +79 -0
  448. cplugin_webapi_sdk/flags.py +36 -0
  449. cplugin_webapi_sdk/pagination.py +141 -0
  450. cplugin_webapi_sdk/realtime.py +408 -0
  451. cplugin_webapi_sdk/timeouts.py +197 -0
  452. cplugin_webapi_sdk/unwrap.py +153 -0
  453. mywebapi_sdk-0.3.0.dist-info/METADATA +312 -0
  454. mywebapi_sdk-0.3.0.dist-info/RECORD +456 -0
  455. mywebapi_sdk-0.3.0.dist-info/WHEEL +4 -0
  456. mywebapi_sdk-0.3.0.dist-info/licenses/LICENSE +21 -0
@@ -0,0 +1,678 @@
1
+ from http import HTTPStatus
2
+ from typing import Any, cast
3
+ from urllib.parse import quote
4
+
5
+ import httpx
6
+
7
+ from ...client import AuthenticatedClient, Client
8
+ from ...types import Response, UNSET
9
+ from ... import errors
10
+
11
+ from ...models.mt4_user_api_response import MT4UserApiResponse
12
+ from ...models.mt4_user_update import MT4UserUpdate
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
+ login: int,
22
+ *,
23
+ body: MT4UserUpdate | MT4UserUpdate | MT4UserUpdate | Unset = UNSET,
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
+
37
+
38
+ _kwargs: dict[str, Any] = {
39
+ "method": "post",
40
+ "url": "/api/v2/MT4/{trade_platform}/UserRecordUpdate/{login}".format(trade_platform=quote(str(trade_platform), safe=""),login=quote(str(login), safe=""),),
41
+ }
42
+
43
+ if isinstance(body, MT4UserUpdate):
44
+
45
+ if not isinstance(body, Unset):
46
+ _kwargs["json"] = body.to_dict()
47
+
48
+ headers["Content-Type"] = "application/json-patch+json"
49
+ if isinstance(body, MT4UserUpdate):
50
+
51
+ if not isinstance(body, Unset):
52
+ _kwargs["json"] = body.to_dict()
53
+
54
+ headers["Content-Type"] = "application/json"
55
+ if isinstance(body, MT4UserUpdate):
56
+
57
+ if not isinstance(body, Unset):
58
+ _kwargs["json"] = body.to_dict()
59
+
60
+ headers["Content-Type"] = "application/*+json"
61
+
62
+ _kwargs["headers"] = headers
63
+ return _kwargs
64
+
65
+
66
+
67
+ def _parse_response(*, client: AuthenticatedClient | Client, response: httpx.Response) -> MT4UserApiResponse | None:
68
+ if response.status_code == 200:
69
+ response_200 = MT4UserApiResponse.from_dict(response.json())
70
+
71
+
72
+
73
+ return response_200
74
+
75
+ if client.raise_on_unexpected_status:
76
+ raise errors.UnexpectedStatus(response.status_code, response.content)
77
+ else:
78
+ return None
79
+
80
+
81
+ def _build_response(*, client: AuthenticatedClient | Client, response: httpx.Response) -> Response[MT4UserApiResponse]:
82
+ return Response(
83
+ status_code=HTTPStatus(response.status_code),
84
+ content=response.content,
85
+ headers=response.headers,
86
+ parsed=_parse_response(client=client, response=response),
87
+ )
88
+
89
+
90
+ def sync_detailed(
91
+ trade_platform: UUID,
92
+ login: int,
93
+ *,
94
+ client: AuthenticatedClient | Client,
95
+ body: MT4UserUpdate | MT4UserUpdate | MT4UserUpdate | Unset = UNSET,
96
+ x_request_timeout: float | Unset = UNSET,
97
+
98
+ ) -> Response[MT4UserApiResponse]:
99
+ r""" Update account
100
+
101
+ Update an account record — Type 1 mutator with secret-preservation read.
102
+
103
+ <br>
104
+ Surface-level Type 1 semantics: client submits the full `MT4UserUpdate`
105
+ DTO and the server writes it back. Implementation requires an extra
106
+ read step because the wrapper `UserRecord` struct contains
107
+ secret/computed/read-only fields the v2 input DTO deliberately omits
108
+ (Password, OTPSecret, LastDate, etc.). Without the read step those
109
+ would be zeroed out by the write.
110
+ <br>
111
+ Flow:
112
+ <list type=\"number\"><item>Fetch the existing record via `UserRecordsRequest` (live, not pump
113
+ cache).</item><item>Apply the DTO over the in-memory record using `ApplyTo`. Secrets and read-only
114
+ fields are `[MapperIgnoreTarget]`'d so they survive.</item><item>Write the modified record back via
115
+ `UserRecordUpdate`.</item></list><br><b>This is NOT Type 2.</b> Type 2 mutators (single-field) are
116
+ deferred
117
+ to a later release and will accept just the field name + value, doing
118
+ the read-modify-write entirely server-side. Both flows happen to use
119
+ the same read-modify-write structure on the implementation side — the
120
+ difference is what the client submits.
121
+ <br>
122
+ Idempotency-Key is strongly recommended; without it a retried update
123
+ risks silently overwriting concurrent edits that happened between
124
+ the original send and the retry.
125
+
126
+
127
+ **Timeout:** 15 s by default, adjustable per request with the `X-Request-Timeout` header. When the
128
+ trade server does not answer in time: The operation may still be completed by the server
129
+ (`X-Request-Outcome: unknown`): check its result before repeating it.
130
+
131
+ Args:
132
+ trade_platform (UUID):
133
+ login (int):
134
+ x_request_timeout (float | Unset):
135
+ body (MT4UserUpdate | Unset): Type 1 mutator input — full-replace shape for
136
+ `UserRecordUpdate`.
137
+ Client submits every non-secret, non-read-only, non-computed field; the
138
+ handler reads the current record from MT4 server, copies the secrets and
139
+ read-only fields off it, applies this DTO over the rest, and writes the
140
+ modified structure back.
141
+
142
+ Read-only fields that do NOT appear here (preserved by the server-side
143
+ read step):
144
+ * `Login` — passed as a path parameter, immutable identity.
145
+ * `RegistrationDate` — set once on creation, never updated.
146
+ * `LastDate`, `LastIP` — assigned by MT4 server during login.
147
+ * `PrevMonthBalance`, `PrevBalance`, `PrevMonthEquity`,
148
+ `PrevEquity` — derived server-side at reporting close.
149
+
150
+ Secret fields that do NOT appear here (preserved by the server-side
151
+ read step; use dedicated endpoints to change them):
152
+ * `Password`, `PasswordInvestor`, `PasswordPhone` —
153
+ change via `POST UserPasswordSet`.
154
+ * `OTPSecret` — provisioned via separate admin flow.
155
+ * `APIData` — wrapper-internal blob, never client-controlled.
156
+
157
+ <br><b>Note on Balance/Credit:</b> these fields ARE accepted here because the
158
+ wrapper `UserRecordUpdate` writes them directly. However, the audit-
159
+ trail-preserving way to move money is the dedicated balance operation
160
+ endpoints (forthcoming) — submitting Balance via this DTO bypasses the
161
+ audit log on MT4 server side.
162
+ body (MT4UserUpdate | Unset): Type 1 mutator input — full-replace shape for
163
+ `UserRecordUpdate`.
164
+ Client submits every non-secret, non-read-only, non-computed field; the
165
+ handler reads the current record from MT4 server, copies the secrets and
166
+ read-only fields off it, applies this DTO over the rest, and writes the
167
+ modified structure back.
168
+
169
+ Read-only fields that do NOT appear here (preserved by the server-side
170
+ read step):
171
+ * `Login` — passed as a path parameter, immutable identity.
172
+ * `RegistrationDate` — set once on creation, never updated.
173
+ * `LastDate`, `LastIP` — assigned by MT4 server during login.
174
+ * `PrevMonthBalance`, `PrevBalance`, `PrevMonthEquity`,
175
+ `PrevEquity` — derived server-side at reporting close.
176
+
177
+ Secret fields that do NOT appear here (preserved by the server-side
178
+ read step; use dedicated endpoints to change them):
179
+ * `Password`, `PasswordInvestor`, `PasswordPhone` —
180
+ change via `POST UserPasswordSet`.
181
+ * `OTPSecret` — provisioned via separate admin flow.
182
+ * `APIData` — wrapper-internal blob, never client-controlled.
183
+
184
+ <br><b>Note on Balance/Credit:</b> these fields ARE accepted here because the
185
+ wrapper `UserRecordUpdate` writes them directly. However, the audit-
186
+ trail-preserving way to move money is the dedicated balance operation
187
+ endpoints (forthcoming) — submitting Balance via this DTO bypasses the
188
+ audit log on MT4 server side.
189
+ body (MT4UserUpdate | Unset): Type 1 mutator input — full-replace shape for
190
+ `UserRecordUpdate`.
191
+ Client submits every non-secret, non-read-only, non-computed field; the
192
+ handler reads the current record from MT4 server, copies the secrets and
193
+ read-only fields off it, applies this DTO over the rest, and writes the
194
+ modified structure back.
195
+
196
+ Read-only fields that do NOT appear here (preserved by the server-side
197
+ read step):
198
+ * `Login` — passed as a path parameter, immutable identity.
199
+ * `RegistrationDate` — set once on creation, never updated.
200
+ * `LastDate`, `LastIP` — assigned by MT4 server during login.
201
+ * `PrevMonthBalance`, `PrevBalance`, `PrevMonthEquity`,
202
+ `PrevEquity` — derived server-side at reporting close.
203
+
204
+ Secret fields that do NOT appear here (preserved by the server-side
205
+ read step; use dedicated endpoints to change them):
206
+ * `Password`, `PasswordInvestor`, `PasswordPhone` —
207
+ change via `POST UserPasswordSet`.
208
+ * `OTPSecret` — provisioned via separate admin flow.
209
+ * `APIData` — wrapper-internal blob, never client-controlled.
210
+
211
+ <br><b>Note on Balance/Credit:</b> these fields ARE accepted here because the
212
+ wrapper `UserRecordUpdate` writes them directly. However, the audit-
213
+ trail-preserving way to move money is the dedicated balance operation
214
+ endpoints (forthcoming) — submitting Balance via this DTO bypasses the
215
+ audit log on MT4 server side.
216
+
217
+ Raises:
218
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
219
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
220
+
221
+ Returns:
222
+ Response[MT4UserApiResponse]
223
+ """
224
+
225
+
226
+ kwargs = _get_kwargs(
227
+ trade_platform=trade_platform,
228
+ login=login,
229
+ body=body,
230
+ x_request_timeout=x_request_timeout,
231
+
232
+ )
233
+
234
+ response = client.get_httpx_client().request(
235
+ **kwargs,
236
+ )
237
+
238
+ return _build_response(client=client, response=response)
239
+
240
+ def sync(
241
+ trade_platform: UUID,
242
+ login: int,
243
+ *,
244
+ client: AuthenticatedClient | Client,
245
+ body: MT4UserUpdate | MT4UserUpdate | MT4UserUpdate | Unset = UNSET,
246
+ x_request_timeout: float | Unset = UNSET,
247
+
248
+ ) -> MT4UserApiResponse | None:
249
+ r""" Update account
250
+
251
+ Update an account record — Type 1 mutator with secret-preservation read.
252
+
253
+ <br>
254
+ Surface-level Type 1 semantics: client submits the full `MT4UserUpdate`
255
+ DTO and the server writes it back. Implementation requires an extra
256
+ read step because the wrapper `UserRecord` struct contains
257
+ secret/computed/read-only fields the v2 input DTO deliberately omits
258
+ (Password, OTPSecret, LastDate, etc.). Without the read step those
259
+ would be zeroed out by the write.
260
+ <br>
261
+ Flow:
262
+ <list type=\"number\"><item>Fetch the existing record via `UserRecordsRequest` (live, not pump
263
+ cache).</item><item>Apply the DTO over the in-memory record using `ApplyTo`. Secrets and read-only
264
+ fields are `[MapperIgnoreTarget]`'d so they survive.</item><item>Write the modified record back via
265
+ `UserRecordUpdate`.</item></list><br><b>This is NOT Type 2.</b> Type 2 mutators (single-field) are
266
+ deferred
267
+ to a later release and will accept just the field name + value, doing
268
+ the read-modify-write entirely server-side. Both flows happen to use
269
+ the same read-modify-write structure on the implementation side — the
270
+ difference is what the client submits.
271
+ <br>
272
+ Idempotency-Key is strongly recommended; without it a retried update
273
+ risks silently overwriting concurrent edits that happened between
274
+ the original send and the retry.
275
+
276
+
277
+ **Timeout:** 15 s by default, adjustable per request with the `X-Request-Timeout` header. When the
278
+ trade server does not answer in time: The operation may still be completed by the server
279
+ (`X-Request-Outcome: unknown`): check its result before repeating it.
280
+
281
+ Args:
282
+ trade_platform (UUID):
283
+ login (int):
284
+ x_request_timeout (float | Unset):
285
+ body (MT4UserUpdate | Unset): Type 1 mutator input — full-replace shape for
286
+ `UserRecordUpdate`.
287
+ Client submits every non-secret, non-read-only, non-computed field; the
288
+ handler reads the current record from MT4 server, copies the secrets and
289
+ read-only fields off it, applies this DTO over the rest, and writes the
290
+ modified structure back.
291
+
292
+ Read-only fields that do NOT appear here (preserved by the server-side
293
+ read step):
294
+ * `Login` — passed as a path parameter, immutable identity.
295
+ * `RegistrationDate` — set once on creation, never updated.
296
+ * `LastDate`, `LastIP` — assigned by MT4 server during login.
297
+ * `PrevMonthBalance`, `PrevBalance`, `PrevMonthEquity`,
298
+ `PrevEquity` — derived server-side at reporting close.
299
+
300
+ Secret fields that do NOT appear here (preserved by the server-side
301
+ read step; use dedicated endpoints to change them):
302
+ * `Password`, `PasswordInvestor`, `PasswordPhone` —
303
+ change via `POST UserPasswordSet`.
304
+ * `OTPSecret` — provisioned via separate admin flow.
305
+ * `APIData` — wrapper-internal blob, never client-controlled.
306
+
307
+ <br><b>Note on Balance/Credit:</b> these fields ARE accepted here because the
308
+ wrapper `UserRecordUpdate` writes them directly. However, the audit-
309
+ trail-preserving way to move money is the dedicated balance operation
310
+ endpoints (forthcoming) — submitting Balance via this DTO bypasses the
311
+ audit log on MT4 server side.
312
+ body (MT4UserUpdate | Unset): Type 1 mutator input — full-replace shape for
313
+ `UserRecordUpdate`.
314
+ Client submits every non-secret, non-read-only, non-computed field; the
315
+ handler reads the current record from MT4 server, copies the secrets and
316
+ read-only fields off it, applies this DTO over the rest, and writes the
317
+ modified structure back.
318
+
319
+ Read-only fields that do NOT appear here (preserved by the server-side
320
+ read step):
321
+ * `Login` — passed as a path parameter, immutable identity.
322
+ * `RegistrationDate` — set once on creation, never updated.
323
+ * `LastDate`, `LastIP` — assigned by MT4 server during login.
324
+ * `PrevMonthBalance`, `PrevBalance`, `PrevMonthEquity`,
325
+ `PrevEquity` — derived server-side at reporting close.
326
+
327
+ Secret fields that do NOT appear here (preserved by the server-side
328
+ read step; use dedicated endpoints to change them):
329
+ * `Password`, `PasswordInvestor`, `PasswordPhone` —
330
+ change via `POST UserPasswordSet`.
331
+ * `OTPSecret` — provisioned via separate admin flow.
332
+ * `APIData` — wrapper-internal blob, never client-controlled.
333
+
334
+ <br><b>Note on Balance/Credit:</b> these fields ARE accepted here because the
335
+ wrapper `UserRecordUpdate` writes them directly. However, the audit-
336
+ trail-preserving way to move money is the dedicated balance operation
337
+ endpoints (forthcoming) — submitting Balance via this DTO bypasses the
338
+ audit log on MT4 server side.
339
+ body (MT4UserUpdate | Unset): Type 1 mutator input — full-replace shape for
340
+ `UserRecordUpdate`.
341
+ Client submits every non-secret, non-read-only, non-computed field; the
342
+ handler reads the current record from MT4 server, copies the secrets and
343
+ read-only fields off it, applies this DTO over the rest, and writes the
344
+ modified structure back.
345
+
346
+ Read-only fields that do NOT appear here (preserved by the server-side
347
+ read step):
348
+ * `Login` — passed as a path parameter, immutable identity.
349
+ * `RegistrationDate` — set once on creation, never updated.
350
+ * `LastDate`, `LastIP` — assigned by MT4 server during login.
351
+ * `PrevMonthBalance`, `PrevBalance`, `PrevMonthEquity`,
352
+ `PrevEquity` — derived server-side at reporting close.
353
+
354
+ Secret fields that do NOT appear here (preserved by the server-side
355
+ read step; use dedicated endpoints to change them):
356
+ * `Password`, `PasswordInvestor`, `PasswordPhone` —
357
+ change via `POST UserPasswordSet`.
358
+ * `OTPSecret` — provisioned via separate admin flow.
359
+ * `APIData` — wrapper-internal blob, never client-controlled.
360
+
361
+ <br><b>Note on Balance/Credit:</b> these fields ARE accepted here because the
362
+ wrapper `UserRecordUpdate` writes them directly. However, the audit-
363
+ trail-preserving way to move money is the dedicated balance operation
364
+ endpoints (forthcoming) — submitting Balance via this DTO bypasses the
365
+ audit log on MT4 server side.
366
+
367
+ Raises:
368
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
369
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
370
+
371
+ Returns:
372
+ MT4UserApiResponse
373
+ """
374
+
375
+
376
+ return sync_detailed(
377
+ trade_platform=trade_platform,
378
+ login=login,
379
+ client=client,
380
+ body=body,
381
+ x_request_timeout=x_request_timeout,
382
+
383
+ ).parsed
384
+
385
+ async def asyncio_detailed(
386
+ trade_platform: UUID,
387
+ login: int,
388
+ *,
389
+ client: AuthenticatedClient | Client,
390
+ body: MT4UserUpdate | MT4UserUpdate | MT4UserUpdate | Unset = UNSET,
391
+ x_request_timeout: float | Unset = UNSET,
392
+
393
+ ) -> Response[MT4UserApiResponse]:
394
+ r""" Update account
395
+
396
+ Update an account record — Type 1 mutator with secret-preservation read.
397
+
398
+ <br>
399
+ Surface-level Type 1 semantics: client submits the full `MT4UserUpdate`
400
+ DTO and the server writes it back. Implementation requires an extra
401
+ read step because the wrapper `UserRecord` struct contains
402
+ secret/computed/read-only fields the v2 input DTO deliberately omits
403
+ (Password, OTPSecret, LastDate, etc.). Without the read step those
404
+ would be zeroed out by the write.
405
+ <br>
406
+ Flow:
407
+ <list type=\"number\"><item>Fetch the existing record via `UserRecordsRequest` (live, not pump
408
+ cache).</item><item>Apply the DTO over the in-memory record using `ApplyTo`. Secrets and read-only
409
+ fields are `[MapperIgnoreTarget]`'d so they survive.</item><item>Write the modified record back via
410
+ `UserRecordUpdate`.</item></list><br><b>This is NOT Type 2.</b> Type 2 mutators (single-field) are
411
+ deferred
412
+ to a later release and will accept just the field name + value, doing
413
+ the read-modify-write entirely server-side. Both flows happen to use
414
+ the same read-modify-write structure on the implementation side — the
415
+ difference is what the client submits.
416
+ <br>
417
+ Idempotency-Key is strongly recommended; without it a retried update
418
+ risks silently overwriting concurrent edits that happened between
419
+ the original send and the retry.
420
+
421
+
422
+ **Timeout:** 15 s by default, adjustable per request with the `X-Request-Timeout` header. When the
423
+ trade server does not answer in time: The operation may still be completed by the server
424
+ (`X-Request-Outcome: unknown`): check its result before repeating it.
425
+
426
+ Args:
427
+ trade_platform (UUID):
428
+ login (int):
429
+ x_request_timeout (float | Unset):
430
+ body (MT4UserUpdate | Unset): Type 1 mutator input — full-replace shape for
431
+ `UserRecordUpdate`.
432
+ Client submits every non-secret, non-read-only, non-computed field; the
433
+ handler reads the current record from MT4 server, copies the secrets and
434
+ read-only fields off it, applies this DTO over the rest, and writes the
435
+ modified structure back.
436
+
437
+ Read-only fields that do NOT appear here (preserved by the server-side
438
+ read step):
439
+ * `Login` — passed as a path parameter, immutable identity.
440
+ * `RegistrationDate` — set once on creation, never updated.
441
+ * `LastDate`, `LastIP` — assigned by MT4 server during login.
442
+ * `PrevMonthBalance`, `PrevBalance`, `PrevMonthEquity`,
443
+ `PrevEquity` — derived server-side at reporting close.
444
+
445
+ Secret fields that do NOT appear here (preserved by the server-side
446
+ read step; use dedicated endpoints to change them):
447
+ * `Password`, `PasswordInvestor`, `PasswordPhone` —
448
+ change via `POST UserPasswordSet`.
449
+ * `OTPSecret` — provisioned via separate admin flow.
450
+ * `APIData` — wrapper-internal blob, never client-controlled.
451
+
452
+ <br><b>Note on Balance/Credit:</b> these fields ARE accepted here because the
453
+ wrapper `UserRecordUpdate` writes them directly. However, the audit-
454
+ trail-preserving way to move money is the dedicated balance operation
455
+ endpoints (forthcoming) — submitting Balance via this DTO bypasses the
456
+ audit log on MT4 server side.
457
+ body (MT4UserUpdate | Unset): Type 1 mutator input — full-replace shape for
458
+ `UserRecordUpdate`.
459
+ Client submits every non-secret, non-read-only, non-computed field; the
460
+ handler reads the current record from MT4 server, copies the secrets and
461
+ read-only fields off it, applies this DTO over the rest, and writes the
462
+ modified structure back.
463
+
464
+ Read-only fields that do NOT appear here (preserved by the server-side
465
+ read step):
466
+ * `Login` — passed as a path parameter, immutable identity.
467
+ * `RegistrationDate` — set once on creation, never updated.
468
+ * `LastDate`, `LastIP` — assigned by MT4 server during login.
469
+ * `PrevMonthBalance`, `PrevBalance`, `PrevMonthEquity`,
470
+ `PrevEquity` — derived server-side at reporting close.
471
+
472
+ Secret fields that do NOT appear here (preserved by the server-side
473
+ read step; use dedicated endpoints to change them):
474
+ * `Password`, `PasswordInvestor`, `PasswordPhone` —
475
+ change via `POST UserPasswordSet`.
476
+ * `OTPSecret` — provisioned via separate admin flow.
477
+ * `APIData` — wrapper-internal blob, never client-controlled.
478
+
479
+ <br><b>Note on Balance/Credit:</b> these fields ARE accepted here because the
480
+ wrapper `UserRecordUpdate` writes them directly. However, the audit-
481
+ trail-preserving way to move money is the dedicated balance operation
482
+ endpoints (forthcoming) — submitting Balance via this DTO bypasses the
483
+ audit log on MT4 server side.
484
+ body (MT4UserUpdate | Unset): Type 1 mutator input — full-replace shape for
485
+ `UserRecordUpdate`.
486
+ Client submits every non-secret, non-read-only, non-computed field; the
487
+ handler reads the current record from MT4 server, copies the secrets and
488
+ read-only fields off it, applies this DTO over the rest, and writes the
489
+ modified structure back.
490
+
491
+ Read-only fields that do NOT appear here (preserved by the server-side
492
+ read step):
493
+ * `Login` — passed as a path parameter, immutable identity.
494
+ * `RegistrationDate` — set once on creation, never updated.
495
+ * `LastDate`, `LastIP` — assigned by MT4 server during login.
496
+ * `PrevMonthBalance`, `PrevBalance`, `PrevMonthEquity`,
497
+ `PrevEquity` — derived server-side at reporting close.
498
+
499
+ Secret fields that do NOT appear here (preserved by the server-side
500
+ read step; use dedicated endpoints to change them):
501
+ * `Password`, `PasswordInvestor`, `PasswordPhone` —
502
+ change via `POST UserPasswordSet`.
503
+ * `OTPSecret` — provisioned via separate admin flow.
504
+ * `APIData` — wrapper-internal blob, never client-controlled.
505
+
506
+ <br><b>Note on Balance/Credit:</b> these fields ARE accepted here because the
507
+ wrapper `UserRecordUpdate` writes them directly. However, the audit-
508
+ trail-preserving way to move money is the dedicated balance operation
509
+ endpoints (forthcoming) — submitting Balance via this DTO bypasses the
510
+ audit log on MT4 server side.
511
+
512
+ Raises:
513
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
514
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
515
+
516
+ Returns:
517
+ Response[MT4UserApiResponse]
518
+ """
519
+
520
+
521
+ kwargs = _get_kwargs(
522
+ trade_platform=trade_platform,
523
+ login=login,
524
+ body=body,
525
+ x_request_timeout=x_request_timeout,
526
+
527
+ )
528
+
529
+ response = await client.get_async_httpx_client().request(
530
+ **kwargs
531
+ )
532
+
533
+ return _build_response(client=client, response=response)
534
+
535
+ async def asyncio(
536
+ trade_platform: UUID,
537
+ login: int,
538
+ *,
539
+ client: AuthenticatedClient | Client,
540
+ body: MT4UserUpdate | MT4UserUpdate | MT4UserUpdate | Unset = UNSET,
541
+ x_request_timeout: float | Unset = UNSET,
542
+
543
+ ) -> MT4UserApiResponse | None:
544
+ r""" Update account
545
+
546
+ Update an account record — Type 1 mutator with secret-preservation read.
547
+
548
+ <br>
549
+ Surface-level Type 1 semantics: client submits the full `MT4UserUpdate`
550
+ DTO and the server writes it back. Implementation requires an extra
551
+ read step because the wrapper `UserRecord` struct contains
552
+ secret/computed/read-only fields the v2 input DTO deliberately omits
553
+ (Password, OTPSecret, LastDate, etc.). Without the read step those
554
+ would be zeroed out by the write.
555
+ <br>
556
+ Flow:
557
+ <list type=\"number\"><item>Fetch the existing record via `UserRecordsRequest` (live, not pump
558
+ cache).</item><item>Apply the DTO over the in-memory record using `ApplyTo`. Secrets and read-only
559
+ fields are `[MapperIgnoreTarget]`'d so they survive.</item><item>Write the modified record back via
560
+ `UserRecordUpdate`.</item></list><br><b>This is NOT Type 2.</b> Type 2 mutators (single-field) are
561
+ deferred
562
+ to a later release and will accept just the field name + value, doing
563
+ the read-modify-write entirely server-side. Both flows happen to use
564
+ the same read-modify-write structure on the implementation side — the
565
+ difference is what the client submits.
566
+ <br>
567
+ Idempotency-Key is strongly recommended; without it a retried update
568
+ risks silently overwriting concurrent edits that happened between
569
+ the original send and the retry.
570
+
571
+
572
+ **Timeout:** 15 s by default, adjustable per request with the `X-Request-Timeout` header. When the
573
+ trade server does not answer in time: The operation may still be completed by the server
574
+ (`X-Request-Outcome: unknown`): check its result before repeating it.
575
+
576
+ Args:
577
+ trade_platform (UUID):
578
+ login (int):
579
+ x_request_timeout (float | Unset):
580
+ body (MT4UserUpdate | Unset): Type 1 mutator input — full-replace shape for
581
+ `UserRecordUpdate`.
582
+ Client submits every non-secret, non-read-only, non-computed field; the
583
+ handler reads the current record from MT4 server, copies the secrets and
584
+ read-only fields off it, applies this DTO over the rest, and writes the
585
+ modified structure back.
586
+
587
+ Read-only fields that do NOT appear here (preserved by the server-side
588
+ read step):
589
+ * `Login` — passed as a path parameter, immutable identity.
590
+ * `RegistrationDate` — set once on creation, never updated.
591
+ * `LastDate`, `LastIP` — assigned by MT4 server during login.
592
+ * `PrevMonthBalance`, `PrevBalance`, `PrevMonthEquity`,
593
+ `PrevEquity` — derived server-side at reporting close.
594
+
595
+ Secret fields that do NOT appear here (preserved by the server-side
596
+ read step; use dedicated endpoints to change them):
597
+ * `Password`, `PasswordInvestor`, `PasswordPhone` —
598
+ change via `POST UserPasswordSet`.
599
+ * `OTPSecret` — provisioned via separate admin flow.
600
+ * `APIData` — wrapper-internal blob, never client-controlled.
601
+
602
+ <br><b>Note on Balance/Credit:</b> these fields ARE accepted here because the
603
+ wrapper `UserRecordUpdate` writes them directly. However, the audit-
604
+ trail-preserving way to move money is the dedicated balance operation
605
+ endpoints (forthcoming) — submitting Balance via this DTO bypasses the
606
+ audit log on MT4 server side.
607
+ body (MT4UserUpdate | Unset): Type 1 mutator input — full-replace shape for
608
+ `UserRecordUpdate`.
609
+ Client submits every non-secret, non-read-only, non-computed field; the
610
+ handler reads the current record from MT4 server, copies the secrets and
611
+ read-only fields off it, applies this DTO over the rest, and writes the
612
+ modified structure back.
613
+
614
+ Read-only fields that do NOT appear here (preserved by the server-side
615
+ read step):
616
+ * `Login` — passed as a path parameter, immutable identity.
617
+ * `RegistrationDate` — set once on creation, never updated.
618
+ * `LastDate`, `LastIP` — assigned by MT4 server during login.
619
+ * `PrevMonthBalance`, `PrevBalance`, `PrevMonthEquity`,
620
+ `PrevEquity` — derived server-side at reporting close.
621
+
622
+ Secret fields that do NOT appear here (preserved by the server-side
623
+ read step; use dedicated endpoints to change them):
624
+ * `Password`, `PasswordInvestor`, `PasswordPhone` —
625
+ change via `POST UserPasswordSet`.
626
+ * `OTPSecret` — provisioned via separate admin flow.
627
+ * `APIData` — wrapper-internal blob, never client-controlled.
628
+
629
+ <br><b>Note on Balance/Credit:</b> these fields ARE accepted here because the
630
+ wrapper `UserRecordUpdate` writes them directly. However, the audit-
631
+ trail-preserving way to move money is the dedicated balance operation
632
+ endpoints (forthcoming) — submitting Balance via this DTO bypasses the
633
+ audit log on MT4 server side.
634
+ body (MT4UserUpdate | Unset): Type 1 mutator input — full-replace shape for
635
+ `UserRecordUpdate`.
636
+ Client submits every non-secret, non-read-only, non-computed field; the
637
+ handler reads the current record from MT4 server, copies the secrets and
638
+ read-only fields off it, applies this DTO over the rest, and writes the
639
+ modified structure back.
640
+
641
+ Read-only fields that do NOT appear here (preserved by the server-side
642
+ read step):
643
+ * `Login` — passed as a path parameter, immutable identity.
644
+ * `RegistrationDate` — set once on creation, never updated.
645
+ * `LastDate`, `LastIP` — assigned by MT4 server during login.
646
+ * `PrevMonthBalance`, `PrevBalance`, `PrevMonthEquity`,
647
+ `PrevEquity` — derived server-side at reporting close.
648
+
649
+ Secret fields that do NOT appear here (preserved by the server-side
650
+ read step; use dedicated endpoints to change them):
651
+ * `Password`, `PasswordInvestor`, `PasswordPhone` —
652
+ change via `POST UserPasswordSet`.
653
+ * `OTPSecret` — provisioned via separate admin flow.
654
+ * `APIData` — wrapper-internal blob, never client-controlled.
655
+
656
+ <br><b>Note on Balance/Credit:</b> these fields ARE accepted here because the
657
+ wrapper `UserRecordUpdate` writes them directly. However, the audit-
658
+ trail-preserving way to move money is the dedicated balance operation
659
+ endpoints (forthcoming) — submitting Balance via this DTO bypasses the
660
+ audit log on MT4 server side.
661
+
662
+ Raises:
663
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
664
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
665
+
666
+ Returns:
667
+ MT4UserApiResponse
668
+ """
669
+
670
+
671
+ return (await asyncio_detailed(
672
+ trade_platform=trade_platform,
673
+ login=login,
674
+ client=client,
675
+ body=body,
676
+ x_request_timeout=x_request_timeout,
677
+
678
+ )).parsed