message too long, removing URL for now
This commit is contained in:
parent
d849694a70
commit
55d0d27756
@ -476,10 +476,10 @@ 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}.\t<code>[{pair}]({url})\t{profit:.2f}% ({count})</code>'.format(
|
stats = '\n'.join('{index}.\t<code>{pair}\t{profit:.2f}% ({count})</code>'.format(
|
||||||
index=i + 1,
|
index=i + 1,
|
||||||
pair=pair,
|
pair=pair,
|
||||||
url=exchange.get_pair_detail_url(pair),
|
#url=exchange.get_pair_detail_url(pair),
|
||||||
profit=round(rate * 100, 2),
|
profit=round(rate * 100, 2),
|
||||||
count=count
|
count=count
|
||||||
) for i, (pair, rate, count) in enumerate(pair_rates))
|
) for i, (pair, rate, count) in enumerate(pair_rates))
|
||||||
|
Loading…
Reference in New Issue
Block a user