replace the word abortion with rejected in log messages

This commit is contained in:
robcaulk 2022-07-05 12:49:09 +02:00
parent 6f0721ae2b
commit 647f9b5460

View File

@ -634,7 +634,7 @@ class FreqtradeBot(LoggingMixin):
pair=pair, order_type=order_type, amount=amount, rate=enter_limit_requested, pair=pair, order_type=order_type, amount=amount, rate=enter_limit_requested,
time_in_force=time_in_force, current_time=datetime.now(timezone.utc), time_in_force=time_in_force, current_time=datetime.now(timezone.utc),
entry_tag=enter_tag, side=trade_side): entry_tag=enter_tag, side=trade_side):
logger.info(f"User requested abortion of buying {pair}") logger.info(f"User rejected entry for {pair}.")
return False return False
order = self.exchange.create_order( order = self.exchange.create_order(
pair=pair, pair=pair,
@ -1465,7 +1465,7 @@ class FreqtradeBot(LoggingMixin):
time_in_force=time_in_force, exit_reason=exit_reason, time_in_force=time_in_force, exit_reason=exit_reason,
sell_reason=exit_reason, # sellreason -> compatibility sell_reason=exit_reason, # sellreason -> compatibility
current_time=datetime.now(timezone.utc)): current_time=datetime.now(timezone.utc)):
logger.info(f"User requested abortion of {trade.pair} exit.") logger.info(f"User rejected exit for {trade.pair}.")
return False return False
try: try: