Message: UserMessage

File: WebAPI/user_session_2.proto

Description

Text message from server. Message can be sent at any time and is not explicitly linked to any client request.

Used in

ServerMsg

Fields

message_type

Type: uint32

Description: This field is associated with the MessageType enum type.

source

Type: string

Description: Information about source of the message.

subject

Type: string

Description: Message subject.

text

Type: string

Description: Message text.

expiration_utc_time

Type: sint64

Description: Optional time when this message is expired, it should be hidden from the user after this time (UTC).

Enum MessageType

Description: Type of the message.

Values

      MESSAGE_TYPE_CRITICAL_ERROR = 1

     Critical error message. Informs the user of a significant problem on an exchange or within the CQG infrastructure. Possible problems: incomplete order or position information; a critical message from CQG Customer support; technical problems or news from an exchange; a critical message from exchange; a critical problem loading trading or data enablements; protocol violation.

      MESSAGE_TYPE_WARNING = 2

     Warning. Informs the user of an unexpected situation that does not affect the correctness of data, or a warning message from CQG Customer support.

      MESSAGE_TYPE_INFO = 3

     General information. Informs the user of an intermittent problem with the real-time data, or an informational message from CQG Customer support.

      MESSAGE_TYPE_LOG = 4

     This message shouldn’t be visible for users, only dumped into a log file.