cashInstrumentProviders.put(Tenor.ofDays(7), new StaticCurveInstrumentProvider(ExternalSchemes.bloombergTickerSecurityId("EUR001W Curncy")));
final Map<Tenor, CurveInstrumentProvider> fra3MInstrumentProviders = new LinkedHashMap<>();
final Object[][] tenorsTickers3MFRAs = new Object[][] { {Tenor.THREE_MONTHS, "EUFR00C Curncy"}, {Tenor.SIX_MONTHS, "EUFR0CF Curncy"}};
for (final Object[] tenorsTickers3MFRA : tenorsTickers3MFRAs) {
final Tenor tenor = (Tenor) tenorsTickers3MFRA[0];
final String ticker = (String) tenorsTickers3MFRA[1];
fra3MInstrumentProviders.put(tenor, new StaticCurveInstrumentProvider(ExternalSchemes.bloombergTickerSecurityId(ticker)));
}
final Map<Tenor, CurveInstrumentProvider> fra6MInstrumentProviders = new LinkedHashMap<>();
final Object[][] tenorsTickers6MFRAs = new Object[][] { {Tenor.SIX_MONTHS, "EUFR00F Curncy"}, {Tenor.NINE_MONTHS, "EUFR0CI Curncy"}};
for (final Object[] tenorsTickers6MFRA : tenorsTickers6MFRAs) {
final Tenor tenor = (Tenor) tenorsTickers6MFRA[0];
final String ticker = (String) tenorsTickers6MFRA[1];
fra3MInstrumentProviders.put(tenor, new StaticCurveInstrumentProvider(ExternalSchemes.bloombergTickerSecurityId(ticker)));
}
final Map<Tenor, CurveInstrumentProvider> liborInstrumentProviders = new LinkedHashMap<>();
final Object[][] tenorsLiborTickers = new Object[][] { {Tenor.ONE_WEEK, "EU0003W Index"}, {Tenor.ONE_MONTH, "EU0001M Index"}};
for (final Object[] tenorsLiborTicker : tenorsLiborTickers) {
final Tenor tenor = (Tenor) tenorsLiborTicker[0];
final String ticker = (String) tenorsLiborTicker[1];
liborInstrumentProviders.put(tenor, new StaticCurveInstrumentProvider(ExternalSchemes.bloombergTickerSecurityId(ticker)));
}
final Map<Tenor, CurveInstrumentProvider> euriborInstrumentProviders = new LinkedHashMap<>();
final Object[][] tenorsEuriborTickers = new Object[][] { {Tenor.ONE_WEEK, "EUR003W Index"}, {Tenor.ONE_MONTH, "EUR001M Index"}};
for (final Object[] tenorsEuriborTicker : tenorsEuriborTickers) {
final Tenor tenor = (Tenor) tenorsEuriborTicker[0];
final String ticker = (String) tenorsEuriborTicker[1];
euriborInstrumentProviders.put(tenor, new StaticCurveInstrumentProvider(ExternalSchemes.bloombergTickerSecurityId(ticker)));
}
final Map<Tenor, CurveInstrumentProvider> futureInstrumentProviders = new LinkedHashMap<>();