Message: PurchaseAndSalesGroup

File: WebAPI/trade_routing_2.proto

Description

Purchase and sales group that represents offset trades (usually one sell and one buy trade).

Used in

PositionStatus

Fields

id

Type: sint32

Description: Surrogate ID as a key for updates.

realized_profit_loss

Type: double

Description: Profit/ loss (in contract currency) of the group.

matched_trades

Type: MatchedTrade

Description: List of matched trades in a group. In case of group updates the whole list is sent.