#๐Ÿ”’ Getting error in fetching data from yfinance

60 messages ยท Page 1 of 1 (latest)

warm roost
#

Help me to fix this

fervent steppeBOT
#

@warm roost

Python help channel opened

Remember to:

  • Ask your Python question, not if you can ask or if there's an expert who can help.
  • Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
  • Explain what you expect to happen and what actually happens.

:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.

warm roost
#

@fallen sphinx

fallen sphinx
#

!pip yfinance

fervent steppeBOT
#

Download market data from Yahoo! Finance API

Released on <t:1751818812:D>.

torpid sphinx
#

this doesnt loons like python help...

warm roost
#

what i did

fallen sphinx
warm roost
torpid sphinx
#

hmmm okay

warm roost
fallen sphinx
warm roost
#

oh wait sry

fallen sphinx
# warm roost

idk if you're using npm but use the yfinance npm equivalent

#
#

Althought that looks... very old

#

idk if that's stable or working

warm roost
#

no i m using with python for yfinance just sending

#

@fallen sphinx this is my code

fallen sphinx
fallen sphinx
warm roost
fallen sphinx
warm roost
#

but can't be able to do calculation it says attemp failed

#

this one

fallen sphinx
# warm roost

That error does not reflect to the Python code you shared

#

Like there's no get-price function in your Python code...

#

Your devtool log shows that its coming from CryptoDashboard

warm roost
#

so i m getting data properly but can't be able to get it in my frontend

#

right?

#

this dashboard is a frontend part

fallen sphinx
warm roost
fallen sphinx
fervent steppeBOT
#
Pasting large amounts of code

If your code is too long to fit in a codeblock in Discord, you can paste your code here:
https://paste.pythondiscord.com/

After pasting your code, save it by clicking the Paste! button in the bottom left, or by pressing CTRL + S. After doing that, you will be navigated to the new paste's page. Copy the URL and post it here so others can see it.

warm roost
#

ok sure

fallen sphinx
warm roost
fallen sphinx
# warm roost analyzer bot

Can you share the analyzer bot's code? The get-price that you're seeing in the devtools is pointing to that being unresponsive

fallen sphinx
warm roost
#

tell me where is the issue u think the data is coming but when doing calculation not sure wat happen

fallen sphinx
fallen sphinx
# warm roost

and can you also share the full error message in one of those failed fetch?

warm roost
fallen sphinx
#

Not this one. I need to see your Console. Show me the failed fetch in your Console

warm roost
fallen sphinx
warm roost
fallen sphinx
warm roost
fervent steppeBOT
#
Python help channel closed for inactivity

This help channel has been closed. Feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.