Message: RFQSubscriptionReport

File: WebAPI/market_data_2.proto

Description

RFQ subscription report.

Requests: RFQSubscriptionRequest.

Used in

ServerMsg

Fields

request_id

Type: uint32

Description: ID of a corresponding request.

Required: yes.

status_code

Type: uint32

Description: Source: RFQSubscriptionReport.StatusCode.

Required: yes.

details

Type: shared_1.Text

Description: Optional failure details.

contract_id

Type: uint32

Description: Contract ID assigned by server.

Note: If an unknown ID is received, the contract metadata can be obtained via metadata_2.ContractMetadataRequest.

Source: metadata_2.ContractMetadata.contract_id.

requests_for_quotation

Type: RFQ

Description: List of RFQs.

Note: If it’s not empty then contract_id is also filled.

Enum StatusCode

Description: Status code.

Values

      STATUS_CODE_SUBSCRIBED = 1

     Request is processed and subscription is established or restored after disconnection.

      STATUS_CODE_DROPPED = 2

     The subscription is dropped by the client.

      STATUS_CODE_UPDATE = 3

     Unsolicited information update because of subscription.

      STATUS_CODE_DISCONNECTED = 4

     Currently subscription is disconnected.

     Possible reasons: communication issues, metadata update, subscription parameters change. Clients should not resubscribe in this case, the server will restore subscription with sending STATUS_CODE_SUBSCRIBED status.

      STATUS_CODE_FAILURE = 101

     General failure.

      STATUS_CODE_INVALID_PARAMS = 102

     Subscription parameters are invalid.

      STATUS_CODE_REQUEST_RATE_LIMIT_VIOLATION = 103

     The request rate limit has been violated.

      STATUS_CODE_SUBSCRIPTION_LIMIT_VIOLATION = 105

     The limit of subscriptions has been violated.

      STATUS_CODE_NOT_FOUND = 104

     Requested information is not found.

      STATUS_CODE_ACCESS_DENIED = 106

     The user is not allowed to be subscribed to exchange RFQs.