content: package org.knowm.xchange.coinbase.v2.service;
  
  import java.io.IOException;
  import org.knowm.xchange.Exchange;
  import org.knowm.xchange.dto.trade.LimitOrder;
  import org.knowm.xchange.dto.trade.OpenOrders;
  import org.knowm.xchange.dto.trade.StopOrder;
  import org.knowm.xchange.exceptions.ExchangeException;
  import org.knowm.xchange.exceptions.NotAvailableFromExchangeException;
  import org.knowm.xchange.exceptions.NotYetImplementedForExchangeException;
  import org.knowm.xchange.service.trade.TradeService;
  import org.knowm.xchange.service.trade.params.CancelOrderParams;
  import org.knowm.xchange.service.trade.params.DefaultTradeHistoryParamPaging;
  import org.knowm.xchange.service.trade.params.TradeHistoryParams;
  import org.knowm.xchange.service.trade.params.orders.OpenOrdersParams;
  
  public final class CoinbaseTradeService extends CoinbaseTradeServiceRaw implements TradeService {
  
    public CoinbaseTradeService(Exchange exchange) {
      super(exchange);
    }
  
    /**
     * ********************************************************************************************************************************************************
     */
    @Override
    public OpenOrders getOpenOrders() throws NotAvailableFromExchangeException, IOException {
      return getOpenOrders(createOpenOrdersParams());
    }
  
    @Override
    public OpenOrders getOpenOrders(OpenOrdersParams params)
        throws ExchangeException, NotAvailableFromExchangeException,
            NotYetImplementedForExchangeException, IOException {
      throw new NotAvailableFromExchangeException();
    }
  
    @Override
    public String placeLimitOrder(LimitOrder limitOrder) throws NotAvailableFromExchangeException {
  
      throw new NotAvailableFromExchangeException();
    }
  
    @Override
    public String placeStopOrder(StopOrder stopOrder) throws IOException {
      throw new NotAvailableFromExchangeException();
    }
  
    @Override
    public boolean cancelOrder(String orderId) throws NotAvailableFromExchangeException {
  
      throw new NotAvailableFromExchangeException();
    }
  
    @Override
    public boolean cancelOrder(CancelOrderParams orderParams)
        throws ExchangeException, NotAvailableFromExchangeException,
            NotYetImplementedForExchangeException, IOException {
      throw new NotAvailableFromExchangeException();
    }
  
    @Override
    public TradeHistoryParams createTradeHistoryParams() {
  
      DefaultTradeHistoryParamPaging params = new DefaultTradeHistoryParamPaging();
      params.setPageNumber(0);
      params.setPageLength(100);
      return params;
    }
  
    @Override
    public OpenOrdersParams createOpenOrdersParams() {
      return null;
    }
  }
  