ores.refdata.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.
2026-07-18 moved from ores.trading to ores.refdata: the Qt UI
already lived in ores.qt/refdata's RefdataPlugin, hand-wired
outside codegen; the backend followed to match, same direction as
Book/BusinessCentre's own moves to ores.refdata, and the same move
floating_index_type made alongside this one.
Flags
Columns
code
Unique leg type code.
Examples: 'Fixed', 'Floating', 'OIS', 'CMS', 'CMSSpread', 'CPI', 'YoY'.
std::string(faker::word::noun()) + "_leg_" + std::to_string(++counter)
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
Detail fields
| field | label | widget | type | is_key | is_required | placeholder |
|---|---|---|---|---|---|---|
| code | Code | codeEdit | line_edit | true | true | e.g. Fixed |
| description | Description | descriptionEdit | text_edit | Enter a description |
Columns (Qt model)
| enum_name | field | header | type | width | is_badge | badge_key |
|---|---|---|---|---|---|---|
| Code | code | Code | string | 200 | true | leg_type |
| 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.refdata — component group overview.