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,1162 @@
1
+ from __future__ import annotations
2
+
3
+ from collections.abc import Mapping
4
+ from typing import Any, TypeVar, BinaryIO, TextIO, TYPE_CHECKING, Generator
5
+
6
+ from attrs import define as _attrs_define
7
+ from attrs import field as _attrs_field
8
+
9
+ from ..types import UNSET, Unset
10
+
11
+ from ..models.en_auth_mode import EnAuthMode
12
+ from ..models.en_auth_otp_mode import EnAuthOTPMode
13
+ from ..models.en_free_margin_mode import EnFreeMarginMode
14
+ from ..models.en_history_limit import EnHistoryLimit
15
+ from ..models.en_mail_mode import EnMailMode
16
+ from ..models.en_margin_mode import EnMarginMode
17
+ from ..models.en_news_mode import EnNewsMode
18
+ from ..models.en_reports_mode import EnReportsMode
19
+ from ..models.en_stop_out_mode import EnStopOutMode
20
+ from ..models.en_transfer_mode import EnTransferMode
21
+ from ..types import UNSET, Unset
22
+ from typing import cast
23
+
24
+ if TYPE_CHECKING:
25
+ from ..models.mt5_con_group_commissions_type_0 import MT5ConGroupCommissionsType0
26
+
27
+
28
+
29
+
30
+
31
+ T = TypeVar("T", bound="MT5ConGroup")
32
+
33
+
34
+
35
+ @_attrs_define
36
+ class MT5ConGroup:
37
+ """
38
+ Attributes:
39
+ group (None | str | Unset): group name
40
+ server (int | None | Unset): group trade server ID
41
+ permissions_flags (None | str | Unset): EnPermissionsFlags
42
+ auth_mode (EnAuthMode | None | Unset): EnAuthMode
43
+ auth_password_min (int | None | Unset): minimal password length
44
+ company (None | str | Unset): company name
45
+ company_page (None | str | Unset): company web page URL
46
+ company_email (None | str | Unset): company email
47
+ company_support_page (None | str | Unset): company support site URL
48
+ company_support_email (None | str | Unset): company support email
49
+ company_catalog (None | str | Unset): company catalog name (for reports and email templates)
50
+ currency (None | str | Unset): deposit currency
51
+ currency_digits (int | None | Unset):
52
+ reports_mode (EnReportsMode | None | Unset): EnReportsMode
53
+ reports_flags (None | str | Unset): EnReportsFlags
54
+ reports_smtp (None | str | Unset): reports SMTP server address:ports
55
+ reports_smtp_login (None | str | Unset): reports SMTP server login
56
+ reports_smtp_pass (None | str | Unset): reports SMTP server password
57
+ news_mode (EnNewsMode | None | Unset): EnNewsMode
58
+ news_category (None | str | Unset): news category filter string
59
+ news_lang (list[int] | None | Unset): <strong>Setter not yet implemented. If you want to send this value to MT5,
60
+ ask vendor to implement this feature. Exception will be thrown if you send anything but null here.</strong>
61
+ <br />
62
+ <br />
63
+ allowed news languages (Windows API LANGID used)
64
+ mail_mode (EnMailMode | None | Unset): EnMailMode
65
+ trade_flags (None | str | Unset): EnTradeFlags
66
+ trade_interest_rate (float | None | Unset): interest rate for free deposit money
67
+ trade_virtual_credit (float | None | Unset): virtual credit
68
+ margin_free_mode (EnFreeMarginMode | None | Unset): EnFreeMarginMode
69
+ margin_so_mode (EnStopOutMode | None | Unset): EnStopOutMode
70
+ margin_call (float | None | Unset): Margin Call level value
71
+ margin_stop_out (float | None | Unset): Sto-Out level value
72
+ demo_leverage (int | None | Unset): default demo accounts leverage
73
+ demo_deposit (float | None | Unset): default demo accounts deposit
74
+ limit_history (EnHistoryLimit | None | Unset): EnHistoryLimit
75
+ limit_orders (int | None | Unset): max. order limit
76
+ limit_symbols (int | None | Unset): max. selected symbols limit
77
+ commissions (MT5ConGroupCommissionsType0 | None | Unset): /// <strong>Setter not yet implemented. If you want to
78
+ send this value to MT5, ask vendor to implement this feature. Exception will be thrown if you send anything but
79
+ null here.</strong><br /><br />
80
+ margin_free_profit_mode (int | None | Unset): margin free profit accounting mode
81
+ margin_mode (EnMarginMode | None | Unset): group risk management mode - EnMarginMode
82
+ auth_otp_mode (EnAuthOTPMode | None | Unset): OTP authentication mode - EnAuthOTPMode
83
+ trade_transfer_mode (EnTransferMode | None | Unset): deposit transfer mode - EnTransferMode
84
+ margin_flags (None | str | Unset): margin calculation flags EnMarginFlags
85
+ limit_positions (int | None | Unset): max. positions limit
86
+ reports_email (None | str | Unset): reports SMTP email account
87
+ company_deposit_page (None | str | Unset): company deposit URL
88
+ company_withdrawal_page (None | str | Unset): company deposit URL
89
+ demo_inactivity_period (int | None | Unset): demo groups in days, orders and positions will be deleted after
90
+ this period
91
+ """
92
+
93
+ group: None | str | Unset = UNSET
94
+ server: int | None | Unset = UNSET
95
+ permissions_flags: None | str | Unset = UNSET
96
+ auth_mode: EnAuthMode | None | Unset = UNSET
97
+ auth_password_min: int | None | Unset = UNSET
98
+ company: None | str | Unset = UNSET
99
+ company_page: None | str | Unset = UNSET
100
+ company_email: None | str | Unset = UNSET
101
+ company_support_page: None | str | Unset = UNSET
102
+ company_support_email: None | str | Unset = UNSET
103
+ company_catalog: None | str | Unset = UNSET
104
+ currency: None | str | Unset = UNSET
105
+ currency_digits: int | None | Unset = UNSET
106
+ reports_mode: EnReportsMode | None | Unset = UNSET
107
+ reports_flags: None | str | Unset = UNSET
108
+ reports_smtp: None | str | Unset = UNSET
109
+ reports_smtp_login: None | str | Unset = UNSET
110
+ reports_smtp_pass: None | str | Unset = UNSET
111
+ news_mode: EnNewsMode | None | Unset = UNSET
112
+ news_category: None | str | Unset = UNSET
113
+ news_lang: list[int] | None | Unset = UNSET
114
+ mail_mode: EnMailMode | None | Unset = UNSET
115
+ trade_flags: None | str | Unset = UNSET
116
+ trade_interest_rate: float | None | Unset = UNSET
117
+ trade_virtual_credit: float | None | Unset = UNSET
118
+ margin_free_mode: EnFreeMarginMode | None | Unset = UNSET
119
+ margin_so_mode: EnStopOutMode | None | Unset = UNSET
120
+ margin_call: float | None | Unset = UNSET
121
+ margin_stop_out: float | None | Unset = UNSET
122
+ demo_leverage: int | None | Unset = UNSET
123
+ demo_deposit: float | None | Unset = UNSET
124
+ limit_history: EnHistoryLimit | None | Unset = UNSET
125
+ limit_orders: int | None | Unset = UNSET
126
+ limit_symbols: int | None | Unset = UNSET
127
+ commissions: MT5ConGroupCommissionsType0 | None | Unset = UNSET
128
+ margin_free_profit_mode: int | None | Unset = UNSET
129
+ margin_mode: EnMarginMode | None | Unset = UNSET
130
+ auth_otp_mode: EnAuthOTPMode | None | Unset = UNSET
131
+ trade_transfer_mode: EnTransferMode | None | Unset = UNSET
132
+ margin_flags: None | str | Unset = UNSET
133
+ limit_positions: int | None | Unset = UNSET
134
+ reports_email: None | str | Unset = UNSET
135
+ company_deposit_page: None | str | Unset = UNSET
136
+ company_withdrawal_page: None | str | Unset = UNSET
137
+ demo_inactivity_period: int | None | Unset = UNSET
138
+
139
+
140
+
141
+
142
+
143
+ def to_dict(self) -> dict[str, Any]:
144
+ from ..models.mt5_con_group_commissions_type_0 import MT5ConGroupCommissionsType0
145
+ group: None | str | Unset
146
+ if isinstance(self.group, Unset):
147
+ group = UNSET
148
+ else:
149
+ group = self.group
150
+
151
+ server: int | None | Unset
152
+ if isinstance(self.server, Unset):
153
+ server = UNSET
154
+ else:
155
+ server = self.server
156
+
157
+ permissions_flags: None | str | Unset
158
+ if isinstance(self.permissions_flags, Unset):
159
+ permissions_flags = UNSET
160
+ else:
161
+ permissions_flags = self.permissions_flags
162
+
163
+ auth_mode: None | str | Unset
164
+ if isinstance(self.auth_mode, Unset):
165
+ auth_mode = UNSET
166
+ elif isinstance(self.auth_mode, EnAuthMode):
167
+ auth_mode = self.auth_mode.value
168
+ else:
169
+ auth_mode = self.auth_mode
170
+
171
+ auth_password_min: int | None | Unset
172
+ if isinstance(self.auth_password_min, Unset):
173
+ auth_password_min = UNSET
174
+ else:
175
+ auth_password_min = self.auth_password_min
176
+
177
+ company: None | str | Unset
178
+ if isinstance(self.company, Unset):
179
+ company = UNSET
180
+ else:
181
+ company = self.company
182
+
183
+ company_page: None | str | Unset
184
+ if isinstance(self.company_page, Unset):
185
+ company_page = UNSET
186
+ else:
187
+ company_page = self.company_page
188
+
189
+ company_email: None | str | Unset
190
+ if isinstance(self.company_email, Unset):
191
+ company_email = UNSET
192
+ else:
193
+ company_email = self.company_email
194
+
195
+ company_support_page: None | str | Unset
196
+ if isinstance(self.company_support_page, Unset):
197
+ company_support_page = UNSET
198
+ else:
199
+ company_support_page = self.company_support_page
200
+
201
+ company_support_email: None | str | Unset
202
+ if isinstance(self.company_support_email, Unset):
203
+ company_support_email = UNSET
204
+ else:
205
+ company_support_email = self.company_support_email
206
+
207
+ company_catalog: None | str | Unset
208
+ if isinstance(self.company_catalog, Unset):
209
+ company_catalog = UNSET
210
+ else:
211
+ company_catalog = self.company_catalog
212
+
213
+ currency: None | str | Unset
214
+ if isinstance(self.currency, Unset):
215
+ currency = UNSET
216
+ else:
217
+ currency = self.currency
218
+
219
+ currency_digits: int | None | Unset
220
+ if isinstance(self.currency_digits, Unset):
221
+ currency_digits = UNSET
222
+ else:
223
+ currency_digits = self.currency_digits
224
+
225
+ reports_mode: None | str | Unset
226
+ if isinstance(self.reports_mode, Unset):
227
+ reports_mode = UNSET
228
+ elif isinstance(self.reports_mode, EnReportsMode):
229
+ reports_mode = self.reports_mode.value
230
+ else:
231
+ reports_mode = self.reports_mode
232
+
233
+ reports_flags: None | str | Unset
234
+ if isinstance(self.reports_flags, Unset):
235
+ reports_flags = UNSET
236
+ else:
237
+ reports_flags = self.reports_flags
238
+
239
+ reports_smtp: None | str | Unset
240
+ if isinstance(self.reports_smtp, Unset):
241
+ reports_smtp = UNSET
242
+ else:
243
+ reports_smtp = self.reports_smtp
244
+
245
+ reports_smtp_login: None | str | Unset
246
+ if isinstance(self.reports_smtp_login, Unset):
247
+ reports_smtp_login = UNSET
248
+ else:
249
+ reports_smtp_login = self.reports_smtp_login
250
+
251
+ reports_smtp_pass: None | str | Unset
252
+ if isinstance(self.reports_smtp_pass, Unset):
253
+ reports_smtp_pass = UNSET
254
+ else:
255
+ reports_smtp_pass = self.reports_smtp_pass
256
+
257
+ news_mode: None | str | Unset
258
+ if isinstance(self.news_mode, Unset):
259
+ news_mode = UNSET
260
+ elif isinstance(self.news_mode, EnNewsMode):
261
+ news_mode = self.news_mode.value
262
+ else:
263
+ news_mode = self.news_mode
264
+
265
+ news_category: None | str | Unset
266
+ if isinstance(self.news_category, Unset):
267
+ news_category = UNSET
268
+ else:
269
+ news_category = self.news_category
270
+
271
+ news_lang: list[int] | None | Unset
272
+ if isinstance(self.news_lang, Unset):
273
+ news_lang = UNSET
274
+ elif isinstance(self.news_lang, list):
275
+ news_lang = self.news_lang
276
+
277
+
278
+ else:
279
+ news_lang = self.news_lang
280
+
281
+ mail_mode: None | str | Unset
282
+ if isinstance(self.mail_mode, Unset):
283
+ mail_mode = UNSET
284
+ elif isinstance(self.mail_mode, EnMailMode):
285
+ mail_mode = self.mail_mode.value
286
+ else:
287
+ mail_mode = self.mail_mode
288
+
289
+ trade_flags: None | str | Unset
290
+ if isinstance(self.trade_flags, Unset):
291
+ trade_flags = UNSET
292
+ else:
293
+ trade_flags = self.trade_flags
294
+
295
+ trade_interest_rate: float | None | Unset
296
+ if isinstance(self.trade_interest_rate, Unset):
297
+ trade_interest_rate = UNSET
298
+ else:
299
+ trade_interest_rate = self.trade_interest_rate
300
+
301
+ trade_virtual_credit: float | None | Unset
302
+ if isinstance(self.trade_virtual_credit, Unset):
303
+ trade_virtual_credit = UNSET
304
+ else:
305
+ trade_virtual_credit = self.trade_virtual_credit
306
+
307
+ margin_free_mode: None | str | Unset
308
+ if isinstance(self.margin_free_mode, Unset):
309
+ margin_free_mode = UNSET
310
+ elif isinstance(self.margin_free_mode, EnFreeMarginMode):
311
+ margin_free_mode = self.margin_free_mode.value
312
+ else:
313
+ margin_free_mode = self.margin_free_mode
314
+
315
+ margin_so_mode: None | str | Unset
316
+ if isinstance(self.margin_so_mode, Unset):
317
+ margin_so_mode = UNSET
318
+ elif isinstance(self.margin_so_mode, EnStopOutMode):
319
+ margin_so_mode = self.margin_so_mode.value
320
+ else:
321
+ margin_so_mode = self.margin_so_mode
322
+
323
+ margin_call: float | None | Unset
324
+ if isinstance(self.margin_call, Unset):
325
+ margin_call = UNSET
326
+ else:
327
+ margin_call = self.margin_call
328
+
329
+ margin_stop_out: float | None | Unset
330
+ if isinstance(self.margin_stop_out, Unset):
331
+ margin_stop_out = UNSET
332
+ else:
333
+ margin_stop_out = self.margin_stop_out
334
+
335
+ demo_leverage: int | None | Unset
336
+ if isinstance(self.demo_leverage, Unset):
337
+ demo_leverage = UNSET
338
+ else:
339
+ demo_leverage = self.demo_leverage
340
+
341
+ demo_deposit: float | None | Unset
342
+ if isinstance(self.demo_deposit, Unset):
343
+ demo_deposit = UNSET
344
+ else:
345
+ demo_deposit = self.demo_deposit
346
+
347
+ limit_history: None | str | Unset
348
+ if isinstance(self.limit_history, Unset):
349
+ limit_history = UNSET
350
+ elif isinstance(self.limit_history, EnHistoryLimit):
351
+ limit_history = self.limit_history.value
352
+ else:
353
+ limit_history = self.limit_history
354
+
355
+ limit_orders: int | None | Unset
356
+ if isinstance(self.limit_orders, Unset):
357
+ limit_orders = UNSET
358
+ else:
359
+ limit_orders = self.limit_orders
360
+
361
+ limit_symbols: int | None | Unset
362
+ if isinstance(self.limit_symbols, Unset):
363
+ limit_symbols = UNSET
364
+ else:
365
+ limit_symbols = self.limit_symbols
366
+
367
+ commissions: dict[str, Any] | None | Unset
368
+ if isinstance(self.commissions, Unset):
369
+ commissions = UNSET
370
+ elif isinstance(self.commissions, MT5ConGroupCommissionsType0):
371
+ commissions = self.commissions.to_dict()
372
+ else:
373
+ commissions = self.commissions
374
+
375
+ margin_free_profit_mode: int | None | Unset
376
+ if isinstance(self.margin_free_profit_mode, Unset):
377
+ margin_free_profit_mode = UNSET
378
+ else:
379
+ margin_free_profit_mode = self.margin_free_profit_mode
380
+
381
+ margin_mode: None | str | Unset
382
+ if isinstance(self.margin_mode, Unset):
383
+ margin_mode = UNSET
384
+ elif isinstance(self.margin_mode, EnMarginMode):
385
+ margin_mode = self.margin_mode.value
386
+ else:
387
+ margin_mode = self.margin_mode
388
+
389
+ auth_otp_mode: None | str | Unset
390
+ if isinstance(self.auth_otp_mode, Unset):
391
+ auth_otp_mode = UNSET
392
+ elif isinstance(self.auth_otp_mode, EnAuthOTPMode):
393
+ auth_otp_mode = self.auth_otp_mode.value
394
+ else:
395
+ auth_otp_mode = self.auth_otp_mode
396
+
397
+ trade_transfer_mode: None | str | Unset
398
+ if isinstance(self.trade_transfer_mode, Unset):
399
+ trade_transfer_mode = UNSET
400
+ elif isinstance(self.trade_transfer_mode, EnTransferMode):
401
+ trade_transfer_mode = self.trade_transfer_mode.value
402
+ else:
403
+ trade_transfer_mode = self.trade_transfer_mode
404
+
405
+ margin_flags: None | str | Unset
406
+ if isinstance(self.margin_flags, Unset):
407
+ margin_flags = UNSET
408
+ else:
409
+ margin_flags = self.margin_flags
410
+
411
+ limit_positions: int | None | Unset
412
+ if isinstance(self.limit_positions, Unset):
413
+ limit_positions = UNSET
414
+ else:
415
+ limit_positions = self.limit_positions
416
+
417
+ reports_email: None | str | Unset
418
+ if isinstance(self.reports_email, Unset):
419
+ reports_email = UNSET
420
+ else:
421
+ reports_email = self.reports_email
422
+
423
+ company_deposit_page: None | str | Unset
424
+ if isinstance(self.company_deposit_page, Unset):
425
+ company_deposit_page = UNSET
426
+ else:
427
+ company_deposit_page = self.company_deposit_page
428
+
429
+ company_withdrawal_page: None | str | Unset
430
+ if isinstance(self.company_withdrawal_page, Unset):
431
+ company_withdrawal_page = UNSET
432
+ else:
433
+ company_withdrawal_page = self.company_withdrawal_page
434
+
435
+ demo_inactivity_period: int | None | Unset
436
+ if isinstance(self.demo_inactivity_period, Unset):
437
+ demo_inactivity_period = UNSET
438
+ else:
439
+ demo_inactivity_period = self.demo_inactivity_period
440
+
441
+
442
+ field_dict: dict[str, Any] = {}
443
+
444
+ field_dict.update({
445
+ })
446
+ if group is not UNSET:
447
+ field_dict["group"] = group
448
+ if server is not UNSET:
449
+ field_dict["server"] = server
450
+ if permissions_flags is not UNSET:
451
+ field_dict["permissionsFlags"] = permissions_flags
452
+ if auth_mode is not UNSET:
453
+ field_dict["authMode"] = auth_mode
454
+ if auth_password_min is not UNSET:
455
+ field_dict["authPasswordMin"] = auth_password_min
456
+ if company is not UNSET:
457
+ field_dict["company"] = company
458
+ if company_page is not UNSET:
459
+ field_dict["companyPage"] = company_page
460
+ if company_email is not UNSET:
461
+ field_dict["companyEmail"] = company_email
462
+ if company_support_page is not UNSET:
463
+ field_dict["companySupportPage"] = company_support_page
464
+ if company_support_email is not UNSET:
465
+ field_dict["companySupportEmail"] = company_support_email
466
+ if company_catalog is not UNSET:
467
+ field_dict["companyCatalog"] = company_catalog
468
+ if currency is not UNSET:
469
+ field_dict["currency"] = currency
470
+ if currency_digits is not UNSET:
471
+ field_dict["currencyDigits"] = currency_digits
472
+ if reports_mode is not UNSET:
473
+ field_dict["reportsMode"] = reports_mode
474
+ if reports_flags is not UNSET:
475
+ field_dict["reportsFlags"] = reports_flags
476
+ if reports_smtp is not UNSET:
477
+ field_dict["reportsSMTP"] = reports_smtp
478
+ if reports_smtp_login is not UNSET:
479
+ field_dict["reportsSMTPLogin"] = reports_smtp_login
480
+ if reports_smtp_pass is not UNSET:
481
+ field_dict["reportsSMTPPass"] = reports_smtp_pass
482
+ if news_mode is not UNSET:
483
+ field_dict["newsMode"] = news_mode
484
+ if news_category is not UNSET:
485
+ field_dict["newsCategory"] = news_category
486
+ if news_lang is not UNSET:
487
+ field_dict["newsLang"] = news_lang
488
+ if mail_mode is not UNSET:
489
+ field_dict["mailMode"] = mail_mode
490
+ if trade_flags is not UNSET:
491
+ field_dict["tradeFlags"] = trade_flags
492
+ if trade_interest_rate is not UNSET:
493
+ field_dict["tradeInterestRate"] = trade_interest_rate
494
+ if trade_virtual_credit is not UNSET:
495
+ field_dict["tradeVirtualCredit"] = trade_virtual_credit
496
+ if margin_free_mode is not UNSET:
497
+ field_dict["marginFreeMode"] = margin_free_mode
498
+ if margin_so_mode is not UNSET:
499
+ field_dict["marginSOMode"] = margin_so_mode
500
+ if margin_call is not UNSET:
501
+ field_dict["marginCall"] = margin_call
502
+ if margin_stop_out is not UNSET:
503
+ field_dict["marginStopOut"] = margin_stop_out
504
+ if demo_leverage is not UNSET:
505
+ field_dict["demoLeverage"] = demo_leverage
506
+ if demo_deposit is not UNSET:
507
+ field_dict["demoDeposit"] = demo_deposit
508
+ if limit_history is not UNSET:
509
+ field_dict["limitHistory"] = limit_history
510
+ if limit_orders is not UNSET:
511
+ field_dict["limitOrders"] = limit_orders
512
+ if limit_symbols is not UNSET:
513
+ field_dict["limitSymbols"] = limit_symbols
514
+ if commissions is not UNSET:
515
+ field_dict["commissions"] = commissions
516
+ if margin_free_profit_mode is not UNSET:
517
+ field_dict["marginFreeProfitMode"] = margin_free_profit_mode
518
+ if margin_mode is not UNSET:
519
+ field_dict["marginMode"] = margin_mode
520
+ if auth_otp_mode is not UNSET:
521
+ field_dict["authOTPMode"] = auth_otp_mode
522
+ if trade_transfer_mode is not UNSET:
523
+ field_dict["tradeTransferMode"] = trade_transfer_mode
524
+ if margin_flags is not UNSET:
525
+ field_dict["marginFlags"] = margin_flags
526
+ if limit_positions is not UNSET:
527
+ field_dict["limitPositions"] = limit_positions
528
+ if reports_email is not UNSET:
529
+ field_dict["reportsEmail"] = reports_email
530
+ if company_deposit_page is not UNSET:
531
+ field_dict["companyDepositPage"] = company_deposit_page
532
+ if company_withdrawal_page is not UNSET:
533
+ field_dict["companyWithdrawalPage"] = company_withdrawal_page
534
+ if demo_inactivity_period is not UNSET:
535
+ field_dict["demoInactivityPeriod"] = demo_inactivity_period
536
+
537
+ return field_dict
538
+
539
+
540
+
541
+ @classmethod
542
+ def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
543
+ from ..models.mt5_con_group_commissions_type_0 import MT5ConGroupCommissionsType0
544
+ d = dict(src_dict)
545
+ def _parse_group(data: object) -> None | str | Unset:
546
+ if data is None:
547
+ return data
548
+ if isinstance(data, Unset):
549
+ return data
550
+ return cast(None | str | Unset, data)
551
+
552
+ group = _parse_group(d.pop("group", UNSET))
553
+
554
+
555
+ def _parse_server(data: object) -> int | None | Unset:
556
+ if data is None:
557
+ return data
558
+ if isinstance(data, Unset):
559
+ return data
560
+ return cast(int | None | Unset, data)
561
+
562
+ server = _parse_server(d.pop("server", UNSET))
563
+
564
+
565
+ def _parse_permissions_flags(data: object) -> None | str | Unset:
566
+ if data is None:
567
+ return data
568
+ if isinstance(data, Unset):
569
+ return data
570
+ return cast(None | str | Unset, data)
571
+
572
+ permissions_flags = _parse_permissions_flags(d.pop("permissionsFlags", UNSET))
573
+
574
+
575
+ def _parse_auth_mode(data: object) -> EnAuthMode | None | Unset:
576
+ if data is None:
577
+ return data
578
+ if isinstance(data, Unset):
579
+ return data
580
+ try:
581
+ if not isinstance(data, str):
582
+ raise TypeError()
583
+ auth_mode_type_1 = EnAuthMode(data)
584
+
585
+
586
+
587
+ return auth_mode_type_1
588
+ except (TypeError, ValueError, AttributeError, KeyError):
589
+ pass
590
+ return cast(EnAuthMode | None | Unset, data)
591
+
592
+ auth_mode = _parse_auth_mode(d.pop("authMode", UNSET))
593
+
594
+
595
+ def _parse_auth_password_min(data: object) -> int | None | Unset:
596
+ if data is None:
597
+ return data
598
+ if isinstance(data, Unset):
599
+ return data
600
+ return cast(int | None | Unset, data)
601
+
602
+ auth_password_min = _parse_auth_password_min(d.pop("authPasswordMin", UNSET))
603
+
604
+
605
+ def _parse_company(data: object) -> None | str | Unset:
606
+ if data is None:
607
+ return data
608
+ if isinstance(data, Unset):
609
+ return data
610
+ return cast(None | str | Unset, data)
611
+
612
+ company = _parse_company(d.pop("company", UNSET))
613
+
614
+
615
+ def _parse_company_page(data: object) -> None | str | Unset:
616
+ if data is None:
617
+ return data
618
+ if isinstance(data, Unset):
619
+ return data
620
+ return cast(None | str | Unset, data)
621
+
622
+ company_page = _parse_company_page(d.pop("companyPage", UNSET))
623
+
624
+
625
+ def _parse_company_email(data: object) -> None | str | Unset:
626
+ if data is None:
627
+ return data
628
+ if isinstance(data, Unset):
629
+ return data
630
+ return cast(None | str | Unset, data)
631
+
632
+ company_email = _parse_company_email(d.pop("companyEmail", UNSET))
633
+
634
+
635
+ def _parse_company_support_page(data: object) -> None | str | Unset:
636
+ if data is None:
637
+ return data
638
+ if isinstance(data, Unset):
639
+ return data
640
+ return cast(None | str | Unset, data)
641
+
642
+ company_support_page = _parse_company_support_page(d.pop("companySupportPage", UNSET))
643
+
644
+
645
+ def _parse_company_support_email(data: object) -> None | str | Unset:
646
+ if data is None:
647
+ return data
648
+ if isinstance(data, Unset):
649
+ return data
650
+ return cast(None | str | Unset, data)
651
+
652
+ company_support_email = _parse_company_support_email(d.pop("companySupportEmail", UNSET))
653
+
654
+
655
+ def _parse_company_catalog(data: object) -> None | str | Unset:
656
+ if data is None:
657
+ return data
658
+ if isinstance(data, Unset):
659
+ return data
660
+ return cast(None | str | Unset, data)
661
+
662
+ company_catalog = _parse_company_catalog(d.pop("companyCatalog", UNSET))
663
+
664
+
665
+ def _parse_currency(data: object) -> None | str | Unset:
666
+ if data is None:
667
+ return data
668
+ if isinstance(data, Unset):
669
+ return data
670
+ return cast(None | str | Unset, data)
671
+
672
+ currency = _parse_currency(d.pop("currency", UNSET))
673
+
674
+
675
+ def _parse_currency_digits(data: object) -> int | None | Unset:
676
+ if data is None:
677
+ return data
678
+ if isinstance(data, Unset):
679
+ return data
680
+ return cast(int | None | Unset, data)
681
+
682
+ currency_digits = _parse_currency_digits(d.pop("currencyDigits", UNSET))
683
+
684
+
685
+ def _parse_reports_mode(data: object) -> EnReportsMode | None | Unset:
686
+ if data is None:
687
+ return data
688
+ if isinstance(data, Unset):
689
+ return data
690
+ try:
691
+ if not isinstance(data, str):
692
+ raise TypeError()
693
+ reports_mode_type_1 = EnReportsMode(data)
694
+
695
+
696
+
697
+ return reports_mode_type_1
698
+ except (TypeError, ValueError, AttributeError, KeyError):
699
+ pass
700
+ return cast(EnReportsMode | None | Unset, data)
701
+
702
+ reports_mode = _parse_reports_mode(d.pop("reportsMode", UNSET))
703
+
704
+
705
+ def _parse_reports_flags(data: object) -> None | str | Unset:
706
+ if data is None:
707
+ return data
708
+ if isinstance(data, Unset):
709
+ return data
710
+ return cast(None | str | Unset, data)
711
+
712
+ reports_flags = _parse_reports_flags(d.pop("reportsFlags", UNSET))
713
+
714
+
715
+ def _parse_reports_smtp(data: object) -> None | str | Unset:
716
+ if data is None:
717
+ return data
718
+ if isinstance(data, Unset):
719
+ return data
720
+ return cast(None | str | Unset, data)
721
+
722
+ reports_smtp = _parse_reports_smtp(d.pop("reportsSMTP", UNSET))
723
+
724
+
725
+ def _parse_reports_smtp_login(data: object) -> None | str | Unset:
726
+ if data is None:
727
+ return data
728
+ if isinstance(data, Unset):
729
+ return data
730
+ return cast(None | str | Unset, data)
731
+
732
+ reports_smtp_login = _parse_reports_smtp_login(d.pop("reportsSMTPLogin", UNSET))
733
+
734
+
735
+ def _parse_reports_smtp_pass(data: object) -> None | str | Unset:
736
+ if data is None:
737
+ return data
738
+ if isinstance(data, Unset):
739
+ return data
740
+ return cast(None | str | Unset, data)
741
+
742
+ reports_smtp_pass = _parse_reports_smtp_pass(d.pop("reportsSMTPPass", UNSET))
743
+
744
+
745
+ def _parse_news_mode(data: object) -> EnNewsMode | None | Unset:
746
+ if data is None:
747
+ return data
748
+ if isinstance(data, Unset):
749
+ return data
750
+ try:
751
+ if not isinstance(data, str):
752
+ raise TypeError()
753
+ news_mode_type_1 = EnNewsMode(data)
754
+
755
+
756
+
757
+ return news_mode_type_1
758
+ except (TypeError, ValueError, AttributeError, KeyError):
759
+ pass
760
+ return cast(EnNewsMode | None | Unset, data)
761
+
762
+ news_mode = _parse_news_mode(d.pop("newsMode", UNSET))
763
+
764
+
765
+ def _parse_news_category(data: object) -> None | str | Unset:
766
+ if data is None:
767
+ return data
768
+ if isinstance(data, Unset):
769
+ return data
770
+ return cast(None | str | Unset, data)
771
+
772
+ news_category = _parse_news_category(d.pop("newsCategory", UNSET))
773
+
774
+
775
+ def _parse_news_lang(data: object) -> list[int] | None | Unset:
776
+ if data is None:
777
+ return data
778
+ if isinstance(data, Unset):
779
+ return data
780
+ try:
781
+ if not isinstance(data, list):
782
+ raise TypeError()
783
+ news_lang_type_0 = cast(list[int], data)
784
+
785
+ return news_lang_type_0
786
+ except (TypeError, ValueError, AttributeError, KeyError):
787
+ pass
788
+ return cast(list[int] | None | Unset, data)
789
+
790
+ news_lang = _parse_news_lang(d.pop("newsLang", UNSET))
791
+
792
+
793
+ def _parse_mail_mode(data: object) -> EnMailMode | None | Unset:
794
+ if data is None:
795
+ return data
796
+ if isinstance(data, Unset):
797
+ return data
798
+ try:
799
+ if not isinstance(data, str):
800
+ raise TypeError()
801
+ mail_mode_type_1 = EnMailMode(data)
802
+
803
+
804
+
805
+ return mail_mode_type_1
806
+ except (TypeError, ValueError, AttributeError, KeyError):
807
+ pass
808
+ return cast(EnMailMode | None | Unset, data)
809
+
810
+ mail_mode = _parse_mail_mode(d.pop("mailMode", UNSET))
811
+
812
+
813
+ def _parse_trade_flags(data: object) -> None | str | Unset:
814
+ if data is None:
815
+ return data
816
+ if isinstance(data, Unset):
817
+ return data
818
+ return cast(None | str | Unset, data)
819
+
820
+ trade_flags = _parse_trade_flags(d.pop("tradeFlags", UNSET))
821
+
822
+
823
+ def _parse_trade_interest_rate(data: object) -> float | None | Unset:
824
+ if data is None:
825
+ return data
826
+ if isinstance(data, Unset):
827
+ return data
828
+ return cast(float | None | Unset, data)
829
+
830
+ trade_interest_rate = _parse_trade_interest_rate(d.pop("tradeInterestRate", UNSET))
831
+
832
+
833
+ def _parse_trade_virtual_credit(data: object) -> float | None | Unset:
834
+ if data is None:
835
+ return data
836
+ if isinstance(data, Unset):
837
+ return data
838
+ return cast(float | None | Unset, data)
839
+
840
+ trade_virtual_credit = _parse_trade_virtual_credit(d.pop("tradeVirtualCredit", UNSET))
841
+
842
+
843
+ def _parse_margin_free_mode(data: object) -> EnFreeMarginMode | None | Unset:
844
+ if data is None:
845
+ return data
846
+ if isinstance(data, Unset):
847
+ return data
848
+ try:
849
+ if not isinstance(data, str):
850
+ raise TypeError()
851
+ margin_free_mode_type_1 = EnFreeMarginMode(data)
852
+
853
+
854
+
855
+ return margin_free_mode_type_1
856
+ except (TypeError, ValueError, AttributeError, KeyError):
857
+ pass
858
+ return cast(EnFreeMarginMode | None | Unset, data)
859
+
860
+ margin_free_mode = _parse_margin_free_mode(d.pop("marginFreeMode", UNSET))
861
+
862
+
863
+ def _parse_margin_so_mode(data: object) -> EnStopOutMode | None | Unset:
864
+ if data is None:
865
+ return data
866
+ if isinstance(data, Unset):
867
+ return data
868
+ try:
869
+ if not isinstance(data, str):
870
+ raise TypeError()
871
+ margin_so_mode_type_1 = EnStopOutMode(data)
872
+
873
+
874
+
875
+ return margin_so_mode_type_1
876
+ except (TypeError, ValueError, AttributeError, KeyError):
877
+ pass
878
+ return cast(EnStopOutMode | None | Unset, data)
879
+
880
+ margin_so_mode = _parse_margin_so_mode(d.pop("marginSOMode", UNSET))
881
+
882
+
883
+ def _parse_margin_call(data: object) -> float | None | Unset:
884
+ if data is None:
885
+ return data
886
+ if isinstance(data, Unset):
887
+ return data
888
+ return cast(float | None | Unset, data)
889
+
890
+ margin_call = _parse_margin_call(d.pop("marginCall", UNSET))
891
+
892
+
893
+ def _parse_margin_stop_out(data: object) -> float | None | Unset:
894
+ if data is None:
895
+ return data
896
+ if isinstance(data, Unset):
897
+ return data
898
+ return cast(float | None | Unset, data)
899
+
900
+ margin_stop_out = _parse_margin_stop_out(d.pop("marginStopOut", UNSET))
901
+
902
+
903
+ def _parse_demo_leverage(data: object) -> int | None | Unset:
904
+ if data is None:
905
+ return data
906
+ if isinstance(data, Unset):
907
+ return data
908
+ return cast(int | None | Unset, data)
909
+
910
+ demo_leverage = _parse_demo_leverage(d.pop("demoLeverage", UNSET))
911
+
912
+
913
+ def _parse_demo_deposit(data: object) -> float | None | Unset:
914
+ if data is None:
915
+ return data
916
+ if isinstance(data, Unset):
917
+ return data
918
+ return cast(float | None | Unset, data)
919
+
920
+ demo_deposit = _parse_demo_deposit(d.pop("demoDeposit", UNSET))
921
+
922
+
923
+ def _parse_limit_history(data: object) -> EnHistoryLimit | None | Unset:
924
+ if data is None:
925
+ return data
926
+ if isinstance(data, Unset):
927
+ return data
928
+ try:
929
+ if not isinstance(data, str):
930
+ raise TypeError()
931
+ limit_history_type_1 = EnHistoryLimit(data)
932
+
933
+
934
+
935
+ return limit_history_type_1
936
+ except (TypeError, ValueError, AttributeError, KeyError):
937
+ pass
938
+ return cast(EnHistoryLimit | None | Unset, data)
939
+
940
+ limit_history = _parse_limit_history(d.pop("limitHistory", UNSET))
941
+
942
+
943
+ def _parse_limit_orders(data: object) -> int | None | Unset:
944
+ if data is None:
945
+ return data
946
+ if isinstance(data, Unset):
947
+ return data
948
+ return cast(int | None | Unset, data)
949
+
950
+ limit_orders = _parse_limit_orders(d.pop("limitOrders", UNSET))
951
+
952
+
953
+ def _parse_limit_symbols(data: object) -> int | None | Unset:
954
+ if data is None:
955
+ return data
956
+ if isinstance(data, Unset):
957
+ return data
958
+ return cast(int | None | Unset, data)
959
+
960
+ limit_symbols = _parse_limit_symbols(d.pop("limitSymbols", UNSET))
961
+
962
+
963
+ def _parse_commissions(data: object) -> MT5ConGroupCommissionsType0 | None | Unset:
964
+ if data is None:
965
+ return data
966
+ if isinstance(data, Unset):
967
+ return data
968
+ try:
969
+ if not isinstance(data, dict):
970
+ raise TypeError()
971
+ commissions_type_0 = MT5ConGroupCommissionsType0.from_dict(data)
972
+
973
+
974
+
975
+ return commissions_type_0
976
+ except (TypeError, ValueError, AttributeError, KeyError):
977
+ pass
978
+ return cast(MT5ConGroupCommissionsType0 | None | Unset, data)
979
+
980
+ commissions = _parse_commissions(d.pop("commissions", UNSET))
981
+
982
+
983
+ def _parse_margin_free_profit_mode(data: object) -> int | None | Unset:
984
+ if data is None:
985
+ return data
986
+ if isinstance(data, Unset):
987
+ return data
988
+ return cast(int | None | Unset, data)
989
+
990
+ margin_free_profit_mode = _parse_margin_free_profit_mode(d.pop("marginFreeProfitMode", UNSET))
991
+
992
+
993
+ def _parse_margin_mode(data: object) -> EnMarginMode | None | Unset:
994
+ if data is None:
995
+ return data
996
+ if isinstance(data, Unset):
997
+ return data
998
+ try:
999
+ if not isinstance(data, str):
1000
+ raise TypeError()
1001
+ margin_mode_type_1 = EnMarginMode(data)
1002
+
1003
+
1004
+
1005
+ return margin_mode_type_1
1006
+ except (TypeError, ValueError, AttributeError, KeyError):
1007
+ pass
1008
+ return cast(EnMarginMode | None | Unset, data)
1009
+
1010
+ margin_mode = _parse_margin_mode(d.pop("marginMode", UNSET))
1011
+
1012
+
1013
+ def _parse_auth_otp_mode(data: object) -> EnAuthOTPMode | None | Unset:
1014
+ if data is None:
1015
+ return data
1016
+ if isinstance(data, Unset):
1017
+ return data
1018
+ try:
1019
+ if not isinstance(data, str):
1020
+ raise TypeError()
1021
+ auth_otp_mode_type_1 = EnAuthOTPMode(data)
1022
+
1023
+
1024
+
1025
+ return auth_otp_mode_type_1
1026
+ except (TypeError, ValueError, AttributeError, KeyError):
1027
+ pass
1028
+ return cast(EnAuthOTPMode | None | Unset, data)
1029
+
1030
+ auth_otp_mode = _parse_auth_otp_mode(d.pop("authOTPMode", UNSET))
1031
+
1032
+
1033
+ def _parse_trade_transfer_mode(data: object) -> EnTransferMode | None | Unset:
1034
+ if data is None:
1035
+ return data
1036
+ if isinstance(data, Unset):
1037
+ return data
1038
+ try:
1039
+ if not isinstance(data, str):
1040
+ raise TypeError()
1041
+ trade_transfer_mode_type_1 = EnTransferMode(data)
1042
+
1043
+
1044
+
1045
+ return trade_transfer_mode_type_1
1046
+ except (TypeError, ValueError, AttributeError, KeyError):
1047
+ pass
1048
+ return cast(EnTransferMode | None | Unset, data)
1049
+
1050
+ trade_transfer_mode = _parse_trade_transfer_mode(d.pop("tradeTransferMode", UNSET))
1051
+
1052
+
1053
+ def _parse_margin_flags(data: object) -> None | str | Unset:
1054
+ if data is None:
1055
+ return data
1056
+ if isinstance(data, Unset):
1057
+ return data
1058
+ return cast(None | str | Unset, data)
1059
+
1060
+ margin_flags = _parse_margin_flags(d.pop("marginFlags", UNSET))
1061
+
1062
+
1063
+ def _parse_limit_positions(data: object) -> int | None | Unset:
1064
+ if data is None:
1065
+ return data
1066
+ if isinstance(data, Unset):
1067
+ return data
1068
+ return cast(int | None | Unset, data)
1069
+
1070
+ limit_positions = _parse_limit_positions(d.pop("limitPositions", UNSET))
1071
+
1072
+
1073
+ def _parse_reports_email(data: object) -> None | str | Unset:
1074
+ if data is None:
1075
+ return data
1076
+ if isinstance(data, Unset):
1077
+ return data
1078
+ return cast(None | str | Unset, data)
1079
+
1080
+ reports_email = _parse_reports_email(d.pop("reportsEmail", UNSET))
1081
+
1082
+
1083
+ def _parse_company_deposit_page(data: object) -> None | str | Unset:
1084
+ if data is None:
1085
+ return data
1086
+ if isinstance(data, Unset):
1087
+ return data
1088
+ return cast(None | str | Unset, data)
1089
+
1090
+ company_deposit_page = _parse_company_deposit_page(d.pop("companyDepositPage", UNSET))
1091
+
1092
+
1093
+ def _parse_company_withdrawal_page(data: object) -> None | str | Unset:
1094
+ if data is None:
1095
+ return data
1096
+ if isinstance(data, Unset):
1097
+ return data
1098
+ return cast(None | str | Unset, data)
1099
+
1100
+ company_withdrawal_page = _parse_company_withdrawal_page(d.pop("companyWithdrawalPage", UNSET))
1101
+
1102
+
1103
+ def _parse_demo_inactivity_period(data: object) -> int | None | Unset:
1104
+ if data is None:
1105
+ return data
1106
+ if isinstance(data, Unset):
1107
+ return data
1108
+ return cast(int | None | Unset, data)
1109
+
1110
+ demo_inactivity_period = _parse_demo_inactivity_period(d.pop("demoInactivityPeriod", UNSET))
1111
+
1112
+
1113
+ mt5_con_group = cls(
1114
+ group=group,
1115
+ server=server,
1116
+ permissions_flags=permissions_flags,
1117
+ auth_mode=auth_mode,
1118
+ auth_password_min=auth_password_min,
1119
+ company=company,
1120
+ company_page=company_page,
1121
+ company_email=company_email,
1122
+ company_support_page=company_support_page,
1123
+ company_support_email=company_support_email,
1124
+ company_catalog=company_catalog,
1125
+ currency=currency,
1126
+ currency_digits=currency_digits,
1127
+ reports_mode=reports_mode,
1128
+ reports_flags=reports_flags,
1129
+ reports_smtp=reports_smtp,
1130
+ reports_smtp_login=reports_smtp_login,
1131
+ reports_smtp_pass=reports_smtp_pass,
1132
+ news_mode=news_mode,
1133
+ news_category=news_category,
1134
+ news_lang=news_lang,
1135
+ mail_mode=mail_mode,
1136
+ trade_flags=trade_flags,
1137
+ trade_interest_rate=trade_interest_rate,
1138
+ trade_virtual_credit=trade_virtual_credit,
1139
+ margin_free_mode=margin_free_mode,
1140
+ margin_so_mode=margin_so_mode,
1141
+ margin_call=margin_call,
1142
+ margin_stop_out=margin_stop_out,
1143
+ demo_leverage=demo_leverage,
1144
+ demo_deposit=demo_deposit,
1145
+ limit_history=limit_history,
1146
+ limit_orders=limit_orders,
1147
+ limit_symbols=limit_symbols,
1148
+ commissions=commissions,
1149
+ margin_free_profit_mode=margin_free_profit_mode,
1150
+ margin_mode=margin_mode,
1151
+ auth_otp_mode=auth_otp_mode,
1152
+ trade_transfer_mode=trade_transfer_mode,
1153
+ margin_flags=margin_flags,
1154
+ limit_positions=limit_positions,
1155
+ reports_email=reports_email,
1156
+ company_deposit_page=company_deposit_page,
1157
+ company_withdrawal_page=company_withdrawal_page,
1158
+ demo_inactivity_period=demo_inactivity_period,
1159
+ )
1160
+
1161
+ return mt5_con_group
1162
+