ores.trading.leg_type
Table of Contents
Reference data table defining valid leg types used in instrument leg definitions. Values are sourced from ORE ore_types.xsd LegType enumeration.
Flags
Primary key
Unique leg type code.
Examples: 'Fixed', 'Floating', 'OIS', 'CMS', 'CMSSpread', 'CPI', 'YoY'.
std::string(faker::word::noun()) + "_leg_" + std::to_string(++counter)
Natural keys
Columns
description
Human-readable description of the leg type.
std::string(faker::lorem::sentence())
SQL
Flags
C++
Flags
Repository
Domain includes
#include <chrono> #include <string>
Conventions
Qt
Columns (Qt model)
| enum_name | field | header | type | width |
|---|---|---|---|---|
| Code | code | Code | string | 200 |
| Description | description | Description | string | 350 |
| Version | version | Version | int | 80 |
| ModifiedBy | modified_by | Modified By | string | 120 |
| RecordedAt | recorded_at | Recorded At | timestamp | 150 |
Custom repository methods
See also
- ores.trading — component group overview.