mirror of
https://github.com/freqtrade/freqtrade.git
synced 2025-12-16 21:01:14 +00:00
add liq line
This commit is contained in:
@@ -834,7 +834,12 @@ class Telegram(RPCHandler):
|
|||||||
"*Initial Stoploss:* `{initial_stop_loss_abs:.8f}` "
|
"*Initial Stoploss:* `{initial_stop_loss_abs:.8f}` "
|
||||||
"`({initial_stop_loss_ratio:.2%})`"
|
"`({initial_stop_loss_ratio:.2%})`"
|
||||||
)
|
)
|
||||||
|
# Adding liquidation only if it is not None
|
||||||
|
lines.append(
|
||||||
|
f"*Liquidation:* `{round_value(r['liquidation_price'], 8)}`"
|
||||||
|
if r["liquidation_price"]
|
||||||
|
else ""
|
||||||
|
)
|
||||||
# Adding stoploss and stoploss percentage only if it is not None
|
# Adding stoploss and stoploss percentage only if it is not None
|
||||||
lines.append(
|
lines.append(
|
||||||
f"*Stoploss:* `{round_value(r['stop_loss_abs'], 8)}` "
|
f"*Stoploss:* `{round_value(r['stop_loss_abs'], 8)}` "
|
||||||
|
|||||||
Reference in New Issue
Block a user