Repository Public MIT
1{2 "_meta": {3 "generator": "generate_reference.py",4 "mpmath_dps": 50,5 "numpy": "2.4.4",6 "scipy": "1.17.1"7 },8 "affordability": {9 "by_housing": 3275.0,10 "by_total": 3125.0,11 "max_loan": 524400.992090328,12 "max_payment": 3125.013 },14 "bonds": [15 {16 "accrued": 1.4375,17 "accrued_days": 90.0,18 "clean": 94.6343616213221,19 "convention": "thirty360US",20 "convexity": 64.89774457314356,21 "coupon": 0.0575,22 "dirty": 96.0718616213221,23 "face": 100,24 "first_coupon": "2008-05-15",25 "frequency": 2,26 "macaulay": 7.4164846963505715,27 "maturity": "2017-11-15",28 "modified": 7.183036025521135,29 "name": "excel_price_example",30 "period_days": 180.0,31 "redemption": 100,32 "remaining": 20,33 "settlement": "2008-02-15",34 "w": 0.5,35 "y": 0.065,36 "ytm_from_clean": 0.06537 },38 {39 "accrued": 1.3898480662983426,40 "accrued_days": 115.0,41 "clean": 102.01393658628758,42 "convention": "actualActualICMA",43 "convexity": 72.25849219403908,44 "coupon": 0.04375,45 "dirty": 103.40378465258593,46 "face": 100,47 "first_coupon": "2025-05-15",48 "frequency": 2,49 "macaulay": 7.909623644751075,50 "maturity": "2034-11-15",51 "modified": 7.749974176710831,52 "name": "icma_semi",53 "period_days": 181.0,54 "redemption": 100,55 "remaining": 20,56 "settlement": "2025-03-10",57 "w": 0.36464088397790057,58 "y": 0.0412,59 "ytm_from_clean": 0.04119999999999996660 },61 {62 "accrued": 15.0,63 "accrued_days": 180.0,64 "clean": 968.4372513351902,65 "convention": "thirtyE360",66 "convexity": 40.14505079053636,67 "coupon": 0.03,68 "dirty": 983.4372513351902,69 "face": 1000,70 "first_coupon": "2025-01-31",71 "frequency": 1,72 "macaulay": 5.905228855734173,73 "maturity": "2031-01-31",74 "modified": 5.702780160052316,75 "name": "e30_annual",76 "period_days": 360.0,77 "redemption": 1000,78 "remaining": 7,79 "settlement": "2024-07-31",80 "w": 0.5,81 "y": 0.0355,82 "ytm_from_clean": 0.035583 },84 {85 "accrued": 0.6,86 "accrued_days": 36.0,87 "clean": 102.13835535759519,88 "convention": "actual360",89 "convexity": 7.984370183193943,90 "coupon": 0.06,91 "dirty": 102.73835535759518,92 "face": 100,93 "first_coupon": "2025-03-15",94 "frequency": 4,95 "macaulay": 2.6708928369223552,96 "maturity": "2027-12-15",97 "modified": 2.6366168182846548,98 "name": "act360_quarterly",99 "period_days": 90.0,100 "redemption": 100,101 "remaining": 12,102 "settlement": "2025-01-20",103 "w": 0.6,104 "y": 0.052,105 "ytm_from_clean": 0.052106 },107 {108 "accrued": 0.09205479452054795,109 "accrued_days": 7.0,110 "clean": 97.0681748547475,111 "convention": "actual365Fixed",112 "convexity": 1.962731876933893,113 "coupon": 0.048,114 "dirty": 97.16022964926805,115 "face": 100,116 "first_coupon": "2025-05-31",117 "frequency": 12,118 "macaulay": 1.353961927487491,119 "maturity": "2026-09-30",120 "modified": 1.3461096213628743,121 "name": "act365_monthly",122 "period_days": 30.416666666666668,123 "redemption": 100,124 "remaining": 17,125 "settlement": "2025-05-07",126 "w": 0.7890410958904109,127 "y": 0.07,128 "ytm_from_clean": 0.07000000000000003129 },130 {131 "accrued": 0.625,132 "accrued_days": 45.0,133 "clean": 101.96048974014617,134 "convention": "thirty360US",135 "convexity": 17.90044933293563,136 "coupon": 0.05,137 "dirty": 102.58548974014617,138 "face": 100,139 "first_coupon": "2025-02-28",140 "frequency": 2,141 "macaulay": 3.96503585183199,142 "maturity": "2029-02-28",143 "modified": 3.8777856741633157,144 "name": "eom_feb_maturity",145 "period_days": 180.0,146 "redemption": 100,147 "remaining": 9,148 "settlement": "2024-10-15",149 "w": 0.75,150 "y": 0.045,151 "ytm_from_clean": 0.04499999999999983152 },153 {154 "accrued": 0.0,155 "accrued_days": 0.0,156 "clean": 67.29713331080576,157 "convention": "actualActualICMA",158 "convexity": 100.92272202998846,159 "coupon": 0.0,160 "dirty": 67.29713331080576,161 "face": 100,162 "first_coupon": "2025-12-01",163 "frequency": 2,164 "macaulay": 10.0,165 "maturity": "2035-06-01",166 "modified": 9.803921568627452,167 "name": "zero_coupon",168 "period_days": 183.0,169 "redemption": 100,170 "remaining": 20,171 "settlement": "2025-06-01",172 "w": 1.0,173 "y": 0.04,174 "ytm_from_clean": 0.04000000000000025175 },176 {177 "accrued": 0.3287671232876712,178 "accrued_days": 240.0,179 "clean": 104.87003882306384,180 "convention": "actualActualICMA",181 "convexity": 33.57652234469594,182 "coupon": 0.005,183 "dirty": 105.19880594635151,184 "face": 100,185 "first_coupon": "2021-08-15",186 "frequency": 1,187 "macaulay": 5.270690805904849,188 "maturity": "2026-08-15",189 "modified": 5.29185823886029,190 "name": "negative_yield",191 "period_days": 365.0,192 "redemption": 100,193 "remaining": 6,194 "settlement": "2021-04-12",195 "w": 0.3424657534246575,196 "y": -0.004,197 "ytm_from_clean": -0.004198 },199 {200 "accrued": 0.0,201 "accrued_days": 0.0,202 "clean": 104.37603196548547,203 "convention": "thirty360US",204 "convexity": 22.07904326352239,205 "coupon": 0.06,206 "dirty": 104.37603196548547,207 "face": 100,208 "first_coupon": "2025-12-15",209 "frequency": 2,210 "macaulay": 4.408407590492557,211 "maturity": "2030-06-15",212 "modified": 4.300885454139079,213 "name": "on_coupon_date",214 "period_days": 180.0,215 "redemption": 100,216 "remaining": 10,217 "settlement": "2025-06-15",218 "w": 1.0,219 "y": 0.05,220 "ytm_from_clean": 0.05221 },222 {223 "accrued": 2.9555555555555557,224 "accrued_days": 152.0,225 "clean": 106.26587734047473,226 "convention": "thirty360US",227 "convexity": 11.739133620717391,228 "coupon": 0.07,229 "dirty": 109.22143289603028,230 "face": 100,231 "first_coupon": "2025-03-01",232 "frequency": 2,233 "macaulay": 3.155446328004978,234 "maturity": "2028-09-01",235 "modified": 3.0665173255636327,236 "name": "premium_redemption",237 "period_days": 180.0,238 "redemption": 103,239 "remaining": 8,240 "settlement": "2025-02-03",241 "w": 0.15555555555555556,242 "y": 0.058,243 "ytm_from_clean": 0.058244 }245 ],246 "bonds_simple": [247 {248 "accrued": 0.0,249 "clean": 87.53778965746001,250 "convexity": 56.48503564468591,251 "coupon": 0.08,252 "dirty": 87.53778965746001,253 "face": 100,254 "frequency": 2,255 "macaulay": 6.840368408939491,256 "modified": 6.514636579942372,257 "periods": 20,258 "y": 0.1,259 "ytm_from_clean": 0.1260 },261 {262 "accrued": 0.0,263 "clean": 1000.0,264 "convexity": 74.9976815328175,265 "coupon": 0.05,266 "dirty": 1000.0,267 "face": 1000,268 "frequency": 1,269 "macaulay": 8.107821675644054,270 "modified": 7.721734929184812,271 "periods": 10,272 "y": 0.05,273 "ytm_from_clean": 0.050000000000000086274 },275 {276 "accrued": 0.0,277 "clean": 107.54840537058163,278 "convexity": 73.42849544062504,279 "coupon": 0.03,280 "dirty": 107.54840537058163,281 "face": 100,282 "frequency": 4,283 "macaulay": 8.162316267408396,284 "modified": 8.119687905902408,285 "periods": 37,286 "y": 0.021,287 "ytm_from_clean": 0.021288 },289 {290 "accrued": 0.0,291 "clean": 88.761240398444,292 "convexity": 18.244922903347273,293 "coupon": 0.09,294 "dirty": 88.761240398444,295 "face": 100,296 "frequency": 12,297 "macaulay": 3.9722843027967634,298 "modified": 3.93295475524432,299 "periods": 60,300 "y": 0.12,301 "ytm_from_clean": 0.12302 }303 ],304 "bsm": [305 {306 "K": 40.0,307 "S": 42.0,308 "T": 0.5,309 "delta": 0.779131290942669,310 "gamma": 0.04996267040591185,311 "implied_vol": 0.20000000000000012,312 "kind": "call",313 "price": 4.759422392871533,314 "q": 0.0,315 "r": 0.1,316 "rho": 13.982045913360281,317 "sigma": 0.2,318 "theta": -4.559092194592626,319 "vega": 8.813415059602852320 },321 {322 "K": 40.0,323 "S": 42.0,324 "T": 0.5,325 "delta": -0.22086870905733105,326 "gamma": 0.04996267040591185,327 "implied_vol": 0.19999999999999998,328 "kind": "put",329 "price": 0.8085993729000935,330 "q": 0.0,331 "r": 0.1,332 "rho": -5.042542576653999,333 "sigma": 0.2,334 "theta": -0.7541744965897704,335 "vega": 8.813415059602852336 },337 {338 "K": 100.0,339 "S": 100.0,340 "T": 1.0,341 "delta": 0.5849549112578831,342 "gamma": 0.015179235690178282,343 "implied_vol": 0.25,344 "kind": "call",345 "price": 11.123761928058132,346 "q": 0.02,347 "r": 0.05,348 "rho": 47.37172919773018,349 "sigma": 0.25,350 "theta": -5.942187790551456,351 "vega": 37.948089225445706352 },353 {354 "K": 100.0,355 "S": 100.0,356 "T": 1.0,357 "delta": -0.3952437620488722,358 "gamma": 0.015179235690178282,359 "implied_vol": 0.24999999999999975,360 "kind": "put",361 "price": 8.226837047454003,362 "q": 0.02,363 "r": 0.05,364 "rho": -47.751213252341216,365 "sigma": 0.25,366 "theta": -3.1464380146613964,367 "vega": 37.948089225445706368 },369 {370 "K": 130.0,371 "S": 100.0,372 "T": 0.25,373 "delta": 0.08310097563695036,374 "gamma": 0.008736938457432305,375 "implied_vol": 0.3499999999999997,376 "kind": "call",377 "price": 0.6201838884870146,378 "q": 0.01,379 "r": 0.03,380 "rho": 1.9224784188020052,381 "sigma": 0.35,382 "theta": -5.498971239796577,383 "vega": 7.644821150253268384 },385 {386 "K": 130.0,387 "S": 100.0,388 "T": 0.25,389 "delta": -0.9144021467605098,390 "gamma": 0.008736938457432305,391 "implied_vol": 0.35000000000000103,392 "kind": "put",393 "price": 29.898518775228997,394 "q": 0.01,395 "r": 0.03,396 "rho": -30.334683362819995,397 "sigma": 0.35,398 "theta": -2.625614948399398,399 "vega": 7.644821150253268400 },401 {402 "K": 70.0,403 "S": 100.0,404 "T": 2.0,405 "delta": 0.8813805492253992,406 "gamma": 0.0041403728300810575,407 "implied_vol": 0.1500000000000009,408 "kind": "call",409 "price": 26.782947558559513,410 "q": 0.04,411 "r": 0.03,412 "rho": 122.71021472796082,413 "sigma": 0.15,414 "theta": 1.2190770325980658,415 "vega": 12.421118490243172416 },417 {418 "K": 70.0,419 "S": 100.0,420 "T": 2.0,421 "delta": -0.04173579716123654,422 "gamma": 0.0041403728300810575,423 "implied_vol": 0.15,424 "kind": "put",425 "price": 0.3948302707933462,426 "q": 0.04,427 "r": 0.03,428 "rho": -9.136819973834001,429 "sigma": 0.15,430 "theta": -0.4956828324215551,431 "vega": 12.421118490243172432 },433 {434 "K": 50.0,435 "S": 50.0,436 "T": 0.08,437 "delta": 0.5319365554722026,438 "gamma": 0.04686506781182367,439 "implied_vol": 0.5999999999999998,440 "kind": "call",441 "price": 3.3624621829384713,442 "q": 0.0,443 "r": -0.01,444 "rho": 1.8587492472537328,445 "sigma": 0.6,446 "theta": -20.856936859413935,447 "vega": 5.62380813741884448 },449 {450 "K": 50.0,451 "S": 50.0,452 "T": 0.08,453 "delta": -0.46806344452779736,454 "gamma": 0.04686506781182367,455 "implied_vol": 0.5999999999999999,456 "kind": "put",457 "price": 3.4024781872059915,458 "q": 0.0,459 "r": -0.01,460 "rho": -2.144452033087669,461 "sigma": 0.6,462 "theta": -21.357337019456608,463 "vega": 5.62380813741884464 },465 {466 "K": 3600.0,467 "S": 3500.0,468 "T": 1.5,469 "delta": 0.5612285618900223,470 "gamma": 0.0004968142978777829,471 "implied_vol": 0.17999999999999983,472 "kind": "call",473 "price": 327.2750506013602,474 "q": 0.015,475 "r": 0.045,476 "rho": 2455.537374020577,477 "sigma": 0.18,478 "theta": -142.79441913523715,479 "vega": 1643.213290230767480 },481 {482 "K": 3600.0,483 "S": 3500.0,484 "T": 1.5,485 "delta": -0.41652267530331405,486 "gamma": 0.0004968142978777829,487 "implied_vol": 0.18,488 "kind": "put",489 "price": 270.16551464238205,490 "q": 0.015,491 "r": 0.045,492 "rho": -2591.992317305972,493 "sigma": 0.18,494 "theta": -42.700468348090844,495 "vega": 1643.213290230767496 },497 {498 "K": 25.0,499 "S": 10.0,500 "T": 0.5,501 "delta": 0.0010963818599658462,502 "gamma": 0.001295275319024648,503 "implied_vol": 0.3999999999999992,504 "kind": "call",505 "price": 0.0008044190117030278,506 "q": 0.0,507 "r": 0.02,508 "rho": 0.005079699793977717,509 "sigma": 0.4,510 "theta": -0.010565390543956294,511 "vega": 0.025905506380492962512 },513 {514 "K": 25.0,515 "S": 10.0,516 "T": 0.5,517 "delta": -0.9989036181400341,518 "gamma": 0.001295275319024648,519 "implied_vol": 0.400000000000036,520 "kind": "put",521 "price": 14.752050262740905,522 "q": 0.0,523 "r": 0.02,524 "rho": -12.370543222070623,525 "sigma": 0.4,526 "theta": 0.4844595263306277,527 "vega": 0.025905506380492962528 },529 {530 "K": 100.0,531 "S": 100.0,532 "T": 1.0,533 "delta": 0.9999997206898449,534 "gamma": 1.449994154086106e-06,535 "implied_vol": null,536 "kind": "call",537 "price": 4.877057602069671,538 "q": 0.0,539 "r": 0.05,540 "rho": 95.1229144669148,541 "sigma": 0.01,542 "theta": -4.756146448342817,543 "vega": 0.0001449994154086106544 },545 {546 "K": 100.0,547 "S": 100.0,548 "T": 1.0,549 "delta": -2.7931015515582406e-07,550 "gamma": 1.449994154086106e-06,551 "implied_vol": null,552 "kind": "put",553 "price": 5.214107207591531e-08,554 "q": 0.0,555 "r": 0.05,556 "rho": -2.7983156587658323e-05,557 "sigma": 0.01,558 "theta": 6.741607523398632e-07,559 "vega": 0.0001449994154086106560 }561 ],562 "cashflow_long": {563 "amount": 599.55,564 "count": 360,565 "initial": -100000,566 "irr": 0.004999993193119216,567 "npv_at_0004": 14272.839828098735568 },569 "cashflows": [570 {571 "discounted_payback": 2.7441176470588236,572 "flows": [573 -10000,574 3000,575 4200,576 6800577 ],578 "irrs": [579 0.1634056006889893580 ],581 "mirr": 0.14324457846353109,582 "mirr_fin": 0.06,583 "mirr_re": 0.09,584 "name": "conventional",585 "nfv": 1740.0,586 "npv": 1307.2877535687453,587 "payback": 2.411764705882353,588 "pi": 1.1307287753568744,589 "rate": 0.1590 },591 {592 "discounted_payback": 0.5,593 "flows": [594 -1000,595 2300,596 -1320597 ],598 "irrs": [599 0.1,600 0.2601 ],602 "mirr": 0.07366296803563328,603 "mirr_fin": 0.06,604 "mirr_re": 0.09,605 "name": "two_irrs",606 "nfv": 2.5,607 "npv": 1.890359168241966,608 "payback": 0.43478260869565216,609 "pi": 1.001890359168242,610 "rate": 0.15611 },612 {613 "discounted_payback": 0.0,614 "flows": [615 1000,616 -3000,617 2500618 ],619 "irrs": [],620 "mirr": 0.1415466116925172,621 "mirr_fin": 0.06,622 "mirr_re": 0.09,623 "name": "no_real_irr",624 "nfv": 410.0,625 "npv": 338.8429752066116,626 "payback": 0.0,627 "rate": 0.1628 },629 {630 "discounted_payback": 5.16562838528,631 "flows": [632 -50000,633 12000,634 12000,635 12000,636 12000,637 12000,638 20000639 ],640 "irrs": [641 0.14211074133627907642 ],643 "mirr": 0.11922104607945917,644 "mirr_fin": 0.06,645 "mirr_re": 0.09,646 "name": "grouped",647 "nfv": 16687.4322944,648 "npv": 10515.91298259912,649 "payback": 4.166666666666667,650 "pi": 1.2103182596519824,651 "rate": 0.08652 },653 {654 "discounted_payback": null,655 "flows": [656 -1000,657 200,658 300,659 300660 ],661 "irrs": [662 -0.09830912569159395663 ],664 "mirr": -0.047331601844420305,665 "mirr_fin": 0.06,666 "mirr_re": 0.09,667 "name": "negative_irr",668 "nfv": -322.125,669 "npv": -278.2636864269517,670 "payback": null,671 "pi": 0.7217363135730482,672 "rate": 0.05673 },674 {675 "discounted_payback": 0.3472222222222222,676 "flows": [677 -1000,678 3600,679 -4310,680 1716681 ],682 "irrs": [683 0.1,684 0.2,685 0.3686 ],687 "mirr": 0.07413774905617494,688 "mirr_fin": 0.06,689 "mirr_re": 0.09,690 "name": "three_irrs",691 "nfv": 0.375,692 "npv": 0.192,693 "payback": 0.2777777777777778,694 "pi": 1.000192,695 "rate": 0.25696 },697 {698 "discounted_payback": 2.235186,699 "flows": [700 -100,701 50,702 50,703 50,704 50,705 -150706 ],707 "irrs": [],708 "mirr": 0.032805338886265384,709 "mirr_fin": 0.06,710 "mirr_re": 0.09,711 "name": "mine_with_cleanup",712 "nfv": -52.71822257,713 "npv": -37.587364099354,714 "payback": 2.0,715 "pi": 0.62412635900646,716 "rate": 0.07717 },718 {719 "discounted_payback": 3.1353675416666666,720 "flows": [721 -500,722 100,723 150,724 200,725 120726 ],727 "irrs": [728 0.05229289338619872729 ],730 "mirr": 0.06602700204299537,731 "mirr_fin": 0.06,732 "mirr_re": 0.09,733 "name": "negative_discount_rate",734 "nfv": 103.755895,735 "npv": 117.19952294653788,736 "payback": 3.4166666666666665,737 "pi": 1.2343990458930758,738 "rate": -0.03739 }740 ],741 "crr": [742 {743 "K": 50,744 "S": 50,745 "T": 0.4166666666666667,746 "american": 6.35954586105892,747 "bsm": 6.116508129330871,748 "european": 6.35954586105892,749 "kind": "call",750 "q": 0.0,751 "r": 0.1,752 "sigma": 0.4,753 "steps": 5754 },755 {756 "K": 50,757 "S": 50,758 "T": 0.4166666666666667,759 "american": 4.488458534725914,760 "bsm": 4.075980984787783,761 "european": 4.319018716515818,762 "kind": "put",763 "q": 0.0,764 "r": 0.1,765 "sigma": 0.4,766 "steps": 5767 },768 {769 "K": 50,770 "S": 50,771 "T": 0.4166666666666667,772 "american": 6.113961979205796,773 "bsm": 6.116508129330871,774 "european": 6.113961979205796,775 "kind": "call",776 "q": 0.0,777 "r": 0.1,778 "sigma": 0.4,779 "steps": 500780 },781 {782 "K": 50,783 "S": 50,784 "T": 0.4166666666666667,785 "american": 4.283021276450367,786 "bsm": 4.075980984787783,787 "european": 4.073434834660138,788 "kind": "put",789 "q": 0.0,790 "r": 0.1,791 "sigma": 0.4,792 "steps": 500793 },794 {795 "K": 40,796 "S": 42,797 "T": 0.5,798 "american": 4.7598172852762906,799 "bsm": 4.759422392871532,800 "european": 4.7598172852762906,801 "kind": "call",802 "q": 0.0,803 "r": 0.1,804 "sigma": 0.2,805 "steps": 1000806 },807 {808 "K": 40,809 "S": 42,810 "T": 0.5,811 "american": 0.9104114617873039,812 "bsm": 0.8085993729000922,813 "european": 0.8089942653039145,814 "kind": "put",815 "q": 0.0,816 "r": 0.1,817 "sigma": 0.2,818 "steps": 1000819 },820 {821 "K": 110,822 "S": 100,823 "T": 1.0,824 "american": 6.927967953411821,825 "bsm": 6.7131189165320535,826 "european": 6.713968621915834,827 "kind": "call",828 "q": 0.06,829 "r": 0.03,830 "sigma": 0.3,831 "steps": 400832 },833 {834 "K": 110,835 "S": 100,836 "T": 1.0,837 "american": 19.28898182872332,838 "bsm": 19.285674248443094,839 "european": 19.286523953827867,840 "kind": "put",841 "q": 0.06,842 "r": 0.03,843 "sigma": 0.3,844 "steps": 400845 },846 {847 "K": 95,848 "S": 100,849 "T": 0.75,850 "american": 12.162122837733408,851 "bsm": 12.1630477115284,852 "european": 12.1621224848014,853 "kind": "call",854 "q": 0.02,855 "r": 0.05,856 "sigma": 0.25,857 "steps": 250858 },859 {860 "K": 95,861 "S": 100,862 "T": 0.75,863 "american": 5.302912408112351,864 "bsm": 5.1553234347002075,865 "european": 5.154398207973468,866 "kind": "put",867 "q": 0.02,868 "r": 0.05,869 "sigma": 0.25,870 "steps": 250871 },872 {873 "K": 40,874 "S": 36,875 "T": 1.0,876 "american": 2.1737569734815425,877 "bsm": 2.1737264482268923,878 "european": 2.1737569734815425,879 "kind": "call",880 "q": 0.0,881 "r": 0.06,882 "sigma": 0.2,883 "steps": 2000884 },885 {886 "K": 40,887 "S": 36,888 "T": 1.0,889 "american": 4.486687133110599,890 "bsm": 3.84430779159684,891 "european": 3.844338316854942,892 "kind": "put",893 "q": 0.0,894 "r": 0.06,895 "sigma": 0.2,896 "steps": 2000897 }898 ],899 "daycounts": [900 {901 "a": "2024-01-31",902 "actual360": 29,903 "actual365Fixed": 29,904 "actualActualICMA": 29,905 "b": "2024-02-29",906 "thirty360US": 29,907 "thirtyE360": 29908 },909 {910 "a": "2023-02-28",911 "actual360": 366,912 "actual365Fixed": 366,913 "actualActualICMA": 366,914 "b": "2024-02-29",915 "thirty360US": 360,916 "thirtyE360": 361917 },918 {919 "a": "2024-02-29",920 "actual360": 184,921 "actual365Fixed": 184,922 "actualActualICMA": 184,923 "b": "2024-08-31",924 "thirty360US": 180,925 "thirtyE360": 181926 },927 {928 "a": "2025-01-30",929 "actual360": 60,930 "actual365Fixed": 60,931 "actualActualICMA": 60,932 "b": "2025-03-31",933 "thirty360US": 60,934 "thirtyE360": 60935 },936 {937 "a": "2025-01-31",938 "actual360": 59,939 "actual365Fixed": 59,940 "actualActualICMA": 59,941 "b": "2025-03-31",942 "thirty360US": 60,943 "thirtyE360": 60944 },945 {946 "a": "2024-12-15",947 "actual360": 182,948 "actual365Fixed": 182,949 "actualActualICMA": 182,950 "b": "2025-06-15",951 "thirty360US": 180,952 "thirtyE360": 180953 },954 {955 "a": "2023-08-31",956 "actual360": 181,957 "actual365Fixed": 181,958 "actualActualICMA": 181,959 "b": "2024-02-28",960 "thirty360US": 178,961 "thirtyE360": 178962 },963 {964 "a": "2020-02-29",965 "actual360": 365,966 "actual365Fixed": 365,967 "actualActualICMA": 365,968 "b": "2021-02-28",969 "thirty360US": 360,970 "thirtyE360": 359971 },972 {973 "a": "1999-12-31",974 "actual360": 61,975 "actual365Fixed": 61,976 "actualActualICMA": 61,977 "b": "2000-03-01",978 "thirty360US": 61,979 "thirtyE360": 61980 },981 {982 "a": "2024-05-31",983 "actual360": 30,984 "actual365Fixed": 30,985 "actualActualICMA": 30,986 "b": "2024-06-30",987 "thirty360US": 30,988 "thirtyE360": 30989 }990 ],991 "growing_annuities": [992 {993 "c": 1000,994 "due": false,995 "fv": 95093.94533130202,996 "g": 0.03,997 "n": 25,998 "pv": 13885.41866717987,999 "r": 0.081000 },1001 {1002 "c": 1000,1003 "due": false,1004 "fv": 123484.06786144749,1005 "g": 0.05,1006 "n": 30,1007 "pv": 28571.428571428572,1008 "r": 0.051009 },1010 {1011 "c": 1000,1012 "due": false,1013 "fv": 123484.0680319731,1014 "g": 0.0500000001,1015 "n": 30,1016 "pv": 28571.428610884355,1017 "r": 0.051018 },1019 {1020 "c": 500,1021 "due": true,1022 "fv": 16606.859276945917,1023 "g": 0.07,1024 "n": 15,1025 "pv": 9221.199458042714,1026 "r": 0.041027 },1028 {1029 "c": 250,1030 "due": false,1031 "fv": 30750.054791171737,1032 "g": -0.02,1033 "n": 40,1034 "pv": 2989.587598954137,1035 "r": 0.061036 },1037 {1038 "c": 1000,1039 "due": true,1040 "fv": 21550.27591226555,1041 "g": 0.05,1042 "n": 12,1043 "pv": 12000.0,1044 "r": 0.051045 }1046 ],1047 "loan_payments": [1048 {1049 "P": "300000",1050 "comp": "canadianFixed",1051 "freq": "monthly",1052 "name": "canadian_300k_5_25",1053 "payment": 1744.81,1054 "payment_unrounded": 1744.8149551110541,1055 "periodic_rate": 0.004123915465144272,1056 "rate": "0.05",1057 "years": 251058 },1059 {1060 "P": "250000",1061 "comp": "usMonthly",1062 "freq": "monthly",1063 "name": "us_250k_65_30",1064 "payment": 1580.17,1065 "payment_unrounded": 1580.1700587324094,1066 "periodic_rate": 0.005416666666666667,1067 "rate": "0.065",1068 "years": 301069 },1070 {1071 "P": "425000",1072 "comp": "canadianVariable",1073 "freq": "semiMonthly",1074 "name": "cdn_var_semi_monthly",1075 "payment": 1360.97,1076 "payment_unrounded": 1360.9680365929353,1077 "periodic_rate": 0.002476101128267962,1078 "rate": "0.0595",1079 "years": 251080 },1081 {1082 "P": "400000",1083 "comp": "canadianFixed",1084 "freq": "biweekly",1085 "name": "cdn_biweekly",1086 "payment": 1050.65,1087 "payment_unrounded": 1050.6523491105472,1088 "periodic_rate": 0.0018222503840117138,1089 "rate": "0.0479",1090 "years": 251091 },1092 {1093 "P": "400000",1094 "comp": "canadianFixed",1095 "freq": "acceleratedBiweekly",1096 "name": "cdn_acc_biweekly",1097 "payment": 1139.42,1098 "payment_unrounded": 1139.4167242512597,1099 "periodic_rate": 0.0018222503840117138,1100 "rate": "0.0479",1101 "years": 251102 },1103 {1104 "P": "400000",1105 "comp": "canadianFixed",1106 "freq": "weekly",1107 "name": "cdn_weekly",1108 "payment": 525.09,1109 "payment_unrounded": 525.0870734009528,1110 "periodic_rate": 0.0009107104952028206,1111 "rate": "0.0479",1112 "years": 251113 },1114 {1115 "P": "400000",1116 "comp": "canadianFixed",1117 "freq": "acceleratedWeekly",1118 "name": "cdn_acc_weekly",1119 "payment": 569.71,1120 "payment_unrounded": 569.7083621256298,1121 "periodic_rate": 0.0009107104952028206,1122 "rate": "0.0479",1123 "years": 251124 },1125 {1126 "P": "80000",1127 "comp": "4",1128 "freq": "monthly",1129 "name": "quarterly_comp",1130 "payment": 1213.57,1131 "payment_unrounded": 1213.5724338952778,1132 "periodic_rate": 0.005964355736237125,1133 "rate": "0.072",1134 "years": 71135 },1136 {1137 "P": "80000",1138 "comp": "continuous",1139 "freq": "monthly",1140 "name": "continuous",1141 "payment": 1216.1,1142 "payment_unrounded": 1216.1007699505699,1143 "periodic_rate": 0.006018036054064865,1144 "rate": "0.072",1145 "years": 71146 },1147 {1148 "P": "12000",1149 "comp": "usMonthly",1150 "freq": "monthly",1151 "name": "zero_rate",1152 "payment": 250.0,1153 "payment_unrounded": 250.0,1154 "periodic_rate": 0.0,1155 "rate": "0",1156 "years": 41157 }1158 ],1159 "loan_schedules": [1160 {1161 "args": {1162 "P": "300000",1163 "changes": [],1164 "comp": "canadianFixed",1165 "freq": "monthly",1166 "lumps": [],1167 "rate": "0.05",1168 "recurring": [],1169 "years": 251170 },1171 "ending_balance": 0.0,1172 "final_payment": 1747.78,1173 "name": "canadian_300k",1174 "payment": 1744.81,1175 "payments": 300,1176 "probes": [1177 {1178 "balance": 299492.36,1179 "interest": 1237.17,1180 "period": 1,1181 "principal": 507.641182 },1183 {1184 "balance": 298982.63,1185 "interest": 1235.08,1186 "period": 2,1187 "principal": 509.731188 },1189 {1190 "balance": 265522.87,1191 "interest": 1097.66,1192 "period": 60,1193 "principal": 647.151194 },1195 {1196 "balance": 194883.34,1197 "interest": 807.55,1198 "period": 150,1199 "principal": 937.261200 },1201 {1202 "balance": 1740.6,1203 "interest": 14.31,1204 "period": 299,1205 "principal": 1730.51206 },1207 {1208 "balance": 0.0,1209 "interest": 7.18,1210 "period": 300,1211 "principal": 1740.61212 }1213 ],1214 "total_interest": 223445.97,1215 "total_paid": 523445.97,1216 "total_prepayments": 0.0,1217 "total_principal": 300000.01218 },1219 {1220 "args": {1221 "P": "250000",1222 "changes": [],1223 "comp": "usMonthly",1224 "freq": "monthly",1225 "lumps": [],1226 "rate": "0.065",1227 "recurring": [],1228 "years": 301229 },1230 "ending_balance": 0.0,1231 "final_payment": 1580.55,1232 "name": "us_250k",1233 "payment": 1580.17,1234 "payments": 360,1235 "probes": [1236 {1237 "balance": 249774.0,1238 "interest": 1354.17,1239 "period": 1,1240 "principal": 226.01241 },1242 {1243 "balance": 247205.69,1244 "interest": 1340.33,1245 "period": 12,1246 "principal": 239.841247 },1248 {1249 "balance": 181397.99,1250 "interest": 985.79,1251 "period": 180,1252 "principal": 594.381253 },1254 {1255 "balance": 1572.03,1256 "interest": 16.98,1257 "period": 359,1258 "principal": 1563.191259 },1260 {1261 "balance": 0.0,1262 "interest": 8.52,1263 "period": 360,1264 "principal": 1572.031265 }1266 ],1267 "total_interest": 318861.58,1268 "total_paid": 568861.58,1269 "total_prepayments": 0.0,1270 "total_principal": 250000.01271 },1272 {1273 "args": {1274 "P": "400000",1275 "changes": [],1276 "comp": "canadianFixed",1277 "freq": "acceleratedBiweekly",1278 "lumps": [],1279 "rate": "0.0479",1280 "recurring": [],1281 "years": 251282 },1283 "ending_balance": 0.0,1284 "final_payment": 825.68,1285 "name": "acc_biweekly",1286 "payment": 1139.42,1287 "payments": 561,1288 "probes": [1289 {1290 "balance": 399589.48,1291 "interest": 728.9,1292 "period": 1,1293 "principal": 410.521294 },1295 {1296 "balance": 389079.78,1297 "interest": 709.78,1298 "period": 26,1299 "principal": 429.641300 },1301 {1302 "balance": 263621.28,1303 "interest": 481.58,1304 "period": 260,1305 "principal": 657.841306 }1307 ],1308 "total_interest": 238900.88,1309 "total_paid": 638900.88,1310 "total_prepayments": 0.0,1311 "total_principal": 400000.01312 },1313 {1314 "args": {1315 "P": "150000",1316 "changes": [],1317 "comp": "usMonthly",1318 "freq": "weekly",1319 "lumps": [],1320 "rate": "0.039",1321 "recurring": [],1322 "years": 101323 },1324 "ending_balance": 0.0,1325 "final_payment": 345.88,1326 "name": "weekly",1327 "payment": 348.39,1328 "payments": 520,1329 "probes": [1330 {1331 "balance": 149763.97,1332 "interest": 112.36,1333 "period": 1,1334 "principal": 236.031335 },1336 {1337 "balance": 137489.05,1338 "interest": 103.17,1339 "period": 52,1340 "principal": 245.221341 },1342 {1343 "balance": 345.62,1344 "interest": 0.52,1345 "period": 519,1346 "principal": 347.871347 },1348 {1349 "balance": 0.0,1350 "interest": 0.26,1351 "period": 520,1352 "principal": 345.621353 }1354 ],1355 "total_interest": 31160.29,1356 "total_paid": 181160.29,1357 "total_prepayments": 0.0,1358 "total_principal": 150000.01359 },1360 {1361 "args": {1362 "P": "95000",1363 "changes": [],1364 "comp": "4",1365 "freq": "semiMonthly",1366 "lumps": [],1367 "rate": "0.0825",1368 "recurring": [],1369 "years": 51370 },1371 "ending_balance": 0.0,1372 "final_payment": 965.46,1373 "name": "semi_monthly_quarterly_comp",1374 "payment": 965.9,1375 "payments": 120,1376 "probes": [1377 {1378 "balance": 94357.89,1379 "interest": 323.79,1380 "period": 1,1381 "principal": 642.111382 },1383 {1384 "balance": 52331.62,1385 "interest": 181.04,1386 "period": 60,1387 "principal": 784.861388 },1389 {1390 "balance": 0.0,1391 "interest": 3.28,1392 "period": 120,1393 "principal": 962.181394 }1395 ],1396 "total_interest": 20907.56,1397 "total_paid": 115907.56,1398 "total_prepayments": 0.0,1399 "total_principal": 95000.01400 },1401 {1402 "args": {1403 "P": "12000",1404 "changes": [],1405 "comp": "usMonthly",1406 "freq": "monthly",1407 "lumps": [],1408 "rate": "0",1409 "recurring": [],1410 "years": 41411 },1412 "ending_balance": 0.0,1413 "final_payment": 250.0,1414 "name": "zero_rate",1415 "payment": 250.0,1416 "payments": 48,1417 "probes": [1418 {1419 "balance": 11750.0,1420 "interest": 0.0,1421 "period": 1,1422 "principal": 250.01423 },1424 {1425 "balance": 0.0,1426 "interest": 0.0,1427 "period": 48,1428 "principal": 250.01429 }1430 ],1431 "total_interest": 0.0,1432 "total_paid": 12000.0,1433 "total_prepayments": 0.0,1434 "total_principal": 12000.01435 },1436 {1437 "args": {1438 "P": "250000",1439 "changes": [],1440 "comp": "usMonthly",1441 "freq": "monthly",1442 "lumps": [1443 [1444 24,1445 10000.01446 ]1447 ],1448 "rate": "0.065",1449 "recurring": [1450 [1451 1,1452 -1,1453 1,1454 200.01455 ],1456 [1457 12,1458 120,1459 12,1460 1500.01461 ]1462 ],1463 "years": 301464 },1465 "ending_balance": 0.0,1466 "final_payment": 1379.59,1467 "name": "prepayments",1468 "payment": 1580.17,1469 "payments": 224,1470 "probes": [1471 {1472 "balance": 249574.0,1473 "interest": 1354.17,1474 "period": 1,1475 "principal": 226.01476 },1477 {1478 "balance": 226012.56,1479 "interest": 1289.19,1480 "period": 24,1481 "principal": 290.981482 },1483 {1484 "balance": 225456.62,1485 "interest": 1224.23,1486 "period": 25,1487 "principal": 355.941488 },1489 {1490 "balance": 141032.38,1491 "interest": 777.48,1492 "period": 120,1493 "principal": 802.691494 }1495 ],1496 "total_interest": 173357.5,1497 "total_paid": 423357.5,1498 "total_prepayments": 69600.0,1499 "total_principal": 180400.01500 },1501 {1502 "args": {1503 "P": "300000",1504 "changes": [1505 [1506 61,1507 0.065,1508 "recalc"1509 ],1510 [1511 121,1512 0.04,1513 "keep"1514 ]1515 ],1516 "comp": "canadianFixed",1517 "freq": "monthly",1518 "lumps": [],1519 "rate": "0.05",1520 "recurring": [],1521 "years": 251522 },1523 "ending_balance": 0.0,1524 "final_payment": 1205.74,1525 "name": "rate_changes",1526 "payment": 1744.81,1527 "payments": 266,1528 "probes": [1529 {1530 "balance": 265522.87,1531 "interest": 1097.66,1532 "period": 60,1533 "principal": 647.151534 },1535 {1536 "balance": 264975.82,1537 "interest": 1419.15,1538 "period": 61,1539 "principal": 547.051540 },1541 {1542 "balance": 226946.67,1543 "interest": 1216.98,1544 "period": 120,1545 "principal": 749.221546 },1547 {1548 "balance": 225730.73,1549 "interest": 750.26,1550 "period": 121,1551 "principal": 1215.941552 },1553 {1554 "balance": 115804.21,1555 "interest": 388.05,1556 "period": 200,1557 "principal": 1578.151558 }1559 ],1560 "total_interest": 208965.34,1561 "total_paid": 508965.34,1562 "total_prepayments": 0.0,1563 "total_principal": 300000.01564 },1565 {1566 "args": {1567 "P": "200000",1568 "changes": [1569 [1570 13,1571 0.045,1572 "keep"1573 ]1574 ],1575 "comp": "canadianVariable",1576 "freq": "monthly",1577 "lumps": [],1578 "rate": "0.03",1579 "recurring": [],1580 "years": 251581 },1582 "ending_balance": 0.0,1583 "final_payment": 702.79,1584 "name": "rate_up_keep_payment",1585 "payment": 948.42,1586 "payments": 404,1587 "probes": [1588 {1589 "balance": 194544.35,1590 "interest": 487.51,1591 "period": 12,1592 "principal": 460.911593 },1594 {1595 "balance": 194325.47,1596 "interest": 729.54,1597 "period": 13,1598 "principal": 218.881599 },1600 {1601 "balance": 81384.83,1602 "interest": 307.6,1603 "period": 300,1604 "principal": 640.821605 }1606 ],1607 "total_interest": 182916.05,1608 "total_paid": 382916.05,1609 "total_prepayments": 0.0,1610 "total_principal": 200000.01611 },1612 {1613 "args": {1614 "P": "20000",1615 "changes": [],1616 "comp": "usMonthly",1617 "freq": "monthly",1618 "lumps": [],1619 "override": "500",1620 "rate": "0.0699",1621 "recurring": [],1622 "years": 51623 },1624 "ending_balance": 0.0,1625 "final_payment": 336.41,1626 "name": "payment_override",1627 "payment": 500.0,1628 "payments": 46,1629 "probes": [1630 {1631 "balance": 19616.5,1632 "interest": 116.5,1633 "period": 1,1634 "principal": 383.51635 },1636 {1637 "balance": 15247.68,1638 "interest": 91.2,1639 "period": 12,1640 "principal": 408.81641 }1642 ],1643 "total_interest": 2836.41,1644 "total_paid": 22836.41,1645 "total_prepayments": 0.0,1646 "total_principal": 20000.01647 },1648 {1649 "args": {1650 "P": "300000",1651 "changes": [],1652 "comp": "canadianFixed",1653 "freq": "monthly",1654 "lumps": [],1655 "rate": "0.05",1656 "recurring": [],1657 "stop": 60,1658 "years": 251659 },1660 "ending_balance": 265522.87,1661 "final_payment": 1744.81,1662 "name": "term_5y",1663 "payment": 1744.81,1664 "payments": 60,1665 "probes": [1666 {1667 "balance": 265522.87,1668 "interest": 1097.66,1669 "period": 60,1670 "principal": 647.151671 }1672 ],1673 "total_interest": 70211.47,1674 "total_paid": 104688.6,1675 "total_prepayments": 0.0,1676 "total_principal": 34477.131677 }1678 ],1679 "rates": {1680 "eff_6_continuous": 0.061836546545359625,1681 "eff_6_monthly": 0.06167781186449957,1682 "monthly_from_semi_5": 0.04948698558173126,1683 "nom_cont_from_eff_5": 0.048790164169432,1684 "nom_semi_from_eff_5": 0.0493901531919196741685 },1686 "refinance": [1687 {1688 "current_interest": 246148.03,1689 "current_payment": 1620.5,1690 "financed": false,1691 "lifetime_savings": 50188.2,1692 "net_break_even": 19,1693 "new_interest": 191459.83,1694 "new_payment": 1438.19,1695 "savings": 182.31,1696 "simple_break_even": 24.6832318578245841697 },1698 {1699 "current_interest": 246148.03,1700 "current_payment": 1620.5,1701 "financed": true,1702 "lifetime_savings": 46599.6,1703 "net_break_even": 20,1704 "new_interest": 195048.43,1705 "new_payment": 1465.16,1706 "savings": 155.34,1707 "simple_break_even": 28.9687137891077631708 }1709 ],1710 "returns": {1711 "annualized_35pct_2_5y": 0.12754402362951892,1712 "arithmetic": 0.06,1713 "cagr_10000_18500_7y": 0.09186109049751892,1714 "deflate_1000_25y_2pct": 609.5308705282791,1715 "fv_annuity_ord_500_6pct_15": 11637.984942497415,1716 "geometric": 0.050235020241461384,1717 "pv_annuity_due_500_6pct_15": 5147.491963502723,1718 "pv_annuity_tiny_rate": 35999.99935020001,1719 "real_7_nominal_3_inflation": 0.038834951456310676,1720 "series": [1721 0.12,1722 -0.08,1723 0.25,1724 0.03,1725 -0.15,1726 0.191727 ],1728 "twr": 0.0175362318840579721729 },1730 "tvm": [1731 {1732 "begin": false,1733 "cy": 12,1734 "fv": -1.055047678731551,1735 "iy": 6.0,1736 "n": 360,1737 "name": "us_mortgage",1738 "periodic_rate": 0.005,1739 "pmt": -1199.1,1740 "pv": 200000.0,1741 "py": 121742 },1743 {1744 "begin": false,1745 "cy": 1,1746 "fv": 1628.8946267774413,1747 "iy": 5.0,1748 "n": 10,1749 "name": "lump_sum",1750 "periodic_rate": 0.05,1751 "pmt": 0.0,1752 "pv": -1000.0,1753 "py": 11754 },1755 {1756 "begin": true,1757 "cy": 1,1758 "fv": 21932.588391858655,1759 "iy": 7.0,1760 "n": 20,1761 "name": "annuity_due",1762 "periodic_rate": 0.07,1763 "pmt": -500.0,1764 "pv": 0.0,1765 "py": 11766 },1767 {1768 "begin": false,1769 "cy": 2,1770 "fv": -2.92832005392349,1771 "iy": 5.0,1772 "n": 300,1773 "name": "canadian_py12_cy2",1774 "periodic_rate": 0.004123915465144272,1775 "pmt": -1744.81,1776 "pv": 300000.0,1777 "py": 121778 },1779 {1780 "begin": false,1781 "cy": 12,1782 "fv": 0.0,1783 "iy": 0.0,1784 "n": 48,1785 "name": "zero_rate",1786 "periodic_rate": 0.0,1787 "pmt": -250.0,1788 "pv": 12000.0,1789 "py": 121790 },1791 {1792 "begin": false,1793 "cy": 1,1794 "fv": 1731.7087724498124,1795 "iy": -2.0,1796 "n": 10,1797 "name": "negative_rate",1798 "periodic_rate": -0.02,1799 "pmt": -100.0,1800 "pv": -1000.0,1801 "py": 11802 },1803 {1804 "begin": true,1805 "cy": 12,1806 "fv": 23457.582389088406,1807 "iy": 8.0,1808 "n": 40,1809 "name": "quarterly_pay_monthly_comp_begin",1810 "periodic_rate": 0.02013362962962963,1811 "pmt": -200.0,1812 "pv": -5000.0,1813 "py": 41814 },1815 {1816 "begin": false,1817 "cy": 365,1818 "fv": -3277.94452323244,1819 "iy": 3.5,1820 "n": 24,1821 "name": "daily_compounding",1822 "periodic_rate": 0.0029207840375557966,1823 "pmt": -300.0,1824 "pv": 10000.0,1825 "py": 121826 },1827 {1828 "begin": false,1829 "cy": 12,1830 "fv": 1300.00000695,1831 "iy": 1e-07,1832 "n": 120,1833 "name": "tiny_rate",1834 "periodic_rate": 8.333333333333333e-11,1835 "pmt": -10.0,1836 "pv": -100.0,1837 "py": 121838 },1839 {1840 "begin": true,1841 "cy": 2,1842 "fv": 42392.794287761804,1843 "iy": 4.25,1844 "n": 180,1845 "name": "savings_begin_semiannual_comp",1846 "periodic_rate": 0.003510709353373677,1847 "pmt": -150.0,1848 "pv": -2500.0,1849 "py": 121850 },1851 {1852 "begin": true,1853 "cy": 12,1854 "fv": -17487.727795391827,1855 "iy": 3.9,1856 "n": 48,1857 "name": "lease_with_residual",1858 "periodic_rate": 0.00325,1859 "pmt": -450.0,1860 "pv": 35000.0,1861 "py": 121862 }1863 ],1864 "xirr": [1865 {1866 "flows": [1867 [1868 "2008-01-01",1869 -100001870 ],1871 [1872 "2008-03-01",1873 27501874 ],1875 [1876 "2008-10-30",1877 42501878 ],1879 [1880 "2009-02-15",1881 32501882 ],1883 [1884 "2009-04-01",1885 27501886 ]1887 ],1888 "name": "excel_xirr_example",1889 "rate": 0.373362533518831531890 },1891 {1892 "flows": [1893 [1894 "2022-01-03",1895 -250001896 ],1897 [1898 "2022-06-15",1899 -50001900 ],1901 [1902 "2023-02-01",1903 30001904 ],1905 [1906 "2023-09-30",1907 -40001908 ],1909 [1910 "2024-12-31",1911 36250.751912 ]1913 ],1914 "name": "portfolio_with_contributions",1915 "rate": 0.057266569811990691916 },1917 {1918 "flows": [1919 [1920 "2023-05-01",1921 -100001922 ],1923 [1924 "2024-05-01",1925 4001926 ],1927 [1928 "2025-05-01",1929 82001930 ]1931 ],1932 "name": "loss",1933 "rate": -0.074140796895126411934 }1935 ],1936 "yield_to_call": {1937 "accrued": 1.711111111111111,1938 "call_price": 104,1939 "clean": 106.5,1940 "ytc": 0.06954330383360321941 }1942}1943