1
0
mirror of https://gitlab.com/simple-stock-bots/simple-stock-bot.git synced 2025-06-15 23:06:40 +00:00

trending bugfix

This commit is contained in:
MisterBiggs 2021-07-08 11:18:24 -07:00
parent bfeb28833a
commit 2e9bf6e673

View File

@ -523,7 +523,7 @@ class IEX_Symbol:
)
if stocks.status_code == 200:
return [
f"`${s['symbol']}`: {s['companyName']}, {s['changePercent']:.2f}%"
f"`${s['symbol']}`: {s['companyName']}, {100*s['changePercent']:.2f}%"
for s in stocks.json()
]
else: