It seems that, as of yesterday, there is a bug when converting dates with from_json_to_df
the following is coded:
import PyDSWS as pyDS
ds = pyDS.Datastream(username='xxxxx', password='yyyyy')
sec = ds.get_data(tickers='S&PCOMP', fields='PI', start='2001-09-05', end='2001-09-15', freq='D')
and the resulting output is:
File "C:\ProgramData\Anaconda3\lib\site-packages\PyDSWS\datastream.py", line 102, in get_data
df = self.from_json_to_df(response)
File "C:\ProgramData\Anaconda3\lib\site-packages\PyDSWS\datastream.py", line 41, in from_json_to_df
Not sure why this error is occuring after running soomthly over the past weeks.
Same error occurs btw for different ticker and date requests.