mirror of
https://gitlab.com/simple-stock-bots/simple-stock-bot.git
synced 2025-06-16 15:17:28 +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:
commit
5f09744914
@ -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