Examples of YieldCurveConfigPopulator


Examples of com.opengamma.financial.analytics.ircurve.YieldCurveConfigPopulator

  public void afterPropertiesSet() {
    final ConfigMaster cm = getConfigMaster();
    ArgumentChecker.notNull(cm, "ConfigMaster");

    if (isYieldCurve()) {
      new YieldCurveConfigPopulator(cm);
    }
    if (isCurrencyMatrix()) {
      // TODO: [PLAT-2379] This won't work if the currency pair conventions aren't already loaded
      CurrencyMatrixConfigPopulator.populateCurrencyMatrixConfigMaster(cm);
    }
View Full Code Here

Examples of com.opengamma.financial.analytics.ircurve.YieldCurveConfigPopulator

    for (final Currency ccy : ExampleSwaptionPortfolioLoader.CCYS) {
      swaptionSurfaces.put(ccy, "DEFAULT");
    }
    final Map<UnorderedCurrencyPair, Triple<String, String, String>> fxForward = new HashMap<>();
    fxForward.put(UnorderedCurrencyPair.of(Currency.USD, Currency.JPY), new Triple<>("DEFAULT", "JPY", "JPY"));
    new YieldCurveConfigPopulator(configMaster, false);
    FXOptionVolatilitySurfaceConfigPopulator.populateVolatilitySurfaceConfigMaster(configMaster, fxSurfaces);
    SwaptionVolatilitySurfaceConfigPopulator.populateVolatilitySurfaceConfigMaster(configMaster, swaptionSurfaces);
    FXForwardCurveConfigPopulator.populateFXForwardCurveConfigMaster(configMaster, fxForward);
    new VolatilityCubeConfigPopulator(configMaster);
    new ExampleFXImpliedMultiCurveCalculationConfigPopulator(configMaster);
View Full Code Here

Examples of com.opengamma.financial.analytics.ircurve.YieldCurveConfigPopulator

public class ExampleCurveAndSurfaceDefinitionLoader extends AbstractTool<ToolContext> {

  @Override
  protected void doRun() throws Exception {
    final ConfigMaster configMaster = getToolContext().getConfigMaster();
    new YieldCurveConfigPopulator(configMaster, true);
    ExampleFXOptionVolatilitySurfaceConfigPopulator.populateVolatilitySurfaceConfigMaster(configMaster, ExampleViewsPopulator.CURRENCY_PAIRS);
    ExampleATMSwaptionVolatilitySurfaceConfigPopulator.populateVolatilitySurfaceConfigMaster(configMaster, ExampleViewsPopulator.SWAPTION_SURFACES);
    ExampleFXForwardCurveConfigPopulator.populateCurveConfigMaster(configMaster, ExampleViewsPopulator.CURRENCY_PAIRS);
    new VolatilityCubeConfigPopulator(configMaster);
  }
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.