Message: TradeSnapshotCompletion

File: WebAPI/trade_routing_2.proto

Description

Indicator that a snapshot of requested information is delivered and corresponding data is complete. Note: One ServerMsg can contain several messages, so to be sure that you have complete state for the subscription, first process all statuses (e.g., PositionStatus) from the ServerMsg which also contains TradeSnapshotCompletion.

Request: TradeSubscription

Used in

ServerMsg

Fields

subscription_id

Type: uint32

Description: ID of a corresponding trade subscription.

subscription_scopes

Type: uint32

Description: List of subscription scopes whose snapshots are completed. Completion message for one scope is sent only once but they can be combined (e.g., one completion message might come for SUBSCRIPTION_SCOPE_ORDERS and another one later for SUBSCRIPTION_SCOPE_POSITIONS and SUBSCRIPTION_SCOPE_ACCOUNT_SUMMARY). This field is associated with TradeSubscription.SubscriptionScope enum type.