weight_by_volatility function

Volatility-Based Portfolio Weighting