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
Automatic HyperOpt run every X days #5612
Comments
well edge does something "pretty" similar - although with a different outcome / goal. i'm not ... against it per se - but there's a few things to consider:
For the parameters - i'm not sure you'll need all of them - |
Thanks for your reply, Matthias. Indeed, as you said, Edge is "pretty" similar. But as you know - for instance - the crypto market sometimes is more volatile than others. Sometimes, no trade occur , some other times, too many occur... It would thus be interesting to automatically work out parameters that follow the market trend, instead of "just" seeing which pairs works and which do not. Now addressing your points. Please forgive me if some parts of the documentation has slipped out of my mind.
... Which is the reason why I thought adding Up to you ! |
i'll be adding a 5th point here - what about open trades? |
Upvoting/following. I'd also prefer this over the Edge module. If we can add the --days parm to HO then I think it should be able to be automated with cron jobs. |
The market don't change that fast -> running every n days with not a representative sample will lead to overfitting. On classical market a good way to do is to do 5 years in sample data and 1 year out of sample (or 10 years in and 2 years out ) then continue to to this years after years and it will five you a walk forward analysis. Believe me or not i have a strategy in live that don't have change for 2 years and still perform the same way (modulo the upper trend biais of course of the crypto world). |
Another approach (If I may) would be splitting freqtrade to a 'trade node' and 'opt node', once 'opt node' completes performing its tasks the 'trade node' should consider reloading optimizations settings. That will mean a lighter FT node, mostly sleeping, that can be restricted, resource-wise. There should be some thought put into the workflow and interaction between the node types, @xmatthias is right, performing hyperopt inside trade instance is risking the trading instance greatly. |
You can currently do this with a similar cron job, of course fixing this path to your own directories and tuning to your own needs: |
@kyrypto Came to this page by accident, but saw your comment with the code |
Hello, first of all, many thanks for this awesome library!
I am working on 5m timeframe strategies and found out that the profitable parameters can change from one week to another. Hence, I thought it might be time saving and efficient money-wise to add an 'Auto HyperOpt' functionality, that would, if turned on :
The config.json file would thus need another section :
Let me know what you think and if you like part of this idea or this idea as a whole. I'm looking forward to discussing it!
Best
xwurg
The text was updated successfully, but these errors were encountered: