Add trading volume to /profit output

This commit is contained in:
Matthias
2022-06-18 11:40:32 +02:00
parent 6a15d36d14
commit 40c9abc7e1
4 changed files with 20 additions and 0 deletions

View File

@@ -737,6 +737,7 @@ class Telegram(RPCHandler):
markdown_msg += (
f"\n*Avg. Duration:* `{avg_duration}`\n"
f"*Best Performing:* `{best_pair}: {best_pair_profit_ratio:.2%}`\n"
f"*Trading volume:* `{round_coin_value(stats['trading_volume'], stake_cur)}`\n"
f"*Profit factor:* `{stats['profit_factor']:.2f}`\n"
f"*Max Drawdown:* `{stats['max_drawdown']:.2%} "
f"({round_coin_value(stats['max_drawdown_abs'], stake_cur)})`"