How to Retrieve S&P 500 OHLC Data for Portfolio Optimization with Indices-API