Examples of BloombergBondFuturePriceCurveInstrumentProvider


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

    return message;
  }

  @Override
  public BloombergBondFuturePriceCurveInstrumentProvider buildObject(final FudgeDeserializer deserializer, final FudgeMsg message) {
    return new BloombergBondFuturePriceCurveInstrumentProvider(message.getString("futurePrefix"),
        message.getString("postfix"),
        message.getString("dataFieldName"),
        message.getString("tickerScheme"));
  }
View Full Code Here

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

      //final String postfix = BloombergDataUtils.splitTickerAtMarketSector(ticker).getSecond();
      String underlyingOptChainTicker = getUnderlyingTicker(ticker, security.getUnderlyingId(), tickerParser.getTypeName());
      final String name = BBG_PREFIX + tickerParser.getSymbol() + "_" + security.getCurrency().getCode() + "_" + InstrumentTypeProperties.BOND_FUTURE_PRICE;
      if (!_knownCurveSpecNames.contains(name)) {
        s_logger.info("Creating FuturePriceCurveSpecification \"{}\"", name);
        final BloombergBondFuturePriceCurveInstrumentProvider curveInstrumentProvider =
            new BloombergBondFuturePriceCurveInstrumentProvider(tickerParser.getSymbol(), tickerParser.getTypeName(), FIELD_NAME_PRICE);
        createFuturePriceCurveSpecification(security.getCurrency(), name, curveInstrumentProvider);
      }
      createFuturePriceCurveDefinition(underlyingOptChainTicker, name, security.getCurrency());
      return null;
    }
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.