20#ifndef ORES_TRADING_DOMAIN_EQUITY_SWAP_INSTRUMENT_HPP
21#define ORES_TRADING_DOMAIN_EQUITY_SWAP_INSTRUMENT_HPP
26#include <boost/uuid/uuid.hpp>
27#include "ores.utility/uuid/tenant_id.hpp"
29namespace ores::trading::domain {
45 boost::uuids::uuid party_id;
46 std::optional<boost::uuids::uuid> trade_id;
95 std::string description;
96 std::string modified_by;
97 std::string performed_by;
98 std::string change_reason_code;
99 std::string change_commentary;
100 std::chrono::system_clock::time_point recorded_at;
Equity Swap instrument.
Definition equity_swap_instrument.hpp:36
std::string long_short
Long or Short.
Definition equity_swap_instrument.hpp:88
boost::uuids::uuid instrument_id
UUID uniquely identifying this equity swap instrument.
Definition equity_swap_instrument.hpp:43
std::string start_date
ISO 8601 date.
Definition equity_swap_instrument.hpp:78
std::string payment_frequency
e.g. 3M, 6M, 1Y
Definition equity_swap_instrument.hpp:93
double notional
Must be positive.
Definition equity_swap_instrument.hpp:68
std::string return_type
TotalReturn or PriceReturn.
Definition equity_swap_instrument.hpp:73
std::string basket_json
JSON array of underlyings for EquityWorstOfBasketSwap; empty for single-underlying.
Definition equity_swap_instrument.hpp:61
std::string underlying_name
Single underlying; empty for basket swaps.
Definition equity_swap_instrument.hpp:56
std::string maturity_date
ISO 8601 date.
Definition equity_swap_instrument.hpp:83
std::string trade_type_code
ORE product type code: EquitySwap or EquityWorstOfBasketSwap.
Definition equity_swap_instrument.hpp:51
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