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

КОМЕНТАРІ • 50

  • @leestephen1309
    @leestephen1309 2 роки тому +1

    Finally there is a video update! Looking forward to it for a long time! I hope you can continue to update the video

  • @marwinsteiner5817
    @marwinsteiner5817 2 роки тому +1

    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!

  • @2009dave1
    @2009dave1 2 роки тому +3

    Great video, just the information I needed.

  • @fauricombe
    @fauricombe 9 місяців тому

    Great presentation and explanation with examples on how to use hyperopt method to optimize your strategy parameters
    Thanlks

  • @AhmedSakrr
    @AhmedSakrr 2 роки тому +1

    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

    • @AhmedSakrr
      @AhmedSakrr 2 роки тому

      @@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 😍

  • @englishlab7942
    @englishlab7942 Рік тому +1

    Thank you for your nice video. Coula U make a video about FreqAi next time?

  • @facuresio3412
    @facuresio3412 Рік тому

    Great Content! Can you make a video about FreqAi?

  • @MarcioAramuni
    @MarcioAramuni 3 місяці тому +1

    Nice!

  • @jean-francoislebroch9171
    @jean-francoislebroch9171 Рік тому +1

    Thanks immensely

  • @mehran58
    @mehran58 2 роки тому

    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?

  • @Sop7anaAllah
    @Sop7anaAllah 2 роки тому

    Thank you very much for your effort, can you tell me how to use Wiliams Fractals indicator in python?

  • @jianxue283
    @jianxue283 Рік тому +1

    Thanks for your fantastic work.
    Could you change the setting of your videos so I can switch to English subtitles?

    • @dutchalgotrading
      @dutchalgotrading  Рік тому

      I have no problem getting english captions. What is wrong?

    • @jianxue283
      @jianxue283 Рік тому

      ​@@dutchalgotrading I don't know. Only one option "dutch(auto-generated)" I can select.
      All options:
      - off
      - Dutch (auto-generated)
      - Auto-translate

    • @dutchalgotrading
      @dutchalgotrading  Рік тому

      @@jianxue283 Strange, my youtube options for CC include english. Maybe its the browser or something

  • @jahirquiroz9140
    @jahirquiroz9140 2 роки тому

    Sir just a question , can I establish a strategy that can read the candles?

  • @aseelomar4297
    @aseelomar4297 2 роки тому

    Amazing!

  • @margiotto
    @margiotto 2 роки тому

    awesome!!!!!!!!!!

  • @relaxationmediachannel7526
    @relaxationmediachannel7526 2 роки тому

    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

    • @relaxationmediachannel7526
      @relaxationmediachannel7526 2 роки тому

      @@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.

    • @relaxationmediachannel7526
      @relaxationmediachannel7526 2 роки тому

      Will have to review my code like you said. Thanks

  • @585_arishanwarsamad6
    @585_arishanwarsamad6 Рік тому

    helpup ♥

  • @arpitsingh1575
    @arpitsingh1575 2 роки тому

    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 ??

    • @arpitsingh1575
      @arpitsingh1575 2 роки тому

      @@dutchalgotrading I was testing buy space

    • @arpitsingh1575
      @arpitsingh1575 2 роки тому

      @@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"

    • @arpitsingh1575
      @arpitsingh1575 2 роки тому

      @@dutchalgotrading I used the spaces flag as default

    • @arpitsingh1575
      @arpitsingh1575 2 роки тому

      @@dutchalgotrading I will just try this & let you know !

    • @arpitsingh1575
      @arpitsingh1575 2 роки тому

      @@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.

  • @compostandconcrete5636
    @compostandconcrete5636 Рік тому +1

    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

  • @工具人-y9d
    @工具人-y9d 2 роки тому

    这个机器人如何调取UI界面

  • @aseelomar4297
    @aseelomar4297 2 роки тому +1

    We need video how to deploy freqtrade in AWS
    thanks millions

    • @adilzade
      @adilzade 2 роки тому

      @@dutchalgotrading hey thanks for contribution, aws is actually free of cost for 12 months. You can check it out

  • @leobike-1920
    @leobike-1920 3 місяці тому

    valueable info, thanks

  • @leestephen1309
    @leestephen1309 2 роки тому

    Hope you can explain how to arrange multiple robots on the same server video!

  • @klausvonshnytke
    @klausvonshnytke 2 роки тому

    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?

  • @cryptotaxi2184
    @cryptotaxi2184 2 роки тому

    Hey, great videos.
    My hyperopt freezes @ epoch 25 everytime. What i´m doing wrong?

  • @thepromisedlan
    @thepromisedlan 2 роки тому

    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?

  • @andreasprosswimmer5894
    @andreasprosswimmer5894 2 роки тому

    Nice video! I tried a hyperopt, but my bot complained not to find the config file - in what folder do you have the config?

  • @TheSampleSlayer
    @TheSampleSlayer 2 роки тому

    You're a legend!!!

  • @cryptolicious3738
    @cryptolicious3738 2 роки тому

    awesome video!

  • @mmustap3
    @mmustap3 2 роки тому

    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.

    • @mmustap3
      @mmustap3 2 роки тому

      ​@@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.

    • @mmustap3
      @mmustap3 2 роки тому

      @@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?