docs: public BitZUserHistoryResult getUserHistoryEntrustSheet(
        String coinFrom,
        String coinTo,
        Integer type,
        Integer page,
        Integer pageSize,
        String startTime,
        String endTime)
        throws IOException {
      page = page == null ? 1 : page;
      pageSize = pageSize == null ? 100 : pageSize;
      if (type == null) {
        return bitz.getUserHistoryEntrustSheet(
            apiKey,
            getTimeStamp(),
            nonce,
            signer,
            coinFrom,
            coinTo,
            page,
            pageSize,
            startTime,
            endTime);
      }
      return bitz.getUserHistoryEntrustSheet(
          apiKey,
          getTimeStamp(),
          nonce,
          signer,
          coinFrom,
          coinTo,
          type,
          page,
          pageSize,
          startTime,
          endTime);
    }