#๐ Getting error in fetching data from yfinance
60 messages ยท Page 1 of 1 (latest)
@warm roost
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.
@fallen sphinx
this doesnt loons like python help...
yes i installed yfinance with pip
what i did
Show your code
it is bro coz of yfinance package i m using
hmmm okay
Thats not Python
oh wait sry
idk if you're using npm but use the yfinance npm equivalent
Althought that looks... very old
idk if that's stable or working
no i m using with python for yfinance just sending
@fallen sphinx this is my code
.... Its not even properly formatted
Does it run?
yeah i m getting data
so no issue?
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
so i m getting data properly but can't be able to get it in my frontend
right?
this dashboard is a frontend part
Show your get-price function
I don't like this text service. Please use a proper code pastebin service
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.
ok sure
What is running on http://localhost:3004/?
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
Can you show me what this function does?
analyzer.fetchHistoricalData(symbol, timeframe);
It's for fetching forex historical data
tell me where is the issue u think the data is coming but when doing calculation not sure wat happen
I'm trying to figure that out. Can you show me how fetchHistoricalData is fetching it?
and can you also share the full error message in one of those failed fetch?
I seriously don't have any clue i also took help from Gpts not sure how they made and when search abt this fetchhistoriclaData i got nothing
yes wait
Then can you share the full code for the "analyzer bot"? So I can trace where its calling all of these different functions?
Not this one. I need to see your Console. Show me the failed fetch in your Console
same that get-price thing it's giving
Then I'll need to see the code behind fetchHistoricalData . I assume that's in your analyzer.py but that is just my guess
there is not function name fetchHistoricalData i just search it did by gpts
Then thats probably the problem
hmm lemme try to fix this
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.