File: WebAPI/order_2.proto
Specify account and its positions.
Type: sint32
Description: ID of an account.
Source: trading_account_2.Account.account_id.
Type: uint32
Description: Server side contract ID.
Source: metadata_2.ContractMetadata.contract_id.
Type: bool
Description: Specifies whether only short (true) or only long (false) positions should be selected. If not specified, both short and long positions will be selected.
Type: bool
Description: Specifies whether only positions of current day (true) or only positions of previous days (false) should be selected. If not specified, positions of current and previous day(s) will be selected. Should be used only if instrument supports explicit close for positions. If specified, and any instrument not supporting explicit close matches this filter, ServerMsg.OrderRequestReject is sent.