docs: @Override
    public UserTrades getTradeHistory(TradeHistoryParams params) throws IOException {
      OkCoinFuturesTradeHistoryParams myParams = (OkCoinFuturesTradeHistoryParams) params;
      long orderId = myParams.getOrderId() != null ? Long.valueOf(myParams.getOrderId()) : -1;
      CurrencyPair currencyPair = myParams.getCurrencyPair();
      String date = myParams.getDate();
      String page = myParams.getPageNumber().toString();
      String pageLength = myParams.getPageLength().toString();
      FuturesContract reqFuturesContract = myParams.futuresContract;
  
      OkCoinFuturesTradeHistoryResult[] orderHistory =
          getFuturesTradesHistory(OkCoinAdapters.adaptSymbol(currencyPair), orderId, date);
  
      return OkCoinAdapters.adaptTradeHistory(orderHistory);
    }