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,1008 @@
|
|
|
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.order_filling import OrderFilling
|
|
12
|
+
from ..models.order_reason import OrderReason
|
|
13
|
+
from ..models.order_state import OrderState
|
|
14
|
+
from ..models.order_time import OrderTime
|
|
15
|
+
from ..models.order_type import OrderType
|
|
16
|
+
from ..types import UNSET, Unset
|
|
17
|
+
from typing import cast
|
|
18
|
+
import datetime
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
T = TypeVar("T", bound="MT5Order")
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
@_attrs_define
|
|
30
|
+
class MT5Order:
|
|
31
|
+
"""
|
|
32
|
+
Attributes:
|
|
33
|
+
order (int | None | Unset): order ticket
|
|
34
|
+
external_id (None | str | Unset): order ticket in external system (exchange, ECN, etc)
|
|
35
|
+
login (int | None | Unset): client login
|
|
36
|
+
dealer (int | None | Unset): processed dealer login (0-means auto)
|
|
37
|
+
party_id (int | None | Unset): counterparty identification
|
|
38
|
+
symbol (None | str | Unset): order symbol
|
|
39
|
+
digits (int | None | Unset): price digits
|
|
40
|
+
digits_currency (int | None | Unset): currency digits
|
|
41
|
+
contract_size (float | None | Unset): contract size
|
|
42
|
+
state (None | OrderState | Unset): OrderState
|
|
43
|
+
reason (None | OrderReason | Unset): OrderReason
|
|
44
|
+
time_setup (datetime.datetime | None | Unset): order setup time
|
|
45
|
+
time_expiration (datetime.datetime | None | Unset): order expiration
|
|
46
|
+
time_done (datetime.datetime | None | Unset): order filling/cancel time
|
|
47
|
+
type_ (None | OrderType | Unset): OrderType
|
|
48
|
+
type_fill (None | OrderFilling | Unset): OrderFilling
|
|
49
|
+
type_time (None | OrderTime | Unset): OrderTime
|
|
50
|
+
price_order (float | None | Unset): order price
|
|
51
|
+
price_trigger (float | None | Unset): order trigger price (stop-limit price)
|
|
52
|
+
price_current (float | None | Unset): order current price
|
|
53
|
+
price_sl (float | None | Unset): order SL
|
|
54
|
+
price_tp (float | None | Unset): order TP
|
|
55
|
+
volume_initial (int | None | Unset): order initial volume
|
|
56
|
+
volume_current (int | None | Unset): order current volume
|
|
57
|
+
expert_id (int | None | Unset): expert id (filled by expert advisor)
|
|
58
|
+
position_id (int | None | Unset): position id
|
|
59
|
+
comment (None | str | Unset): order comment
|
|
60
|
+
activation_mode (int | None | Unset): <strong>Has No Setter In ManagerAPI, so all you can is to read this
|
|
61
|
+
value.</strong>
|
|
62
|
+
<br />
|
|
63
|
+
<br />
|
|
64
|
+
order activation state, time and price
|
|
65
|
+
activation_time (datetime.datetime | None | Unset): <strong>Has No Setter In ManagerAPI, so all you can is to
|
|
66
|
+
read this value.</strong>
|
|
67
|
+
<br />
|
|
68
|
+
<br />
|
|
69
|
+
activation_price (float | None | Unset): <strong>Has No Setter In ManagerAPI, so all you can is to read this
|
|
70
|
+
value.</strong>
|
|
71
|
+
<br />
|
|
72
|
+
<br />
|
|
73
|
+
Gets the price, at which the order was activated
|
|
74
|
+
activation_flags (None | str | Unset): <strong>Has No Setter In ManagerAPI, so all you can is to read this
|
|
75
|
+
value.</strong>
|
|
76
|
+
<br />
|
|
77
|
+
<br />
|
|
78
|
+
time_setup_msc (datetime.datetime | None | Unset): Gets and sets the order placing time in milliseconds, since
|
|
79
|
+
1970.01.01
|
|
80
|
+
<br /><strong>If the value of this field is specified, the TimeSetup value will be filled in
|
|
81
|
+
automatically.</strong>
|
|
82
|
+
time_done_msc (datetime.datetime | None | Unset): Gets and sets the order execution time in milliseconds, since
|
|
83
|
+
1970.01.01
|
|
84
|
+
<br /><strong>If the value of this field is specified, the TimeDone value will be filled in
|
|
85
|
+
automatically.</strong>
|
|
86
|
+
rate_margin (float | None | Unset): margin conversion rate (from symbol margin currency to deposit currency)
|
|
87
|
+
position_by_id (int | None | Unset): position by id
|
|
88
|
+
modification_flags (int | None | Unset): modification flags
|
|
89
|
+
volume_initial_ext (int | None | Unset): order initial volume with extended accuracy
|
|
90
|
+
volume_current_ext (int | None | Unset): order current volume with extended accuracy
|
|
91
|
+
"""
|
|
92
|
+
|
|
93
|
+
order: int | None | Unset = UNSET
|
|
94
|
+
external_id: None | str | Unset = UNSET
|
|
95
|
+
login: int | None | Unset = UNSET
|
|
96
|
+
dealer: int | None | Unset = UNSET
|
|
97
|
+
party_id: int | None | Unset = UNSET
|
|
98
|
+
symbol: None | str | Unset = UNSET
|
|
99
|
+
digits: int | None | Unset = UNSET
|
|
100
|
+
digits_currency: int | None | Unset = UNSET
|
|
101
|
+
contract_size: float | None | Unset = UNSET
|
|
102
|
+
state: None | OrderState | Unset = UNSET
|
|
103
|
+
reason: None | OrderReason | Unset = UNSET
|
|
104
|
+
time_setup: datetime.datetime | None | Unset = UNSET
|
|
105
|
+
time_expiration: datetime.datetime | None | Unset = UNSET
|
|
106
|
+
time_done: datetime.datetime | None | Unset = UNSET
|
|
107
|
+
type_: None | OrderType | Unset = UNSET
|
|
108
|
+
type_fill: None | OrderFilling | Unset = UNSET
|
|
109
|
+
type_time: None | OrderTime | Unset = UNSET
|
|
110
|
+
price_order: float | None | Unset = UNSET
|
|
111
|
+
price_trigger: float | None | Unset = UNSET
|
|
112
|
+
price_current: float | None | Unset = UNSET
|
|
113
|
+
price_sl: float | None | Unset = UNSET
|
|
114
|
+
price_tp: float | None | Unset = UNSET
|
|
115
|
+
volume_initial: int | None | Unset = UNSET
|
|
116
|
+
volume_current: int | None | Unset = UNSET
|
|
117
|
+
expert_id: int | None | Unset = UNSET
|
|
118
|
+
position_id: int | None | Unset = UNSET
|
|
119
|
+
comment: None | str | Unset = UNSET
|
|
120
|
+
activation_mode: int | None | Unset = UNSET
|
|
121
|
+
activation_time: datetime.datetime | None | Unset = UNSET
|
|
122
|
+
activation_price: float | None | Unset = UNSET
|
|
123
|
+
activation_flags: None | str | Unset = UNSET
|
|
124
|
+
time_setup_msc: datetime.datetime | None | Unset = UNSET
|
|
125
|
+
time_done_msc: datetime.datetime | None | Unset = UNSET
|
|
126
|
+
rate_margin: float | None | Unset = UNSET
|
|
127
|
+
position_by_id: int | None | Unset = UNSET
|
|
128
|
+
modification_flags: int | None | Unset = UNSET
|
|
129
|
+
volume_initial_ext: int | None | Unset = UNSET
|
|
130
|
+
volume_current_ext: int | None | Unset = UNSET
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
def to_dict(self) -> dict[str, Any]:
|
|
137
|
+
order: int | None | Unset
|
|
138
|
+
if isinstance(self.order, Unset):
|
|
139
|
+
order = UNSET
|
|
140
|
+
else:
|
|
141
|
+
order = self.order
|
|
142
|
+
|
|
143
|
+
external_id: None | str | Unset
|
|
144
|
+
if isinstance(self.external_id, Unset):
|
|
145
|
+
external_id = UNSET
|
|
146
|
+
else:
|
|
147
|
+
external_id = self.external_id
|
|
148
|
+
|
|
149
|
+
login: int | None | Unset
|
|
150
|
+
if isinstance(self.login, Unset):
|
|
151
|
+
login = UNSET
|
|
152
|
+
else:
|
|
153
|
+
login = self.login
|
|
154
|
+
|
|
155
|
+
dealer: int | None | Unset
|
|
156
|
+
if isinstance(self.dealer, Unset):
|
|
157
|
+
dealer = UNSET
|
|
158
|
+
else:
|
|
159
|
+
dealer = self.dealer
|
|
160
|
+
|
|
161
|
+
party_id: int | None | Unset
|
|
162
|
+
if isinstance(self.party_id, Unset):
|
|
163
|
+
party_id = UNSET
|
|
164
|
+
else:
|
|
165
|
+
party_id = self.party_id
|
|
166
|
+
|
|
167
|
+
symbol: None | str | Unset
|
|
168
|
+
if isinstance(self.symbol, Unset):
|
|
169
|
+
symbol = UNSET
|
|
170
|
+
else:
|
|
171
|
+
symbol = self.symbol
|
|
172
|
+
|
|
173
|
+
digits: int | None | Unset
|
|
174
|
+
if isinstance(self.digits, Unset):
|
|
175
|
+
digits = UNSET
|
|
176
|
+
else:
|
|
177
|
+
digits = self.digits
|
|
178
|
+
|
|
179
|
+
digits_currency: int | None | Unset
|
|
180
|
+
if isinstance(self.digits_currency, Unset):
|
|
181
|
+
digits_currency = UNSET
|
|
182
|
+
else:
|
|
183
|
+
digits_currency = self.digits_currency
|
|
184
|
+
|
|
185
|
+
contract_size: float | None | Unset
|
|
186
|
+
if isinstance(self.contract_size, Unset):
|
|
187
|
+
contract_size = UNSET
|
|
188
|
+
else:
|
|
189
|
+
contract_size = self.contract_size
|
|
190
|
+
|
|
191
|
+
state: None | str | Unset
|
|
192
|
+
if isinstance(self.state, Unset):
|
|
193
|
+
state = UNSET
|
|
194
|
+
elif isinstance(self.state, OrderState):
|
|
195
|
+
state = self.state.value
|
|
196
|
+
else:
|
|
197
|
+
state = self.state
|
|
198
|
+
|
|
199
|
+
reason: None | str | Unset
|
|
200
|
+
if isinstance(self.reason, Unset):
|
|
201
|
+
reason = UNSET
|
|
202
|
+
elif isinstance(self.reason, OrderReason):
|
|
203
|
+
reason = self.reason.value
|
|
204
|
+
else:
|
|
205
|
+
reason = self.reason
|
|
206
|
+
|
|
207
|
+
time_setup: None | str | Unset
|
|
208
|
+
if isinstance(self.time_setup, Unset):
|
|
209
|
+
time_setup = UNSET
|
|
210
|
+
elif isinstance(self.time_setup, datetime.datetime):
|
|
211
|
+
time_setup = self.time_setup.isoformat()
|
|
212
|
+
else:
|
|
213
|
+
time_setup = self.time_setup
|
|
214
|
+
|
|
215
|
+
time_expiration: None | str | Unset
|
|
216
|
+
if isinstance(self.time_expiration, Unset):
|
|
217
|
+
time_expiration = UNSET
|
|
218
|
+
elif isinstance(self.time_expiration, datetime.datetime):
|
|
219
|
+
time_expiration = self.time_expiration.isoformat()
|
|
220
|
+
else:
|
|
221
|
+
time_expiration = self.time_expiration
|
|
222
|
+
|
|
223
|
+
time_done: None | str | Unset
|
|
224
|
+
if isinstance(self.time_done, Unset):
|
|
225
|
+
time_done = UNSET
|
|
226
|
+
elif isinstance(self.time_done, datetime.datetime):
|
|
227
|
+
time_done = self.time_done.isoformat()
|
|
228
|
+
else:
|
|
229
|
+
time_done = self.time_done
|
|
230
|
+
|
|
231
|
+
type_: None | str | Unset
|
|
232
|
+
if isinstance(self.type_, Unset):
|
|
233
|
+
type_ = UNSET
|
|
234
|
+
elif isinstance(self.type_, OrderType):
|
|
235
|
+
type_ = self.type_.value
|
|
236
|
+
else:
|
|
237
|
+
type_ = self.type_
|
|
238
|
+
|
|
239
|
+
type_fill: None | str | Unset
|
|
240
|
+
if isinstance(self.type_fill, Unset):
|
|
241
|
+
type_fill = UNSET
|
|
242
|
+
elif isinstance(self.type_fill, OrderFilling):
|
|
243
|
+
type_fill = self.type_fill.value
|
|
244
|
+
else:
|
|
245
|
+
type_fill = self.type_fill
|
|
246
|
+
|
|
247
|
+
type_time: None | str | Unset
|
|
248
|
+
if isinstance(self.type_time, Unset):
|
|
249
|
+
type_time = UNSET
|
|
250
|
+
elif isinstance(self.type_time, OrderTime):
|
|
251
|
+
type_time = self.type_time.value
|
|
252
|
+
else:
|
|
253
|
+
type_time = self.type_time
|
|
254
|
+
|
|
255
|
+
price_order: float | None | Unset
|
|
256
|
+
if isinstance(self.price_order, Unset):
|
|
257
|
+
price_order = UNSET
|
|
258
|
+
else:
|
|
259
|
+
price_order = self.price_order
|
|
260
|
+
|
|
261
|
+
price_trigger: float | None | Unset
|
|
262
|
+
if isinstance(self.price_trigger, Unset):
|
|
263
|
+
price_trigger = UNSET
|
|
264
|
+
else:
|
|
265
|
+
price_trigger = self.price_trigger
|
|
266
|
+
|
|
267
|
+
price_current: float | None | Unset
|
|
268
|
+
if isinstance(self.price_current, Unset):
|
|
269
|
+
price_current = UNSET
|
|
270
|
+
else:
|
|
271
|
+
price_current = self.price_current
|
|
272
|
+
|
|
273
|
+
price_sl: float | None | Unset
|
|
274
|
+
if isinstance(self.price_sl, Unset):
|
|
275
|
+
price_sl = UNSET
|
|
276
|
+
else:
|
|
277
|
+
price_sl = self.price_sl
|
|
278
|
+
|
|
279
|
+
price_tp: float | None | Unset
|
|
280
|
+
if isinstance(self.price_tp, Unset):
|
|
281
|
+
price_tp = UNSET
|
|
282
|
+
else:
|
|
283
|
+
price_tp = self.price_tp
|
|
284
|
+
|
|
285
|
+
volume_initial: int | None | Unset
|
|
286
|
+
if isinstance(self.volume_initial, Unset):
|
|
287
|
+
volume_initial = UNSET
|
|
288
|
+
else:
|
|
289
|
+
volume_initial = self.volume_initial
|
|
290
|
+
|
|
291
|
+
volume_current: int | None | Unset
|
|
292
|
+
if isinstance(self.volume_current, Unset):
|
|
293
|
+
volume_current = UNSET
|
|
294
|
+
else:
|
|
295
|
+
volume_current = self.volume_current
|
|
296
|
+
|
|
297
|
+
expert_id: int | None | Unset
|
|
298
|
+
if isinstance(self.expert_id, Unset):
|
|
299
|
+
expert_id = UNSET
|
|
300
|
+
else:
|
|
301
|
+
expert_id = self.expert_id
|
|
302
|
+
|
|
303
|
+
position_id: int | None | Unset
|
|
304
|
+
if isinstance(self.position_id, Unset):
|
|
305
|
+
position_id = UNSET
|
|
306
|
+
else:
|
|
307
|
+
position_id = self.position_id
|
|
308
|
+
|
|
309
|
+
comment: None | str | Unset
|
|
310
|
+
if isinstance(self.comment, Unset):
|
|
311
|
+
comment = UNSET
|
|
312
|
+
else:
|
|
313
|
+
comment = self.comment
|
|
314
|
+
|
|
315
|
+
activation_mode: int | None | Unset
|
|
316
|
+
if isinstance(self.activation_mode, Unset):
|
|
317
|
+
activation_mode = UNSET
|
|
318
|
+
else:
|
|
319
|
+
activation_mode = self.activation_mode
|
|
320
|
+
|
|
321
|
+
activation_time: None | str | Unset
|
|
322
|
+
if isinstance(self.activation_time, Unset):
|
|
323
|
+
activation_time = UNSET
|
|
324
|
+
elif isinstance(self.activation_time, datetime.datetime):
|
|
325
|
+
activation_time = self.activation_time.isoformat()
|
|
326
|
+
else:
|
|
327
|
+
activation_time = self.activation_time
|
|
328
|
+
|
|
329
|
+
activation_price: float | None | Unset
|
|
330
|
+
if isinstance(self.activation_price, Unset):
|
|
331
|
+
activation_price = UNSET
|
|
332
|
+
else:
|
|
333
|
+
activation_price = self.activation_price
|
|
334
|
+
|
|
335
|
+
activation_flags: None | str | Unset
|
|
336
|
+
if isinstance(self.activation_flags, Unset):
|
|
337
|
+
activation_flags = UNSET
|
|
338
|
+
else:
|
|
339
|
+
activation_flags = self.activation_flags
|
|
340
|
+
|
|
341
|
+
time_setup_msc: None | str | Unset
|
|
342
|
+
if isinstance(self.time_setup_msc, Unset):
|
|
343
|
+
time_setup_msc = UNSET
|
|
344
|
+
elif isinstance(self.time_setup_msc, datetime.datetime):
|
|
345
|
+
time_setup_msc = self.time_setup_msc.isoformat()
|
|
346
|
+
else:
|
|
347
|
+
time_setup_msc = self.time_setup_msc
|
|
348
|
+
|
|
349
|
+
time_done_msc: None | str | Unset
|
|
350
|
+
if isinstance(self.time_done_msc, Unset):
|
|
351
|
+
time_done_msc = UNSET
|
|
352
|
+
elif isinstance(self.time_done_msc, datetime.datetime):
|
|
353
|
+
time_done_msc = self.time_done_msc.isoformat()
|
|
354
|
+
else:
|
|
355
|
+
time_done_msc = self.time_done_msc
|
|
356
|
+
|
|
357
|
+
rate_margin: float | None | Unset
|
|
358
|
+
if isinstance(self.rate_margin, Unset):
|
|
359
|
+
rate_margin = UNSET
|
|
360
|
+
else:
|
|
361
|
+
rate_margin = self.rate_margin
|
|
362
|
+
|
|
363
|
+
position_by_id: int | None | Unset
|
|
364
|
+
if isinstance(self.position_by_id, Unset):
|
|
365
|
+
position_by_id = UNSET
|
|
366
|
+
else:
|
|
367
|
+
position_by_id = self.position_by_id
|
|
368
|
+
|
|
369
|
+
modification_flags: int | None | Unset
|
|
370
|
+
if isinstance(self.modification_flags, Unset):
|
|
371
|
+
modification_flags = UNSET
|
|
372
|
+
else:
|
|
373
|
+
modification_flags = self.modification_flags
|
|
374
|
+
|
|
375
|
+
volume_initial_ext: int | None | Unset
|
|
376
|
+
if isinstance(self.volume_initial_ext, Unset):
|
|
377
|
+
volume_initial_ext = UNSET
|
|
378
|
+
else:
|
|
379
|
+
volume_initial_ext = self.volume_initial_ext
|
|
380
|
+
|
|
381
|
+
volume_current_ext: int | None | Unset
|
|
382
|
+
if isinstance(self.volume_current_ext, Unset):
|
|
383
|
+
volume_current_ext = UNSET
|
|
384
|
+
else:
|
|
385
|
+
volume_current_ext = self.volume_current_ext
|
|
386
|
+
|
|
387
|
+
|
|
388
|
+
field_dict: dict[str, Any] = {}
|
|
389
|
+
|
|
390
|
+
field_dict.update({
|
|
391
|
+
})
|
|
392
|
+
if order is not UNSET:
|
|
393
|
+
field_dict["order"] = order
|
|
394
|
+
if external_id is not UNSET:
|
|
395
|
+
field_dict["externalID"] = external_id
|
|
396
|
+
if login is not UNSET:
|
|
397
|
+
field_dict["login"] = login
|
|
398
|
+
if dealer is not UNSET:
|
|
399
|
+
field_dict["dealer"] = dealer
|
|
400
|
+
if party_id is not UNSET:
|
|
401
|
+
field_dict["partyID"] = party_id
|
|
402
|
+
if symbol is not UNSET:
|
|
403
|
+
field_dict["symbol"] = symbol
|
|
404
|
+
if digits is not UNSET:
|
|
405
|
+
field_dict["digits"] = digits
|
|
406
|
+
if digits_currency is not UNSET:
|
|
407
|
+
field_dict["digitsCurrency"] = digits_currency
|
|
408
|
+
if contract_size is not UNSET:
|
|
409
|
+
field_dict["contractSize"] = contract_size
|
|
410
|
+
if state is not UNSET:
|
|
411
|
+
field_dict["state"] = state
|
|
412
|
+
if reason is not UNSET:
|
|
413
|
+
field_dict["reason"] = reason
|
|
414
|
+
if time_setup is not UNSET:
|
|
415
|
+
field_dict["timeSetup"] = time_setup
|
|
416
|
+
if time_expiration is not UNSET:
|
|
417
|
+
field_dict["timeExpiration"] = time_expiration
|
|
418
|
+
if time_done is not UNSET:
|
|
419
|
+
field_dict["timeDone"] = time_done
|
|
420
|
+
if type_ is not UNSET:
|
|
421
|
+
field_dict["type"] = type_
|
|
422
|
+
if type_fill is not UNSET:
|
|
423
|
+
field_dict["typeFill"] = type_fill
|
|
424
|
+
if type_time is not UNSET:
|
|
425
|
+
field_dict["typeTime"] = type_time
|
|
426
|
+
if price_order is not UNSET:
|
|
427
|
+
field_dict["priceOrder"] = price_order
|
|
428
|
+
if price_trigger is not UNSET:
|
|
429
|
+
field_dict["priceTrigger"] = price_trigger
|
|
430
|
+
if price_current is not UNSET:
|
|
431
|
+
field_dict["priceCurrent"] = price_current
|
|
432
|
+
if price_sl is not UNSET:
|
|
433
|
+
field_dict["priceSL"] = price_sl
|
|
434
|
+
if price_tp is not UNSET:
|
|
435
|
+
field_dict["priceTP"] = price_tp
|
|
436
|
+
if volume_initial is not UNSET:
|
|
437
|
+
field_dict["volumeInitial"] = volume_initial
|
|
438
|
+
if volume_current is not UNSET:
|
|
439
|
+
field_dict["volumeCurrent"] = volume_current
|
|
440
|
+
if expert_id is not UNSET:
|
|
441
|
+
field_dict["expertID"] = expert_id
|
|
442
|
+
if position_id is not UNSET:
|
|
443
|
+
field_dict["positionID"] = position_id
|
|
444
|
+
if comment is not UNSET:
|
|
445
|
+
field_dict["comment"] = comment
|
|
446
|
+
if activation_mode is not UNSET:
|
|
447
|
+
field_dict["activationMode"] = activation_mode
|
|
448
|
+
if activation_time is not UNSET:
|
|
449
|
+
field_dict["activationTime"] = activation_time
|
|
450
|
+
if activation_price is not UNSET:
|
|
451
|
+
field_dict["activationPrice"] = activation_price
|
|
452
|
+
if activation_flags is not UNSET:
|
|
453
|
+
field_dict["activationFlags"] = activation_flags
|
|
454
|
+
if time_setup_msc is not UNSET:
|
|
455
|
+
field_dict["timeSetupMsc"] = time_setup_msc
|
|
456
|
+
if time_done_msc is not UNSET:
|
|
457
|
+
field_dict["timeDoneMsc"] = time_done_msc
|
|
458
|
+
if rate_margin is not UNSET:
|
|
459
|
+
field_dict["rateMargin"] = rate_margin
|
|
460
|
+
if position_by_id is not UNSET:
|
|
461
|
+
field_dict["positionByID"] = position_by_id
|
|
462
|
+
if modification_flags is not UNSET:
|
|
463
|
+
field_dict["modificationFlags"] = modification_flags
|
|
464
|
+
if volume_initial_ext is not UNSET:
|
|
465
|
+
field_dict["volumeInitialExt"] = volume_initial_ext
|
|
466
|
+
if volume_current_ext is not UNSET:
|
|
467
|
+
field_dict["volumeCurrentExt"] = volume_current_ext
|
|
468
|
+
|
|
469
|
+
return field_dict
|
|
470
|
+
|
|
471
|
+
|
|
472
|
+
|
|
473
|
+
@classmethod
|
|
474
|
+
def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
|
|
475
|
+
d = dict(src_dict)
|
|
476
|
+
def _parse_order(data: object) -> int | None | Unset:
|
|
477
|
+
if data is None:
|
|
478
|
+
return data
|
|
479
|
+
if isinstance(data, Unset):
|
|
480
|
+
return data
|
|
481
|
+
return cast(int | None | Unset, data)
|
|
482
|
+
|
|
483
|
+
order = _parse_order(d.pop("order", UNSET))
|
|
484
|
+
|
|
485
|
+
|
|
486
|
+
def _parse_external_id(data: object) -> None | str | Unset:
|
|
487
|
+
if data is None:
|
|
488
|
+
return data
|
|
489
|
+
if isinstance(data, Unset):
|
|
490
|
+
return data
|
|
491
|
+
return cast(None | str | Unset, data)
|
|
492
|
+
|
|
493
|
+
external_id = _parse_external_id(d.pop("externalID", UNSET))
|
|
494
|
+
|
|
495
|
+
|
|
496
|
+
def _parse_login(data: object) -> int | None | Unset:
|
|
497
|
+
if data is None:
|
|
498
|
+
return data
|
|
499
|
+
if isinstance(data, Unset):
|
|
500
|
+
return data
|
|
501
|
+
return cast(int | None | Unset, data)
|
|
502
|
+
|
|
503
|
+
login = _parse_login(d.pop("login", UNSET))
|
|
504
|
+
|
|
505
|
+
|
|
506
|
+
def _parse_dealer(data: object) -> int | None | Unset:
|
|
507
|
+
if data is None:
|
|
508
|
+
return data
|
|
509
|
+
if isinstance(data, Unset):
|
|
510
|
+
return data
|
|
511
|
+
return cast(int | None | Unset, data)
|
|
512
|
+
|
|
513
|
+
dealer = _parse_dealer(d.pop("dealer", UNSET))
|
|
514
|
+
|
|
515
|
+
|
|
516
|
+
def _parse_party_id(data: object) -> int | None | Unset:
|
|
517
|
+
if data is None:
|
|
518
|
+
return data
|
|
519
|
+
if isinstance(data, Unset):
|
|
520
|
+
return data
|
|
521
|
+
return cast(int | None | Unset, data)
|
|
522
|
+
|
|
523
|
+
party_id = _parse_party_id(d.pop("partyID", UNSET))
|
|
524
|
+
|
|
525
|
+
|
|
526
|
+
def _parse_symbol(data: object) -> None | str | Unset:
|
|
527
|
+
if data is None:
|
|
528
|
+
return data
|
|
529
|
+
if isinstance(data, Unset):
|
|
530
|
+
return data
|
|
531
|
+
return cast(None | str | Unset, data)
|
|
532
|
+
|
|
533
|
+
symbol = _parse_symbol(d.pop("symbol", UNSET))
|
|
534
|
+
|
|
535
|
+
|
|
536
|
+
def _parse_digits(data: object) -> int | None | Unset:
|
|
537
|
+
if data is None:
|
|
538
|
+
return data
|
|
539
|
+
if isinstance(data, Unset):
|
|
540
|
+
return data
|
|
541
|
+
return cast(int | None | Unset, data)
|
|
542
|
+
|
|
543
|
+
digits = _parse_digits(d.pop("digits", UNSET))
|
|
544
|
+
|
|
545
|
+
|
|
546
|
+
def _parse_digits_currency(data: object) -> int | None | Unset:
|
|
547
|
+
if data is None:
|
|
548
|
+
return data
|
|
549
|
+
if isinstance(data, Unset):
|
|
550
|
+
return data
|
|
551
|
+
return cast(int | None | Unset, data)
|
|
552
|
+
|
|
553
|
+
digits_currency = _parse_digits_currency(d.pop("digitsCurrency", UNSET))
|
|
554
|
+
|
|
555
|
+
|
|
556
|
+
def _parse_contract_size(data: object) -> float | None | Unset:
|
|
557
|
+
if data is None:
|
|
558
|
+
return data
|
|
559
|
+
if isinstance(data, Unset):
|
|
560
|
+
return data
|
|
561
|
+
return cast(float | None | Unset, data)
|
|
562
|
+
|
|
563
|
+
contract_size = _parse_contract_size(d.pop("contractSize", UNSET))
|
|
564
|
+
|
|
565
|
+
|
|
566
|
+
def _parse_state(data: object) -> None | OrderState | Unset:
|
|
567
|
+
if data is None:
|
|
568
|
+
return data
|
|
569
|
+
if isinstance(data, Unset):
|
|
570
|
+
return data
|
|
571
|
+
try:
|
|
572
|
+
if not isinstance(data, str):
|
|
573
|
+
raise TypeError()
|
|
574
|
+
state_type_1 = OrderState(data)
|
|
575
|
+
|
|
576
|
+
|
|
577
|
+
|
|
578
|
+
return state_type_1
|
|
579
|
+
except (TypeError, ValueError, AttributeError, KeyError):
|
|
580
|
+
pass
|
|
581
|
+
return cast(None | OrderState | Unset, data)
|
|
582
|
+
|
|
583
|
+
state = _parse_state(d.pop("state", UNSET))
|
|
584
|
+
|
|
585
|
+
|
|
586
|
+
def _parse_reason(data: object) -> None | OrderReason | Unset:
|
|
587
|
+
if data is None:
|
|
588
|
+
return data
|
|
589
|
+
if isinstance(data, Unset):
|
|
590
|
+
return data
|
|
591
|
+
try:
|
|
592
|
+
if not isinstance(data, str):
|
|
593
|
+
raise TypeError()
|
|
594
|
+
reason_type_1 = OrderReason(data)
|
|
595
|
+
|
|
596
|
+
|
|
597
|
+
|
|
598
|
+
return reason_type_1
|
|
599
|
+
except (TypeError, ValueError, AttributeError, KeyError):
|
|
600
|
+
pass
|
|
601
|
+
return cast(None | OrderReason | Unset, data)
|
|
602
|
+
|
|
603
|
+
reason = _parse_reason(d.pop("reason", UNSET))
|
|
604
|
+
|
|
605
|
+
|
|
606
|
+
def _parse_time_setup(data: object) -> datetime.datetime | None | Unset:
|
|
607
|
+
if data is None:
|
|
608
|
+
return data
|
|
609
|
+
if isinstance(data, Unset):
|
|
610
|
+
return data
|
|
611
|
+
try:
|
|
612
|
+
if not isinstance(data, str):
|
|
613
|
+
raise TypeError()
|
|
614
|
+
time_setup_type_0 = datetime.datetime.fromisoformat(data)
|
|
615
|
+
|
|
616
|
+
|
|
617
|
+
|
|
618
|
+
return time_setup_type_0
|
|
619
|
+
except (TypeError, ValueError, AttributeError, KeyError):
|
|
620
|
+
pass
|
|
621
|
+
return cast(datetime.datetime | None | Unset, data)
|
|
622
|
+
|
|
623
|
+
time_setup = _parse_time_setup(d.pop("timeSetup", UNSET))
|
|
624
|
+
|
|
625
|
+
|
|
626
|
+
def _parse_time_expiration(data: object) -> datetime.datetime | None | Unset:
|
|
627
|
+
if data is None:
|
|
628
|
+
return data
|
|
629
|
+
if isinstance(data, Unset):
|
|
630
|
+
return data
|
|
631
|
+
try:
|
|
632
|
+
if not isinstance(data, str):
|
|
633
|
+
raise TypeError()
|
|
634
|
+
time_expiration_type_0 = datetime.datetime.fromisoformat(data)
|
|
635
|
+
|
|
636
|
+
|
|
637
|
+
|
|
638
|
+
return time_expiration_type_0
|
|
639
|
+
except (TypeError, ValueError, AttributeError, KeyError):
|
|
640
|
+
pass
|
|
641
|
+
return cast(datetime.datetime | None | Unset, data)
|
|
642
|
+
|
|
643
|
+
time_expiration = _parse_time_expiration(d.pop("timeExpiration", UNSET))
|
|
644
|
+
|
|
645
|
+
|
|
646
|
+
def _parse_time_done(data: object) -> datetime.datetime | None | Unset:
|
|
647
|
+
if data is None:
|
|
648
|
+
return data
|
|
649
|
+
if isinstance(data, Unset):
|
|
650
|
+
return data
|
|
651
|
+
try:
|
|
652
|
+
if not isinstance(data, str):
|
|
653
|
+
raise TypeError()
|
|
654
|
+
time_done_type_0 = datetime.datetime.fromisoformat(data)
|
|
655
|
+
|
|
656
|
+
|
|
657
|
+
|
|
658
|
+
return time_done_type_0
|
|
659
|
+
except (TypeError, ValueError, AttributeError, KeyError):
|
|
660
|
+
pass
|
|
661
|
+
return cast(datetime.datetime | None | Unset, data)
|
|
662
|
+
|
|
663
|
+
time_done = _parse_time_done(d.pop("timeDone", UNSET))
|
|
664
|
+
|
|
665
|
+
|
|
666
|
+
def _parse_type_(data: object) -> None | OrderType | Unset:
|
|
667
|
+
if data is None:
|
|
668
|
+
return data
|
|
669
|
+
if isinstance(data, Unset):
|
|
670
|
+
return data
|
|
671
|
+
try:
|
|
672
|
+
if not isinstance(data, str):
|
|
673
|
+
raise TypeError()
|
|
674
|
+
type_type_1 = OrderType(data)
|
|
675
|
+
|
|
676
|
+
|
|
677
|
+
|
|
678
|
+
return type_type_1
|
|
679
|
+
except (TypeError, ValueError, AttributeError, KeyError):
|
|
680
|
+
pass
|
|
681
|
+
return cast(None | OrderType | Unset, data)
|
|
682
|
+
|
|
683
|
+
type_ = _parse_type_(d.pop("type", UNSET))
|
|
684
|
+
|
|
685
|
+
|
|
686
|
+
def _parse_type_fill(data: object) -> None | OrderFilling | Unset:
|
|
687
|
+
if data is None:
|
|
688
|
+
return data
|
|
689
|
+
if isinstance(data, Unset):
|
|
690
|
+
return data
|
|
691
|
+
try:
|
|
692
|
+
if not isinstance(data, str):
|
|
693
|
+
raise TypeError()
|
|
694
|
+
type_fill_type_1 = OrderFilling(data)
|
|
695
|
+
|
|
696
|
+
|
|
697
|
+
|
|
698
|
+
return type_fill_type_1
|
|
699
|
+
except (TypeError, ValueError, AttributeError, KeyError):
|
|
700
|
+
pass
|
|
701
|
+
return cast(None | OrderFilling | Unset, data)
|
|
702
|
+
|
|
703
|
+
type_fill = _parse_type_fill(d.pop("typeFill", UNSET))
|
|
704
|
+
|
|
705
|
+
|
|
706
|
+
def _parse_type_time(data: object) -> None | OrderTime | Unset:
|
|
707
|
+
if data is None:
|
|
708
|
+
return data
|
|
709
|
+
if isinstance(data, Unset):
|
|
710
|
+
return data
|
|
711
|
+
try:
|
|
712
|
+
if not isinstance(data, str):
|
|
713
|
+
raise TypeError()
|
|
714
|
+
type_time_type_1 = OrderTime(data)
|
|
715
|
+
|
|
716
|
+
|
|
717
|
+
|
|
718
|
+
return type_time_type_1
|
|
719
|
+
except (TypeError, ValueError, AttributeError, KeyError):
|
|
720
|
+
pass
|
|
721
|
+
return cast(None | OrderTime | Unset, data)
|
|
722
|
+
|
|
723
|
+
type_time = _parse_type_time(d.pop("typeTime", UNSET))
|
|
724
|
+
|
|
725
|
+
|
|
726
|
+
def _parse_price_order(data: object) -> float | None | Unset:
|
|
727
|
+
if data is None:
|
|
728
|
+
return data
|
|
729
|
+
if isinstance(data, Unset):
|
|
730
|
+
return data
|
|
731
|
+
return cast(float | None | Unset, data)
|
|
732
|
+
|
|
733
|
+
price_order = _parse_price_order(d.pop("priceOrder", UNSET))
|
|
734
|
+
|
|
735
|
+
|
|
736
|
+
def _parse_price_trigger(data: object) -> float | None | Unset:
|
|
737
|
+
if data is None:
|
|
738
|
+
return data
|
|
739
|
+
if isinstance(data, Unset):
|
|
740
|
+
return data
|
|
741
|
+
return cast(float | None | Unset, data)
|
|
742
|
+
|
|
743
|
+
price_trigger = _parse_price_trigger(d.pop("priceTrigger", UNSET))
|
|
744
|
+
|
|
745
|
+
|
|
746
|
+
def _parse_price_current(data: object) -> float | None | Unset:
|
|
747
|
+
if data is None:
|
|
748
|
+
return data
|
|
749
|
+
if isinstance(data, Unset):
|
|
750
|
+
return data
|
|
751
|
+
return cast(float | None | Unset, data)
|
|
752
|
+
|
|
753
|
+
price_current = _parse_price_current(d.pop("priceCurrent", UNSET))
|
|
754
|
+
|
|
755
|
+
|
|
756
|
+
def _parse_price_sl(data: object) -> float | None | Unset:
|
|
757
|
+
if data is None:
|
|
758
|
+
return data
|
|
759
|
+
if isinstance(data, Unset):
|
|
760
|
+
return data
|
|
761
|
+
return cast(float | None | Unset, data)
|
|
762
|
+
|
|
763
|
+
price_sl = _parse_price_sl(d.pop("priceSL", UNSET))
|
|
764
|
+
|
|
765
|
+
|
|
766
|
+
def _parse_price_tp(data: object) -> float | None | Unset:
|
|
767
|
+
if data is None:
|
|
768
|
+
return data
|
|
769
|
+
if isinstance(data, Unset):
|
|
770
|
+
return data
|
|
771
|
+
return cast(float | None | Unset, data)
|
|
772
|
+
|
|
773
|
+
price_tp = _parse_price_tp(d.pop("priceTP", UNSET))
|
|
774
|
+
|
|
775
|
+
|
|
776
|
+
def _parse_volume_initial(data: object) -> int | None | Unset:
|
|
777
|
+
if data is None:
|
|
778
|
+
return data
|
|
779
|
+
if isinstance(data, Unset):
|
|
780
|
+
return data
|
|
781
|
+
return cast(int | None | Unset, data)
|
|
782
|
+
|
|
783
|
+
volume_initial = _parse_volume_initial(d.pop("volumeInitial", UNSET))
|
|
784
|
+
|
|
785
|
+
|
|
786
|
+
def _parse_volume_current(data: object) -> int | None | Unset:
|
|
787
|
+
if data is None:
|
|
788
|
+
return data
|
|
789
|
+
if isinstance(data, Unset):
|
|
790
|
+
return data
|
|
791
|
+
return cast(int | None | Unset, data)
|
|
792
|
+
|
|
793
|
+
volume_current = _parse_volume_current(d.pop("volumeCurrent", UNSET))
|
|
794
|
+
|
|
795
|
+
|
|
796
|
+
def _parse_expert_id(data: object) -> int | None | Unset:
|
|
797
|
+
if data is None:
|
|
798
|
+
return data
|
|
799
|
+
if isinstance(data, Unset):
|
|
800
|
+
return data
|
|
801
|
+
return cast(int | None | Unset, data)
|
|
802
|
+
|
|
803
|
+
expert_id = _parse_expert_id(d.pop("expertID", UNSET))
|
|
804
|
+
|
|
805
|
+
|
|
806
|
+
def _parse_position_id(data: object) -> int | None | Unset:
|
|
807
|
+
if data is None:
|
|
808
|
+
return data
|
|
809
|
+
if isinstance(data, Unset):
|
|
810
|
+
return data
|
|
811
|
+
return cast(int | None | Unset, data)
|
|
812
|
+
|
|
813
|
+
position_id = _parse_position_id(d.pop("positionID", UNSET))
|
|
814
|
+
|
|
815
|
+
|
|
816
|
+
def _parse_comment(data: object) -> None | str | Unset:
|
|
817
|
+
if data is None:
|
|
818
|
+
return data
|
|
819
|
+
if isinstance(data, Unset):
|
|
820
|
+
return data
|
|
821
|
+
return cast(None | str | Unset, data)
|
|
822
|
+
|
|
823
|
+
comment = _parse_comment(d.pop("comment", UNSET))
|
|
824
|
+
|
|
825
|
+
|
|
826
|
+
def _parse_activation_mode(data: object) -> int | None | Unset:
|
|
827
|
+
if data is None:
|
|
828
|
+
return data
|
|
829
|
+
if isinstance(data, Unset):
|
|
830
|
+
return data
|
|
831
|
+
return cast(int | None | Unset, data)
|
|
832
|
+
|
|
833
|
+
activation_mode = _parse_activation_mode(d.pop("activationMode", UNSET))
|
|
834
|
+
|
|
835
|
+
|
|
836
|
+
def _parse_activation_time(data: object) -> datetime.datetime | None | Unset:
|
|
837
|
+
if data is None:
|
|
838
|
+
return data
|
|
839
|
+
if isinstance(data, Unset):
|
|
840
|
+
return data
|
|
841
|
+
try:
|
|
842
|
+
if not isinstance(data, str):
|
|
843
|
+
raise TypeError()
|
|
844
|
+
activation_time_type_0 = datetime.datetime.fromisoformat(data)
|
|
845
|
+
|
|
846
|
+
|
|
847
|
+
|
|
848
|
+
return activation_time_type_0
|
|
849
|
+
except (TypeError, ValueError, AttributeError, KeyError):
|
|
850
|
+
pass
|
|
851
|
+
return cast(datetime.datetime | None | Unset, data)
|
|
852
|
+
|
|
853
|
+
activation_time = _parse_activation_time(d.pop("activationTime", UNSET))
|
|
854
|
+
|
|
855
|
+
|
|
856
|
+
def _parse_activation_price(data: object) -> float | None | Unset:
|
|
857
|
+
if data is None:
|
|
858
|
+
return data
|
|
859
|
+
if isinstance(data, Unset):
|
|
860
|
+
return data
|
|
861
|
+
return cast(float | None | Unset, data)
|
|
862
|
+
|
|
863
|
+
activation_price = _parse_activation_price(d.pop("activationPrice", UNSET))
|
|
864
|
+
|
|
865
|
+
|
|
866
|
+
def _parse_activation_flags(data: object) -> None | str | Unset:
|
|
867
|
+
if data is None:
|
|
868
|
+
return data
|
|
869
|
+
if isinstance(data, Unset):
|
|
870
|
+
return data
|
|
871
|
+
return cast(None | str | Unset, data)
|
|
872
|
+
|
|
873
|
+
activation_flags = _parse_activation_flags(d.pop("activationFlags", UNSET))
|
|
874
|
+
|
|
875
|
+
|
|
876
|
+
def _parse_time_setup_msc(data: object) -> datetime.datetime | None | Unset:
|
|
877
|
+
if data is None:
|
|
878
|
+
return data
|
|
879
|
+
if isinstance(data, Unset):
|
|
880
|
+
return data
|
|
881
|
+
try:
|
|
882
|
+
if not isinstance(data, str):
|
|
883
|
+
raise TypeError()
|
|
884
|
+
time_setup_msc_type_0 = datetime.datetime.fromisoformat(data)
|
|
885
|
+
|
|
886
|
+
|
|
887
|
+
|
|
888
|
+
return time_setup_msc_type_0
|
|
889
|
+
except (TypeError, ValueError, AttributeError, KeyError):
|
|
890
|
+
pass
|
|
891
|
+
return cast(datetime.datetime | None | Unset, data)
|
|
892
|
+
|
|
893
|
+
time_setup_msc = _parse_time_setup_msc(d.pop("timeSetupMsc", UNSET))
|
|
894
|
+
|
|
895
|
+
|
|
896
|
+
def _parse_time_done_msc(data: object) -> datetime.datetime | None | Unset:
|
|
897
|
+
if data is None:
|
|
898
|
+
return data
|
|
899
|
+
if isinstance(data, Unset):
|
|
900
|
+
return data
|
|
901
|
+
try:
|
|
902
|
+
if not isinstance(data, str):
|
|
903
|
+
raise TypeError()
|
|
904
|
+
time_done_msc_type_0 = datetime.datetime.fromisoformat(data)
|
|
905
|
+
|
|
906
|
+
|
|
907
|
+
|
|
908
|
+
return time_done_msc_type_0
|
|
909
|
+
except (TypeError, ValueError, AttributeError, KeyError):
|
|
910
|
+
pass
|
|
911
|
+
return cast(datetime.datetime | None | Unset, data)
|
|
912
|
+
|
|
913
|
+
time_done_msc = _parse_time_done_msc(d.pop("timeDoneMsc", UNSET))
|
|
914
|
+
|
|
915
|
+
|
|
916
|
+
def _parse_rate_margin(data: object) -> float | None | Unset:
|
|
917
|
+
if data is None:
|
|
918
|
+
return data
|
|
919
|
+
if isinstance(data, Unset):
|
|
920
|
+
return data
|
|
921
|
+
return cast(float | None | Unset, data)
|
|
922
|
+
|
|
923
|
+
rate_margin = _parse_rate_margin(d.pop("rateMargin", UNSET))
|
|
924
|
+
|
|
925
|
+
|
|
926
|
+
def _parse_position_by_id(data: object) -> int | None | Unset:
|
|
927
|
+
if data is None:
|
|
928
|
+
return data
|
|
929
|
+
if isinstance(data, Unset):
|
|
930
|
+
return data
|
|
931
|
+
return cast(int | None | Unset, data)
|
|
932
|
+
|
|
933
|
+
position_by_id = _parse_position_by_id(d.pop("positionByID", UNSET))
|
|
934
|
+
|
|
935
|
+
|
|
936
|
+
def _parse_modification_flags(data: object) -> int | None | Unset:
|
|
937
|
+
if data is None:
|
|
938
|
+
return data
|
|
939
|
+
if isinstance(data, Unset):
|
|
940
|
+
return data
|
|
941
|
+
return cast(int | None | Unset, data)
|
|
942
|
+
|
|
943
|
+
modification_flags = _parse_modification_flags(d.pop("modificationFlags", UNSET))
|
|
944
|
+
|
|
945
|
+
|
|
946
|
+
def _parse_volume_initial_ext(data: object) -> int | None | Unset:
|
|
947
|
+
if data is None:
|
|
948
|
+
return data
|
|
949
|
+
if isinstance(data, Unset):
|
|
950
|
+
return data
|
|
951
|
+
return cast(int | None | Unset, data)
|
|
952
|
+
|
|
953
|
+
volume_initial_ext = _parse_volume_initial_ext(d.pop("volumeInitialExt", UNSET))
|
|
954
|
+
|
|
955
|
+
|
|
956
|
+
def _parse_volume_current_ext(data: object) -> int | None | Unset:
|
|
957
|
+
if data is None:
|
|
958
|
+
return data
|
|
959
|
+
if isinstance(data, Unset):
|
|
960
|
+
return data
|
|
961
|
+
return cast(int | None | Unset, data)
|
|
962
|
+
|
|
963
|
+
volume_current_ext = _parse_volume_current_ext(d.pop("volumeCurrentExt", UNSET))
|
|
964
|
+
|
|
965
|
+
|
|
966
|
+
mt5_order = cls(
|
|
967
|
+
order=order,
|
|
968
|
+
external_id=external_id,
|
|
969
|
+
login=login,
|
|
970
|
+
dealer=dealer,
|
|
971
|
+
party_id=party_id,
|
|
972
|
+
symbol=symbol,
|
|
973
|
+
digits=digits,
|
|
974
|
+
digits_currency=digits_currency,
|
|
975
|
+
contract_size=contract_size,
|
|
976
|
+
state=state,
|
|
977
|
+
reason=reason,
|
|
978
|
+
time_setup=time_setup,
|
|
979
|
+
time_expiration=time_expiration,
|
|
980
|
+
time_done=time_done,
|
|
981
|
+
type_=type_,
|
|
982
|
+
type_fill=type_fill,
|
|
983
|
+
type_time=type_time,
|
|
984
|
+
price_order=price_order,
|
|
985
|
+
price_trigger=price_trigger,
|
|
986
|
+
price_current=price_current,
|
|
987
|
+
price_sl=price_sl,
|
|
988
|
+
price_tp=price_tp,
|
|
989
|
+
volume_initial=volume_initial,
|
|
990
|
+
volume_current=volume_current,
|
|
991
|
+
expert_id=expert_id,
|
|
992
|
+
position_id=position_id,
|
|
993
|
+
comment=comment,
|
|
994
|
+
activation_mode=activation_mode,
|
|
995
|
+
activation_time=activation_time,
|
|
996
|
+
activation_price=activation_price,
|
|
997
|
+
activation_flags=activation_flags,
|
|
998
|
+
time_setup_msc=time_setup_msc,
|
|
999
|
+
time_done_msc=time_done_msc,
|
|
1000
|
+
rate_margin=rate_margin,
|
|
1001
|
+
position_by_id=position_by_id,
|
|
1002
|
+
modification_flags=modification_flags,
|
|
1003
|
+
volume_initial_ext=volume_initial_ext,
|
|
1004
|
+
volume_current_ext=volume_current_ext,
|
|
1005
|
+
)
|
|
1006
|
+
|
|
1007
|
+
return mt5_order
|
|
1008
|
+
|