adding stake amount to telegram message

This commit is contained in:
Misagh
2019-04-03 16:28:44 +02:00
parent 478c149bbb
commit a3fe5f5757
4 changed files with 9 additions and 1 deletions

View File

@@ -103,11 +103,13 @@ class RPC(object):
results.append(dict(
trade_id=trade.id,
pair=trade.pair,
base_currency=self._freqtrade.config['stake_currency'],
date=arrow.get(trade.open_date),
open_rate=trade.open_rate,
close_rate=trade.close_rate,
current_rate=current_rate,
amount=round(trade.amount, 8),
stake_amount=round(trade.amount, 8),
close_profit=fmt_close_profit,
current_profit=round(current_profit * 100, 2),
stop_loss=trade.stop_loss,