rename --timeperiod to --timerange

This commit is contained in:
kryofly
2018-01-15 21:49:06 +01:00
parent f61012097c
commit 71bb348698
7 changed files with 13 additions and 13 deletions

View File

@@ -68,9 +68,9 @@ def load_data(datadir: str, ticker_interval: int = 5, pairs: Optional[List[str]]
return result
def tickerdata_to_dataframe(data, timeperiod=None):
if timeperiod:
data = trim_tickerlist(data, timeperiod)
def tickerdata_to_dataframe(data, timerange=None):
if timerange:
data = trim_tickerlist(data, timerange)
preprocessed = preprocess(data)
return preprocessed