Add tests for max_adjustment_buy handling

This commit is contained in:
Matthias
2022-01-23 19:07:37 +01:00
parent 7429f535c1
commit 57067ce88d
2 changed files with 31 additions and 2 deletions

View File

@@ -464,8 +464,8 @@ class FreqtradeBot(LoggingMixin):
try:
self.check_and_call_adjust_trade_position(trade)
except DependencyException as exception:
logger.warning('Unable to adjust position of trade for %s: %s',
trade.pair, exception)
logger.warning(
f"Unable to adjust position of trade for {trade.pair}: {exception}")
def check_and_call_adjust_trade_position(self, trade: Trade):
"""