Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I keep getting this error from yahoo #956

Open
Alyx69 opened this issue Jan 10, 2023 · 7 comments
Open

I keep getting this error from yahoo #956

Alyx69 opened this issue Jan 10, 2023 · 7 comments

Comments

@Alyx69
Copy link

Alyx69 commented Jan 10, 2023

When I run the code it keeps getting me this error

import pandas_datareader as web
import datetime as dt


start = dt.datetime(2019,1,1)
end = dt.datetime.now()

data = web.DataReader('TSLA', 'yahoo', start, end)

print(data)
data = j["context"]["dispatcher"]["stores"]["HistoricalPriceStore"]
TypeError: string indices must be integers

Do You know when it will be fixed??

@raphi6
Copy link

raphi6 commented Jan 12, 2023

Check issue #952 , waiting on some help to get it accepted for PR #953

@EFFICIENTCORPORATES
Copy link

Yeah, +1 for this.. Unable to fetch the data..

Devs ,,Please help..!!

@NRHartFRC
Copy link

NRHartFRC commented Jan 19, 2023

Not posting for attention--attempting to get a shared vision of the crux of this issue for the REAL devs to solve.
Please view comment to shed light on both (i) indices must be integers, and (ii) new_j is not referenced bug.

#952 (comment)

TLDR:

  1. Try declaring global variables for new_j and/or data in daily.py
  2. Understand how {} and grave symbol (i.e., curly braces and grave symbol (above tab key)) can be used in python.
  3. Understand how spread operator [...] plays a role in Yahoo Finances' backend architecture.

@mikedesu
Copy link

+1 for this issue. Code that was previously working is now broken.

@manugarri
Copy link

I think this project is not maintained anymore.

@DevSpace88
Copy link

error still exists. sadge.

@pArmarpaRth22
Copy link

+1 for this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants