security.setUniqueId(UniqueId.of(UniqueId.EXTERNAL_SCHEME.getName(), "556"));
return security;
}
public static CorporateBondSecurity getCorporateBondSecurity() {
final CorporateBondSecurity security = new CorporateBondSecurity("OG", "Company", "US", "US", 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(), "94876"));
return security;
}