private MySecurityGenerator<ManageableSecurity> getSwapParityGenerator() {
final ZonedDateTime tradeDate = DateUtils.previousWeekDay().atStartOfDay(ZoneOffset.UTC);
final ZonedDateTime effectiveDate = tradeDate;
final ZonedDateTime maturity = DateUtils.getUTCDate(2024, 9, 5);
final InterestRateNotional notional = new InterestRateNotional(CURRENCY, 10000000);
final FloatingInterestRateLeg receiveLeg1 = new FloatingInterestRateLeg(ACT_360, QUARTERLY, REGION, MODIFIED_FOLLOWING, notional, true, LIBOR_3M, FloatingRateType.IBOR);
final FixedInterestRateLeg payLeg1 = new FixedInterestRateLeg(THIRTYU_360, SEMI_ANNUAL, REGION, MODIFIED_FOLLOWING, notional, true, 0.02);
final SwapSecurity swap1 = new SwapSecurity(tradeDate, effectiveDate, maturity, COUNTERPARTY, payLeg1, receiveLeg1);
swap1.setName("Pay Fixed @ 2% v USD 3m Libor");
final SwapSecurity swap2 = new SwapSecurity(tradeDate, effectiveDate, maturity, COUNTERPARTY, receiveLeg1, payLeg1);
swap2.setName("Receive Fixed @ 2% v USD 3m Libor");