1

(SOLVED: Solution is below the second graph)

The API results on GSPC: enter image description here

Same period in the interactive chart of ^GSPC: enter image description here

SOLVED

Apparently, Yahoo Finance API has different results for ^GSPC and GSPC.

Michael
  • 161
  • 1
  • 1
  • 4

1 Answers1

1

Are you looking at the actual Close values or the Adjusted Close values in the API values? The Interactive chart shows the Adjusted Close values which account for dividends/splits/other corporate events. More on how Adjusted Close is calculated from actual Close here.