I have to work with google finance data to do an intraday data modeling, that is, I need the values every minute or every five minutes for a day.
I'm doing it with python with the following example:
uri = 'http://www.google.com/finance/getprices?i={period}&p={days}d&f=d,o,h,l,c,v&df=cpct&q={ticker}'.format(ticker=ticker, period=period, days=days)
page = requests.get(uri)
reader = csv.reader(page.content.splitlines())
of link . The problem is that Google does not let me get so much data and I get an error like this link
Does anyone know how to get this data or at least interpret the uri so that google, having to give me less data, will you give it to me? As a temporary solution, I could also use downloading data from a .csv, although it is more cumbersome.
I do not need too many.
Thank you.