Skip to content
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

Closed
wants to merge 1 commit into from

Conversation

raftersvk
Copy link
Contributor

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'

…d error in 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'](args)
  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 <lambda>
    x, float) else f"{x.total_seconds() // 60:,.1f} m" if not isna(x) else ""
AttributeError: 'str' object has no attribute 'total_seconds'
@Rikj000
Copy link
Owner

Rikj000 commented Jun 3, 2021

I know, MGM development currently is in a broken state, I'm currently working on fixes on the new feature branch and will merge back to development once everything is in a working state!

Thank you for the report though! ❤️

@Rikj000 Rikj000 closed this Jun 3, 2021
@Rikj000 Rikj000 self-assigned this Jun 3, 2021
@Rikj000 Rikj000 added Bug - Fix Needed Something isn't working as expected Feature - New New feature or pull request labels Jun 3, 2021
@raftersvk
Copy link
Contributor Author

ok i''ll keep my vesion on my side to be able to work with the export function as long as needed. no problem

@Rikj000 Rikj000 reopened this Jun 3, 2021
@Rikj000 Rikj000 added Bug - Fixed Issue has been resolved and removed Bug - Fix Needed Something isn't working as expected labels Jun 4, 2021
@Rikj000 Rikj000 closed this Jun 4, 2021
@Rikj000 Rikj000 added this to the v0.12.0 milestone Jun 6, 2021
@Rikj000 Rikj000 changed the title report the correction made in feqtrade latest develop version 🐞 Report the correction made in feqtrade latest develop version Sep 5, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug - Fixed Issue has been resolved Feature - New New feature or pull request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants