Skip to content

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