mywebapi-sdk 0.3.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- cplugin_webapi_sdk/__init__.py +79 -0
- cplugin_webapi_sdk/_generated/__init__.py +8 -0
- cplugin_webapi_sdk/_generated/api/__init__.py +1 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_authentication/__init__.py +1 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_authentication/post_api_v_2_mt4_trade_platform_user_password_check_login.py +306 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_authentication/post_api_v_2_mt4_trade_platform_user_password_set_login.py +377 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_backup/__init__.py +1 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_backup/get_api_v_2_mt4_trade_platform_backup_info_orders_mode.py +246 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_backup/get_api_v_2_mt4_trade_platform_backup_info_users_mode.py +262 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_backup/get_api_v_2_mt4_trade_platform_backup_request_orders_file.py +285 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_backup/get_api_v_2_mt4_trade_platform_backup_request_users_file.py +325 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_backup_destructive/__init__.py +1 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_backup_destructive/post_api_v_2_mt4_trade_platform_backup_restore_orders.py +332 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_backup_destructive/post_api_v_2_mt4_trade_platform_backup_restore_users.py +344 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_common/__init__.py +1 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_common/get_api_v_2_mt4_trade_platform_journal_request.py +326 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_common/get_api_v_2_mt4_trade_platform_manager_common.py +229 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_common/get_api_v_2_mt4_trade_platform_server_time.py +225 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_config/__init__.py +1 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_config/get_api_v_2_mt4_trade_platform_cfg_request_access.py +280 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_config/get_api_v_2_mt4_trade_platform_cfg_request_backup.py +241 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_config/get_api_v_2_mt4_trade_platform_cfg_request_common.py +237 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_config/get_api_v_2_mt4_trade_platform_cfg_request_data_server.py +276 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_config/get_api_v_2_mt4_trade_platform_cfg_request_feeder.py +276 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_config/get_api_v_2_mt4_trade_platform_cfg_request_gateway_account.py +280 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_config/get_api_v_2_mt4_trade_platform_cfg_request_gateway_markup.py +280 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_config/get_api_v_2_mt4_trade_platform_cfg_request_gateway_rule.py +272 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_config/get_api_v_2_mt4_trade_platform_cfg_request_holiday.py +296 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_config/get_api_v_2_mt4_trade_platform_cfg_request_live_update.py +272 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_config/get_api_v_2_mt4_trade_platform_cfg_request_manager.py +272 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_config/get_api_v_2_mt4_trade_platform_cfg_request_sync.py +276 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_config/get_api_v_2_mt4_trade_platform_cfg_request_time.py +245 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_config/post_api_v_2_mt4_trade_platform_cfg_delete_access_pos.py +254 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_config/post_api_v_2_mt4_trade_platform_cfg_delete_data_server_pos.py +234 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_config/post_api_v_2_mt4_trade_platform_cfg_delete_feeder_pos.py +230 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_config/post_api_v_2_mt4_trade_platform_cfg_delete_gateway_account_pos.py +230 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_config/post_api_v_2_mt4_trade_platform_cfg_delete_gateway_markup_pos.py +230 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_config/post_api_v_2_mt4_trade_platform_cfg_delete_gateway_rule_pos.py +230 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_config/post_api_v_2_mt4_trade_platform_cfg_delete_holiday_pos.py +230 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_config/post_api_v_2_mt4_trade_platform_cfg_delete_live_update_pos.py +230 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_config/post_api_v_2_mt4_trade_platform_cfg_delete_manager_pos.py +230 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_config/post_api_v_2_mt4_trade_platform_cfg_delete_symbol_pos.py +238 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_config/post_api_v_2_mt4_trade_platform_cfg_delete_sync_pos.py +230 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_config/post_api_v_2_mt4_trade_platform_cfg_shift_access_pos.py +250 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_config/post_api_v_2_mt4_trade_platform_cfg_shift_data_server_pos.py +250 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_config/post_api_v_2_mt4_trade_platform_cfg_shift_feeder_pos.py +250 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_config/post_api_v_2_mt4_trade_platform_cfg_shift_gateway_account_pos.py +250 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_config/post_api_v_2_mt4_trade_platform_cfg_shift_gateway_markup_pos.py +250 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_config/post_api_v_2_mt4_trade_platform_cfg_shift_gateway_rule_pos.py +250 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_config/post_api_v_2_mt4_trade_platform_cfg_shift_group_pos.py +250 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_config/post_api_v_2_mt4_trade_platform_cfg_shift_holiday_pos.py +250 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_config/post_api_v_2_mt4_trade_platform_cfg_shift_live_update_pos.py +250 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_config/post_api_v_2_mt4_trade_platform_cfg_shift_manager_pos.py +250 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_config/post_api_v_2_mt4_trade_platform_cfg_shift_plugin_pos.py +266 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_config/post_api_v_2_mt4_trade_platform_cfg_shift_symbol_pos.py +250 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_config/post_api_v_2_mt4_trade_platform_cfg_shift_sync_pos.py +250 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_config/post_api_v_2_mt4_trade_platform_cfg_update_access_pos.py +378 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_config/post_api_v_2_mt4_trade_platform_cfg_update_backup.py +361 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_config/post_api_v_2_mt4_trade_platform_cfg_update_common.py +389 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_config/post_api_v_2_mt4_trade_platform_cfg_update_data_server_pos.py +354 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_config/post_api_v_2_mt4_trade_platform_cfg_update_feeder.py +305 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_config/post_api_v_2_mt4_trade_platform_cfg_update_gateway_account.py +361 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_config/post_api_v_2_mt4_trade_platform_cfg_update_gateway_markup.py +345 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_config/post_api_v_2_mt4_trade_platform_cfg_update_gateway_rule.py +377 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_config/post_api_v_2_mt4_trade_platform_cfg_update_holiday_pos.py +350 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_config/post_api_v_2_mt4_trade_platform_cfg_update_live_update.py +385 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_config/post_api_v_2_mt4_trade_platform_cfg_update_manager.py +385 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_config/post_api_v_2_mt4_trade_platform_cfg_update_symbol_group_pos.py +342 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_config/post_api_v_2_mt4_trade_platform_cfg_update_sync.py +349 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_config/post_api_v_2_mt4_trade_platform_cfg_update_time.py +421 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_groups/__init__.py +1 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_groups/get_api_v_2_mt4_trade_platform_ensure_group_name_exist_group.py +274 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_groups/get_api_v_2_mt4_trade_platform_group_record_get_group.py +242 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_groups/get_api_v_2_mt4_trade_platform_group_sec_groups_get_group.py +246 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_groups/get_api_v_2_mt4_trade_platform_group_sec_margins_get_group.py +246 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_groups/get_api_v_2_mt4_trade_platform_groups_get.py +233 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_groups/get_api_v_2_mt4_trade_platform_groups_request.py +256 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_groups/patch_api_v_2_mt4_trade_platform_group_record_group.py +255 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_groups/post_api_v_2_mt4_trade_platform_group_record_update_group.py +542 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_history/__init__.py +1 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_history/get_api_v_2_mt4_trade_platform_trades_user_history_login.py +292 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_mail/__init__.py +1 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_mail/get_api_v_2_mt4_trade_platform_mail_last.py +225 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_margins/__init__.py +1 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_margins/get_api_v_2_mt4_trade_platform_margin_level_get_login.py +246 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_margins/get_api_v_2_mt4_trade_platform_margin_level_request_login.py +246 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_margins/get_api_v_2_mt4_trade_platform_margins_get.py +233 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_news/__init__.py +1 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_news/get_api_v_2_mt4_trade_platform_news_body_get_key.py +238 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_news/get_api_v_2_mt4_trade_platform_news_get.py +237 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_news/get_api_v_2_mt4_trade_platform_news_topic_get_pos.py +246 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_news/get_api_v_2_mt4_trade_platform_news_total.py +225 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_news/post_api_v_2_mt4_trade_platform_news_body_request_key.py +254 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_online/__init__.py +1 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_online/get_api_v_2_mt4_trade_platform_online_get.py +276 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_online/get_api_v_2_mt4_trade_platform_online_request.py +276 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_plugins/__init__.py +1 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_plugins/post_api_v_2_mt4_trade_platform_external_command_json.py +309 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_prices/__init__.py +1 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_prices/get_api_v_2_mt4_trade_platform_chart_request_symbol.py +332 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_prices/get_api_v_2_mt4_trade_platform_tick_info_last.py +233 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_prices/get_api_v_2_mt4_trade_platform_tick_info_last_symbol.py +250 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_prices/get_api_v_2_mt4_trade_platform_ticks_request_symbol.py +311 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_prices/post_api_v_2_mt4_trade_platform_chart_add_symbol.py +375 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_prices/post_api_v_2_mt4_trade_platform_chart_delete_symbol.py +375 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_prices/post_api_v_2_mt4_trade_platform_chart_update_symbol.py +367 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_prices/post_api_v_2_mt4_trade_platform_history_correct_symbol.py +274 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_reports/__init__.py +1 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_reports/get_api_v_2_mt4_trade_platform_daily_reports_request.py +362 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_reports/get_api_v_2_mt4_trade_platform_daily_reports_request_ex.py +334 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_reports/get_api_v_2_mt4_trade_platform_performance_request.py +281 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_reports/get_api_v_2_mt4_trade_platform_reports_request.py +370 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_reports/post_api_v_2_mt4_trade_platform_daily_sync_read.py +253 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_reports/post_api_v_2_mt4_trade_platform_daily_sync_start.py +289 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_server_admin/__init__.py +1 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_server_admin/get_api_v_2_mt4_trade_platform_license_check_license_name.py +250 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_server_admin/get_api_v_2_mt4_trade_platform_srv_feeder_log_name.py +246 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_server_admin/get_api_v_2_mt4_trade_platform_srv_feeders.py +288 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_server_admin/post_api_v_2_mt4_trade_platform_notifications_send.py +289 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_server_admin_destructive/__init__.py +1 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_server_admin_destructive/post_api_v_2_mt4_trade_platform_srv_charts_sync.py +257 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_server_admin_destructive/post_api_v_2_mt4_trade_platform_srv_feeds_restart.py +253 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_server_admin_destructive/post_api_v_2_mt4_trade_platform_srv_live_update_start.py +253 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_server_admin_destructive/post_api_v_2_mt4_trade_platform_srv_restart.py +281 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_sidecar_batch_reads/__init__.py +1 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_sidecar_batch_reads/get_api_v_2_mt4_trade_platform_trades_snapshot.py +245 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_sidecar_batch_reads/get_api_v_2_mt4_trade_platform_trades_sync_read.py +249 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_sidecar_batch_reads/get_api_v_2_mt4_trade_platform_users_snapshot.py +257 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_sidecar_batch_reads/get_api_v_2_mt4_trade_platform_users_sync_read.py +253 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_sidecar_external_command/__init__.py +1 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_sidecar_external_command/post_api_v_2_mt4_trade_platform_external_command_binary.py +393 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_sidecar_messaging/__init__.py +1 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_sidecar_messaging/get_api_v_2_mt4_trade_platform_mails_request.py +233 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_sidecar_messaging/post_api_v_2_mt4_trade_platform_mail_send.py +317 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_sidecar_messaging/post_api_v_2_mt4_trade_platform_news_send.py +309 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_sidecar_plugins/__init__.py +1 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_sidecar_plugins/get_api_v_2_mt4_trade_platform_cfg_request_plugin.py +233 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_sidecar_plugins/get_api_v_2_mt4_trade_platform_plugin_param_get_pos.py +242 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_sidecar_plugins/get_api_v_2_mt4_trade_platform_plugins_get.py +233 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_sidecar_plugins/post_api_v_2_mt4_trade_platform_cfg_update_plugin.py +301 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_sidecar_plugins/post_api_v_2_mt4_trade_platform_plugin_update.py +293 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_symbols/__init__.py +1 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_symbols/get_api_v_2_mt4_trade_platform_cfg_request_symbol.py +229 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_symbols/get_api_v_2_mt4_trade_platform_cfg_request_symbol_symbol.py +242 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_symbols/get_api_v_2_mt4_trade_platform_symbol_info_get.py +253 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_symbols/get_api_v_2_mt4_trade_platform_symbol_info_updated.py +268 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_symbols/get_api_v_2_mt4_trade_platform_symbol_sessions_get_symbol.py +258 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_symbols/get_api_v_2_mt4_trade_platform_symbols_groups_get.py +233 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_symbols/patch_api_v_2_mt4_trade_platform_symbol_config_symbol.py +255 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_symbols/post_api_v_2_mt4_trade_platform_cfg_update_symbol_symbol.py +530 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_symbols/post_api_v_2_mt4_trade_platform_symbol_add_symbol.py +270 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_symbols/post_api_v_2_mt4_trade_platform_symbol_change.py +417 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_symbols/post_api_v_2_mt4_trade_platform_symbol_hide_symbol.py +246 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_symbols/post_api_v_2_mt4_trade_platform_symbol_send_tick.py +319 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_symbols/post_api_v_2_mt4_trade_platform_symbols_refresh.py +233 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_trades/__init__.py +1 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_trades/get_api_v_2_mt4_trade_platform_adm_trades_request_group.py +266 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_trades/get_api_v_2_mt4_trade_platform_trade_record_get_order.py +246 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_trades/get_api_v_2_mt4_trade_platform_trade_record_request_order.py +258 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_trades/get_api_v_2_mt4_trade_platform_trade_records_request.py +278 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_trades/get_api_v_2_mt4_trade_platform_trades_get.py +252 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_trades/get_api_v_2_mt4_trade_platform_trades_get_by_login_login_group.py +259 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_trades/get_api_v_2_mt4_trade_platform_trades_get_by_market.py +229 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_trades/get_api_v_2_mt4_trade_platform_trades_get_by_symbol.py +249 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_trades/get_api_v_2_mt4_trade_platform_trades_get_ticket.py +254 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_trades/get_api_v_2_mt4_trade_platform_trades_request.py +299 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_trades/post_api_v_2_mt4_trade_platform_adm_trade_record_modify_ticket.py +462 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_trades/post_api_v_2_mt4_trade_platform_adm_trades_delete.py +290 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_trades/post_api_v_2_mt4_trade_platform_trade_check_stops.py +453 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_trades/post_api_v_2_mt4_trade_platform_trade_clear_rollback_order.py +262 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_trades/post_api_v_2_mt4_trade_platform_trade_transaction.py +453 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_trades/post_api_v_2_mt4_trade_platform_trades_sync_start.py +261 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_users/__init__.py +1 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_users/get_api_v_2_mt4_trade_platform_adm_balance_check.py +266 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_users/get_api_v_2_mt4_trade_platform_adm_balance_check_login.py +266 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_users/get_api_v_2_mt4_trade_platform_adm_users_request_safe_group.py +274 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_users/get_api_v_2_mt4_trade_platform_user_record_get_login.py +250 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_users/get_api_v_2_mt4_trade_platform_user_record_request_login.py +250 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_users/get_api_v_2_mt4_trade_platform_user_records_request.py +274 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_users/get_api_v_2_mt4_trade_platform_users_request.py +276 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_users/patch_api_v_2_mt4_trade_platform_user_record_login.py +283 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_users/post_api_v_2_mt4_trade_platform_adm_balance_fix.py +290 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_users/post_api_v_2_mt4_trade_platform_user_record_new.py +465 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_users/post_api_v_2_mt4_trade_platform_user_record_update_login.py +678 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_users/post_api_v_2_mt4_trade_platform_users_group_op.py +349 -0
- cplugin_webapi_sdk/_generated/api/mt4_v_2_users/post_api_v_2_mt4_trade_platform_users_sync_start.py +273 -0
- cplugin_webapi_sdk/_generated/api/mt5_v_2_common/__init__.py +1 -0
- cplugin_webapi_sdk/_generated/api/mt5_v_2_common/get_api_v_2_mt5_trade_platform_server_time.py +205 -0
- cplugin_webapi_sdk/_generated/api/mt5_v_2_common/get_api_v_2_mt5_trade_platform_time_get.py +205 -0
- cplugin_webapi_sdk/_generated/api/mt5_v_2_groups/__init__.py +1 -0
- cplugin_webapi_sdk/_generated/api/mt5_v_2_groups/get_api_v_2_mt5_trade_platform_group_get_group.py +218 -0
- cplugin_webapi_sdk/_generated/api/mt5_v_2_groups/patch_api_v_2_mt5_trade_platform_group_record_group.py +255 -0
- cplugin_webapi_sdk/_generated/api/mt5_v_2_managers/__init__.py +1 -0
- cplugin_webapi_sdk/_generated/api/mt5_v_2_managers/get_api_v_2_mt5_trade_platform_manager_current.py +205 -0
- cplugin_webapi_sdk/_generated/api/mt5_v_2_symbols/__init__.py +1 -0
- cplugin_webapi_sdk/_generated/api/mt5_v_2_symbols/get_api_v_2_mt5_trade_platform_symbol_get_symbol.py +218 -0
- cplugin_webapi_sdk/_generated/api/mt5_v_2_symbols/patch_api_v_2_mt5_trade_platform_symbol_record_symbol.py +255 -0
- cplugin_webapi_sdk/_generated/api/mt5_v_2_trades/__init__.py +1 -0
- cplugin_webapi_sdk/_generated/api/mt5_v_2_trades/get_api_v_2_mt5_trade_platform_deal_by_group_mask.py +265 -0
- cplugin_webapi_sdk/_generated/api/mt5_v_2_trades/get_api_v_2_mt5_trade_platform_order_by_group_mask.py +265 -0
- cplugin_webapi_sdk/_generated/api/mt5_v_2_trades/get_api_v_2_mt5_trade_platform_position_by_group_mask.py +265 -0
- cplugin_webapi_sdk/_generated/api/mt5_v_2_users/__init__.py +1 -0
- cplugin_webapi_sdk/_generated/api/mt5_v_2_users/get_api_v_2_mt5_trade_platform_user_get_login.py +218 -0
- cplugin_webapi_sdk/_generated/api/mt5_v_2_users/patch_api_v_2_mt5_trade_platform_user_record_login.py +255 -0
- cplugin_webapi_sdk/_generated/client.py +271 -0
- cplugin_webapi_sdk/_generated/errors.py +14 -0
- cplugin_webapi_sdk/_generated/models/__init__.py +469 -0
- cplugin_webapi_sdk/_generated/models/activation_modes.py +10 -0
- cplugin_webapi_sdk/_generated/models/activation_type.py +15 -0
- cplugin_webapi_sdk/_generated/models/api_error.py +135 -0
- cplugin_webapi_sdk/_generated/models/api_meta.py +114 -0
- cplugin_webapi_sdk/_generated/models/arc_backup_execution_period.py +10 -0
- cplugin_webapi_sdk/_generated/models/arc_backup_store_period.py +11 -0
- cplugin_webapi_sdk/_generated/models/backup_execution_period.py +9 -0
- cplugin_webapi_sdk/_generated/models/backup_store_period.py +10 -0
- cplugin_webapi_sdk/_generated/models/boolean_api_response.py +143 -0
- cplugin_webapi_sdk/_generated/models/chart_period.py +15 -0
- cplugin_webapi_sdk/_generated/models/data_feed_mode.py +9 -0
- cplugin_webapi_sdk/_generated/models/date_time_api_response.py +154 -0
- cplugin_webapi_sdk/_generated/models/deal_action.py +27 -0
- cplugin_webapi_sdk/_generated/models/deal_reason.py +26 -0
- cplugin_webapi_sdk/_generated/models/en_auth_mode.py +10 -0
- cplugin_webapi_sdk/_generated/models/en_auth_otp_mode.py +9 -0
- cplugin_webapi_sdk/_generated/models/en_calc_mode.py +21 -0
- cplugin_webapi_sdk/_generated/models/en_chart_mode.py +9 -0
- cplugin_webapi_sdk/_generated/models/en_comm_action_mode.py +9 -0
- cplugin_webapi_sdk/_generated/models/en_comm_charge_mode.py +9 -0
- cplugin_webapi_sdk/_generated/models/en_comm_entry_mode.py +9 -0
- cplugin_webapi_sdk/_generated/models/en_comm_mode.py +9 -0
- cplugin_webapi_sdk/_generated/models/en_comm_profit_mode.py +9 -0
- cplugin_webapi_sdk/_generated/models/en_comm_range_mode.py +11 -0
- cplugin_webapi_sdk/_generated/models/en_commission_mode.py +14 -0
- cplugin_webapi_sdk/_generated/models/en_commission_volume_type.py +8 -0
- cplugin_webapi_sdk/_generated/models/en_execution_mode.py +10 -0
- cplugin_webapi_sdk/_generated/models/en_free_margin_mode.py +10 -0
- cplugin_webapi_sdk/_generated/models/en_gateway_account_flags.py +8 -0
- cplugin_webapi_sdk/_generated/models/en_gtc_mode.py +9 -0
- cplugin_webapi_sdk/_generated/models/en_history_limit.py +13 -0
- cplugin_webapi_sdk/_generated/models/en_industries.py +172 -0
- cplugin_webapi_sdk/_generated/models/en_instant_mode.py +7 -0
- cplugin_webapi_sdk/_generated/models/en_log_type.py +14 -0
- cplugin_webapi_sdk/_generated/models/en_mail_mode.py +8 -0
- cplugin_webapi_sdk/_generated/models/en_manager_limit.py +13 -0
- cplugin_webapi_sdk/_generated/models/en_manager_rights.py +82 -0
- cplugin_webapi_sdk/_generated/models/en_margin_mode.py +9 -0
- cplugin_webapi_sdk/_generated/models/en_news_mode.py +9 -0
- cplugin_webapi_sdk/_generated/models/en_option_mode.py +10 -0
- cplugin_webapi_sdk/_generated/models/en_reports_mode.py +10 -0
- cplugin_webapi_sdk/_generated/models/en_sectors.py +22 -0
- cplugin_webapi_sdk/_generated/models/en_splice_time_type.py +7 -0
- cplugin_webapi_sdk/_generated/models/en_splice_type.py +9 -0
- cplugin_webapi_sdk/_generated/models/en_stop_out_mode.py +8 -0
- cplugin_webapi_sdk/_generated/models/en_swap_days.py +14 -0
- cplugin_webapi_sdk/_generated/models/en_swap_mode.py +16 -0
- cplugin_webapi_sdk/_generated/models/en_trade_mode.py +11 -0
- cplugin_webapi_sdk/_generated/models/en_transfer_mode.py +10 -0
- cplugin_webapi_sdk/_generated/models/entry_flag.py +10 -0
- cplugin_webapi_sdk/_generated/models/export_execution_period.py +11 -0
- cplugin_webapi_sdk/_generated/models/gtc_mode.py +9 -0
- cplugin_webapi_sdk/_generated/models/int_32_api_response.py +143 -0
- cplugin_webapi_sdk/_generated/models/int_32mt4_daily_report_list_dictionary_api_response.py +170 -0
- cplugin_webapi_sdk/_generated/models/int_32mt4_daily_report_list_dictionary_api_response_data_type_0.py +107 -0
- cplugin_webapi_sdk/_generated/models/json_node.py +155 -0
- cplugin_webapi_sdk/_generated/models/json_node_api_response.py +170 -0
- cplugin_webapi_sdk/_generated/models/json_node_options.py +60 -0
- cplugin_webapi_sdk/_generated/models/margin_calculation_mode.py +11 -0
- cplugin_webapi_sdk/_generated/models/margin_controlling_type.py +8 -0
- cplugin_webapi_sdk/_generated/models/margin_level_type.py +9 -0
- cplugin_webapi_sdk/_generated/models/margin_mode.py +10 -0
- cplugin_webapi_sdk/_generated/models/mt4_access.py +106 -0
- cplugin_webapi_sdk/_generated/models/mt4_access_api_response.py +173 -0
- cplugin_webapi_sdk/_generated/models/mt4_access_list_api_response.py +180 -0
- cplugin_webapi_sdk/_generated/models/mt4_backup.py +442 -0
- cplugin_webapi_sdk/_generated/models/mt4_backup_api_response.py +174 -0
- cplugin_webapi_sdk/_generated/models/mt4_backup_info.py +107 -0
- cplugin_webapi_sdk/_generated/models/mt4_backup_info_list_api_response.py +180 -0
- cplugin_webapi_sdk/_generated/models/mt4_balance_diff.py +74 -0
- cplugin_webapi_sdk/_generated/models/mt4_balance_diff_api_response.py +174 -0
- cplugin_webapi_sdk/_generated/models/mt4_balance_diff_list_api_response.py +180 -0
- cplugin_webapi_sdk/_generated/models/mt4_chart_bar.py +121 -0
- cplugin_webapi_sdk/_generated/models/mt4_chart_bar_list_api_response.py +180 -0
- cplugin_webapi_sdk/_generated/models/mt4_chart_write_request.py +103 -0
- cplugin_webapi_sdk/_generated/models/mt4_common.py +124 -0
- cplugin_webapi_sdk/_generated/models/mt4_common_api_response.py +172 -0
- cplugin_webapi_sdk/_generated/models/mt4_common_update.py +201 -0
- cplugin_webapi_sdk/_generated/models/mt4_daily_report.py +212 -0
- cplugin_webapi_sdk/_generated/models/mt4_daily_report_list_api_response.py +180 -0
- cplugin_webapi_sdk/_generated/models/mt4_data_server.py +153 -0
- cplugin_webapi_sdk/_generated/models/mt4_data_server_api_response.py +174 -0
- cplugin_webapi_sdk/_generated/models/mt4_data_server_list_api_response.py +180 -0
- cplugin_webapi_sdk/_generated/models/mt4_external_command_binary_request.py +77 -0
- cplugin_webapi_sdk/_generated/models/mt4_external_command_binary_response.py +74 -0
- cplugin_webapi_sdk/_generated/models/mt4_external_command_binary_response_api_response.py +171 -0
- cplugin_webapi_sdk/_generated/models/mt4_feeder.py +235 -0
- cplugin_webapi_sdk/_generated/models/mt4_feeder_api_response.py +172 -0
- cplugin_webapi_sdk/_generated/models/mt4_feeder_list_api_response.py +180 -0
- cplugin_webapi_sdk/_generated/models/mt4_gateway_account.py +190 -0
- cplugin_webapi_sdk/_generated/models/mt4_gateway_account_api_response.py +174 -0
- cplugin_webapi_sdk/_generated/models/mt4_gateway_account_list_api_response.py +180 -0
- cplugin_webapi_sdk/_generated/models/mt4_gateway_markup.py +157 -0
- cplugin_webapi_sdk/_generated/models/mt4_gateway_markup_api_response.py +174 -0
- cplugin_webapi_sdk/_generated/models/mt4_gateway_markup_list_api_response.py +180 -0
- cplugin_webapi_sdk/_generated/models/mt4_gateway_rule.py +234 -0
- cplugin_webapi_sdk/_generated/models/mt4_gateway_rule_api_response.py +177 -0
- cplugin_webapi_sdk/_generated/models/mt4_gateway_rule_list_api_response.py +180 -0
- cplugin_webapi_sdk/_generated/models/mt4_group.py +505 -0
- cplugin_webapi_sdk/_generated/models/mt4_group_api_response.py +193 -0
- cplugin_webapi_sdk/_generated/models/mt4_group_list_api_response.py +180 -0
- cplugin_webapi_sdk/_generated/models/mt4_group_margin.py +104 -0
- cplugin_webapi_sdk/_generated/models/mt4_group_margin_list_api_response.py +180 -0
- cplugin_webapi_sdk/_generated/models/mt4_group_sec.py +321 -0
- cplugin_webapi_sdk/_generated/models/mt4_group_sec_list_api_response.py +180 -0
- cplugin_webapi_sdk/_generated/models/mt4_group_update.py +467 -0
- cplugin_webapi_sdk/_generated/models/mt4_holiday.py +153 -0
- cplugin_webapi_sdk/_generated/models/mt4_holiday_api_response.py +174 -0
- cplugin_webapi_sdk/_generated/models/mt4_holiday_list_api_response.py +180 -0
- cplugin_webapi_sdk/_generated/models/mt4_live_update.py +165 -0
- cplugin_webapi_sdk/_generated/models/mt4_live_update_api_response.py +177 -0
- cplugin_webapi_sdk/_generated/models/mt4_live_update_list_api_response.py +180 -0
- cplugin_webapi_sdk/_generated/models/mt4_mail_box.py +148 -0
- cplugin_webapi_sdk/_generated/models/mt4_mail_box_list_api_response.py +180 -0
- cplugin_webapi_sdk/_generated/models/mt4_mail_send_request.py +160 -0
- cplugin_webapi_sdk/_generated/models/mt4_manager_rights.py +338 -0
- cplugin_webapi_sdk/_generated/models/mt4_manager_rights_api_response.py +175 -0
- cplugin_webapi_sdk/_generated/models/mt4_manager_rights_list_api_response.py +180 -0
- cplugin_webapi_sdk/_generated/models/mt4_margin_level.py +201 -0
- cplugin_webapi_sdk/_generated/models/mt4_margin_level_api_response.py +174 -0
- cplugin_webapi_sdk/_generated/models/mt4_margin_level_list_api_response.py +180 -0
- cplugin_webapi_sdk/_generated/models/mt4_news_send_request.py +127 -0
- cplugin_webapi_sdk/_generated/models/mt4_news_topic.py +177 -0
- cplugin_webapi_sdk/_generated/models/mt4_news_topic_api_response.py +178 -0
- cplugin_webapi_sdk/_generated/models/mt4_news_topic_list_api_response.py +180 -0
- cplugin_webapi_sdk/_generated/models/mt4_notifications_send_request.py +114 -0
- cplugin_webapi_sdk/_generated/models/mt4_online.py +88 -0
- cplugin_webapi_sdk/_generated/models/mt4_online_list_api_response.py +180 -0
- cplugin_webapi_sdk/_generated/models/mt4_performance.py +124 -0
- cplugin_webapi_sdk/_generated/models/mt4_performance_list_api_response.py +180 -0
- cplugin_webapi_sdk/_generated/models/mt4_plugin.py +153 -0
- cplugin_webapi_sdk/_generated/models/mt4_plugin_config.py +96 -0
- cplugin_webapi_sdk/_generated/models/mt4_plugin_list_api_response.py +180 -0
- cplugin_webapi_sdk/_generated/models/mt4_plugin_param.py +137 -0
- cplugin_webapi_sdk/_generated/models/mt4_plugin_param_api_response.py +171 -0
- cplugin_webapi_sdk/_generated/models/mt4_plugin_param_list_api_response.py +180 -0
- cplugin_webapi_sdk/_generated/models/mt4_server_log.py +151 -0
- cplugin_webapi_sdk/_generated/models/mt4_server_log_list_api_response.py +180 -0
- cplugin_webapi_sdk/_generated/models/mt4_server_time.py +95 -0
- cplugin_webapi_sdk/_generated/models/mt4_server_time_api_response.py +178 -0
- cplugin_webapi_sdk/_generated/models/mt4_symbol_change_request.py +148 -0
- cplugin_webapi_sdk/_generated/models/mt4_symbol_config.py +683 -0
- cplugin_webapi_sdk/_generated/models/mt4_symbol_config_api_response.py +177 -0
- cplugin_webapi_sdk/_generated/models/mt4_symbol_config_list_api_response.py +180 -0
- cplugin_webapi_sdk/_generated/models/mt4_symbol_config_update.py +608 -0
- cplugin_webapi_sdk/_generated/models/mt4_symbol_day_sessions.py +171 -0
- cplugin_webapi_sdk/_generated/models/mt4_symbol_day_sessions_list_api_response.py +180 -0
- cplugin_webapi_sdk/_generated/models/mt4_symbol_group.py +99 -0
- cplugin_webapi_sdk/_generated/models/mt4_symbol_group_api_response.py +174 -0
- cplugin_webapi_sdk/_generated/models/mt4_symbol_group_list_api_response.py +180 -0
- cplugin_webapi_sdk/_generated/models/mt4_symbol_info.py +210 -0
- cplugin_webapi_sdk/_generated/models/mt4_symbol_info_api_response.py +178 -0
- cplugin_webapi_sdk/_generated/models/mt4_symbol_info_list_api_response.py +180 -0
- cplugin_webapi_sdk/_generated/models/mt4_symbol_session.py +91 -0
- cplugin_webapi_sdk/_generated/models/mt4_sync.py +176 -0
- cplugin_webapi_sdk/_generated/models/mt4_sync_api_response.py +173 -0
- cplugin_webapi_sdk/_generated/models/mt4_sync_list_api_response.py +180 -0
- cplugin_webapi_sdk/_generated/models/mt4_tick_info.py +117 -0
- cplugin_webapi_sdk/_generated/models/mt4_tick_info_api_response.py +175 -0
- cplugin_webapi_sdk/_generated/models/mt4_tick_info_list_api_response.py +180 -0
- cplugin_webapi_sdk/_generated/models/mt4_tick_record.py +126 -0
- cplugin_webapi_sdk/_generated/models/mt4_tick_record_list_api_response.py +180 -0
- cplugin_webapi_sdk/_generated/models/mt4_trade.py +409 -0
- cplugin_webapi_sdk/_generated/models/mt4_trade_api_response.py +179 -0
- cplugin_webapi_sdk/_generated/models/mt4_trade_list_api_response.py +180 -0
- cplugin_webapi_sdk/_generated/models/mt4_trade_restore_input.py +274 -0
- cplugin_webapi_sdk/_generated/models/mt4_trade_restore_result.py +72 -0
- cplugin_webapi_sdk/_generated/models/mt4_trade_restore_result_list_api_response.py +180 -0
- cplugin_webapi_sdk/_generated/models/mt4_trade_transaction.py +262 -0
- cplugin_webapi_sdk/_generated/models/mt4_trade_transaction_api_response.py +181 -0
- cplugin_webapi_sdk/_generated/models/mt4_trade_update.py +165 -0
- cplugin_webapi_sdk/_generated/models/mt4_user.py +533 -0
- cplugin_webapi_sdk/_generated/models/mt4_user_api_response.py +184 -0
- cplugin_webapi_sdk/_generated/models/mt4_user_create.py +420 -0
- cplugin_webapi_sdk/_generated/models/mt4_user_list_api_response.py +180 -0
- cplugin_webapi_sdk/_generated/models/mt4_user_restore_input.py +193 -0
- cplugin_webapi_sdk/_generated/models/mt4_user_update.py +441 -0
- cplugin_webapi_sdk/_generated/models/mt4_users_group_op.py +140 -0
- cplugin_webapi_sdk/_generated/models/mt5_con_comm_tier.py +246 -0
- cplugin_webapi_sdk/_generated/models/mt5_con_commission.py +409 -0
- cplugin_webapi_sdk/_generated/models/mt5_con_group.py +1162 -0
- cplugin_webapi_sdk/_generated/models/mt5_con_group_api_response.py +170 -0
- cplugin_webapi_sdk/_generated/models/mt5_con_group_commissions_type_0.py +83 -0
- cplugin_webapi_sdk/_generated/models/mt5_con_manager.py +227 -0
- cplugin_webapi_sdk/_generated/models/mt5_con_manager_api_response.py +156 -0
- cplugin_webapi_sdk/_generated/models/mt5_deal.py +1045 -0
- cplugin_webapi_sdk/_generated/models/mt5_deal_list_api_response.py +180 -0
- cplugin_webapi_sdk/_generated/models/mt5_order.py +1008 -0
- cplugin_webapi_sdk/_generated/models/mt5_order_list_api_response.py +180 -0
- cplugin_webapi_sdk/_generated/models/mt5_position.py +829 -0
- cplugin_webapi_sdk/_generated/models/mt5_position_list_api_response.py +180 -0
- cplugin_webapi_sdk/_generated/models/mt5_symbol.py +2743 -0
- cplugin_webapi_sdk/_generated/models/mt5_symbol_api_response.py +170 -0
- cplugin_webapi_sdk/_generated/models/mt5_symbol_margin_rate_initial_type_0.py +124 -0
- cplugin_webapi_sdk/_generated/models/mt5_symbol_margin_rate_maintenance_type_0.py +124 -0
- cplugin_webapi_sdk/_generated/models/mt5_symbol_session.py +182 -0
- cplugin_webapi_sdk/_generated/models/mt5_time.py +101 -0
- cplugin_webapi_sdk/_generated/models/mt5_time_api_response.py +170 -0
- cplugin_webapi_sdk/_generated/models/mt5_user.py +752 -0
- cplugin_webapi_sdk/_generated/models/mt5_user_api_response.py +172 -0
- cplugin_webapi_sdk/_generated/models/news_mode.py +9 -0
- cplugin_webapi_sdk/_generated/models/order_filling.py +10 -0
- cplugin_webapi_sdk/_generated/models/order_reason.py +26 -0
- cplugin_webapi_sdk/_generated/models/order_state.py +16 -0
- cplugin_webapi_sdk/_generated/models/order_time.py +10 -0
- cplugin_webapi_sdk/_generated/models/order_type.py +15 -0
- cplugin_webapi_sdk/_generated/models/otp_mode.py +8 -0
- cplugin_webapi_sdk/_generated/models/paging_meta.py +88 -0
- cplugin_webapi_sdk/_generated/models/patch_api_v2mt4_trade_platform_group_record_group_json_body.py +66 -0
- cplugin_webapi_sdk/_generated/models/patch_api_v2mt4_trade_platform_symbol_config_symbol_json_body.py +66 -0
- cplugin_webapi_sdk/_generated/models/patch_api_v2mt4_trade_platform_user_record_login_json_body.py +66 -0
- cplugin_webapi_sdk/_generated/models/patch_api_v2mt5_trade_platform_group_record_group_json_body.py +66 -0
- cplugin_webapi_sdk/_generated/models/patch_api_v2mt5_trade_platform_symbol_record_symbol_json_body.py +66 -0
- cplugin_webapi_sdk/_generated/models/patch_api_v2mt5_trade_platform_user_record_login_json_body.py +66 -0
- cplugin_webapi_sdk/_generated/models/position_actions.py +8 -0
- cplugin_webapi_sdk/_generated/models/position_reasons.py +26 -0
- cplugin_webapi_sdk/_generated/models/profit_calculation_mode.py +9 -0
- cplugin_webapi_sdk/_generated/models/request_mode.py +10 -0
- cplugin_webapi_sdk/_generated/models/result_code.py +46 -0
- cplugin_webapi_sdk/_generated/models/server_role.py +9 -0
- cplugin_webapi_sdk/_generated/models/string_api_response.py +155 -0
- cplugin_webapi_sdk/_generated/models/swap_type.py +10 -0
- cplugin_webapi_sdk/_generated/models/symbol_exec_mode.py +9 -0
- cplugin_webapi_sdk/_generated/models/symbol_price_direction.py +9 -0
- cplugin_webapi_sdk/_generated/models/synchronization_mode.py +11 -0
- cplugin_webapi_sdk/_generated/models/trade_command.py +14 -0
- cplugin_webapi_sdk/_generated/models/trade_mode.py +9 -0
- cplugin_webapi_sdk/_generated/models/trade_record_reason.py +14 -0
- cplugin_webapi_sdk/_generated/models/trade_record_state.py +13 -0
- cplugin_webapi_sdk/_generated/models/watchdog_failover_mode.py +9 -0
- cplugin_webapi_sdk/_generated/models/watchdog_state.py +9 -0
- cplugin_webapi_sdk/_generated/models/web_api_error_code.py +17 -0
- cplugin_webapi_sdk/_generated/operation_timeouts.py +181 -0
- cplugin_webapi_sdk/_generated/types.py +53 -0
- cplugin_webapi_sdk/auth.py +278 -0
- cplugin_webapi_sdk/client.py +1215 -0
- cplugin_webapi_sdk/discovery.py +109 -0
- cplugin_webapi_sdk/envelope.py +77 -0
- cplugin_webapi_sdk/environments.py +45 -0
- cplugin_webapi_sdk/errors.py +79 -0
- cplugin_webapi_sdk/flags.py +36 -0
- cplugin_webapi_sdk/pagination.py +141 -0
- cplugin_webapi_sdk/realtime.py +408 -0
- cplugin_webapi_sdk/timeouts.py +197 -0
- cplugin_webapi_sdk/unwrap.py +153 -0
- mywebapi_sdk-0.3.0.dist-info/METADATA +312 -0
- mywebapi_sdk-0.3.0.dist-info/RECORD +456 -0
- mywebapi_sdk-0.3.0.dist-info/WHEEL +4 -0
- mywebapi_sdk-0.3.0.dist-info/licenses/LICENSE +21 -0
|
@@ -0,0 +1,683 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from collections.abc import Mapping
|
|
4
|
+
from typing import Any, TypeVar, BinaryIO, TextIO, TYPE_CHECKING, Generator
|
|
5
|
+
|
|
6
|
+
from attrs import define as _attrs_define
|
|
7
|
+
from attrs import field as _attrs_field
|
|
8
|
+
|
|
9
|
+
from ..types import UNSET, Unset
|
|
10
|
+
|
|
11
|
+
from ..types import UNSET, Unset
|
|
12
|
+
from typing import cast
|
|
13
|
+
import datetime
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
T = TypeVar("T", bound="MT4SymbolConfig")
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
@_attrs_define
|
|
25
|
+
class MT4SymbolConfig:
|
|
26
|
+
""" v2 DTO for a symbol's full server-side configuration. Curated from
|
|
27
|
+
`ConSymbol`; drops reserved / unused arrays and the nested
|
|
28
|
+
`Sessions` table (planned as its own endpoint).
|
|
29
|
+
|
|
30
|
+
Seven wrapper enum fields (`TradeMode`, `ProfitCalculationMode`,
|
|
31
|
+
`SymbolExecMode`, `SwapType`, `GTCMode`,
|
|
32
|
+
`MarginCalculationMode`) are exposed as strings; see
|
|
33
|
+
feedback-stj-enum-leaf-nested for why the conversion happens at the mapper.
|
|
34
|
+
|
|
35
|
+
Attributes:
|
|
36
|
+
symbol (None | str | Unset): Symbol name (max 12 chars)
|
|
37
|
+
description (None | str | Unset): Human-readable description
|
|
38
|
+
source (None | str | Unset): Data feed source identifier
|
|
39
|
+
currency (None | str | Unset): Quote currency code
|
|
40
|
+
type_ (int | Unset): Symbol type identifier
|
|
41
|
+
digits (int | Unset): Number of decimal digits in the quote
|
|
42
|
+
trade_mode (None | str | Unset): Trading mode (Disabled / CloseOnly / Full)
|
|
43
|
+
background_color (int | Unset): Background colour for terminal client (BGR int)
|
|
44
|
+
count (int | Unset): Tick counter for the symbol (computed)
|
|
45
|
+
count_original (int | Unset): Original tick counter (computed)
|
|
46
|
+
realtime (int | Unset): 0 = synthetic, non-zero = real-time feed
|
|
47
|
+
starting (datetime.datetime | Unset): Symbol activation date (UTC)
|
|
48
|
+
expiration (datetime.datetime | Unset): Symbol expiration date (UTC)
|
|
49
|
+
profit_calculation_mode (None | str | Unset): Profit calculation mode (Forex / CFD / Futures)
|
|
50
|
+
filter_ (int | Unset): Tick filter type
|
|
51
|
+
filter_counter (int | Unset): Tick filter counter (computed)
|
|
52
|
+
filter_limit (float | Unset): Tick filter price-change limit
|
|
53
|
+
filter_smoothing (int | Unset): Tick filter smoothing factor
|
|
54
|
+
logging (int | Unset): 0 = no logging, non-zero = log price changes
|
|
55
|
+
spread (int | Unset): Spread in points (0 = floating)
|
|
56
|
+
spread_balance (int | Unset): Spread balance correction
|
|
57
|
+
symbol_exec_mode (None | str | Unset): Symbol execution mode
|
|
58
|
+
swap_enable (int | Unset): 0 = swaps disabled, non-zero = enabled
|
|
59
|
+
swap_type (None | str | Unset): Swap type (Points / SymbolBase / SymbolMargin / CurrencyMargin)
|
|
60
|
+
swap_long (float | Unset): Swap value for long positions
|
|
61
|
+
swap_short (float | Unset): Swap value for short positions
|
|
62
|
+
swap_rollover_3_days (int | Unset): Day of week (1-7) when 3-day rollover applies
|
|
63
|
+
contract_size (float | Unset): Contract size
|
|
64
|
+
tick_value (float | Unset): Tick value in deposit currency
|
|
65
|
+
tick_size (float | Unset): Tick size
|
|
66
|
+
stops_level (int | Unset): Minimum distance to current price for SL/TP (points)
|
|
67
|
+
gtc_mode (None | str | Unset): Pending order GTC mode
|
|
68
|
+
margin_calculation_mode (None | str | Unset): Margin calculation mode (Forex / CFD / Futures / CFDIndex /
|
|
69
|
+
CFDLeverage)
|
|
70
|
+
margin_initial (float | Unset): Initial margin per lot
|
|
71
|
+
margin_maintenance (float | Unset): Maintenance margin per lot
|
|
72
|
+
margin_hedged (float | Unset): Hedged margin per lot
|
|
73
|
+
margin_divider (float | Unset): Margin divider
|
|
74
|
+
percentage (float | Unset): Percentage
|
|
75
|
+
point (float | Unset): Point size
|
|
76
|
+
multiply (float | Unset): Multiplier
|
|
77
|
+
bid_tick_value (float | Unset): Bid tick value
|
|
78
|
+
ask_tick_value (float | Unset): Ask tick value
|
|
79
|
+
long_only (int | Unset): 0 = long+short, non-zero = long-only
|
|
80
|
+
instant_max_volume (int | Unset): Max instant-execution volume (lots, 0 = unlimited)
|
|
81
|
+
margin_currency (None | str | Unset): Margin currency for non-deposit-currency symbols
|
|
82
|
+
freeze_level (int | Unset): Freeze level (points before expiration to freeze trading)
|
|
83
|
+
margin_hedged_strong (int | Unset): Strong hedge margin per lot
|
|
84
|
+
value_date (datetime.datetime | Unset): Value date (UTC)
|
|
85
|
+
quotes_delay (int | Unset): Quotes delay in seconds (0 = real time)
|
|
86
|
+
swap_open_price (int | Unset): 0 = standard, non-zero = use open price for swaps
|
|
87
|
+
swap_variation_margin (int | Unset): 0 = swap, non-zero = variation margin
|
|
88
|
+
"""
|
|
89
|
+
|
|
90
|
+
symbol: None | str | Unset = UNSET
|
|
91
|
+
description: None | str | Unset = UNSET
|
|
92
|
+
source: None | str | Unset = UNSET
|
|
93
|
+
currency: None | str | Unset = UNSET
|
|
94
|
+
type_: int | Unset = UNSET
|
|
95
|
+
digits: int | Unset = UNSET
|
|
96
|
+
trade_mode: None | str | Unset = UNSET
|
|
97
|
+
background_color: int | Unset = UNSET
|
|
98
|
+
count: int | Unset = UNSET
|
|
99
|
+
count_original: int | Unset = UNSET
|
|
100
|
+
realtime: int | Unset = UNSET
|
|
101
|
+
starting: datetime.datetime | Unset = UNSET
|
|
102
|
+
expiration: datetime.datetime | Unset = UNSET
|
|
103
|
+
profit_calculation_mode: None | str | Unset = UNSET
|
|
104
|
+
filter_: int | Unset = UNSET
|
|
105
|
+
filter_counter: int | Unset = UNSET
|
|
106
|
+
filter_limit: float | Unset = UNSET
|
|
107
|
+
filter_smoothing: int | Unset = UNSET
|
|
108
|
+
logging: int | Unset = UNSET
|
|
109
|
+
spread: int | Unset = UNSET
|
|
110
|
+
spread_balance: int | Unset = UNSET
|
|
111
|
+
symbol_exec_mode: None | str | Unset = UNSET
|
|
112
|
+
swap_enable: int | Unset = UNSET
|
|
113
|
+
swap_type: None | str | Unset = UNSET
|
|
114
|
+
swap_long: float | Unset = UNSET
|
|
115
|
+
swap_short: float | Unset = UNSET
|
|
116
|
+
swap_rollover_3_days: int | Unset = UNSET
|
|
117
|
+
contract_size: float | Unset = UNSET
|
|
118
|
+
tick_value: float | Unset = UNSET
|
|
119
|
+
tick_size: float | Unset = UNSET
|
|
120
|
+
stops_level: int | Unset = UNSET
|
|
121
|
+
gtc_mode: None | str | Unset = UNSET
|
|
122
|
+
margin_calculation_mode: None | str | Unset = UNSET
|
|
123
|
+
margin_initial: float | Unset = UNSET
|
|
124
|
+
margin_maintenance: float | Unset = UNSET
|
|
125
|
+
margin_hedged: float | Unset = UNSET
|
|
126
|
+
margin_divider: float | Unset = UNSET
|
|
127
|
+
percentage: float | Unset = UNSET
|
|
128
|
+
point: float | Unset = UNSET
|
|
129
|
+
multiply: float | Unset = UNSET
|
|
130
|
+
bid_tick_value: float | Unset = UNSET
|
|
131
|
+
ask_tick_value: float | Unset = UNSET
|
|
132
|
+
long_only: int | Unset = UNSET
|
|
133
|
+
instant_max_volume: int | Unset = UNSET
|
|
134
|
+
margin_currency: None | str | Unset = UNSET
|
|
135
|
+
freeze_level: int | Unset = UNSET
|
|
136
|
+
margin_hedged_strong: int | Unset = UNSET
|
|
137
|
+
value_date: datetime.datetime | Unset = UNSET
|
|
138
|
+
quotes_delay: int | Unset = UNSET
|
|
139
|
+
swap_open_price: int | Unset = UNSET
|
|
140
|
+
swap_variation_margin: int | Unset = UNSET
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
def to_dict(self) -> dict[str, Any]:
|
|
147
|
+
symbol: None | str | Unset
|
|
148
|
+
if isinstance(self.symbol, Unset):
|
|
149
|
+
symbol = UNSET
|
|
150
|
+
else:
|
|
151
|
+
symbol = self.symbol
|
|
152
|
+
|
|
153
|
+
description: None | str | Unset
|
|
154
|
+
if isinstance(self.description, Unset):
|
|
155
|
+
description = UNSET
|
|
156
|
+
else:
|
|
157
|
+
description = self.description
|
|
158
|
+
|
|
159
|
+
source: None | str | Unset
|
|
160
|
+
if isinstance(self.source, Unset):
|
|
161
|
+
source = UNSET
|
|
162
|
+
else:
|
|
163
|
+
source = self.source
|
|
164
|
+
|
|
165
|
+
currency: None | str | Unset
|
|
166
|
+
if isinstance(self.currency, Unset):
|
|
167
|
+
currency = UNSET
|
|
168
|
+
else:
|
|
169
|
+
currency = self.currency
|
|
170
|
+
|
|
171
|
+
type_ = self.type_
|
|
172
|
+
|
|
173
|
+
digits = self.digits
|
|
174
|
+
|
|
175
|
+
trade_mode: None | str | Unset
|
|
176
|
+
if isinstance(self.trade_mode, Unset):
|
|
177
|
+
trade_mode = UNSET
|
|
178
|
+
else:
|
|
179
|
+
trade_mode = self.trade_mode
|
|
180
|
+
|
|
181
|
+
background_color = self.background_color
|
|
182
|
+
|
|
183
|
+
count = self.count
|
|
184
|
+
|
|
185
|
+
count_original = self.count_original
|
|
186
|
+
|
|
187
|
+
realtime = self.realtime
|
|
188
|
+
|
|
189
|
+
starting: str | Unset = UNSET
|
|
190
|
+
if not isinstance(self.starting, Unset):
|
|
191
|
+
starting = self.starting.isoformat()
|
|
192
|
+
|
|
193
|
+
expiration: str | Unset = UNSET
|
|
194
|
+
if not isinstance(self.expiration, Unset):
|
|
195
|
+
expiration = self.expiration.isoformat()
|
|
196
|
+
|
|
197
|
+
profit_calculation_mode: None | str | Unset
|
|
198
|
+
if isinstance(self.profit_calculation_mode, Unset):
|
|
199
|
+
profit_calculation_mode = UNSET
|
|
200
|
+
else:
|
|
201
|
+
profit_calculation_mode = self.profit_calculation_mode
|
|
202
|
+
|
|
203
|
+
filter_ = self.filter_
|
|
204
|
+
|
|
205
|
+
filter_counter = self.filter_counter
|
|
206
|
+
|
|
207
|
+
filter_limit = self.filter_limit
|
|
208
|
+
|
|
209
|
+
filter_smoothing = self.filter_smoothing
|
|
210
|
+
|
|
211
|
+
logging = self.logging
|
|
212
|
+
|
|
213
|
+
spread = self.spread
|
|
214
|
+
|
|
215
|
+
spread_balance = self.spread_balance
|
|
216
|
+
|
|
217
|
+
symbol_exec_mode: None | str | Unset
|
|
218
|
+
if isinstance(self.symbol_exec_mode, Unset):
|
|
219
|
+
symbol_exec_mode = UNSET
|
|
220
|
+
else:
|
|
221
|
+
symbol_exec_mode = self.symbol_exec_mode
|
|
222
|
+
|
|
223
|
+
swap_enable = self.swap_enable
|
|
224
|
+
|
|
225
|
+
swap_type: None | str | Unset
|
|
226
|
+
if isinstance(self.swap_type, Unset):
|
|
227
|
+
swap_type = UNSET
|
|
228
|
+
else:
|
|
229
|
+
swap_type = self.swap_type
|
|
230
|
+
|
|
231
|
+
swap_long = self.swap_long
|
|
232
|
+
|
|
233
|
+
swap_short = self.swap_short
|
|
234
|
+
|
|
235
|
+
swap_rollover_3_days = self.swap_rollover_3_days
|
|
236
|
+
|
|
237
|
+
contract_size = self.contract_size
|
|
238
|
+
|
|
239
|
+
tick_value = self.tick_value
|
|
240
|
+
|
|
241
|
+
tick_size = self.tick_size
|
|
242
|
+
|
|
243
|
+
stops_level = self.stops_level
|
|
244
|
+
|
|
245
|
+
gtc_mode: None | str | Unset
|
|
246
|
+
if isinstance(self.gtc_mode, Unset):
|
|
247
|
+
gtc_mode = UNSET
|
|
248
|
+
else:
|
|
249
|
+
gtc_mode = self.gtc_mode
|
|
250
|
+
|
|
251
|
+
margin_calculation_mode: None | str | Unset
|
|
252
|
+
if isinstance(self.margin_calculation_mode, Unset):
|
|
253
|
+
margin_calculation_mode = UNSET
|
|
254
|
+
else:
|
|
255
|
+
margin_calculation_mode = self.margin_calculation_mode
|
|
256
|
+
|
|
257
|
+
margin_initial = self.margin_initial
|
|
258
|
+
|
|
259
|
+
margin_maintenance = self.margin_maintenance
|
|
260
|
+
|
|
261
|
+
margin_hedged = self.margin_hedged
|
|
262
|
+
|
|
263
|
+
margin_divider = self.margin_divider
|
|
264
|
+
|
|
265
|
+
percentage = self.percentage
|
|
266
|
+
|
|
267
|
+
point = self.point
|
|
268
|
+
|
|
269
|
+
multiply = self.multiply
|
|
270
|
+
|
|
271
|
+
bid_tick_value = self.bid_tick_value
|
|
272
|
+
|
|
273
|
+
ask_tick_value = self.ask_tick_value
|
|
274
|
+
|
|
275
|
+
long_only = self.long_only
|
|
276
|
+
|
|
277
|
+
instant_max_volume = self.instant_max_volume
|
|
278
|
+
|
|
279
|
+
margin_currency: None | str | Unset
|
|
280
|
+
if isinstance(self.margin_currency, Unset):
|
|
281
|
+
margin_currency = UNSET
|
|
282
|
+
else:
|
|
283
|
+
margin_currency = self.margin_currency
|
|
284
|
+
|
|
285
|
+
freeze_level = self.freeze_level
|
|
286
|
+
|
|
287
|
+
margin_hedged_strong = self.margin_hedged_strong
|
|
288
|
+
|
|
289
|
+
value_date: str | Unset = UNSET
|
|
290
|
+
if not isinstance(self.value_date, Unset):
|
|
291
|
+
value_date = self.value_date.isoformat()
|
|
292
|
+
|
|
293
|
+
quotes_delay = self.quotes_delay
|
|
294
|
+
|
|
295
|
+
swap_open_price = self.swap_open_price
|
|
296
|
+
|
|
297
|
+
swap_variation_margin = self.swap_variation_margin
|
|
298
|
+
|
|
299
|
+
|
|
300
|
+
field_dict: dict[str, Any] = {}
|
|
301
|
+
|
|
302
|
+
field_dict.update({
|
|
303
|
+
})
|
|
304
|
+
if symbol is not UNSET:
|
|
305
|
+
field_dict["symbol"] = symbol
|
|
306
|
+
if description is not UNSET:
|
|
307
|
+
field_dict["description"] = description
|
|
308
|
+
if source is not UNSET:
|
|
309
|
+
field_dict["source"] = source
|
|
310
|
+
if currency is not UNSET:
|
|
311
|
+
field_dict["currency"] = currency
|
|
312
|
+
if type_ is not UNSET:
|
|
313
|
+
field_dict["type"] = type_
|
|
314
|
+
if digits is not UNSET:
|
|
315
|
+
field_dict["digits"] = digits
|
|
316
|
+
if trade_mode is not UNSET:
|
|
317
|
+
field_dict["tradeMode"] = trade_mode
|
|
318
|
+
if background_color is not UNSET:
|
|
319
|
+
field_dict["backgroundColor"] = background_color
|
|
320
|
+
if count is not UNSET:
|
|
321
|
+
field_dict["count"] = count
|
|
322
|
+
if count_original is not UNSET:
|
|
323
|
+
field_dict["countOriginal"] = count_original
|
|
324
|
+
if realtime is not UNSET:
|
|
325
|
+
field_dict["realtime"] = realtime
|
|
326
|
+
if starting is not UNSET:
|
|
327
|
+
field_dict["starting"] = starting
|
|
328
|
+
if expiration is not UNSET:
|
|
329
|
+
field_dict["expiration"] = expiration
|
|
330
|
+
if profit_calculation_mode is not UNSET:
|
|
331
|
+
field_dict["profitCalculationMode"] = profit_calculation_mode
|
|
332
|
+
if filter_ is not UNSET:
|
|
333
|
+
field_dict["filter"] = filter_
|
|
334
|
+
if filter_counter is not UNSET:
|
|
335
|
+
field_dict["filterCounter"] = filter_counter
|
|
336
|
+
if filter_limit is not UNSET:
|
|
337
|
+
field_dict["filterLimit"] = filter_limit
|
|
338
|
+
if filter_smoothing is not UNSET:
|
|
339
|
+
field_dict["filterSmoothing"] = filter_smoothing
|
|
340
|
+
if logging is not UNSET:
|
|
341
|
+
field_dict["logging"] = logging
|
|
342
|
+
if spread is not UNSET:
|
|
343
|
+
field_dict["spread"] = spread
|
|
344
|
+
if spread_balance is not UNSET:
|
|
345
|
+
field_dict["spreadBalance"] = spread_balance
|
|
346
|
+
if symbol_exec_mode is not UNSET:
|
|
347
|
+
field_dict["symbolExecMode"] = symbol_exec_mode
|
|
348
|
+
if swap_enable is not UNSET:
|
|
349
|
+
field_dict["swapEnable"] = swap_enable
|
|
350
|
+
if swap_type is not UNSET:
|
|
351
|
+
field_dict["swapType"] = swap_type
|
|
352
|
+
if swap_long is not UNSET:
|
|
353
|
+
field_dict["swapLong"] = swap_long
|
|
354
|
+
if swap_short is not UNSET:
|
|
355
|
+
field_dict["swapShort"] = swap_short
|
|
356
|
+
if swap_rollover_3_days is not UNSET:
|
|
357
|
+
field_dict["swapRollover3Days"] = swap_rollover_3_days
|
|
358
|
+
if contract_size is not UNSET:
|
|
359
|
+
field_dict["contractSize"] = contract_size
|
|
360
|
+
if tick_value is not UNSET:
|
|
361
|
+
field_dict["tickValue"] = tick_value
|
|
362
|
+
if tick_size is not UNSET:
|
|
363
|
+
field_dict["tickSize"] = tick_size
|
|
364
|
+
if stops_level is not UNSET:
|
|
365
|
+
field_dict["stopsLevel"] = stops_level
|
|
366
|
+
if gtc_mode is not UNSET:
|
|
367
|
+
field_dict["gtcMode"] = gtc_mode
|
|
368
|
+
if margin_calculation_mode is not UNSET:
|
|
369
|
+
field_dict["marginCalculationMode"] = margin_calculation_mode
|
|
370
|
+
if margin_initial is not UNSET:
|
|
371
|
+
field_dict["marginInitial"] = margin_initial
|
|
372
|
+
if margin_maintenance is not UNSET:
|
|
373
|
+
field_dict["marginMaintenance"] = margin_maintenance
|
|
374
|
+
if margin_hedged is not UNSET:
|
|
375
|
+
field_dict["marginHedged"] = margin_hedged
|
|
376
|
+
if margin_divider is not UNSET:
|
|
377
|
+
field_dict["marginDivider"] = margin_divider
|
|
378
|
+
if percentage is not UNSET:
|
|
379
|
+
field_dict["percentage"] = percentage
|
|
380
|
+
if point is not UNSET:
|
|
381
|
+
field_dict["point"] = point
|
|
382
|
+
if multiply is not UNSET:
|
|
383
|
+
field_dict["multiply"] = multiply
|
|
384
|
+
if bid_tick_value is not UNSET:
|
|
385
|
+
field_dict["bidTickValue"] = bid_tick_value
|
|
386
|
+
if ask_tick_value is not UNSET:
|
|
387
|
+
field_dict["askTickValue"] = ask_tick_value
|
|
388
|
+
if long_only is not UNSET:
|
|
389
|
+
field_dict["longOnly"] = long_only
|
|
390
|
+
if instant_max_volume is not UNSET:
|
|
391
|
+
field_dict["instantMaxVolume"] = instant_max_volume
|
|
392
|
+
if margin_currency is not UNSET:
|
|
393
|
+
field_dict["marginCurrency"] = margin_currency
|
|
394
|
+
if freeze_level is not UNSET:
|
|
395
|
+
field_dict["freezeLevel"] = freeze_level
|
|
396
|
+
if margin_hedged_strong is not UNSET:
|
|
397
|
+
field_dict["marginHedgedStrong"] = margin_hedged_strong
|
|
398
|
+
if value_date is not UNSET:
|
|
399
|
+
field_dict["valueDate"] = value_date
|
|
400
|
+
if quotes_delay is not UNSET:
|
|
401
|
+
field_dict["quotesDelay"] = quotes_delay
|
|
402
|
+
if swap_open_price is not UNSET:
|
|
403
|
+
field_dict["swapOpenPrice"] = swap_open_price
|
|
404
|
+
if swap_variation_margin is not UNSET:
|
|
405
|
+
field_dict["swapVariationMargin"] = swap_variation_margin
|
|
406
|
+
|
|
407
|
+
return field_dict
|
|
408
|
+
|
|
409
|
+
|
|
410
|
+
|
|
411
|
+
@classmethod
|
|
412
|
+
def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
|
|
413
|
+
d = dict(src_dict)
|
|
414
|
+
def _parse_symbol(data: object) -> None | str | Unset:
|
|
415
|
+
if data is None:
|
|
416
|
+
return data
|
|
417
|
+
if isinstance(data, Unset):
|
|
418
|
+
return data
|
|
419
|
+
return cast(None | str | Unset, data)
|
|
420
|
+
|
|
421
|
+
symbol = _parse_symbol(d.pop("symbol", UNSET))
|
|
422
|
+
|
|
423
|
+
|
|
424
|
+
def _parse_description(data: object) -> None | str | Unset:
|
|
425
|
+
if data is None:
|
|
426
|
+
return data
|
|
427
|
+
if isinstance(data, Unset):
|
|
428
|
+
return data
|
|
429
|
+
return cast(None | str | Unset, data)
|
|
430
|
+
|
|
431
|
+
description = _parse_description(d.pop("description", UNSET))
|
|
432
|
+
|
|
433
|
+
|
|
434
|
+
def _parse_source(data: object) -> None | str | Unset:
|
|
435
|
+
if data is None:
|
|
436
|
+
return data
|
|
437
|
+
if isinstance(data, Unset):
|
|
438
|
+
return data
|
|
439
|
+
return cast(None | str | Unset, data)
|
|
440
|
+
|
|
441
|
+
source = _parse_source(d.pop("source", UNSET))
|
|
442
|
+
|
|
443
|
+
|
|
444
|
+
def _parse_currency(data: object) -> None | str | Unset:
|
|
445
|
+
if data is None:
|
|
446
|
+
return data
|
|
447
|
+
if isinstance(data, Unset):
|
|
448
|
+
return data
|
|
449
|
+
return cast(None | str | Unset, data)
|
|
450
|
+
|
|
451
|
+
currency = _parse_currency(d.pop("currency", UNSET))
|
|
452
|
+
|
|
453
|
+
|
|
454
|
+
type_ = d.pop("type", UNSET)
|
|
455
|
+
|
|
456
|
+
digits = d.pop("digits", UNSET)
|
|
457
|
+
|
|
458
|
+
def _parse_trade_mode(data: object) -> None | str | Unset:
|
|
459
|
+
if data is None:
|
|
460
|
+
return data
|
|
461
|
+
if isinstance(data, Unset):
|
|
462
|
+
return data
|
|
463
|
+
return cast(None | str | Unset, data)
|
|
464
|
+
|
|
465
|
+
trade_mode = _parse_trade_mode(d.pop("tradeMode", UNSET))
|
|
466
|
+
|
|
467
|
+
|
|
468
|
+
background_color = d.pop("backgroundColor", UNSET)
|
|
469
|
+
|
|
470
|
+
count = d.pop("count", UNSET)
|
|
471
|
+
|
|
472
|
+
count_original = d.pop("countOriginal", UNSET)
|
|
473
|
+
|
|
474
|
+
realtime = d.pop("realtime", UNSET)
|
|
475
|
+
|
|
476
|
+
_starting = d.pop("starting", UNSET)
|
|
477
|
+
starting: datetime.datetime | Unset
|
|
478
|
+
if isinstance(_starting, Unset):
|
|
479
|
+
starting = UNSET
|
|
480
|
+
else:
|
|
481
|
+
starting = datetime.datetime.fromisoformat(_starting)
|
|
482
|
+
|
|
483
|
+
|
|
484
|
+
|
|
485
|
+
|
|
486
|
+
_expiration = d.pop("expiration", UNSET)
|
|
487
|
+
expiration: datetime.datetime | Unset
|
|
488
|
+
if isinstance(_expiration, Unset):
|
|
489
|
+
expiration = UNSET
|
|
490
|
+
else:
|
|
491
|
+
expiration = datetime.datetime.fromisoformat(_expiration)
|
|
492
|
+
|
|
493
|
+
|
|
494
|
+
|
|
495
|
+
|
|
496
|
+
def _parse_profit_calculation_mode(data: object) -> None | str | Unset:
|
|
497
|
+
if data is None:
|
|
498
|
+
return data
|
|
499
|
+
if isinstance(data, Unset):
|
|
500
|
+
return data
|
|
501
|
+
return cast(None | str | Unset, data)
|
|
502
|
+
|
|
503
|
+
profit_calculation_mode = _parse_profit_calculation_mode(d.pop("profitCalculationMode", UNSET))
|
|
504
|
+
|
|
505
|
+
|
|
506
|
+
filter_ = d.pop("filter", UNSET)
|
|
507
|
+
|
|
508
|
+
filter_counter = d.pop("filterCounter", UNSET)
|
|
509
|
+
|
|
510
|
+
filter_limit = d.pop("filterLimit", UNSET)
|
|
511
|
+
|
|
512
|
+
filter_smoothing = d.pop("filterSmoothing", UNSET)
|
|
513
|
+
|
|
514
|
+
logging = d.pop("logging", UNSET)
|
|
515
|
+
|
|
516
|
+
spread = d.pop("spread", UNSET)
|
|
517
|
+
|
|
518
|
+
spread_balance = d.pop("spreadBalance", UNSET)
|
|
519
|
+
|
|
520
|
+
def _parse_symbol_exec_mode(data: object) -> None | str | Unset:
|
|
521
|
+
if data is None:
|
|
522
|
+
return data
|
|
523
|
+
if isinstance(data, Unset):
|
|
524
|
+
return data
|
|
525
|
+
return cast(None | str | Unset, data)
|
|
526
|
+
|
|
527
|
+
symbol_exec_mode = _parse_symbol_exec_mode(d.pop("symbolExecMode", UNSET))
|
|
528
|
+
|
|
529
|
+
|
|
530
|
+
swap_enable = d.pop("swapEnable", UNSET)
|
|
531
|
+
|
|
532
|
+
def _parse_swap_type(data: object) -> None | str | Unset:
|
|
533
|
+
if data is None:
|
|
534
|
+
return data
|
|
535
|
+
if isinstance(data, Unset):
|
|
536
|
+
return data
|
|
537
|
+
return cast(None | str | Unset, data)
|
|
538
|
+
|
|
539
|
+
swap_type = _parse_swap_type(d.pop("swapType", UNSET))
|
|
540
|
+
|
|
541
|
+
|
|
542
|
+
swap_long = d.pop("swapLong", UNSET)
|
|
543
|
+
|
|
544
|
+
swap_short = d.pop("swapShort", UNSET)
|
|
545
|
+
|
|
546
|
+
swap_rollover_3_days = d.pop("swapRollover3Days", UNSET)
|
|
547
|
+
|
|
548
|
+
contract_size = d.pop("contractSize", UNSET)
|
|
549
|
+
|
|
550
|
+
tick_value = d.pop("tickValue", UNSET)
|
|
551
|
+
|
|
552
|
+
tick_size = d.pop("tickSize", UNSET)
|
|
553
|
+
|
|
554
|
+
stops_level = d.pop("stopsLevel", UNSET)
|
|
555
|
+
|
|
556
|
+
def _parse_gtc_mode(data: object) -> None | str | Unset:
|
|
557
|
+
if data is None:
|
|
558
|
+
return data
|
|
559
|
+
if isinstance(data, Unset):
|
|
560
|
+
return data
|
|
561
|
+
return cast(None | str | Unset, data)
|
|
562
|
+
|
|
563
|
+
gtc_mode = _parse_gtc_mode(d.pop("gtcMode", UNSET))
|
|
564
|
+
|
|
565
|
+
|
|
566
|
+
def _parse_margin_calculation_mode(data: object) -> None | str | Unset:
|
|
567
|
+
if data is None:
|
|
568
|
+
return data
|
|
569
|
+
if isinstance(data, Unset):
|
|
570
|
+
return data
|
|
571
|
+
return cast(None | str | Unset, data)
|
|
572
|
+
|
|
573
|
+
margin_calculation_mode = _parse_margin_calculation_mode(d.pop("marginCalculationMode", UNSET))
|
|
574
|
+
|
|
575
|
+
|
|
576
|
+
margin_initial = d.pop("marginInitial", UNSET)
|
|
577
|
+
|
|
578
|
+
margin_maintenance = d.pop("marginMaintenance", UNSET)
|
|
579
|
+
|
|
580
|
+
margin_hedged = d.pop("marginHedged", UNSET)
|
|
581
|
+
|
|
582
|
+
margin_divider = d.pop("marginDivider", UNSET)
|
|
583
|
+
|
|
584
|
+
percentage = d.pop("percentage", UNSET)
|
|
585
|
+
|
|
586
|
+
point = d.pop("point", UNSET)
|
|
587
|
+
|
|
588
|
+
multiply = d.pop("multiply", UNSET)
|
|
589
|
+
|
|
590
|
+
bid_tick_value = d.pop("bidTickValue", UNSET)
|
|
591
|
+
|
|
592
|
+
ask_tick_value = d.pop("askTickValue", UNSET)
|
|
593
|
+
|
|
594
|
+
long_only = d.pop("longOnly", UNSET)
|
|
595
|
+
|
|
596
|
+
instant_max_volume = d.pop("instantMaxVolume", UNSET)
|
|
597
|
+
|
|
598
|
+
def _parse_margin_currency(data: object) -> None | str | Unset:
|
|
599
|
+
if data is None:
|
|
600
|
+
return data
|
|
601
|
+
if isinstance(data, Unset):
|
|
602
|
+
return data
|
|
603
|
+
return cast(None | str | Unset, data)
|
|
604
|
+
|
|
605
|
+
margin_currency = _parse_margin_currency(d.pop("marginCurrency", UNSET))
|
|
606
|
+
|
|
607
|
+
|
|
608
|
+
freeze_level = d.pop("freezeLevel", UNSET)
|
|
609
|
+
|
|
610
|
+
margin_hedged_strong = d.pop("marginHedgedStrong", UNSET)
|
|
611
|
+
|
|
612
|
+
_value_date = d.pop("valueDate", UNSET)
|
|
613
|
+
value_date: datetime.datetime | Unset
|
|
614
|
+
if isinstance(_value_date, Unset):
|
|
615
|
+
value_date = UNSET
|
|
616
|
+
else:
|
|
617
|
+
value_date = datetime.datetime.fromisoformat(_value_date)
|
|
618
|
+
|
|
619
|
+
|
|
620
|
+
|
|
621
|
+
|
|
622
|
+
quotes_delay = d.pop("quotesDelay", UNSET)
|
|
623
|
+
|
|
624
|
+
swap_open_price = d.pop("swapOpenPrice", UNSET)
|
|
625
|
+
|
|
626
|
+
swap_variation_margin = d.pop("swapVariationMargin", UNSET)
|
|
627
|
+
|
|
628
|
+
mt4_symbol_config = cls(
|
|
629
|
+
symbol=symbol,
|
|
630
|
+
description=description,
|
|
631
|
+
source=source,
|
|
632
|
+
currency=currency,
|
|
633
|
+
type_=type_,
|
|
634
|
+
digits=digits,
|
|
635
|
+
trade_mode=trade_mode,
|
|
636
|
+
background_color=background_color,
|
|
637
|
+
count=count,
|
|
638
|
+
count_original=count_original,
|
|
639
|
+
realtime=realtime,
|
|
640
|
+
starting=starting,
|
|
641
|
+
expiration=expiration,
|
|
642
|
+
profit_calculation_mode=profit_calculation_mode,
|
|
643
|
+
filter_=filter_,
|
|
644
|
+
filter_counter=filter_counter,
|
|
645
|
+
filter_limit=filter_limit,
|
|
646
|
+
filter_smoothing=filter_smoothing,
|
|
647
|
+
logging=logging,
|
|
648
|
+
spread=spread,
|
|
649
|
+
spread_balance=spread_balance,
|
|
650
|
+
symbol_exec_mode=symbol_exec_mode,
|
|
651
|
+
swap_enable=swap_enable,
|
|
652
|
+
swap_type=swap_type,
|
|
653
|
+
swap_long=swap_long,
|
|
654
|
+
swap_short=swap_short,
|
|
655
|
+
swap_rollover_3_days=swap_rollover_3_days,
|
|
656
|
+
contract_size=contract_size,
|
|
657
|
+
tick_value=tick_value,
|
|
658
|
+
tick_size=tick_size,
|
|
659
|
+
stops_level=stops_level,
|
|
660
|
+
gtc_mode=gtc_mode,
|
|
661
|
+
margin_calculation_mode=margin_calculation_mode,
|
|
662
|
+
margin_initial=margin_initial,
|
|
663
|
+
margin_maintenance=margin_maintenance,
|
|
664
|
+
margin_hedged=margin_hedged,
|
|
665
|
+
margin_divider=margin_divider,
|
|
666
|
+
percentage=percentage,
|
|
667
|
+
point=point,
|
|
668
|
+
multiply=multiply,
|
|
669
|
+
bid_tick_value=bid_tick_value,
|
|
670
|
+
ask_tick_value=ask_tick_value,
|
|
671
|
+
long_only=long_only,
|
|
672
|
+
instant_max_volume=instant_max_volume,
|
|
673
|
+
margin_currency=margin_currency,
|
|
674
|
+
freeze_level=freeze_level,
|
|
675
|
+
margin_hedged_strong=margin_hedged_strong,
|
|
676
|
+
value_date=value_date,
|
|
677
|
+
quotes_delay=quotes_delay,
|
|
678
|
+
swap_open_price=swap_open_price,
|
|
679
|
+
swap_variation_margin=swap_variation_margin,
|
|
680
|
+
)
|
|
681
|
+
|
|
682
|
+
return mt4_symbol_config
|
|
683
|
+
|