Added realized profit

Co-Authored-By: மனோஜ்குமார் பழனிச்சாமி <smartmanoj42857@gmail.com>
This commit is contained in:
Kavinkumar
2022-03-06 15:22:21 +05:30
parent 6fa6542935
commit 117e966f34
4 changed files with 13 additions and 4 deletions

View File

@@ -500,6 +500,7 @@ class Telegram(RPCHandler):
])
if r['is_open']:
lines.append("*Realized Prodir:* `{realized_profit:.8f}`")
if (r['stop_loss_abs'] != r['initial_stop_loss_abs']
and r['initial_stop_loss_ratio'] is not None):
# Adding initial stoploss only if it is different from stoploss