def store_error_star(params, substep, state_history, state, policy_input):
    """
    Store the error_star state, which is the error between the target and market price.
    """
    error = policy_input["error_star"]

    return "error_star", error