shreysrins/fixedincome

fi.bonds.yield_(): special case never triggered

Closed this issue · 0 comments

len(_coupon_dates) is always at least 2, so the special case is never triggered; we must adjust as the previous coupon date is included in _coupon_dates.