mirror of
https://github.com/freqtrade/freqtrade.git
synced 2025-11-29 08:33:07 +00:00
Merge pull request #12536 from stash86/add-liq-price
Add liq price info on telegram message
This commit is contained in:
@@ -825,6 +825,10 @@ class Telegram(RPCHandler):
|
||||
|
||||
# Append empty line to improve readability
|
||||
lines.append(" ")
|
||||
# Adding liquidation only if it is not None
|
||||
if liquidation := r.get("liquidation_price"):
|
||||
lines.append(f"*Liquidation:* `{round_value(liquidation, 8)}`")
|
||||
|
||||
if (
|
||||
r["stop_loss_abs"] != r["initial_stop_loss_abs"]
|
||||
and r["initial_stop_loss_ratio"] is not None
|
||||
|
||||
Reference in New Issue
Block a user