Click or drag to resize

Msg Enumeration

Server message

Namespace: mtapi.mt5
Assembly: mt5api (in mt5api.dll) Version: 5.3677.1.2
Syntax
public enum Msg
Members
Member nameValueDescription
DONE0 
OK1 
COMMON_ERROR2 
INVALID_PARAM3 
INVALID_DATA4 
DISK_ERROR5 
MEMORY_ERROR6 
NETWORK_ERROR7 
NOT_PERMISSION8 
OPERATION_TIMEOUT9 
NO_CONNECTION10 
SERVICE_NOT_AVAILABLE11 
TOO_FREQUENT_REQUEST12 
NOT_FOUND13 
SERVER_SHUTDOWN15 
OPERATION_CANCELED16 
DUPLICATE_ATTEMPT17 
INVALID_TERMINAL1,000 
INVALID_ACCOUNT1,001 
ACCOUNT_DISABLED1,002 
ADVANCED_AUTHORIZATION1,003 
CERTIFICATE_REQUIRED1,004 
INVALID_CERTIFICATE1,005 
CERTIFICATE_NOT_CONFIRM1,006 
ATTEMPT_CONNECT_NON_ACCESS_SERVER1,007 
INVALID_SERVER1,008 
ONLY_UPDATES_AVAILABLE1,009 
OLD_VERSION1,010 
ACCOUNT_NOT_MANAGER_CONFIG1,011 
UNALLOWED_IP_ADDRESS1,012 
GROUP_NOT_INITIALIZED1,013 
CERTIFICATE_GENERATION_DISABLED1,014 
INVALID_SERVER_ID1,015 
UNALLOWED_ADDRESS1,016 
INVALID_SERVER_TYPE1,017 
SERVER_BUSY1,018 
INVALID_SERVER_CERTIFICATE1,019 
UNKNOWN_ACCOUNT1,020 
OLD_SERVER1,021 
SERVER_LICENSE_LIMITATION1,022 
MOBILE_TERMINAL_NOT_ALLOWED1,023 
CONNECTION_NOT_PERMITTED1,024 
DEMO_DISABLED1,025 
PASSWORD_MUST_CHANGED1,026 
INVALID_ONETIME_PASSWORD1,027 
SECRET_KEY_REQUIRED1,028 
MT4_MIGRATION_PASSWORD1,029 
MT5_MIGRATION_PASSWORD1,030 
LAST_CONFIG_CANT_DELETE2,000 
LAST_GROUP_CANT_DELETE2,001 
ACCOUNTS_IN_GROUP2,003 
INVALID_ACCOUNT_OR_TRADE_RANGES2,004 
ACCOUNT_NOT_GROUP2,005 
PROTECTED_CONFIG2,006 
CONFIG_DUPLICATE2,007 
CONFIG_LIMIT_REACHED2,008 
INVALID_NETWORK_CONFIG2,009 
DIALER_ID_ALREADY_EXISTS2,010 
ADDRESS_ALREADY_EXISTS2,011 
ATTEMPT_DELETE_WORKING_SERVER2,012 
GATEWAY_NAME_ALREADY_EXISTS2,013 
SERWER_SWITCHED_TO_BACKUP2,014 
BACKUP_MODULE_ABSENT2,015 
TRADE_MODULE_ABSENT2,016 
HISTORY_MODULE_ABSENT2,017 
ANOTHER_PROCESS_IN_PROGRESS2,018 
LAST_ACCOUNT_CANT_DELETE3,001 
LOGIN_RANGE_EXHAUSTED3,002 
LOGIN_RESERVED3,003 
ACCOUNT_ALREADY_EXISTS3,004 
ATTEMPT_SELF_DELETION3,005 
INVALID_PASSWORD3,006 
USERS_LIMIT_REACHED3,007 
ACCOUNT_HAS_OPEN_TRADES3,008 
ATTEMPT_TO_MORE_ACCOUNT3,009 
ATTEMPT_TO_MORE_GROUP3,010 
ACCOUNT_BALANCE_ERROR3,011 
ACCOUNT_HAS_INVALID_GROUP3,012 
ONETRADE_ACCOUNT_ALREADY_EXISTS3,013 
ACCOUNT_TRADE_DATA_IMPORT_ERROR3,014 
ACCOUNT_TRADE_POSITION_IMPORT_ERROR3,015 
ACCOUNT_OPEN_ORDERS_IMPORT_ERROR3,016 
ACCOUNT_DEALS_HISTORY_IMPORT_ERROR3,017 
ACCOUNT_ORDERS_HISTORY_IMPORT_ERROR3,018 
ORDER_LIMIT_REACHED4,001 
ORDER_ALREADY_EXISTS4,002 
ORDER_RANGE_EXHAUSTED4,003 
DEAL_RANGE_EXHAUSTED4,004 
MONEY_LIMIT_REACHED4,005 
DEAL_ALREADY_EXISTS4,006 
ORDER_TICKET_RESERVED4,007 
DEAL_TICKET_RESERVED4,008 
BASE_SNAPSHOT_ERROR5,001 
METHOD_NOT_SUPPORTED5,002 
NO_DATA_REPORT5,003 
BAD_TEMPLATE5,004 
END_OF_TEMPLATE5,005 
INVALID_ROW_SIZE5,006 
REPEAT_LIMIT_REACHED5,007 
REPORT_SIZE_LIMIT_REACHED5,008 
SYMBOL_NOT_FOUND6,001 
REQUEST_ON_WAY10,001 
REQUEST_ACCEPTED10,002 
REQUEST_PROCESSED10,003 
REQUOTE10,004 
PRICES10,005 
REQUEST_REJECTED10,006 
REQUEST_CANCELLED10,007 
ORDER_PLACED10,008 
REQUEST_EXECUTED10,009 
REQUEST_EXECUTED_PARTIALLY10,010 
REQUEST_ERROR10,011 
REQUEST_TIMEOUT10,012 
INVALID_REQUEST10,013 
INVALID_VOLUME10,014 
INVALID_PRICE10,015 
INVALID_STOPS10,016 
TRADE_DISABLED10,017 
MARKET_CLOSED10,018 
NO_MONEY10,019 
PRICE_CHANGED10,020 
NO_PRICES10,021 
INVALID_EXPIRATION10,022 
ORDER_ALREADY_CHANGED10,023 
TOO_MANY_TRADE_REQUESTS10,024 
NO_CHANGES10,025 
AUTOTRADE_DISABLE_SERVER10,026 
AUTOTRADE_DISABLE_CLIENT10,027 
MODIFICATION_FAILED10,029 
UNSUPPORTED_FILLING_MODE10,030 
REQUEST_REJECTED_TO_ABSENCE_CONNECT10,031 
ALLOWED_REAL_ACCOUNTS_ONLY10,032 
ORDER_LIMIT_REACHED_10,033 
VOLUME_LIMIT_REACHED10,034 
INVALID_ORDER10,035 
POSITION_NOT_EXISTS10,036 
EXECUTION_NOT_BELONG_SERVER10,037 
VOLUME_CLOSE_EXCEEDS_POSITION10,038 
ORDER_CLOSE_ALREADY_EXISTS10,039 
POSITION_LIMIT_REACHED10,040 
ORDER_CANCELLED10,041 
ONLY_LONG_POSITION10,042 
ONLY_SHORT_POSITION10,043 
ONLY_CLOSE_POSITION10,044 
FIFO_CLOSE10,045 
HEDGE_PROHIBITED10,046 
REQUEST_RETURNED_IN_QUEUE11,000 
REQUEST_EXECUTED_PARTIALLY_11,001 
REQUOTE_11,002 
NETWORK_PROBLEM2,147,483,647 
See Also