Message: ExchangeBalanceStatus

File: WebAPI/trade_routing_2.proto

Description

Exchange balance status. It contains current balances received from exchange for an account on a per-currency basis.

Note: We support at most one balance record for a given currency. It is also possible for an account to have zero balance records.

Request: TradeSubscription.

Used in

ServerMsg

Fields

subscription_ids

Type: uint32

Description: List of trade subscription IDs this status is related to.

is_snapshot

Type: bool

Description: True means this status contains a complete snapshot of all balances for the account, so client should replace any local cache with this data. False or empty means this status contains only balances with changes. Note that each ExchangeBalanceStatus message is considered as complete, so we do not need ‘is_complete’ field here.

account_id

Type: sint32

Description: Account ID for which balances are supplied

Required: yes.

balances

Type: ExchangeCurrencyBalance

Description: Balances for this account.