Update __init__.py

This commit is contained in:
creslin 2018-05-31 12:14:19 +03:00 committed by GitHub
parent 2600e189bd
commit 491aaef73c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -74,12 +74,11 @@ def load_tickerdata_file(
pairdata = json.load(tickerdata)
else:
return None
if timerange:
pairdata = trim_tickerlist(pairdata, timerange)
return pairdata
def load_data(datadir: str,
ticker_interval: str,
pairs: Optional[List[str]] = None,