ORE Studio 0.0.4
Loading...
Searching...
No Matches
Public Attributes | List of all members
composite_leg Struct Referencefinal

One constituent trade of a composite instrument (CompositeTrade, MultiLegOption). More...

#include <composite_leg.hpp>

Collaboration diagram for composite_leg:
Collaboration graph

Public Attributes

int version = 0
 Version number for optimistic locking and change tracking.
 
utility::uuid::tenant_id tenant_id = utility::uuid::tenant_id::system()
 Tenant identifier for multi-tenancy isolation.
 
boost::uuids::uuid id
 UUID uniquely identifying this composite leg.
 
boost::uuids::uuid instrument_id
 UUID of the parent composite instrument.
 
int leg_sequence = 1
 Leg ordering within the instrument (1-based).
 
std::string constituent_trade_id
 UUID string identifying the constituent trade.
 
std::string modified_by
 Username of the person who last modified this record.
 
std::string performed_by
 Username of the account that performed this action.
 
std::string change_reason_code
 Code identifying the reason for the change.
 
std::string change_commentary
 Free-text commentary explaining the change.
 
std::chrono::system_clock::time_point recorded_at
 Timestamp when this version of the record was recorded.
 

Detailed Description

One constituent trade of a composite instrument (CompositeTrade, MultiLegOption).

The leg_sequence field provides 1-based ordering of the constituent trades within the parent composite instrument.

Member Data Documentation

◆ instrument_id

boost::uuids::uuid instrument_id

UUID of the parent composite instrument.

Soft FK to ores_trading_composite_instruments_tbl.