logging message improved
This commit is contained in:
parent
8a2a8ab8b5
commit
310e438706
@ -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):
|
||||||
|
Loading…
Reference in New Issue
Block a user