Task: CDM Phase 4: Credit instrument domain model
This page documents a task in the CDM instrument domain models story. It captures the goal, current status, acceptance, and any notes or results.
Goal
Phase 4: credit instruments (CreditDefaultSwap, CDSIndex, SyntheticCDO).
Status
| Field | Value |
|---|---|
| State | DONE |
| Parent story | CDM instrument domain models |
| Now | Completed 2026-03-28. |
| Waiting on | None. |
| Next | None. |
| Last touched | 2026-03-28 |
Acceptance
- SQL: ores_trading_credit_instruments_tbl + notify trigger (reference_entity, currency, notional, spread, recovery_rate, tenor, start_date, maturity_date, day_count_code, payment_frequency_code, optional fields for index_name + index_series + seniority + restructuring + description); trading_create.sql + drop_trading.sql.
- Domain: credit_instrument struct with JSON + table I/O + protocol messages.
- Repository: entity + mapper + repository; credit_instrument_service.
- Server: messaging handler + registrar.
- Qt UI: ClientCreditInstrumentModel + CreditInstrumentMdiWindow + CreditInstrumentDetailDialog + CreditInstrumentHistoryDialog + CreditInstrumentController + MainWindow integration.
- Database recreate required.
Plan
Captured during execution; cleared into the parent story on close.
Notes
Phase 4 of the CDM rollout; landed alongside phase 3 by parallel work.
Result
Credit instruments complete.