Skip to content

Add PRICEMAT and YIELDMAT functions#80

Open
BrianHung wants to merge 4 commits into
mainfrom
financial-formulas-pricemat-yieldmat
Open

Add PRICEMAT and YIELDMAT functions#80
BrianHung wants to merge 4 commits into
mainfrom
financial-formulas-pricemat-yieldmat

Conversation

@BrianHung

Copy link
Copy Markdown
Owner

Summary

  • implement PRICEMAT and YIELDMAT using year-fraction calculations
  • wire parser fallback and static analysis entries
  • add tests and update docs availability

Test plan

  • cargo test --package ironcalc_base pricemat_yieldmat

Implements COUPDAYBS, COUPDAYS, COUPDAYSNC, COUPNCD, COUPNUM and COUPPCD
with shared date/basis helpers, wires them into dispatch and static analysis,
adds parser fallbacks, tests, and docs.
Introduce PRICEDISC, YIELDDISC, DISC, RECEIVED, and INTRATE with shared year-fraction helper, tests, and docs updates.
Implement at-maturity price and yield calculations with parser fallback, static analysis, tests, and docs updates.
Reject settlements before issue date to match YIELDMAT and Excel validation rules.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant