From ddd62277c28eebe7b9b60503d16093f754e20534 Mon Sep 17 00:00:00 2001 From: Samuel Husso Date: Sat, 20 Jan 2018 17:50:23 +0200 Subject: [PATCH] add total amount of trades to /status --- freqtrade/rpc/telegram.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/freqtrade/rpc/telegram.py b/freqtrade/rpc/telegram.py index 596dd70dc..409427615 100644 --- a/freqtrade/rpc/telegram.py +++ b/freqtrade/rpc/telegram.py @@ -156,6 +156,7 @@ def _status(bot: Bot, update: Update) -> None: *Close Profit:* `{close_profit}` *Current Profit:* `{current_profit:.2f}%` *Open Order:* `{open_order}` +*Total Open Trades:* `{total_trades}` """.format( trade_id=trade.id, pair=trade.pair.replace('_', '/'), @@ -170,6 +171,7 @@ def _status(bot: Bot, update: Update) -> None: open_order='({} rem={:.8f})'.format( order['type'], order['remaining'] ) if order else None, + total_trades=len(trades) ) send_msg(message, bot=bot)