Closed asmyshlyaev177 closed 2 years ago
Hey, trying to reproduce your bug, I'm getting another error:
Exception in thread Thread-2:
Traceback (most recent call last):
File "/usr/local/lib/python3.8/threading.py", line 932, in _bootstrap_inner
self.run()
File "app.py", line 100, in run
self.behaviour.run(self.market_data, self.settings['output_mode'])
File "/app/behaviour.py", line 66, in run
new_result = self._test_strategies(market_data, output_mode)
File "/app/behaviour.py", line 163, in _test_strategies
new_result[exchange][market_pair]['crossovers'] = self._get_crossover_results(
File "/app/behaviour.py", line 353, in _get_crossover_results
crossed_indicator = new_result[crossover_conf['crossed_indicator_type']
IndexError: list index out of range
Saw that one too.
Actually you should not use crossovers
. It has been replaced by ma_crossover
(https://github.com/w1ld3r/crypto-signal#moving-average-crossover) and macd_cross
that you are using.
For the other error, are you really having it with the config upper ?
For the other error, are you really having it with the config upper ?
Also tried copy config to app.
Will check again later.
Describe the bug Trying to run with
docker run --rm -v $PWD/app:/app dev/crypto-signals:latest
Got error
Config that worked with original Crypto-Signal, config in root directory.
To Reproduce Steps to reproduce the behavior:
docker build -t dev/crypto-signals:latest .
docker run --rm -v $PWD/app:/app dev/crypto-signals:latest
Expected behavior A clear and concise description of what you expected to happen.
config.yml
Machine