TwoSideReportConfirm
Confirm or reject one side of a two-sided Trade Report.
- Section: Transactions
- Related Message: TwoSideReportConfirmReply
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
| Name | Type | Size (bytes) | Description |
|---|---|---|---|
| MessageType | Integer (unsigned) | 2 | The unique identifier of this message. |
| ClientId | Integer (unsigned) | 4 | The unique identifier of a session with the server, returned in a successful LoginReply message. |
| RequestId | Integer (unsigned) | 4 | Within each session each message must be uniquely identified by this field. It must be monotonically increasing for the duration of the session. |
Fields
| Name | Type | Size (bytes) | Description |
|---|---|---|---|
| Id | Foreign key to Order | 8 | |
| User | Foreign key to User | 8 | |
| Confirm | Integer (unsigned) | 1 | |
| Account | Foreign key to Account | 8 | |
| AccountCode | String | 40 | The human readable identifier of the Account. It is a free text field, up to a maximum of 40 characters. |
| SettlementCurrency | Foreign key to Instrument | 8 |
Permissions
Submit confirm for a side of the two side report
{ id: TradeReport.rows[1].Id, confirm: true, accountcode: "test-user5" }
Permission Checks
| PermissionAction | Table | Scope | Index |
|---|---|---|---|
| ApproveDeny | Order | Instance | 1 |
Test file: TwoSideReportConfirm