Skip to content

Add PRICE, YIELD, DURATION, and MDURATION#78

Open
BrianHung wants to merge 2 commits into
mainfrom
financial-formulas-price-yield-duration-mduration
Open

Add PRICE, YIELD, DURATION, and MDURATION#78
BrianHung wants to merge 2 commits into
mainfrom
financial-formulas-price-yield-duration-mduration

Conversation

@BrianHung

Copy link
Copy Markdown
Owner

Summary

  • implement PRICE and YIELD with frequency/basis handling
  • add DURATION and MDURATION calculations and shared helpers
  • wire parser fallback, static analysis, tests, and docs updates

Test plan

  • cargo test --package ironcalc_base price_yield
  • cargo test --package ironcalc_base duration_mduration

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.
Implement PRICE, YIELD, DURATION, and MDURATION with parser fallback, static analysis, tests, and docs updates.
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