fixed error with changing "or" to "|"
when I run this qtpylib.crossed(DFIND, DFCRS)
i get this error:
2021-05-09 13:03:54,424 - freqtrade - ERROR - Fatal exception!
joblib.externals.loky.process_executor._RemoteTraceback:
"""
Traceback (most recent call last):
File "/home/mab/freqtrade/.env/lib/python3.8/site-packages/joblib/externals/loky/process_executor.py", line 431, in _process_worker
r = call_item()
File "/home/mab/freqtrade/.env/lib/python3.8/site-packages/joblib/externals/loky/process_executor.py", line 285, in call
return self.fn(*self.args, **self.kwargs)
File "/home/mab/freqtrade/.env/lib/python3.8/site-packages/joblib/_parallel_backends.py", line 595, in call
return self.func(*args, **kwargs)
File "/home/mab/freqtrade/.env/lib/python3.8/site-packages/joblib/parallel.py", line 262, in call
return [func(*args, **kwargs)
File "/home/mab/freqtrade/.env/lib/python3.8/site-packages/joblib/parallel.py", line 262, in
The above exception was the direct cause of the following exception:
Traceback (most recent call last): File "/home/mab/freqtrade/freqtrade/main.py", line 37, in main return_code = args'func' File "/home/mab/freqtrade/freqtrade/commands/optimize_commands.py", line 86, in start_hyperopt hyperopt.start() File "/home/mab/freqtrade/freqtrade/optimize/hyperopt.py", line 426, in start f_val = self.run_optimizer_parallel(parallel, asked, i) File "/home/mab/freqtrade/freqtrade/optimize/hyperopt.py", line 341, in run_optimizer_parallel return parallel(delayed( File "/home/mab/freqtrade/.env/lib/python3.8/site-packages/joblib/parallel.py", line 1054, in call self.retrieve() File "/home/mab/freqtrade/.env/lib/python3.8/site-packages/joblib/parallel.py", line 933, in retrieve self._output.extend(job.get(timeout=self.timeout)) File "/home/mab/freqtrade/.env/lib/python3.8/site-packages/joblib/_parallel_backends.py", line 542, in wrap_future_result return future.result(timeout=timeout) File "/usr/lib/python3.8/concurrent/futures/_base.py", line 439, in result return self.__get_result() File "/usr/lib/python3.8/concurrent/futures/_base.py", line 388, in __get_result raise self._exception ValueError: The truth value of a Series is ambiguous. Use a.empty, a.bool(), a.item(), a.any() or a.all().