Tiingo 客户端 API 正在按日期提取超出范围的数据
Tiingo Client API is pulling data outside of range by date
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()
这是代码,当它在 'df2.head()' 输出时,第一篇文章是 2020 年的。有人用过这个吗?
- 根据
API
文档
- 新闻 API 允许 3 个月的可查询历史记录和所有未来数据。对于需要更多历史记录(最多 15 年)的商业客户,请联系
sales@tiingo.com
.
- https://api.tiingo.com/account/billing/pricing
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()
这是代码,当它在 'df2.head()' 输出时,第一篇文章是 2020 年的。有人用过这个吗?
- 根据
API
文档- 新闻 API 允许 3 个月的可查询历史记录和所有未来数据。对于需要更多历史记录(最多 15 年)的商业客户,请联系
sales@tiingo.com
. - https://api.tiingo.com/account/billing/pricing
- 新闻 API 允许 3 个月的可查询历史记录和所有未来数据。对于需要更多历史记录(最多 15 年)的商业客户,请联系