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