20#ifndef ORES_TRADING_DOMAIN_FX_VANILLA_OPTION_INSTRUMENT_HPP
21#define ORES_TRADING_DOMAIN_FX_VANILLA_OPTION_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;
94 std::string description;
95 std::string modified_by;
96 std::string performed_by;
97 std::string change_reason_code;
98 std::string change_commentary;
99 std::chrono::system_clock::time_point recorded_at;
FX Vanilla Option instrument (European and American).
Definition fx_vanilla_option_instrument.hpp:37
std::string option_type
Option type: Call or Put.
Definition fx_vanilla_option_instrument.hpp:77
double bought_amount
Amount bought in bought_currency. Must be positive.
Definition fx_vanilla_option_instrument.hpp:62
boost::uuids::uuid instrument_id
UUID uniquely identifying this FX vanilla option instrument.
Definition fx_vanilla_option_instrument.hpp:44
std::string sold_currency
ISO 4217 currency code of the sold leg.
Definition fx_vanilla_option_instrument.hpp:67
std::string exercise_style
Exercise style: European or American.
Definition fx_vanilla_option_instrument.hpp:87
std::string settlement
Optional settlement method (e.g. Cash, Physical).
Definition fx_vanilla_option_instrument.hpp:92
std::string expiry_date
Option expiry date (ISO 8601 date string).
Definition fx_vanilla_option_instrument.hpp:82
std::string bought_currency
ISO 4217 currency code of the bought leg.
Definition fx_vanilla_option_instrument.hpp:57
double sold_amount
Amount sold in sold_currency. Must be positive.
Definition fx_vanilla_option_instrument.hpp:72
std::string trade_type_code
ORE product type code: FxOption.
Definition fx_vanilla_option_instrument.hpp:52
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