Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added first coupon dayCounter to FixedRateBond #867

Merged
merged 2 commits into from
Jul 30, 2020

Conversation

jacobleehowes
Copy link
Contributor

Canadian bonds have a different day count convention on a short first stub for both cashflow generation and accrual. This modification adds support for an additional first coupon day counter in the FixedRateBond class. The only api change is a new optional argument in two of the FixedRateBond constructors.

@boring-cyborg
Copy link

boring-cyborg bot commented Jul 22, 2020

Thanks for opening this pull request! It might take a while before we look at it, so don't worry if there seems to be no feedback. We'll get to it.

@CLAassistant
Copy link

CLAassistant commented Jul 22, 2020

CLA assistant check
All committers have signed the CLA.

@coveralls
Copy link

coveralls commented Jul 22, 2020

Coverage Status

Coverage decreased (-0.003%) to 71.021% when pulling 18670c6 on jacobleehowes:master into d06527e on lballabio:master.

@lballabio lballabio added this to the 1.20 release milestone Jul 22, 2020
ql/instruments/bonds/fixedratebond.hpp Outdated Show resolved Hide resolved
ql/instruments/bonds/fixedratebond.hpp Outdated Show resolved Hide resolved
ql/instruments/bonds/fixedratebond.cpp Outdated Show resolved Hide resolved
@lballabio lballabio merged commit 223026d into lballabio:master Jul 30, 2020
@boring-cyborg
Copy link

boring-cyborg bot commented Jul 30, 2020

Congratulations on your first merged pull request!

andreasf-ki pushed a commit to andreasf-ki/QuantLib that referenced this pull request Aug 4, 2020
This reverts commit 223026d, reversing
changes made to 88a0a65.
andreasf-ki pushed a commit to andreasf-ki/QuantLib that referenced this pull request Aug 4, 2020
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.

None yet

4 participants