finance.stock.google Obtaining indices data, namely hist. prices
This is related to either the finance.stock.google() or sage.finance.stock.Stock().google() modular functions:
Is there a way to obtain data, namely historical prices, of indices, namely the S&P500?
I had tried the following:
sage.finance.stock.Stock("INDEXSP:INX", 626307).google(startdate="Jan+1,+1900")[:5]
But it didn't retrieve anything.
-ernestyalumni
Facebook : ernestyalumni gmail : ernestyalumni tumblr : ernestyalumni twitter : ernestyalumni weibo ?? : ernestyalumni youku : ernestyalumni youtube : ernestyalumni indiegogo : ernestyalumni
See http://trac.sagemath.org/sage_trac/ticket/13884 for an issue with the change in how Google Finance did things, which could be directly related.
Thanks. I looked at that link. It doesn't address how it queries the specific equity. I'm looking to obtain data on an index.