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

Move price history+repair logic into new file #1849

Merged
merged 1 commit into from
Feb 7, 2024

Conversation

ValueRaider
Copy link
Collaborator

@ValueRaider ValueRaider commented Feb 4, 2024

The price history+repair logic was 1600 LOC, needed to be in a separate file. Now base.py is 600 LOC.

Everything price-related moved into new class PriceHistory. Internal calls in TickerBase redirected to new method _lazy_load_price_history() - seems messy but I can't think of a better way.

@ValueRaider ValueRaider merged commit 683064f into dev Feb 7, 2024
1 check passed
@ValueRaider ValueRaider mentioned this pull request Feb 19, 2024
@ValueRaider ValueRaider deleted the refactor/price-history branch February 19, 2024 21:44
@ValueRaider ValueRaider mentioned this pull request Feb 24, 2024
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