Examples of run()


Examples of com.opengamma.examples.bloomberg.loader.ExampleEURFixedIncomePortfolioLoader.run()

  private void loadEURSwapDeskPortfolio() {
    final Log log = new Log("Creating example EUR swap desk portfolio");
    try {
      final ExampleEURFixedIncomePortfolioLoader loader = new ExampleEURFixedIncomePortfolioLoader();
      loader.run(getToolContext());
      log.done();
    } catch (final RuntimeException t) {
      log.fail(t);
    }
  }
View Full Code Here

Examples of com.opengamma.examples.bloomberg.loader.ExampleEquityPortfolioLoader.run()

  private void loadEquityPortfolio() {
    final Log log = new Log("Loading example Equity portfolio");
    try {
      final ExampleEquityPortfolioLoader equityLoader = new ExampleEquityPortfolioLoader();
      equityLoader.run(getToolContext());
      _historicalDataToLoad.add(ExternalId.of(ExternalSchemes.BLOOMBERG_TICKER, "SPX Index"));
      log.done();
    } catch (final RuntimeException t) {
      log.fail(t);
    }
View Full Code Here

Examples of com.opengamma.examples.bloomberg.loader.ExampleFunctionConfigurationPopulator.run()

  private void loadFunctionConfigurations() {
    final Log log = new Log("Creating function configuration definitions");
    try {
      final ExampleFunctionConfigurationPopulator populator = new ExampleFunctionConfigurationPopulator();
      populator.run(getToolContext());
      log.done();
    } catch (final RuntimeException t) {
      log.fail(t);
    }
  }
View Full Code Here

Examples of com.opengamma.examples.bloomberg.loader.ExampleFxForwardPortfolioLoader.run()

  private void loadFXForwardPortfolio() {
    final Log log = new Log("Creating example FX forward portfolio");
    try {
      final ExampleFxForwardPortfolioLoader fxForwardLoader = new ExampleFxForwardPortfolioLoader();
      fxForwardLoader.run(getToolContext());
      log.done();
    } catch (final RuntimeException t) {
      log.fail(t);
    }
  }
View Full Code Here

Examples of com.opengamma.examples.bloomberg.loader.ExampleMixedCMCapFloorPortfolioLoader.run()

  private void loadCMCapFloorPortfolio() {
    final Log log = new Log("Creating example constant maturity swap and cap/floor portfolio");
    try {
      final ExampleMixedCMCapFloorPortfolioLoader loader = new ExampleMixedCMCapFloorPortfolioLoader();
      loader.run(getToolContext());
      log.done();
    } catch (final RuntimeException t) {
      log.fail(t);
    }
  }
View Full Code Here

Examples of com.opengamma.examples.bloomberg.loader.ExampleMultiCurrencySwapPortfolioLoader.run()

  private void loadMultiCurrencySwapPortfolio() {
    final Log log = new Log("Creating example multi-currency swap portfolio");
    try {
      final ExampleMultiCurrencySwapPortfolioLoader multiCurrSwapLoader = new ExampleMultiCurrencySwapPortfolioLoader();
      multiCurrSwapLoader.run(getToolContext());
      log.done();
    } catch (final RuntimeException t) {
      log.fail(t);
    }
  }
View Full Code Here

Examples of com.opengamma.examples.bloomberg.loader.ExampleSwaptionPortfolioLoader.run()

  private void loadSwaptionPortfolio() {
    final Log log = new Log("Creating example swaption portfolio");
    try {
      final ExampleSwaptionPortfolioLoader swaptionLoader = new ExampleSwaptionPortfolioLoader();
      swaptionLoader.run(getToolContext());
      log.done();
    } catch (final RuntimeException t) {
      log.fail(t);
    }
  }
View Full Code Here

Examples of com.opengamma.examples.bloomberg.loader.ExampleTimeSeriesRatingLoader.run()

  private void loadTimeSeriesRating() {
    final Log log = new Log("Creating time series configurations");
    try {
      final ExampleTimeSeriesRatingLoader timeSeriesRatingLoader = new ExampleTimeSeriesRatingLoader();
      timeSeriesRatingLoader.run(getToolContext());
      log.done();
    } catch (final RuntimeException t) {
      log.fail(t);
    }
  }
View Full Code Here

Examples of com.opengamma.examples.bloomberg.loader.ExampleVanillaFxOptionPortfolioLoader.run()

  private void loadVanillaFXOptionPortfolio() {
    final Log log = new Log("Creating example vanilla FX option portfolio");
    try {
      final ExampleVanillaFxOptionPortfolioLoader fxOptionLoader = new ExampleVanillaFxOptionPortfolioLoader();
      fxOptionLoader.run(getToolContext());
      log.done();
    } catch (final RuntimeException t) {
      log.fail(t);
    }
  }
View Full Code Here

Examples of com.opengamma.examples.bloomberg.loader.ExampleViewsPopulator.run()

  private void loadViews() {
    final Log log = new Log("Creating example view definitions");
    try {
      final ExampleViewsPopulator populator = new ExampleViewsPopulator();
      populator.run(getToolContext());
      log.done();
    } catch (final RuntimeException t) {
      log.fail(t);
    }
  }
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.