|
ORE Studio 0.0.4
|
Inflation-linked interest rate swap instrument. More...
#include <inflation_swap_instrument.hpp>

Public Attributes | |
| int | version = 0 |
| Version number for optimistic locking and change tracking. | |
| utility::uuid::tenant_id | tenant_id = utility::uuid::tenant_id::system() |
| Tenant identifier for multi-tenancy isolation. | |
| boost::uuids::uuid | instrument_id |
| UUID uniquely identifying this inflation swap instrument. | |
| boost::uuids::uuid | party_id |
| Party that owns this instrument. | |
| std::optional< boost::uuids::uuid > | trade_id |
| Optional soft FK to the parent trade. | |
| std::string | start_date |
| Swap effective start date. | |
| std::string | maturity_date |
| Swap maturity date. | |
| std::string | inflation_index_code |
| Inflation index code. | |
| std::optional< double > | base_cpi = std::nullopt |
| Optional base CPI value at inception. | |
| std::string | lag_convention |
| Optional CPI lag convention. | |
| std::string | description |
| Optional free-text description. | |
| std::string | modified_by |
| Username of the person who last modified this inflation swap instrument. | |
| std::string | performed_by |
| Username of the account that performed this action. | |
| std::string | change_reason_code |
| Code identifying the reason for the change. | |
| std::string | change_commentary |
| Free-text commentary explaining the change. | |
| std::chrono::system_clock::time_point | recorded_at |
| Timestamp when this version of the record was recorded. | |
Inflation-linked interest rate swap instrument.
Represents an inflation-linked swap where one leg pays a fixed or floating rate and the other is linked to an inflation index (e.g., CPI, RPI).
| boost::uuids::uuid instrument_id |
UUID uniquely identifying this inflation swap instrument.
Surrogate key for the instrument record.
| boost::uuids::uuid party_id |
Party that owns this instrument.
Set from session variable app.current_party_id.
| std::optional<boost::uuids::uuid> trade_id |
Optional soft FK to the parent trade.
Links instrument to a trade if applicable.
| std::string start_date |
Swap effective start date.
ISO 8601 date string (YYYY-MM-DD).
| std::string maturity_date |
Swap maturity date.
Must be after start_date.
| std::string inflation_index_code |
Inflation index code.
e.g., UKRPI, USCPI, EUHICPXT.
| std::optional<double> base_cpi = std::nullopt |
Optional base CPI value at inception.
Used to calculate the inflation accrual. Must be positive if set.
| std::string lag_convention |
Optional CPI lag convention.
e.g., 3M, 2M. Specifies the publication lag for the inflation index.
| std::string description |
Optional free-text description.
Human-readable notes about this instrument.
| std::string change_reason_code |
Code identifying the reason for the change.
References change_reasons table (soft FK).