The complete Freqtrade hyperparameter (hyperopt) bot strategy optimization tutorial for beginners
Вставка
- Опубліковано 27 вер 2024
- The ultimate Freqtrade hyperparameter optimisation guide for beginners - Learn hyperopt with this tutorial to optimise your strategy parameters for your automated trading bot.
This extensive video provides you with all the necessary information to start optimising your Freqtrade trading bot strategy parameters with the Hyperopt functionality.
In this tutorial for beginners I will explain:
- what Hyperopt is and does,
- Show you the process of creating a hyperopt file
- what spaces are,
- what guards and triggers are,
- how to use multiple command line parameters to adjust the hyperopt execution
- What loss functions are
- Show you optimisation for a simple rsi strategy
- Show you optimisations for a double simple moving average crossover strategy
- how you can solve the Freqtrade mystery on the freqtrade site
- Warn you about curve fitting
- And much MUCH more!
This hyperopt function helps you to optimize indicator parameters to provide you the best settings for your automated trading strategy for trading bitcoin, ethereum, solana, cardano and many other crypto assets on your exchange
I hope that you find this information valuable and if so leave me a comment on your progress.
Also please leave a like and subscribe to my channel to get updated on more of my videos.
Please be aware that I take much effort in giving you valuable information on how to use your trading bot so please let me know how it’s going or if you have questions!
Thank you for your kindness!!
My Github: github.com/Dut...
Freqtrade: www.freqtrade....
📺 OTHER STRATEGIES TESTED PLAYLIST 📺
→ • Strategies that help y...
📺 MY FREQTRADE TRADING BOT TUTORIALS PLAYLIST📺
→ • Install Freqtrade Auto...
💬 SOCIAL 💬
Website: www.dutchalgot...
Twitter: / dutchcryptodad
Tiktok: / dutchcryptodad
Patreon: / dutchalgotrading
UA-cam: / @dutchalgotrading
SEE MY WEBSITE FOR ALL CODE AND STRATEGIES.
📈 MY CHART ANALYSIS 📈
→ Tradingview: www.tradingvie...
🥇 BECOME MY PATREON: / dutchcryptodad
💰 AFILIATE LINKS & PROMO’S 💰
→ Bybit: www.bybit.com/...
→ Celsius: celsiusnetwork...
⚠️ FINANCIAL DISCLAIMER: This channel is for education and entertainment purposes only! I am in no way responsible for bad setups, strategies and possible losses or gains of money as a result! Everything expressed here is my opinion and not official investment advice. Investing in cryptocurrency or trading involves a high degree of risk and should be considered only by persons who can afford to sustain a loss of their entire investment. Please do your own research or consult a financial advisor before making any financial decisions.
🏷️ TAGS 🏷️
#DutchCryptoDad,#Trading,#Strategy,#Crypto,#Freqtrade,#Backtesting,#Bitcoin,
#Hyperopt,#Hyperparameter,#Optimisation
Finally there is a video update! Looking forward to it for a long time! I hope you can continue to update the video
Wow... I can really tell how much work went into this, and this was much more of a lecture than a quick tutorial. Nonetheless, whether you're looking for a quick introduction to hyperopt or you want to get into the nitty gritty, this is the video. Thank you so much for your time and dedication!
Great video, just the information I needed.
Great presentation and explanation with examples on how to use hyperopt method to optimize your strategy parameters
Thanlks
Thank you for your compliments
Please explain more about customizing our own strategies.. by explaining how to write the patterns and indicators.. buy and sell signals in details more than the video you did for the cross above and below to let us have a big experience. We will make our ideas and make our combinations
@@dutchalgotrading thank you so much because it’s the most important part in the whole project .. please plot buy and sell populate conditions to imagine what we had written too. That’s will be the most powerful topic 😍
Thank you for your nice video. Coula U make a video about FreqAi next time?
Great Content! Can you make a video about FreqAi?
Nice!
Thanks immensely
Your welcome.
Thanks for your great videos. Would it be better to first run hyperpropt and use the result for backtesting with different time frames? or should I back test my strategy on different time frames and use the wining one to optimize?
Thank you very much for your effort, can you tell me how to use Wiliams Fractals indicator in python?
Thanks for your fantastic work.
Could you change the setting of your videos so I can switch to English subtitles?
I have no problem getting english captions. What is wrong?
@@dutchalgotrading I don't know. Only one option "dutch(auto-generated)" I can select.
All options:
- off
- Dutch (auto-generated)
- Auto-translate
@@jianxue283 Strange, my youtube options for CC include english. Maybe its the browser or something
Sir just a question , can I establish a strategy that can read the candles?
Amazing!
awesome!!!!!!!!!!
I keep getting this error: " freqtrade - ERROR - Impossible to load Strategy 'BBRSIHyperopt'. This class does not exist or contains Python code errors". Any idea what I am doing wrong. Thanks
@@dutchalgotrading Thanks for your prompt reply. I am actually using docker on windows. Here is the last line of the code when it attempted to run: "2021-12-30 17:12:59,327 - freqtrade.resolvers.exchange_resolver - INFO - Using resolved exchange 'Binance'...
2021-12-30 17:12:59,360 - freqtrade - ERROR - Impossible to load Strategy 'BBRSIHyperopt'. This class does not exist or contains Python code errors." I have tried to move the file to every places I cant think of but still wont detect it.
Will have to review my code like you said. Thanks
helpup ♥
Hi, when I try to run this RsiStrat it's giving me a very weird error.. "No epochs evaluated yet, no best result." What does this mean ??
@@dutchalgotrading I was testing buy space
@@dutchalgotrading I used your GoldenCross strategy with nothing changed , used it as is.
But I get this error "freqtrade - ERROR - The 'sell' space is included into the hyperoptimization but no parameter for this space was not found in your Strategy. Please make sure to have parameters for this space enabled for optimization or remove the 'sell' space from hyperoptimization." this is when I am using --spaces as default.
In order to fix this I make --spaces as buy..then I get this "No epochs evaluated yet, no best result"
@@dutchalgotrading I used the spaces flag as default
@@dutchalgotrading I will just try this & let you know !
@@dutchalgotrading No, same error "No epocs evaluated" I tried with defualt, buy & sell and roi stoploss as well individually. Still no luck.
I think there is some thing wrong with my config file but I am not able to understand what.
Thanks for this, very useful! I'd love to see you do a video on FreqAI at some stage too as there aren't any useful tutorials available yet. Cheers
这个机器人如何调取UI界面
We need video how to deploy freqtrade in AWS
thanks millions
@@dutchalgotrading hey thanks for contribution, aws is actually free of cost for 12 months. You can check it out
valueable info, thanks
Thank you too for watching
Hope you can explain how to arrange multiple robots on the same server video!
According to the documentation support for short positions on spot market is not supported. I'm finding it to be a big drawback of Freqtrade. I would like to use it for testing not only on crypto markets but stock markets as well, and testing short positions is equally important as testing long ones. Does anyone know of an alternative that provides such functionality?
Hey, great videos.
My hyperopt freezes @ epoch 25 everytime. What i´m doing wrong?
Your content is amazing! However, I'm not sure if Hyperopt helps in live trading due to extreme curve fitting.
Have you observed over fitting when using Hyperopt with strategies when live trading? Is there any mechanism to validate the hyper parameters?
Nice video! I tried a hyperopt, but my bot complained not to find the config file - in what folder do you have the config?
You're a legend!!!
awesome video!
Thanks for the video - I'm a bit confused here. I don't quite understand how you're defining your buy and sell spaces, are they part of the hyperopt class?
Also, do you have a guide on how to set up these parameters properly? - I'm finding this difficult because these functions (I think they are) are always going to vary.
@@dutchalgotrading appreciate your response. To be honest my problem is defining the parameters and understanding some of the logistics about how to write them. There seems to be generally little information on these parameter variables, so, I can follow the steps but I unfortunately I'm having some issues getting this down correctly. I guess I'll get better with some trial and error.
Sorry for venting but this is such a royal pain. I've spent days trying to get the parameters to make sense but the hyperopt doesn't work. it works only when I have the simplest of parameters, but when I try coding for it to respect guards or triggers/if statements, it doesn't make sense. I have searched the ta-lib libraries but there doesn't seem to be any guide on how to write these.
@@dutchalgotrading I checked your github and I am looking at some of your files to try and learn from them. Do you have a resource whereby I can go over the ta-lib paremeters so I can properly write my own?