changing stock url to yahoos for consistency
This commit is contained in:
parent
eb2cc08f51
commit
8197e57c43
@ -43,7 +43,7 @@ def get_stock(share_name):
|
||||
embed.add_field(name='Day\'s Range', value=request['regularMarketDayRange'], inline=False)
|
||||
embed.add_field(name='Market Cap', value="{:,}".format(request['marketCap']), inline=False)
|
||||
embed.add_field(name='Shares Outstanding', value="{:,}".format(request['sharesOutstanding']), inline=False)
|
||||
embed.add_field(name='Link to stock price', value="https://www.marketwatch.com/investing/stock/%s" % share_name, inline=False)
|
||||
embed.add_field(name='Link to stock price', value="https://finance.yahoo.com/quote/%s" % share_name, inline=False)
|
||||
embed.set_footer(text="Pulled from https://finance.yahoo.com\nRemember, stocks can go up 100000%, but they can only go down 100%", icon_url='https://emojipedia-us.s3.dualstack.us-west-1.amazonaws.com/thumbs/120/emojidex/112/chart-with-downwards-trend_1f4c9.png')
|
||||
|
||||
return embed
|
||||
|
Loading…
x
Reference in New Issue
Block a user