Portfolio optimization and analytics platforms