public static BondFutureSecurity makeUSBondFuture() {
Expiry expiry = new Expiry(ZonedDateTime.of(LocalDateTime.of(2010, Month.JUNE, 21, 20, 0), ZoneOffset.UTC),
ExpiryAccuracy.MIN_HOUR_DAY_MONTH_YEAR);
Set<BondFutureDeliverable> basket = new HashSet<>();
basket.add(new BondFutureDeliverable(ExternalIdBundle.of(
ExternalSchemes.bloombergBuidSecurityId("GV912810EV6")), 1.0858));
basket.add(new BondFutureDeliverable(ExternalIdBundle.of(
ExternalSchemes.bloombergBuidSecurityId("GV912810FB9")), 1.0132));
basket.add(new BondFutureDeliverable(ExternalIdBundle.of(
ExternalSchemes.bloombergBuidSecurityId("GV912810PX0")), 0.7984));
basket.add(new BondFutureDeliverable(ExternalIdBundle.of(
ExternalSchemes.bloombergBuidSecurityId("GV912810FG8")), 0.9169));
basket.add(new BondFutureDeliverable(ExternalIdBundle.of(
ExternalSchemes.bloombergBuidSecurityId("GV912810QD3")), 0.7771));
basket.add(new BondFutureDeliverable(ExternalIdBundle.of(
ExternalSchemes.bloombergBuidSecurityId("GV912810FF0")), 0.9174));
basket.add(new BondFutureDeliverable(ExternalIdBundle.of(
ExternalSchemes.bloombergBuidSecurityId("GV912810PW2")), 0.7825));
basket.add(new BondFutureDeliverable(ExternalIdBundle.of(
ExternalSchemes.bloombergBuidSecurityId("GV912810FE3")), 0.9454));
basket.add(new BondFutureDeliverable(ExternalIdBundle.of(
ExternalSchemes.bloombergBuidSecurityId("GV912810QH4")), 0.7757));
basket.add(new BondFutureDeliverable(ExternalIdBundle.of(
ExternalSchemes.bloombergBuidSecurityId("GV912810PU6")), 0.8675));
basket.add(new BondFutureDeliverable(ExternalIdBundle.of(
ExternalSchemes.bloombergBuidSecurityId("GV912810EX2")), 1.0765));
basket.add(new BondFutureDeliverable(ExternalIdBundle.of(
ExternalSchemes.bloombergBuidSecurityId("GV912810FT0")), 0.8054));
basket.add(new BondFutureDeliverable(ExternalIdBundle.of(
ExternalSchemes.bloombergBuidSecurityId("GV912810FJ2")), 1.0141));
basket.add(new BondFutureDeliverable(ExternalIdBundle.of(
ExternalSchemes.bloombergBuidSecurityId("GV912810PT9")), 0.8352));
basket.add(new BondFutureDeliverable(ExternalIdBundle.of(
ExternalSchemes.bloombergBuidSecurityId("GV912810QE1")), 0.8109));
basket.add(new BondFutureDeliverable(ExternalIdBundle.of(
ExternalSchemes.bloombergBuidSecurityId("GV912810FP8")), 0.9268));
basket.add(new BondFutureDeliverable(ExternalIdBundle.of(
ExternalSchemes.bloombergBuidSecurityId("GV912810QA9")), 0.6606));
basket.add(new BondFutureDeliverable(ExternalIdBundle.of(
ExternalSchemes.bloombergBuidSecurityId("GV912810FM5")), 1.0286));
basket.add(new BondFutureDeliverable(ExternalIdBundle.of(
ExternalSchemes.bloombergBuidSecurityId("GV912810EY0")), 1.0513));
basket.add(new BondFutureDeliverable(ExternalIdBundle.of(
ExternalSchemes.bloombergBuidSecurityId("GV912810QB7")), 0.7616));
basket.add(new BondFutureDeliverable(ExternalIdBundle.of(
ExternalSchemes.bloombergBuidSecurityId("GV912810QC5")), 0.795));
basket.add(new BondFutureDeliverable(ExternalIdBundle.of(
ExternalSchemes.bloombergBuidSecurityId("GV912810EZ7")), 1.0649));
basket.add(new BondFutureDeliverable(ExternalIdBundle.of(
ExternalSchemes.bloombergBuidSecurityId("GV912810EW4")), 1.0));
basket.add(new BondFutureDeliverable(ExternalIdBundle.of(
ExternalSchemes.bloombergBuidSecurityId("GV912810FA1")), 1.0396));
BondFutureSecurity sec = new BondFutureSecurity(expiry, "XCBT", "XCBT", USD, 100000, basket,
LocalDateTime.of(2010, 6, 01, 0, 0, 0, 0).atZone(ZoneOffset.UTC),
LocalDateTime.of(2010, 6, 30, 0, 0, 0, 0).atZone(ZoneOffset.UTC),