Message: ExchangeOpenPosition

File: WebAPI/trade_routing_2.proto

Description

Open position details.

Used in

ExchangePosition

Fields

id

Type: string

Description: Identifier for this record. In case of non-snapshot update, client should use this ID to update corresponding entry in its local cache.

Required: yes.

is_short

Type: bool

Description: True if the open position is short (result of a sell operation), long otherwise.

qty

Type: cqg.Decimal

Description: Open position quantity.

Required: yes.

price

Type: double

Description: Position price (in correct price format).

Required: yes.

extra_attributes

Type: AccountExtraAttribute

Description: Extra attributes. They are present if exchange provides additional attributes for this open position record that clients can display.