mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
add % in status table for profit
This commit is contained in:
parent
33293d5cdd
commit
4dab39ed9e
|
@ -196,7 +196,7 @@ def _status_table(bot: Bot, update: Update) -> None:
|
|||
trade.id,
|
||||
trade.pair,
|
||||
shorten_date(arrow.get(trade.open_date).humanize(only_distance=True)),
|
||||
'{:.2f}'.format(100 * trade.calc_profit(current_rate))
|
||||
'{:.2f}%'.format(100 * trade.calc_profit(current_rate))
|
||||
])
|
||||
|
||||
columns = ['ID', 'Pair', 'Since', 'Profit']
|
||||
|
|
Loading…
Reference in New Issue
Block a user