ores.refdata.currency_calendar
Table of Contents
Many-to-many junction between currency and calendar: a currency's
spot/settlement date computation can depend on more than one calendar
(e.g. a country calendar and a financial-centre calendar). Replaces
currency's free-text
holiday_calendar column with a proper FK relationship to
the calendar entity.
Left
ISO 4217 alpha-3 code of the currency.
References ores_refdata_currencies_tbl.iso_code (soft FK).
std::string("EUR")
Right
QuantLib/ORE calendar token (e.g. TARGET, UnitedStates).
References ores_refdata_calendars_tbl.code (soft FK).
std::string("TARGET")
Columns
SQL
Flags
Repository
C++
Flags
Domain includes
#include <chrono> #include <string>
Entity includes
#include <string> #include "sqlgen/Timestamp.hpp" #include "sqlgen/PrimaryKey.hpp"
Conventions
Table display
| column | header |
|---|---|
| currency_iso_code | Currency |
| calendar_code | Calendar |
| modified_by | Modified By |
| version | Version |
See also
- ores.refdata — component group overview.
- Model calendars as proper ORE Studio reference data — parent story.