mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
modified two lines from logger.info to logger.debug cause they're too spammy
This commit is contained in:
parent
aa8731d0fc
commit
aeabe1800b
|
@ -627,7 +627,7 @@ class FreqtradeBot:
|
||||||
self.dataprovider.ohlcv(trade.pair, self.strategy.ticker_interval))
|
self.dataprovider.ohlcv(trade.pair, self.strategy.ticker_interval))
|
||||||
|
|
||||||
if config_ask_strategy.get('use_order_book', False):
|
if config_ask_strategy.get('use_order_book', False):
|
||||||
logger.info('Using order book for selling...')
|
logger.debug(f'Using order book for selling {trade.pair}...')
|
||||||
# logger.debug('Order book %s',orderBook)
|
# logger.debug('Order book %s',orderBook)
|
||||||
order_book_min = config_ask_strategy.get('order_book_min', 1)
|
order_book_min = config_ask_strategy.get('order_book_min', 1)
|
||||||
order_book_max = config_ask_strategy.get('order_book_max', 1)
|
order_book_max = config_ask_strategy.get('order_book_max', 1)
|
||||||
|
@ -636,7 +636,7 @@ class FreqtradeBot:
|
||||||
|
|
||||||
for i in range(order_book_min, order_book_max + 1):
|
for i in range(order_book_min, order_book_max + 1):
|
||||||
order_book_rate = order_book['asks'][i - 1][0]
|
order_book_rate = order_book['asks'][i - 1][0]
|
||||||
logger.info(' order book asks top %s: %0.8f', i, order_book_rate)
|
logger.debug(' order book asks top %s: %0.8f', i, order_book_rate)
|
||||||
sell_rate = order_book_rate
|
sell_rate = order_book_rate
|
||||||
|
|
||||||
if self._check_and_execute_sell(trade, sell_rate, buy, sell):
|
if self._check_and_execute_sell(trade, sell_rate, buy, sell):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user