Skip to content

Commit c722e34

Browse files
author
JEAN-PROST Frédéric
committed
Pricer-2592 fill isRegular boolean to FixedCouponBondPaymentPeriod
1 parent 74503c0 commit c722e34

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

modules/product/src/main/java/com/opengamma/strata/product/bond/FixedCouponBond.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,7 @@ public ResolvedFixedCouponBond resolve(ReferenceData refData) {
189189
.currency(currency)
190190
.fixedRate(fixedRate)
191191
.yearFraction(unadjustedPeriod.yearFraction(dayCount, unadjustedSchedule))
192+
.isRegular(period.isRegular(accrualSchedule.getFrequency(), accrualSchedule.calculatedRollConvention()))
192193
.build());
193194
}
194195
ImmutableList<FixedCouponBondPaymentPeriod> periodicPayments = accrualPeriods.build();

0 commit comments

Comments
 (0)