Skip to content

Use semi-annual coupons for Australia, Japan and New Zealand bond markets - #467

Merged
domokane merged 1 commit into
FinancePy-Org:masterfrom
wavebyrd:fix/bond-market-coupon-frequency
Nov 22, 2026
Merged

domokane merged 1 commit into
FinancePy-Org:masterfrom
wavebyrd:fix/bond-market-coupon-frequency

Conversation

@wavebyrd

Copy link
Copy Markdown
Contributor

get_bond_market_conventions returns FrequencyTypes.ANNUAL for AUSTRALIA, JAPAN and NEW_ZEALAND, but government bonds in all three markets pay fixed coupons twice a year, so a Bond built from these conventions gets the wrong cash flows. This changes the three entries to SEMI_ANNUAL; the day count, settlement days and ex-dividend days are unchanged.

References:

Added test_bond_market_semi_annual_coupons to tests/unit/test_bond.py; it fails without the change and the full unit suite passes with it (1881 passed). Nothing else in the repo uses these three markets, so no golden files change.

@domokane
domokane merged commit 8e98ebb into FinancePy-Org:master Nov 22, 2026
2 checks passed
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.

2 participants