Does Python has a similar library like quantmod in R that can download financial statement data? -
does python has similar library quantmod in r can download financial statement data? want download historical revenue of each stock in python. can give me hint? thanks.
yes lot of them, zipline, pandas , matplotlib can download data yahoo finance. recommend use pandas:
>>> pandas.io.data import datareader >>> datetime import datetime >>> goog = datareader("goog", "yahoo", datetime(2000,1,1), datetime(2012,1,1)) >>> goog["adj close"] date 2004-08-19 100.34 2004-08-20 108.31 2004-08-23 109.40 2004-08-24 104.87 2004-08-25 106.00 ...
Comments
Post a Comment