Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

not getting full search results when date range includes pre-2020 and post-2020 parameters #13

Open
zparkar opened this issue Jan 2, 2021 · 0 comments

Comments

@zparkar
Copy link

zparkar commented Jan 2, 2021

The search by date range from_ & to_ don't seem to return the full results when including both pre-2020 and post-2020 date parameters.

For example:
search = gn.search(f"intite:{ticker_name}",from_='2017-01-01', to_='2020-12-01') # only the results for 2020 are returned.

I have worked around this for now by splitting this into two queries:

first_search = gn.search(f"intite:{ticker_name}",from_='2017-01-01', to_='2019-12-31') # results returned as expected

second_search = gn.search(f"intite:{ticker_name}",from_='2020-01-01', to_='2020-12-01')# results returned as expected

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant