ores.trading.trade_type
Table of Contents
Reference data table defining valid trade type classifications used to categorise trades in the system.
Flags
Primary key
Unique trade type code.
Examples: 'Swap', 'FxForward', 'CapFloor', 'Swaption'.
std::string(faker::word::noun()) + "_trade_" + std::to_string(++counter)
Natural keys
Columns
description
Detailed description of the trade type.
std::string(faker::lorem::sentence())
product_type
Product type family this trade type belongs to (swap, fx, bond, credit, equity, commodity, composite, scripted).
Drives instrument tab routing in the UI and the structural extension table the instrument is stored in.
std::string("swap")
has_options
True when this trade type requires the family's options sub-form.
Used by FX and Equity families to reveal an additional options panel.
false
has_extension
True when this trade type requires the family's extension sub-form.
Used by Swap, Bond, Credit, Equity, and Commodity families to reveal additional extension fields.
false
SQL
Flags
C++
Flags
Repository
Domain includes
#include <chrono> #include <string>
Conventions
Custom repository methods
See also
- ores.trading — component group overview.