diff --git a/freqtrade/rpc/telegram.py b/freqtrade/rpc/telegram.py index 08396ca6f..9f2559000 100644 --- a/freqtrade/rpc/telegram.py +++ b/freqtrade/rpc/telegram.py @@ -200,6 +200,7 @@ def _profit(bot: Bot, update: Update) -> None: *Latest Trade opened:* `{latest_trade_date}` *Avg. Duration:* `{avg_duration}` *Best Performing:* `{best_pair}: {best_rate:.2f}%` +{dry_run_info} """.format( profit_btc=round(sum(profit_amounts), 8), profit=round(sum(profits) * 100, 2), @@ -209,6 +210,8 @@ def _profit(bot: Bot, update: Update) -> None: avg_duration=str(timedelta(seconds=sum(durations) / float(len(durations)))).split('.')[0], best_pair=bp_pair, best_rate=round(bp_rate * 100, 2), + dry_run_info='\n*NOTE:* These values are mocked because *dry_run* is enabled!' + if _CONF['dry_run'] else '' ) send_msg(markdown_msg, bot=bot) @@ -325,7 +328,11 @@ def _performance(bot: Bot, update: Update) -> None: profit=round(rate * 100, 2) ) for i, (pair, rate) in enumerate(pair_rates)) - message = 'Performance:\n{}\n'.format(stats) + message = 'Performance:\n{}\n{}'.format( + stats, + 'NOTE: These values are mocked because dry_run is enabled.' + if _CONF['dry_run'] else '' + ) logger.debug(message) send_msg(message, parse_mode=ParseMode.HTML)