class DeribitMarketDataService extends DeribitMarketDataServiceRaw
    implements MarketDataService {

  /**
   * Constructor
   *
   * @param exchange
   */
  public DeribitMarketDataService(DeribitExchange exchange) {

    super(exchange);
  }

  @Override
  public Ticker getTicker(Instrument instrument, Object... args) throws IOException {
    String deribitInstrumentName = DeribitAdapters.adaptInstrumentName(instrument);
    DeribitTicker deribitTicker;

    try {
      deribitTicker = super.getDeribitTicker(deribitInstrumentName);
    } catch (DeribitException ex) {
      throw DeribitAdapters.adapt(ex);
    }
    return DeribitAdapters.adaptTicker(deribitTicker);
  }

  @Override
  public OrderBook getOrderBook(Instrument instrument, Object... args) throws IOException {<FILL_FUNCTION_BODY>}

  @Override
  public Trades getTrades(Instrument instrument, Object... args) throws IOException {
    String deribitInstrumentName = DeribitAdapters.adaptInstrumentName(instrument);
    DeribitTrades deribitTrades;

    try {
      deribitTrades =
          super.getLastTradesByInstrument(deribitInstrumentName, null, null, null, null, null);
    } catch (DeribitException ex) {
      throw new ExchangeException(ex);
    }

    return DeribitAdapters.adaptTrades(deribitTrades, instrument);
  }
}

    String deribitInstrumentName = DeribitAdapters.adaptInstrumentName(instrument);
    DeribitOrderBook deribitOrderBook;
    try {
      deribitOrderBook = super.getDeribitOrderBook(deribitInstrumentName, null);
    } catch (DeribitException ex) {
      throw new ExchangeException(ex);
    }

    return DeribitAdapters.adaptOrderBook(deribitOrderBook);
  
<methods>public void <init>(org.knowm.xchange.deribit.v2.DeribitExchange) ,public List<org.knowm.xchange.deribit.v2.dto.marketdata.DeribitCurrency> getDeribitCurrencies() throws java.io.IOException,public List<org.knowm.xchange.deribit.v2.dto.marketdata.DeribitInstrument> getDeribitInstruments(java.lang.String, org.knowm.xchange.deribit.v2.dto.Kind, java.lang.Boolean) throws java.io.IOException,public org.knowm.xchange.deribit.v2.dto.marketdata.DeribitOrderBook getDeribitOrderBook(java.lang.String, java.lang.Integer) throws java.io.IOException,public org.knowm.xchange.deribit.v2.dto.marketdata.DeribitTicker getDeribitTicker(java.lang.String) throws java.io.IOException,public List<List<java.math.BigDecimal>> getHistoricalVolatility(java.lang.String) throws java.io.IOException,public org.knowm.xchange.deribit.v2.dto.marketdata.DeribitTrades getLastTradesByInstrument(java.lang.String, java.lang.Integer, java.lang.Integer, java.lang.Integer, java.lang.Boolean, java.lang.String) throws java.io.IOException,public List<org.knowm.xchange.deribit.v2.dto.marketdata.DeribitSummary> getSummaryByInstrument(java.lang.String) throws java.io.IOException<variables>