This commit is contained in:
creslin 2018-05-31 09:14:21 +00:00 committed by GitHub
commit f12d34804e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -40,7 +40,8 @@ CONF_SCHEMA = {
'KRW', 'MXN', 'MYR', 'NOK',
'NZD', 'PHP', 'PKR', 'PLN',
'RUB', 'SEK', 'SGD', 'THB',
'TRY', 'TWD', 'ZAR', 'USD']},
'TRY', 'TWD', 'ZAR', 'USD',
'USDT']},
'dry_run': {'type': 'boolean'},
'minimal_roi': {
'type': 'object',

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,