Using Indices-API to Fetch S&P 500 Price Time-Series Data for Historical Performance Evaluation