put current price back
This commit is contained in:
parent
a59c12dff5
commit
bc6f051acd
12
app/stock.py
12
app/stock.py
@ -117,12 +117,12 @@ def get_stock(share_name, verbose=False):
|
|||||||
value="$%s" % request["postMarketPrice"],
|
value="$%s" % request["postMarketPrice"],
|
||||||
inline=False,
|
inline=False,
|
||||||
)
|
)
|
||||||
else:
|
|
||||||
embed.add_field(
|
embed.add_field(
|
||||||
name="Current price",
|
name="Current price",
|
||||||
value="$%s" % request["regularMarketPrice"],
|
value="$%s" % request["regularMarketPrice"],
|
||||||
inline=False,
|
inline=False,
|
||||||
)
|
)
|
||||||
|
|
||||||
embed.add_field(
|
embed.add_field(
|
||||||
name="Opening price", value="$%s" % request["regularMarketOpen"], inline=False
|
name="Opening price", value="$%s" % request["regularMarketOpen"], inline=False
|
||||||
|
Loading…
x
Reference in New Issue
Block a user