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

Bugfixes in macrosynergy/download/dataquery.py #622

Merged
merged 2 commits into from
Jan 9, 2023

Conversation

Magnus167
Copy link
Member

@Magnus167 Magnus167 commented Jan 9, 2023

  • Addressing and catching requests.exceptions.ChunkedEncodingError in ms.download.dataquery.dq_request(). The code will still break and raise ms.download.exceptions.InvalidResponseError.
  • Changed function that calculates DQ API delay parameter. (Change DQ API delay parameter #619). Now the delay is 200ms for requests with num. tickers<1000, and 300ms for requests with num. tickers>1000.

@Magnus167 Magnus167 linked an issue Jan 9, 2023 that may be closed by this pull request
@Magnus167 Magnus167 merged commit c67d25f into develop Jan 9, 2023
@Magnus167 Magnus167 deleted the bugfix/dq_bugfixes branch January 10, 2023 00:07
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

Successfully merging this pull request may close these issues.

Change DQ API delay parameter
2 participants