security.setUniqueId(UniqueId.of(UniqueId.EXTERNAL_SCHEME.getName(), "23456"));
return security;
}
public static MunicipalBondSecurity getMunicipalBondSecurity() {
final MunicipalBondSecurity security = new MunicipalBondSecurity("NY", "NY", "NY", "NY", USD, SimpleYieldConvention.TRUE, new Expiry(DateUtils.getUTCDate(2020, 1, 1)),
"Coupon", 0.01, PeriodFrequency.SEMI_ANNUAL,
DC, DateUtils.getUTCDate(2010, 1, 1), DateUtils.getUTCDate(2010, 1, 1), DateUtils.getUTCDate(2010, 1, 1), 100., 300, 1, 1, 100, 1);
security.setUniqueId(UniqueId.of(UniqueId.EXTERNAL_SCHEME.getName(), "65465"));
return security;
}