Tests all possible portfolio allocations and determines which one had the best Sharpe ratio. Also backtests.