security.setUniqueId(UniqueId.of(UniqueId.EXTERNAL_SCHEME.getName(), "98797"));
return security;
}
public static EquityVarianceSwapSecurity getEquityVarianceSwapSecurity() {
final EquityVarianceSwapSecurity security = new EquityVarianceSwapSecurity(ExternalSchemes.syntheticSecurityId("SPX"), USD, 130, 100000, false, 252, DateUtils.getUTCDate(2012, 1, 1),
DateUtils.getUTCDate(2015, 1, 1), DateUtils.getUTCDate(2011, 1, 1), US, PeriodFrequency.DAILY);
security.setUniqueId(UniqueId.of(UniqueId.EXTERNAL_SCHEME.getName(), "93867"));
return security;
}