This repository has been archived by the owner on Jun 8, 2023. It is now read-only.
🐞 Report the correction made in feqtrade latest develop version #34
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
report the correction made in feqtrade latest develop version to avoid below error with "--export-csv"
freqtrade - ERROR - Fatal exception!
Traceback (most recent call last):
File "/home/djelinux/Freqtrade-Rikj000/freqtrade/main.py", line 37, in main
return_code = args'func'
File "/home/djelinux/Freqtrade-Rikj000/freqtrade/commands/hyperopt_commands.py", line 74, in start_hyperopt_list
config, epochs, total_epochs, not filteroptions['only_best'], export_csv
File "/home/djelinux/Freqtrade-Rikj000/freqtrade/optimize/hyperopt_tools.py", line 389, in export_csv_file
lambda x: f'{x:,.1f} m' if isinstance(
File "/home/djelinux/Freqtrade-Rikj000/.env/lib/python3.7/site-packages/pandas/core/series.py", line 4138, in apply
mapped = lib.map_infer(values, f, convert=convert_dtype)
File "pandas/_libs/lib.pyx", line 2467, in pandas._libs.lib.map_infer
File "/home/djelinux/Freqtrade-Rikj000/freqtrade/optimize/hyperopt_tools.py", line 390, in
x, float) else f"{x.total_seconds() // 60:,.1f} m" if not isna(x) else ""
AttributeError: 'str' object has no attribute 'total_seconds'