Message: GoFlat

File: WebAPI/order_2.proto

Description

Cancel all orders (including parked) and liquidate all open positions.

Response: OrderRequestAck, GoFlatStatus.

Used in

OrderRequest

Fields

account_ids

Type: sint32

Description: ID of an account. At least one should be specified, otherwise ServerMsg.OrderRequestReject is sent.

Source: trading_account_2.Account.account_id.

contract_ids

Type: uint32

Description: Optional filter specifying contract IDs. Used to liquidate positions and cancel any orders that could affect those positions.

Source: metadata_2.ContractMetadata.contract_id, Order.contract_id, trade_routing_2.PositionStatus.contract_id.

when_utc_timestamp

Type: google.protobuf.Timestamp

Description: Client side time when this request was submitted (UTC).

execution_source_code

Type: string

Description: FIA Execution Source Code value of the operation. See Order.execution_source_code.

speculation_type

Type: uint32

Description: Specifies a speculation type. One of SpeculationType enum.