class FtxMarketDataServiceRaw extends FtxBaseService {

  public FtxMarketDataServiceRaw(Exchange exchange) {
    super(exchange);
  }

  public FtxResponse<FtxMarketDto> getFtxMarket(String market) throws FtxException, IOException {
    try {
      return ftx.getMarket(market);
    } catch (FtxException e) {
      throw new FtxException(e.getMessage());
    }
  }

  public FtxResponse<List<FtxCandleDto>> getFtxCandles(
      String market, String resolution, String starTime, String endTime, Integer limit)
      throws FtxException, IOException {
    try {
      return ftx.getCandles(market, resolution, starTime, endTime, limit);
    } catch (FtxException e) {
      throw new FtxException(e.getMessage());
    }
  }

  public FtxResponse<FtxMarketsDto> getFtxMarkets() throws FtxException, IOException {
    try {
      return ftx.getMarkets();
    } catch (FtxException e) {
      throw new FtxException(e.getMessage());
    }
  }

  public FtxResponse<List<FtxTradeDto>> getFtxTrades(String market)
      throws FtxException, IOException {<FILL_FUNCTION_BODY>}

  public FtxResponse<FtxOrderbookDto> getFtxOrderbook(String market)
      throws FtxException, IOException {
    try {
      return ftx.getOrderbook(market, 20);
    } catch (FtxException e) {
      throw new FtxException(e.getMessage());
    }
  }
}

    try {
      return ftx.getTrades(market, 30);
    } catch (FtxException e) {
      throw new FtxException(e.getMessage());
    }
  
<methods>public void <init>(org.knowm.xchange.Exchange) <variables>protected final non-sealed org.knowm.xchange.ftx.FtxAuthenticated ftx,protected final non-sealed ParamsDigest signatureCreator