ResetHoldings
- Message Type: TransactionMessage
- Message Number: 1097
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 |
|---|
| Instrument | Foreign key to Instrument | 8 | Instrument Id associated with the holding transaction.
|
| Quantity | Integer (signed) | 8 | |
Permissions
Reset All Holdings
{ instrument: "test-instrument" }
Permission Checks
| PermissionAction | Table | Scope | Index |
|---|
| SetBalance | Account | All | |
Test file: ResetHoldings