Skip to content

Reject zero accrual Ibor FRAs - #375

Merged
domokane merged 2 commits into
domokane:masterfrom
dajiaohuang:fix/ibor-fra-positive-accrual-period
Oct 2, 2026
Merged

domokane merged 2 commits into
domokane:masterfrom
dajiaohuang:fix/ibor-fra-positive-accrual-period

Conversation

@dajiaohuang

@dajiaohuang dajiaohuang commented Oct 2, 2026 •

Copy link
Copy Markdown
Contributor

Closes #374. Reject equal accrual start/maturity dates in the FRA constructor, before valuation or reporting divides by the zero accrual fraction. Keep the existing backwards-date rejection.

Added date/zero-tenor/backwards-date cases and a real positive-period par-rate valuation against a flat discount curve. These four cases and the four existing Ibor futures tests pass (8 tests). The CRLF-aware Git whitespace check passes.

@domokane
domokane merged commit cbaa1a8 into domokane:master Oct 2, 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.

Reject zero-accrual Ibor FRAs

2 participants