Finnhub API provides institutional-grade financial data to investors, fintech startups and investment firms. We support real-time stock price, global fundamentals and alternative data. https://finnhub.io/docs/api
I am using the example from your API documentation website to retrieve company news. Instead of returning the news for the provided date range, it returns the latest 50 news items.
What is the issue ? Plz describe in details
I am using the example from your API documentation website to retrieve company news. Instead of returning the news for the provided date range, it returns the latest 50 news items.
API call: https://finnhub.io/api/v1/company-news?symbol=AAPL&from=2020-04-30&to=2020-05-01&token=
Response: [{"category":"company","datetime":1588677909,"headline":"Zimmer Biomet: Wait And Watch",...
The first returned timestamp translates to 05/05/2020, which is beyond the range.
How to reproduce the error ?
Using the API example provided here: https://finnhub.io/docs/api#company-news
What is the expected result and why do you think it's the correct result ?
I would expect to only get the news returned that meet the range.