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

Faster polygon backtesting #684

Closed
wants to merge 7 commits into from
Closed

Faster polygon backtesting #684

wants to merge 7 commits into from

Conversation

grzesir
Copy link
Contributor

@grzesir grzesir commented Jan 15, 2025

Description by Korbit AI

What change is being made?

Integrate a DuckDB caching mechanism to optimize Polygon data retrieval for faster and more efficient polygon backtesting.

Why are these changes being made?

The previous implementation did not cache data on a local database, making retrievals from Polygon inefficient during backtesting due to repeated fetches for the same data. By using DuckDB caching, data retrieval is now optimized by storing previously fetched data locally, thus reducing the need for repeated external API calls and improving performance during backtesting operations. Additionally, code improvements were made for enhanced clarity, concurrency handling, and accuracy in the data-fetching logic.

Is this description stale? Ask me to generate a new description by commenting /korbit-generate-pr-description

Copy link
Contributor

korbit-ai bot commented Jan 15, 2025

Korbit doesn't automatically review large (500+ lines changed) pull requests such as this one. If you want me to review anyway, use /korbit-review.

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