def r_to_r_swap_H(params, substep, state_history, prev_state, policy_input):
    """
    This function calculates and returns the quantity H after a trade between two risk assets
    Under the mechanism defined June 28, 2021 there is **no change** in the quantity H
    """

    H = prev_state['H']
    return ('H', H)