def METHOD_NAME(self, pair: str, timerange: Optional[TimeRange] = None) -> pd.DataFrame:
    """
    Load a pair from h5 file.
    :param pair: Load trades for this pair
    :param timerange: Timerange to load trades for - currently not implemented
    :return: Dataframe containing trades
    """
    key = self._pair_trades_key(pair)
    filename = self._pair_trades_filename(self._datadir, pair)
    if not filename.exists():
        return pd.DataFrame(columns=DEFAULT_TRADES_COLUMNS)
    where = []
    if timerange:
        if timerange.starttype == 'date':
            where.append(f"timestamp >= {timerange.startts * 1e3}")
        if timerange.stoptype == 'date':
            where.append(f"timestamp < {timerange.stopts * 1e3}")
    trades: pd.DataFrame = pd.read_hdf(filename, key=key, mode="r", where=where)
    trades[['id', 'type']] = trades[['id', 'type']].replace({np.nan: None})
    return trades