Examples of BloombergFXOptionVolatilitySurfaceInstrumentProvider


Examples of com.opengamma.financial.analytics.volatility.surface.BloombergFXOptionVolatilitySurfaceInstrumentProvider

    }
    String schemeName = message.getString(SCHEME_NAME_FIELD);
    if (schemeName == null) {
      schemeName = ExternalSchemes.BLOOMBERG_TICKER_WEAK.getName();
    }
    return new BloombergFXOptionVolatilitySurfaceInstrumentProvider(prefix, message.getString(POSTFIX_FIELD_NAME), message.getString(DATA_FIELD_NAME), schemeName);
  }
View Full Code Here

Examples of com.opengamma.financial.analytics.volatility.surface.BloombergFXOptionVolatilitySurfaceInstrumentProvider

  private static final String POSTFIX = "Curncy";
  private static final String DATA_FIELD_NAME = "PX_LAST";

  @Test
  public void testCycle() {
    BloombergFXOptionVolatilitySurfaceInstrumentProvider provider = new BloombergFXOptionVolatilitySurfaceInstrumentProvider(PREFIX, POSTFIX, DATA_FIELD_NAME);
    assertEquals(provider, cycleObject(BloombergFXOptionVolatilitySurfaceInstrumentProvider.class, provider));
    provider = new BloombergFXOptionVolatilitySurfaceInstrumentProvider(PREFIX, POSTFIX, DATA_FIELD_NAME, ExternalSchemes.BLOOMBERG_TCM.getName());
    assertEquals(provider, cycleObject(BloombergFXOptionVolatilitySurfaceInstrumentProvider.class, provider));
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.