googlefinance-client-python
googlefinance-client-python copied to clipboard
Empty Data Frame
This is my code.
import
pandas as pd
import googlefinance.client as gf
param = {'q': 'FB','i': "86400",'x': "NASD",'P': "3M"}
df = pd.DataFrame(gf.get_price_data(param))
print(df)
For some reason, the results dont produce anything in the columns. Do I need to write more?
Empty DataFrame Columns: [Open, High, Low, Close, Volume] Index: []
same problem. I use the version 1.3.0
same problem here
I solved this problem by changing url in client.py. changing url to "https://finance.google.com/finance/getprices" might be help
This is fixed in 630a6520e805d38dbf432c89d32a01fbd4775219. There's no release in pip yet, but you can install it straight from git:
pip3 install git+https://github.com/pdevty/googlefinance-client-python.git

Its not working