def METHOD_NAME(
    position: pd.Series,
    vol_scalar: pd.Series,
    config: Config,
    instr_weight_this_code: pd.Series = arg_not_supplied,
    idm: pd.Series = arg_not_supplied,
) -> pd.Series:
    """
    Gets the buffers for positions, using proportion of average forecast method
    :param instrument_code: instrument to get values for
    :type instrument_code: str
    :returns: Tx1 pd.DataFrame
    """
    buffer_size = config.buffer_size
    buffer = _calculate_forecast_buffer_method(
        buffer_size=buffer_size,
        position=position,
        idm=idm,
        instr_weight_this_code=instr_weight_this_code,
        vol_scalar=vol_scalar,
    )
    return buffer