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

Google Finance changed their API. The package isn't working at all. #47

Open
mfixman opened this issue Aug 19, 2018 · 0 comments
Open

Comments

@mfixman
Copy link

mfixman commented Aug 19, 2018

from googlefinance.client import get_price_data, get_prices_data

param = {
    'q': ".DJI", # Stock symbol (ex: "AAPL")
    'i': "86400", # Interval size in seconds ("86400" = 1 day intervals)
    'x': "INDEXDJX", # Stock exchange symbol on which stock is traded (ex: "NASD")
    'p': "1Y" # Period (Ex: "1Y" = 1 year)
}
# get price data (return pandas dataframe)
get_price_data(param)

Empty DataFrame
Columns: [Open, High, Low, Close, Volume]
Index: []
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

1 participant