TwoSideReportConfirm

Confirm or reject one side of a two-sided Trade Report.

The deal will be confirmed if Confirm is true and the counterparty also confirms their side of the report, otherwise it will be rejected.

Metadata

  • Message Type: TransactionMessage
  • Message Number: 1050

Inherited fields

NameTypeSize (bytes)Description
MessageTypeInteger (unsigned)2The unique identifier of this message.
ClientIdInteger (unsigned)4The unique identifier of a session with the server, returned in a successful LoginReply message.
RequestIdInteger (unsigned)4Within each session each message must be uniquely identified by this field. It must be monotonically increasing for the duration of the session.

Fields

NameTypeSize (bytes)Description
IdForeign key to Order8
UserForeign key to User8
ConfirmInteger (unsigned)1
AccountForeign key to Account8
AccountCodeString40The human readable identifier of the Account. It is a free text field, up to a maximum of 40 characters.
SettlementCurrencyForeign key to Instrument8

Permissions


Submit confirm for a side of the two side report

{ id: TradeReport.rows[1].Id, confirm: true, accountcode: "test-user5" }

Permission Checks

PermissionActionTableScopeIndex
ApproveDenyOrderInstance1

Test file: TwoSideReportConfirm