Tiingo Client API is pulling data outside of range by date

218 Views Asked by At
startDate = '2018-06-12 00:30:00'
endDate = '2019-06-12 17:35:00'

articles = client.get_news(tickers=['GOOGL'],
                            sources=['washingtonpost.com'],
                            startDate = startDate,
                            endDate = endDate)
df2 = pd.DataFrame(articles)
df2.head()

This is the code and when it outputs at 'df2.head()', the first article is from 2020. Has anyone gone through this?

1

There are 1 best solutions below

1
On BEST ANSWER