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

Adding del_feed to the feedhandler class #964

Open
spc789 opened this issue Mar 29, 2023 · 0 comments
Open

Adding del_feed to the feedhandler class #964

spc789 opened this issue Mar 29, 2023 · 0 comments

Comments

@spc789
Copy link

spc789 commented Mar 29, 2023

Is your feature request related to a problem? Please describe. => nope
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Case scenario : suppose one wants to follow only the feeds which are - for example - above a 24u volume, or where the volatility is above a specific thresshold.
Every day at some time the feeds/coinpairs which are needed are re-calculated.
It could happen some feeds which were needed the day before are not needed after the recalculation.
To preserve speed a function which deletes those "old", unnecessary feeds, is necessary.

Describe the solution you'd like
A del_feed analogy as in add_feed function in the class could solve this problem.

Describe alternatives you've considered
The alternative is could be restarting the whole feed program with the correct pairs from that moment, leaving slightly gaps in some data. Ie in the pairs which are not changed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant