Simulate past performance of periodic investments using Yahoo historical prices