diff --git a/freqtrade/rpc/telegram.py b/freqtrade/rpc/telegram.py index 5c896fec0..0ffb70ceb 100644 --- a/freqtrade/rpc/telegram.py +++ b/freqtrade/rpc/telegram.py @@ -837,7 +837,7 @@ class Telegram(RPCHandler): # Adding liquidation only if it is not None lines.append( f"*Liquidation:* `{round_value(r['liquidation_price'], 8)}`" - if r["liquidation_price"] + if r.get("liquidation_price") else "" ) # Adding stoploss and stoploss percentage only if it is not None