Message: ApproveOrder

File: WebAPI/order_2.proto

Description

This message is sent by contra to approve the alleged order of CROSS type. See CrossOrderParameters message for details.

Used in

OrderRequest

Fields

order_id

Type: string

Description: Order ID assigned by server after the last modification.

Required: yes.

account_id

Type: sint32

Description: ID of the order’s account.

Source: trading_account_2.Account.account_id.

Required: yes.

action

Type: uint32

Description: This field is associated with Action enum type. APPROVE is used if this field is empty.

when_utc_timestamp

Type: google.protobuf.Timestamp

Description: Client side time when an approve order request was submitted (UTC).

Required: yes.

side_allocation

Type: SideAllocation

Description: The contra is expected to provide its own side of the cross order in this field.

Required: yes.

extra_attributes

Type: shared_1.NamedValue

Description: List of extra attributes.

Enum Action

Values

      APPROVE_ORDER_ACTION_APPROVE = 0

     Action to approve the cross order.

      APPROVE_ORDER_ACTION_REJECT = 1

     Action to reject the cross order.