ORE Studio 0.0.4
Loading...
Searching...
No Matches
Public Attributes | Static Public Attributes | List of all members
credit_instrument_entity Struct Reference

Represents a credit instrument in the database. More...

#include <credit_instrument_entity.hpp>

Collaboration diagram for credit_instrument_entity:
Collaboration graph

Public Attributes

sqlgen::PrimaryKey< std::string > id
 
std::string tenant_id
 
int version = 0
 
std::string trade_type_code
 
std::string reference_entity
 
std::string currency
 
double notional = 0.0
 
double spread = 0.0
 
double recovery_rate = 0.0
 
std::string tenor
 
std::string start_date
 
std::string maturity_date
 
std::string day_count_code
 
std::string payment_frequency_code
 
std::optional< std::string > index_name
 
std::optional< int > index_series
 
std::optional< std::string > seniority
 
std::optional< std::string > restructuring
 
std::optional< std::string > description
 
std::string modified_by
 
std::string performed_by
 
std::string change_reason_code
 
std::string change_commentary
 
std::optional< sqlgen::Timestamp<"%Y-%m-%d %H:%M:%S"> > valid_from = "9999-12-31 23:59:59"
 
std::optional< sqlgen::Timestamp<"%Y-%m-%d %H:%M:%S"> > valid_to = "9999-12-31 23:59:59"
 
std::optional< std::string > option_type
 
std::optional< std::string > option_expiry_date
 
std::optional< double > option_strike
 
std::optional< std::string > linked_asset_code
 
std::optional< double > tranche_attachment
 
std::optional< double > tranche_detachment
 

Static Public Attributes

static constexpr const char * schema = "public"
 
static constexpr const char * tablename = "ores_trading_credit_instruments_tbl"
 

Detailed Description

Represents a credit instrument in the database.