Message: GoFlatStatus

File: WebAPI/order_2.proto

Description

Per-account result of GoFlat request execution.

Request: GoFlat.

Used in

ServerMsg

Fields

request_id

Type: uint32

Description: ID of the order request this status corresponds to.

account_id

Type: sint32

Description: Account ID in the CQG trade routing system.

Source: trading_account_2.Account.account_id.

status_code

Type: uint32

Description: This field is associated with StatusCode enum type.

details

Type: shared_1.Text

Description: Optional error details message.

remaining_orders_qty

Type: cqg.Decimal

Description: Sum of remaining (unfilled) order quantities among not cancelled orders after GoFlat execution.

remaining_positions_qty

Type: cqg.Decimal

Description: Sum of position quantities among not liquidated open positions after GoFlat execution.

Enum StatusCode

Description: Status of GoFlat request execution.

Values

      STATUS_CODE_COMPLETED = 0

     GoFlat request execution complete.

      STATUS_CODE_TIMED_OUT = 1

     GoFlat request was not executed in allowed time.

      STATUS_CODE_FAILED = 2

     GoFlat request was not executed due to error.