}
public static EquityFutureSecurity makeEquityFuture() {
Expiry expiry = new Expiry(ZonedDateTime.of(LocalDateTime.of(2010, Month.JUNE, 17, 21, 15),
ZoneOffset.UTC), ExpiryAccuracy.MIN_HOUR_DAY_MONTH_YEAR);
EquityFutureSecurity sec = new EquityFutureSecurity(expiry, "XCME", "XCME", USD, 250,
ZonedDateTime.of(LocalDateTime.of(2010, Month.JUNE, 17, 21, 15), ZoneOffset.UTC), ExternalSchemes.bloombergTickerSecurityId("SPX Index"), "Equity");
sec.setName("S&P 500 FUTURE Jun10");
sec.setUnderlyingId(ExternalSchemes.bloombergTickerSecurityId("SPX Index"));
Set<ExternalId> identifiers = new HashSet<>();
identifiers.add(ExternalSchemes.bloombergBuidSecurityId("IX6835907-0"));
identifiers.add(ExternalSchemes.cusipSecurityId("SPM10"));
identifiers.add(ExternalSchemes.bloombergTickerSecurityId("SPM10 Index"));
sec.setExternalIdBundle(ExternalIdBundle.of(identifiers));
sec.setUniqueId(BloombergSecurityProvider.createUniqueId("IX6835907-0"));
return sec;
}