adjust message formatting
This commit is contained in:
parent
80592970e9
commit
86501b43c0
@ -372,7 +372,7 @@ def _performance(bot: Bot, update: Update) -> None:
|
|||||||
.order_by(text('profit_sum DESC')) \
|
.order_by(text('profit_sum DESC')) \
|
||||||
.all()
|
.all()
|
||||||
|
|
||||||
stats = '\n'.join('{index}. <code>{pair}\t{profit:.2f}%</code>'.format(
|
stats = '\n'.join('{index}.\t<code>{pair}\t{profit:.2f}%</code>'.format(
|
||||||
index=i + 1,
|
index=i + 1,
|
||||||
pair=pair,
|
pair=pair,
|
||||||
profit=round(rate * 100, 2)
|
profit=round(rate * 100, 2)
|
||||||
|
Loading…
Reference in New Issue
Block a user