ORE Studio 0.0.4
Loading...
Searching...
No Matches
Public Attributes | List of all members
SwapInstrumentForm::SwapFormState Struct Reference

Form-local state for the swap instrument editor. More...

#include <SwapInstrumentForm.hpp>

Collaboration diagram for SwapInstrumentForm::SwapFormState:
Collaboration graph

Public Attributes

boost::uuids::uuid instrument_id
 
std::optional< boost::uuids::uuid > trade_id
 
std::string trade_type_code
 
std::string start_date
 
std::string maturity_date
 
std::string description
 
std::string currency
 
double notional = 0.0
 
std::string rate_index
 
double strike = 0.0
 
std::string long_short
 
std::optional< int > lockout_days
 
std::string call_dates_json
 
std::string call_type
 
std::string reference_counterparty
 
double participation_rate = 0.0
 
std::optional< double > protection_fee
 
std::string inflation_index_code
 
std::optional< double > base_cpi
 
std::string lag_convention
 
int version = 0
 
std::string modified_by
 
std::string performed_by
 
std::chrono::system_clock::time_point recorded_at
 
std::string change_reason_code
 
std::string change_commentary
 

Detailed Description

Form-local state for the swap instrument editor.

Aggregates fields from all nine rates instrument types into a single flat struct so the form can display any type without storing a domain object directly. Fields that are not applicable to the active trade type will be empty/zero.

This is NOT a domain type. It is never serialised or transmitted.