HoldingActualsReset
This message clears out the fields from Holding records that would not be unloaded from the engine and represent the metrics for the actual activity accrued against that Holding since actuals were last reset.
- Section: Transactions
- Related Message: HoldingActualsResetReply
This procesing will have no affect on any of the "Planned" or "Unconfirmed" activities.
The Holdings that will be affected depends on the parameters provided in the message. The message user must have SetBalance permisssion over all Accounts.
The available options for specifying the Holdings are:
Id- the single Holding will have its metrics reset. changed. The other fields in the message are ignored.Account- All Holdings for the Account will be reset. This is the Id of the Account for which the Holdings are to be reset.MarketHoldings for the specified Market have their metrics reset. A Holding will qualify if there is an InstrumentMarket in the nominated Market attached to the Instrument to which the Holding relates.InstrumentGroupHoldings for the specified InstrumentGroup have their metrics resetInstrumentHoldings for the specified Instrument have metrics resetInstrumentMarketHoldings for the Instrument from the specified InstrumentMarket have their metrics resetFirm- All Holdings from the specified Firm will have their metrics reset
If nothing is specified, all Holdings will have their metrics reset. The Holdings changed are only those of which the User has permission to change the balance.
Metadata
- Message Type: TransactionMessage
- Message Number: 1158
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 |
|---|---|---|---|
| Holding | Foreign key to Holding | 8 | If the metrics are to be reset for a specific Holding, this is the Id of the Holding for which the metrics should be reset. |
| Firm | Foreign key to Firm | 8 | If the Holdings to be consolidated are from a specific Firm only, this is the Id of the Firm. |
| AccountCode | String | 40 | If the Holdings to be consolidated are from a specific Account only, this is the AccountCode of the Account that will be used in conjunction with the Firm to resolve a specific Account. |
| Account | Foreign key to Account | 8 | If the Holdings to be consolidated are from a specific Account only, this is the Id of the Account. |
| Market | Foreign key to Market | 8 | If the Holdings to be consolidated are from a specific Market only, this is the Id of the Market. |
| InstrumentGroup | Foreign key to InstrumentGroup | 8 | If the Holdings to be consolidated are from a specific InsrumentGroup only, this is the Id of the Instrument. |
| Instrument | Foreign key to Instrument | 8 | If the Holdings to be consolidated are from a specific Instrument only, this is the Id of the Instrument. |