from typing import Tuple


def calcOptimalVarStopLoss(b: float, vol: float, entry: float) -> Tuple[float, float]:
    """Calculates the optimal stop loss amount using the value at risk approach.


    Parameters
    ----------
    b : float
        The volatility multiplier.
    vol : float
        Historical volatility.
    entry : float
        The entry price


    Returns
    -------
    tuple of float
        Returns the stop loss at which to close the play using the value at risk approach for both short and long first.


    """
    return ((1 - b * vol) * entry, (1 + b * vol) * entry)