Using PM-OILTOTPD-EIA as an example (other similar data is experiencing the same issue). In Eikon, these data are correct, but pulling via Python they are not. What am I missing?
rics = ['PM-OILTOTPD-EIA'] start = (date.today()-timedelta(days=365)).strftime("%Y-%m-%d") fields = ['Timestamp','Close'] df = ek.get_timeseries(rics,fields,start,interval='monthly')
If the interval is not specified, running the script yields an error.