So I've recently been trying to build a bitcoin price tracker into my discord bot using the yfinance API, but it doesn't show me the price whenever I run the command, does anyone know how? For context, this is the result I always get:
Open ... Volume
Date ...
2022-01-08 36663.851562 ... 71013384192
[1 rows x 6 columns]
And here's the code
@bot.command(name='BTCstalker', help='Posts updates on BTC.')
async def cyrdat(ctx):
cryptoData = yf.download(tickers="BTC-EUR", period='1d', interval='1d')
content = (cryptoData)
await ctx.send(content)