@fintekkers/ledger-models 1.1.24 → 1.1.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/catalog/measures.json +8 -8
- package/package.json +1 -1
package/catalog/measures.json
CHANGED
|
@@ -121,7 +121,7 @@
|
|
|
121
121
|
"formula": "Solve for r: price * (face / 100) = Sum[C / (1 + r/m)^t] + F / (1 + r/m)^N",
|
|
122
122
|
"units": "Decimal (0-1 scale; e.g. 0.06 = 6.00% annual)",
|
|
123
123
|
"category": "yield",
|
|
124
|
-
"applies_to": ["
|
|
124
|
+
"applies_to": ["TBILL", "TREASURY_NOTE", "TREASURY_BOND", "STRIPS", "SOVEREIGN_BOND", "CREDIT_BOND", "STRUCTURED_BOND", "TIPS"],
|
|
125
125
|
"model_assumptions": [
|
|
126
126
|
"Coupon reinvestment at the YTM rate (standard bond math assumption)",
|
|
127
127
|
"For TIPS: returns the same value as REAL_YIELD, with the response summary warning \"YIELD_TO_MATURITY for TIPS is the real yield (same as REAL_YIELD); a nominal yield needs an inflation forecast\"",
|
|
@@ -141,7 +141,7 @@
|
|
|
141
141
|
"formula": "D = Sum[(t / m) * PV_t / TotalPV]",
|
|
142
142
|
"units": "Years (e.g. 4.41 = 4.41 years)",
|
|
143
143
|
"category": "risk",
|
|
144
|
-
"applies_to": ["
|
|
144
|
+
"applies_to": ["TBILL", "TREASURY_NOTE", "TREASURY_BOND", "STRIPS", "SOVEREIGN_BOND", "CREDIT_BOND", "STRUCTURED_BOND", "TIPS"],
|
|
145
145
|
"model_assumptions": [
|
|
146
146
|
"Uses the bond's YTM (from Newton-Raphson solver) as the discount rate",
|
|
147
147
|
"Flat yield curve (single rate for all maturities)",
|
|
@@ -159,7 +159,7 @@
|
|
|
159
159
|
"formula": "PV = Sum[C / (1 + r/m)^t] + F / (1 + r/m)^N, returned as quoted price (% of par)",
|
|
160
160
|
"units": "Quoted price (% of par; e.g. 95.00 = $95 per $100 face)",
|
|
161
161
|
"category": "valuation",
|
|
162
|
-
"applies_to": ["
|
|
162
|
+
"applies_to": ["TBILL", "TREASURY_NOTE", "TREASURY_BOND", "STRIPS", "SOVEREIGN_BOND", "CREDIT_BOND", "STRUCTURED_BOND", "TIPS"],
|
|
163
163
|
"model_assumptions": [
|
|
164
164
|
"Same as YIELD_TO_MATURITY (the discount rate is derived from the input price)",
|
|
165
165
|
"For TIPS: inflation-adjusted cash flows discounted at REAL_YIELD, consistent with clean_price × index_ratio",
|
|
@@ -378,7 +378,7 @@
|
|
|
378
378
|
"formula": "Convexity = (1/P) × Σ_{t=1}^{N} [CF_t × t × (t+1) / (1+y/n)^(t+2)] / n²",
|
|
379
379
|
"units": "Years² (e.g. 20.5 = 20.5 years²)",
|
|
380
380
|
"category": "risk",
|
|
381
|
-
"applies_to": ["
|
|
381
|
+
"applies_to": ["TBILL", "TREASURY_NOTE", "TREASURY_BOND", "STRIPS", "SOVEREIGN_BOND", "CREDIT_BOND", "STRUCTURED_BOND", "TIPS"],
|
|
382
382
|
"model_assumptions": [
|
|
383
383
|
"Same as MACAULAY_DURATION (flat yield curve, YTM-based discounting)",
|
|
384
384
|
"For TIPS: y = REAL_YIELD and CF_t are the inflation-adjusted cash flows",
|
|
@@ -425,7 +425,7 @@
|
|
|
425
425
|
"formula": "ModifiedDuration = MacaulayDuration / (1 + ytm/n), where ytm = yield to maturity (annual), n = coupon periods per year. For TIPS, ytm = REAL_YIELD (on the inflation-adjusted cash flows)",
|
|
426
426
|
"units": "Years (dimensionally equivalent to years, interpreted as % per 100bp)",
|
|
427
427
|
"category": "risk",
|
|
428
|
-
"applies_to": ["
|
|
428
|
+
"applies_to": ["TBILL", "TREASURY_NOTE", "TREASURY_BOND", "STRIPS", "SOVEREIGN_BOND", "CREDIT_BOND", "STRUCTURED_BOND", "TIPS"],
|
|
429
429
|
"model_assumptions": [],
|
|
430
430
|
"implemented": true,
|
|
431
431
|
"computed_by": "valuation-service",
|
|
@@ -439,7 +439,7 @@
|
|
|
439
439
|
"formula": "DV01 = ModifiedDuration × MarketValue × 0.0001",
|
|
440
440
|
"units": "Dollars per basis point",
|
|
441
441
|
"category": "risk",
|
|
442
|
-
"applies_to": ["
|
|
442
|
+
"applies_to": ["TBILL", "TREASURY_NOTE", "TREASURY_BOND", "STRIPS", "SOVEREIGN_BOND", "CREDIT_BOND", "STRUCTURED_BOND", "TIPS"],
|
|
443
443
|
"model_assumptions": [],
|
|
444
444
|
"implemented": true,
|
|
445
445
|
"computed_by": "valuation-service",
|
|
@@ -496,7 +496,7 @@
|
|
|
496
496
|
"Readings must include months m-3 and m-2 (UTC settlement month): the request is rejected when either is missing. Extra months (e.g. those lot settlement dates need for PROFIT_LOSS) are allowed and ignored here. A duplicate (year, month) or a month outside 1-12 is rejected",
|
|
497
497
|
"Absent when no CPI is given"
|
|
498
498
|
],
|
|
499
|
-
"implemented":
|
|
499
|
+
"implemented": true,
|
|
500
500
|
"computed_by": "valuation-service",
|
|
501
501
|
"depends_on": ["CPI_U"]
|
|
502
502
|
},
|
|
@@ -514,7 +514,7 @@
|
|
|
514
514
|
"Rounding: computed from the rounded REFERENCE_CPI and rounded to 5 decimals (half up) per 31 CFR 356 Appendix B. Every measure that uses the index ratio (MARKET_VALUE, ADJUSTED_COST_BASIS, INFLATION_ADJUSTED_PRINCIPAL, REAL_YIELD, PRESENT_VALUE, PROFIT_LOSS) uses this rounded ratio",
|
|
515
515
|
"Unfloored: the deflation floor applies to INFLATION_ADJUSTED_PRINCIPAL only"
|
|
516
516
|
],
|
|
517
|
-
"implemented":
|
|
517
|
+
"implemented": true,
|
|
518
518
|
"computed_by": "valuation-service",
|
|
519
519
|
"depends_on": ["REFERENCE_CPI", "SECURITY_TERMS"]
|
|
520
520
|
}
|