@fintekkers/ledger-models 0.4.61 → 0.4.63
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 +5 -5
- package/package.json +1 -1
package/catalog/measures.json
CHANGED
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
"applies_to": ["BOND_SECURITY", "TIPS"],
|
|
93
93
|
"model_assumptions": [
|
|
94
94
|
"Coupon reinvestment at the YTM rate (standard bond math assumption)",
|
|
95
|
-
"For TIPS:
|
|
95
|
+
"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\"",
|
|
96
96
|
"Settlement on a coupon date (no accrued interest adjustment currently)",
|
|
97
97
|
"Day count: Actual/365 for years-to-maturity",
|
|
98
98
|
"Solver: Newton-Raphson iteration with linear approximation initial guess"
|
|
@@ -126,7 +126,7 @@
|
|
|
126
126
|
"applies_to": ["BOND_SECURITY", "TIPS"],
|
|
127
127
|
"model_assumptions": [
|
|
128
128
|
"Same as YIELD_TO_MATURITY (the discount rate is derived from the input price)",
|
|
129
|
-
"For TIPS:
|
|
129
|
+
"For TIPS: inflation-adjusted cash flows discounted at REAL_YIELD, consistent with clean_price × index_ratio",
|
|
130
130
|
"Three-way invariant: price == present_value == sum(cashflow_pvs)"
|
|
131
131
|
],
|
|
132
132
|
"implemented": true
|
|
@@ -136,13 +136,13 @@
|
|
|
136
136
|
"enum_value": 10,
|
|
137
137
|
"display_name": "Real Yield",
|
|
138
138
|
"description": "The yield of a TIPS bond in real (inflation-adjusted) terms. This is the return an investor earns above the rate of inflation.",
|
|
139
|
-
"formula": "
|
|
139
|
+
"formula": "Solve for r: clean_price × index_ratio × face / 100 = Sum[PV(inflation-adjusted cash flows at r)]",
|
|
140
140
|
"units": "Decimal (0-1 scale; e.g. 0.02 = 2.00% real annual yield)",
|
|
141
141
|
"category": "yield",
|
|
142
142
|
"applies_to": ["TIPS"],
|
|
143
143
|
"model_assumptions": [
|
|
144
|
-
"Same
|
|
145
|
-
"
|
|
144
|
+
"Same solver and conventions as YIELD_TO_MATURITY",
|
|
145
|
+
"The quoted real price is scaled by the same index ratio as the cash flows, so the result is the true real yield and does not change with CPI"
|
|
146
146
|
],
|
|
147
147
|
"implemented": true
|
|
148
148
|
},
|