I'm trying to download the S&P 500 constituents list for the year 2002 using the following code:
sp2002, err = ek.get_data('.SPX(20020101)',
the code was working before but is not working now; I get the "JSONDecodeError: Expecting value" error.
I was wondering why this happens now, could anyone help me with this?
Thanks in advance,