mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
Fix case with empty dict
This commit is contained in:
parent
2267a420a4
commit
a127e1db07
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user