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

Represents an FX instrument in the database. More...

#include <fx_instrument_entity.hpp>

Collaboration diagram for fx_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 bought_currency
 
double bought_amount = 0.0
 
std::string sold_currency
 
double sold_amount = 0.0
 
std::string value_date
 
std::optional< std::string > settlement
 
std::optional< std::string > option_type
 
std::optional< double > strike_price
 
std::optional< std::string > expiry_date
 
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"
 

Static Public Attributes

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

Detailed Description

Represents an FX instrument in the database.