logging message improved

This commit is contained in:
hroff-1902 2019-08-18 12:55:31 +03:00
parent 8a2a8ab8b5
commit 310e438706

View File

@ -85,7 +85,7 @@ class DataProvider():
# Get historic ohlcv data (cached on disk). # Get historic ohlcv data (cached on disk).
data = self.historic_ohlcv(pair=pair, ticker_interval=ticker_interval) data = self.historic_ohlcv(pair=pair, ticker_interval=ticker_interval)
if len(data) == 0: if len(data) == 0:
logger.warning(f"No data found for pair {pair}") logger.warning(f"No data found for ({pair}, {ticker_interval}).")
return data return data
def ticker(self, pair: str): def ticker(self, pair: str):