def METHOD_NAME(
    self,
    instrument_code: str,
    price_date_str: str,
    forward_date_str: str,
    resample_period: str = "D",
):
    """
    :param instrument_code: symbol for instrument.
    :param price_date_str: Contract ID for the priced contract - for example; "20220500"
    :param forward_date_str: Contract ID for the forward contract - for example; "20220500"
    :param resample_period: Contract prices are recorded at hourly intervals. For
    comparison the frequency is resampled. Parameter specifies frequency. Default "D" is day.
    If None raw time index for data is given.
    :return: a dataframe where prices from the priced and forward contracts are merged together.
              four columns; "FINAL_price", "FINAL_forward", "VOLUME_price", "VOLUME_forward"
              volumes are aggregated per resample_period, while prices are last registered price
              for each resample_period.
    """
    price_comparison_df = self.get_price_comparison(
        instrument_code=instrument_code,
        price_date_str=price_date_str,
        forward_date_str=forward_date_str,
        resample_period=resample_period,
    )
    volume_comparison_df = self.get_volume_comparison(
        instrument_code=instrument_code,
        price_date_str=price_date_str,
        forward_date_str=forward_date_str,
        resample_period=resample_period,
    )
    merged_comparisons = pd.merge(
        price_comparison_df,
        volume_comparison_df,
        how="outer",
        left_index=True,
        right_index=True,
    )
    return merged_comparisons