Repository navigation
Would a fixed-rate bond reconciliation example be useful? #470
Kiril1Shevtsov
started this conversation in
Ideas
Replies: 1 comment 1 reply
|
Hi - This sounds useful. But I am not sure where to deploy it. For valuation analysis I have just introduced a valuationlog class. Maybe put an example of how it works in with a separate unit test so I can understand it more fully. |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I put together a small offline prototype for reconciling fixed-rate bond calculations. It produces a JSON receipt with the cash-flow schedule, accrued interest, and clean/dirty prices, then compares two receipts. If two calculations disagree, you can see whether the difference starts in the schedule, the accrual, or the pricing step instead of comparing just the final price.
So far I’ve checked 75 controlled synthetic cases against FinancePy 1.1.2 and a separately implemented Decimal reference. The prototype doesn’t change FinancePy or require a new dependency in the library. It’s scoped to fixed-rate bonds, not a general pricing audit.
Would a small runnable example with synthetic fixtures be useful for the FinancePy docs or regression tests? If so, I’d be happy to prepare it as an example rather than propose an API change.
All reactions