mirror of
https://gitlab.com/simple-stock-bots/simple-telegram-stock-bot.git
synced 2025-06-16 15:06:53 +00:00
trending bugfix
This commit is contained in:
parent
bfeb28833a
commit
2e9bf6e673
@ -523,7 +523,7 @@ class IEX_Symbol:
|
|||||||
)
|
)
|
||||||
if stocks.status_code == 200:
|
if stocks.status_code == 200:
|
||||||
return [
|
return [
|
||||||
f"`${s['symbol']}`: {s['companyName']}, {s['changePercent']:.2f}%"
|
f"`${s['symbol']}`: {s['companyName']}, {100*s['changePercent']:.2f}%"
|
||||||
for s in stocks.json()
|
for s in stocks.json()
|
||||||
]
|
]
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user