diff --git a/freqtrade/optimize/__init__.py b/freqtrade/optimize/__init__.py index 58eb28cb1..1f32ae2d5 100644 --- a/freqtrade/optimize/__init__.py +++ b/freqtrade/optimize/__init__.py @@ -17,6 +17,9 @@ logger = logging.getLogger(__name__) def trim_tickerlist(tickerlist: List[Dict], timerange: Tuple[Tuple, int, int]) -> List[Dict]: + if not tickerlist: + return tickerlist + stype, start, stop = timerange start_index = 0