20#ifndef ORES_TRADING_DOMAIN_FX_VARIANCE_SWAP_INSTRUMENT_HPP
21#define ORES_TRADING_DOMAIN_FX_VARIANCE_SWAP_INSTRUMENT_HPP
26#include <boost/uuid/uuid.hpp>
27#include "ores.utility/uuid/tenant_id.hpp"
29namespace ores::trading::domain {
46 boost::uuids::uuid party_id;
47 std::optional<boost::uuids::uuid> trade_id;
96 std::string description;
97 std::string modified_by;
98 std::string performed_by;
99 std::string change_reason_code;
100 std::string change_commentary;
101 std::chrono::system_clock::time_point recorded_at;
FX Variance Swap instrument.
Definition fx_variance_swap_instrument.hpp:37
std::string long_short
Position direction: Long or Short.
Definition fx_variance_swap_instrument.hpp:79
boost::uuids::uuid instrument_id
UUID uniquely identifying this FX variance swap instrument.
Definition fx_variance_swap_instrument.hpp:44
std::string start_date
Variance observation start date (ISO 8601 date string).
Definition fx_variance_swap_instrument.hpp:57
double notional
Notional amount for PnL scaling. Must be positive.
Definition fx_variance_swap_instrument.hpp:89
std::string underlying_code
FX pair or index identifier (e.g. TR20H-EUR-USD).
Definition fx_variance_swap_instrument.hpp:74
std::string moment_type
Whether the product is a Variance or Volatility swap.
Definition fx_variance_swap_instrument.hpp:94
std::string end_date
Variance observation end date (ISO 8601 date string).
Definition fx_variance_swap_instrument.hpp:64
std::string trade_type_code
ORE product type code: FxVarianceSwap.
Definition fx_variance_swap_instrument.hpp:52
std::string currency
Settlement currency.
Definition fx_variance_swap_instrument.hpp:69
double strike
Fixed variance or volatility strike. Must be positive.
Definition fx_variance_swap_instrument.hpp:84
A strongly-typed wrapper around a UUID representing a tenant identifier.
Definition tenant_id.hpp:66
static tenant_id system()
Creates a tenant_id representing the system tenant.
Definition tenant_id.cpp:41