class CoinoneMarketDataService extends CoinoneMarketDataServiceRaw
    implements MarketDataService {

  /**
   * Constructor
   *
   * @param exchange
   */
  public CoinoneMarketDataService(Exchange exchange) {

    super(exchange);
  }

  @Override
  public Ticker getTicker(CurrencyPair currencyPair, Object... args) throws IOException {
    return CoinoneAdapters.adaptTicker(super.getTicker(currencyPair));
  }

  @Override
  public OrderBook getOrderBook(CurrencyPair currencyPair, Object... args)
      throws ExchangeException,
          NotAvailableFromExchangeException,
          NotYetImplementedForExchangeException,
          IOException {
    return CoinoneAdapters.adaptOrderBook(getCoinoneOrderBook(currencyPair), currencyPair);
  }

  @Override
  public Trades getTrades(CurrencyPair currencyPair, Object... args)
      throws ExchangeException,
          NotAvailableFromExchangeException,
          NotYetImplementedForExchangeException,
          IOException {<FILL_FUNCTION_BODY>}
}

    String period = "hour";
    if (args[0] != null) {
      try {
        period = CoinoneExchange.period.valueOf(args[0].toString()).name();
      } catch (IllegalArgumentException e) {
      }
    }
    return CoinoneAdapters.adaptTrades(super.getTrades(currencyPair, period), currencyPair);
  
<methods>public void <init>(org.knowm.xchange.Exchange) ,public org.knowm.xchange.coinone.dto.marketdata.CoinoneOrderBook getCoinoneOrderBook(org.knowm.xchange.currency.CurrencyPair) throws java.io.IOException,public org.knowm.xchange.coinone.dto.marketdata.CoinoneTicker getTicker(org.knowm.xchange.currency.CurrencyPair) throws java.io.IOException,public org.knowm.xchange.coinone.dto.marketdata.CoinoneTrades getTrades(org.knowm.xchange.currency.CurrencyPair, java.lang.String) throws java.io.IOException<variables>