mirror of
https://gitlab.com/simple-stock-bots/simple-stock-bot.git
synced 2025-06-15 23:06:40 +00:00
small formatting change
This commit is contained in:
parent
390a6199ad
commit
6d2b9309d7
@ -209,7 +209,7 @@ class IEX_Symbol:
|
||||
message = f"The current stock price of {IEXData['companyName']} is $**{IEXData['latestPrice']}**"
|
||||
else:
|
||||
message = (
|
||||
f"{IEXData['companyName']} closed at $**{IEXData['latestPrice']}**, with a change of {change}"
|
||||
f"{IEXData['companyName']} closed at $**{IEXData['latestPrice']}** with a change of {change}%,"
|
||||
+ f" after hours _(15 minutes delayed)_ the stock price is $**{IEXData['extendedPrice']}**"
|
||||
)
|
||||
if change := IEXData.get("extendedChangePercent", 0):
|
||||
|
Loading…
x
Reference in New Issue
Block a user