mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
Reduce duplicate warning
This commit is contained in:
parent
6a570bd82e
commit
0a7ed55ade
|
@ -718,9 +718,6 @@ class IFreqaiModel(ABC):
|
|||
if self.pair_it == self.total_pairs:
|
||||
logger.info(
|
||||
f'Total time spent inferencing pairlist {self.inference_time:.2f} seconds')
|
||||
if self.inference_time > 0.25 * self.base_tf_seconds:
|
||||
logger.warning("Inference took over 25% of the candle time. Reduce pairlist to"
|
||||
" avoid blinding open trades and degrading performance.")
|
||||
self.pair_it = 0
|
||||
self.inference_time = 0
|
||||
return
|
||||
|
|
|
@ -145,7 +145,7 @@ class FreqtradeBot(LoggingMixin):
|
|||
logger.warning(
|
||||
f"Strategy analysis took {duration:.2f}, which is 25% of the timeframe. "
|
||||
"This can lead to delayed orders and missed signals."
|
||||
"Consider either reducing the amount of work your strategy performs, "
|
||||
"Consider either reducing the amount of work your strategy performs "
|
||||
"or reduce the amount of pairs in the Pairlist."
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user