Calculate optimal weightings (Efficient Frontier) for a portfolio, balancing the risk and return profile. Uses the Yahoo Finance API.