Skip to content
This repository has been archived by the owner on Jun 8, 2023. It is now read-only.

🐞Docker trade error #152

Closed
ghost opened this issue Oct 7, 2021 · 1 comment
Closed

🐞Docker trade error #152

ghost opened this issue Oct 7, 2021 · 1 comment
Labels
Won't Fix This will not be worked on

Comments

@ghost
Copy link

ghost commented Oct 7, 2021

Hello,
When I start hyperopt-trade or backtesting, I get the following error. I pulled the files from the site and installed using docker-compose pull. I'm waiting for your help. Thanks in advance!

2021-10-07 11:54:16,752 - freqtrade - ERROR - Fatal exception!
Traceback (most recent call last):
File "/freqtrade/freqtrade/main.py", line 37, in main
return_code = args'func'
File "/freqtrade/freqtrade/commands/optimize_commands.py", line 48, in start_backtesting
config = setup_optimize_configuration(args, RunMode.BACKTEST)
File "/freqtrade/freqtrade/commands/optimize_commands.py", line 21, in setup_optimize_configuration
config = setup_utils_configuration(args, method)
File "/freqtrade/freqtrade/configuration/config_setup.py", line 21, in setup_utils_configuration
config = configuration.get_config()
File "/freqtrade/freqtrade/configuration/configuration.py", line 42, in get_config
self.config = self.load_config()
File "/freqtrade/freqtrade/configuration/configuration.py", line 111, in load_config
self._process_optimize_options(config)
File "/freqtrade/freqtrade/configuration/configuration.py", line 261, in _process_optimize_options
self._process_datadir_options(config)
File "/freqtrade/freqtrade/configuration/configuration.py", line 199, in _process_datadir_options
config.update({'datadir': create_datadir(config, self.args.get('datadir', None))})
File "/freqtrade/freqtrade/configuration/directory_operations.py", line 18, in create_datadir
exchange_name = config.get('exchange', {}).get('name').lower()
AttributeError: 'NoneType' object has no attribute 'lower'

my command is = docker-compose run freqtrade backtesting --config /freqtrade/user_data/mgm-config.example.json --strategy MoniGoManiHyperStrategy

@Rikj000 Rikj000 changed the title Docker trade error 🐞Docker trade error Oct 7, 2021
@Rikj000
Copy link
Owner

Rikj000 commented Oct 7, 2021

Duplicate of #148
Check reply there

@Rikj000 Rikj000 marked this as a duplicate of #148 Oct 7, 2021
@Rikj000 Rikj000 closed this as completed Oct 7, 2021
@Rikj000 Rikj000 added the Won't Fix This will not be worked on label Oct 7, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Won't Fix This will not be worked on
Projects
None yet
Development

No branches or pull requests

1 participant