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

Merge branch 'canary' into 'master'

trending bugfix

See merge request simple-stock-bots/simple-telegram-stock-bot!25
This commit is contained in:
Anson Biggs 2021-07-08 18:24:16 +00:00
commit 5f09744914

View File

@ -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: