Fix tests - read optional argument

This commit is contained in:
xmatthias
2018-06-05 23:53:49 +02:00
parent 270ccbb0da
commit f37c5b70ba
5 changed files with 23 additions and 22 deletions

View File

@@ -50,7 +50,7 @@ def trim_tickerlist(tickerlist: List[Dict], timerange: TimeRange) -> List[Dict]:
def load_tickerdata_file(
datadir: str, pair: str,
ticker_interval: str,
timerange: TimeRange) -> Optional[List[Dict]]:
timerange: Optional[TimeRange] = None) -> Optional[List[Dict]]:
"""
Load a pair from file,
:return dict OR empty if unsuccesful