-
Notifications
You must be signed in to change notification settings - Fork 158
🐞 Fix bugs introduced by updating Freqtrade #91
Comments
Yes, you are on the wrong Freqtrade commit, you currently need an older version of Freqtrade, It appears TimeFrame-Zoom got broken on newer Freqtrade versions. This was also mentioned earlier today in the help channel on Discord. You'll have to wait till I or another willing developer update Freqtrade again and then iron out all the bugs introduced into MGM by doing that.
|
Oh, I didn't notice your note in the readme. Thank you, a fast and precise answer as always :) |
Took a while, but figured out this is the particular commit in freqtrade/freqtrade who is responsible for this issue: |
Good job mate! 🦾 Hmmm this is problematic though... 🤔 Because it's ok for Freqtrade to throw this error when you're Dry/Live running, because Binance simply will not allow you to use that many candles during dry/live runs. |
I've hacked a bit around and it seems the startup_candle_count (2400) during hyperopting isn't accepted anymore. But, the default (400) is. So I've added a check to only change the startup_candle_count in backtest-mode. MasterMoniGoManiHyperStrategy.py
358: - self.startup_candle_count *= self.timeframe_multiplier
358: + if RunMode(config.get('runmode', RunMode.OTHER)) is RunMode.BACKTEST:
358: + self.startup_candle_count *= self.timeframe_multiplier |
Yes exactly what I meant! 👏 Would you be up for it to describe this issue in a PR to Freqtrade? |
Uhmm, I think so... But my proposal above is an easy patch inside |
I'll create a PR containing above patch to close this issue. We can discuss it easier if it's needed. |
Oh damn I didn't notice! Thought you modified Freqtrades source code 😮 |
What is the startup candle count that get's printed to the console with this patch? 🤔 |
Correct. 400 |
Now that I think more about it, I believe we don't need the multiplier on the I found the commit where it got pushed 41f9875 I also found HyperOptResults5_Pt1-23-05-2021_MoniGoManiConfiguration_bugfixed_startup_candle_count.log in the Back then, I thought, if the timeframe zooms in to 5 minutes, then the dataframe timerange will be too short for the larger informative indicators/signals that get added in the dataframe (Because 400*5m startup is shorter then 400*30m startup). However, if we follow the get_pair_dataframe() function in 2 things to consider here:
After my re-reflection on it, I believe this line ( |
@rodrigogs in case you're using docker, I created an image that use freqtrade commit |
I already did the same thing hahaha Thanks! |
Even though PR #99 got merged I truly recommend to not update your Freqtrade! Please remain on Freqtrade commit freqtrade/freqtrade@3503fdb until instructed otherwise! Only update your Freqtrade if you wish to:
|
You also need to update docker/Dockerfile.MoniGoMani |
☑️ Handle Freqtrade's new way of dealing with protections, appears like they aren't used in the |
Updated to |
I just updated my freqtrade image, and now I get this message when I try to hyperopt:
freqtrade - ERROR - This strategy requires 4800 candles to start. Binance only provides 1000 for 5m.
Any idea why?
The text was updated successfully, but these errors were encountered: