Message: TradeSubscriptionStatus

File: WebAPI/trade_routing_2.proto

Description

Server status for a trade subscription. It is sent before or along with a snapshot of initial status information.

Request: TradeSubscription

Used in

ServerMsg

Fields

id

Type: uint32

Description: Subscription ID this result is sent for.

status_code

Type: uint32

Description: Subscription result. This field is associated with StatusCode enum type.

text_message (deprecated)

Type: string

Description: Note: Use ‘details’ instead.

details

Type: shared_1.Text

Description: Optional details.

Enum StatusCode

Description: Possible result codes.

Values

      STATUS_CODE_SUCCESS = 0

      STATUS_CODE_DISCONNECTED = 1

     Currently subscription is [partially] disconnected because of communication issues.

     Note: Clients should not resubscribe in this case, the server will restore subscription by sending STATUS_CODE_SUCCESS status once communication issues are resolved following with all necessary data updates.

      STATUS_CODE_FAILURE = 101

      STATUS_CODE_SUBSCRIPTION_LIMIT_VIOLATION = 102

     The limit of the subscriptions has been violated.

      STATUS_CODE_INVALID_PUBLICATION_ID = 103

     Unknown or ambiguous account, sales series number, or brokerage ID in the subscription.

      STATUS_CODE_SUBSCRIBED_ACCOUNTS_LIMIT_VIOLATION = 104

     The limit of subscribed accounts has been violated.