Fix line too long

This commit is contained in:
thopd88 2020-07-23 09:47:53 +07:00
parent 0502fe0496
commit a3daf8e41c
1 changed files with 2 additions and 1 deletions

View File

@ -519,7 +519,8 @@ class Telegram(RPC):
trades_tab = tabulate(
[[arrow.get(trade['open_date']).humanize(),
trade['pair'],
f"{(100 * trade['close_profit']):.2f}% ({trade['close_profit_abs']})"] for trade in trades['trades'] if trade['close_profit'] is not None],
f"{(100 * trade['close_profit']):.2f}% ({trade['close_profit_abs']})"]
for trade in trades['trades'] if trade['close_profit'] is not None],
headers=[
'Open Date',
'Pair',