Update telegram.py

This commit is contained in:
Kavinkumar 2022-03-11 02:34:05 +05:30 committed by GitHub
parent f9783b7aae
commit a417e1fa1e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -297,7 +297,7 @@ class Telegram(RPCHandler):
cp_extra = f" / {cp_fiat:.3f} {msg['fiat_currency']})" cp_extra = f" / {cp_fiat:.3f} {msg['fiat_currency']})"
else: else:
cp_extra = '' cp_extra = ''
cp_extra = f"*Cumulative Profit:* (`{msg['cumulative_profit']:.8f}\ cp_extra = f"*Cumulative Profit:* (`{msg['cumulative_profit']:.8f}" \
f"{msg['stake_currency']}{cp_extra}`)\n" f"{msg['stake_currency']}{cp_extra}`)\n"
else: else:
cp_extra = '' cp_extra = ''