@commands.command(aliases=['ticker'])
async def stock(self, ctx, ticker, currency='USD'):
    '\n            Gets current ticker symbol price.\n\n            `<ticker>` is the ticker symbol you want to look up\n            `[currency]` is the currency you want to convert to defaults to USD\n        '
    stock = 'https://www.quandl.com/api/v3/datasets/WIKI/{}.json?api_key=EKvr5W-sJUFVSevcpk4v'
    async with aiohttp.ClientSession() as session:
        async with session.get(stock.format(ticker.upper())) as resp:
            data = (await resp.json())
    convertrate = 1
    if (currency != 'USD'):
        convertrate = self.conversionrate('USD', currency.upper())
    price = (data['dataset']['data'][0][1] * convertrate)
    msg = '{0} is {1:,.2f} {2}'.format(ticker.upper(), price, currency.upper())
    embed = discord.Embed(descirption='Stock Price', colour=discord.Colour.lighter_grey())
    embed.add_field(name=ticker.upper(), value=msg)
    if (not ctx.channel.permissions_for(ctx.me).embed_links):
        (await ctx.send(msg))
    else:
        (await ctx.send(embed=embed))
Gets current ticker symbol price.

`<ticker>` is the ticker symbol you want to look up
`[currency]` is the currency you want to convert to defaults to USD
@commands.command(aliases=['ticker'])
async def stock(self, ctx, ticker, currency='USD'):
    '\n            Gets current ticker symbol price.\n\n            `<ticker>` is the ticker symbol you want to look up\n            `[currency]` is the currency you want to convert to defaults to USD\n        '
    stock = 'https://www.quandl.com/api/v3/datasets/WIKI/{}.json?api_key=EKvr5W-sJUFVSevcpk4v'
    async with aiohttp.ClientSession() as session:
        async with session.get(stock.format(ticker.upper())) as resp:
            data = (await resp.json())
    convertrate = 1
    if (currency != 'USD'):
        convertrate = self.conversionrate('USD', currency.upper())
    price = (data['dataset']['data'][0][1] * convertrate)
    msg = '{0} is {1:,.2f} {2}'.format(ticker.upper(), price, currency.upper())
    embed = discord.Embed(descirption='Stock Price', colour=discord.Colour.lighter_grey())
    embed.add_field(name=ticker.upper(), value=msg)
    if (not ctx.channel.permissions_for(ctx.me).embed_links):
        (await ctx.send(msg))
    else:
        (await ctx.send(embed=embed))