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

It is now possible to request more than 10,000 trades using get_trades_async [see Bug #790] #791

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mj-z-ali
Copy link

Before, it was not possible to retrieve any more than 10,000 trades using get_trades_async. With this small change, if the limit is greater than 10,000 -- as is usually the case when dealing with high volume stocks, we pass 10,000 to the url parameter so Alpaca may retrieve the data in maximum chunks, but we maintain the user passed limit in _iterate_requests and prevent the loop from breaking early.

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.

1 participant