chore: add price in execute_entry logs

This commit is contained in:
Axel-CH
2025-03-03 14:42:16 -04:00
parent 1bba2a5f21
commit facfdfd85c

View File

@@ -903,14 +903,14 @@ class FreqtradeBot(LoggingMixin):
msg = ( msg = (
f"Position adjust: about to create a new order for {pair} with stake_amount: " f"Position adjust: about to create a new order for {pair} with stake_amount: "
f"{stake_amount} for {trade}" f"{stake_amount} and price: {enter_limit_requested} for {trade}"
if mode == "pos_adjust" if mode == "pos_adjust"
else ( else (
f"Replacing {side} order: about create a new order for {pair} with stake_amount: " f"Replacing {side} order: about create a new order for {pair} with stake_amount: "
f"{stake_amount} ..." f"{stake_amount} and price: {enter_limit_requested} ..."
if mode == "replace" if mode == "replace"
else f"{name} signal found: about create a new trade for {pair} with stake_amount: " else f"{name} signal found: about create a new trade for {pair} with stake_amount: "
f"{stake_amount} ..." f"{stake_amount} and price: {enter_limit_requested} ..."
) )
) )
logger.info(msg) logger.info(msg)