用于访问和分析财务数据的高级API。
pandas-finance的Python项目详细描述
用于访问和分析财务数据的高级API。
安装
通过pip安装
$ pip install pandas-finance
用法
frompandas_financeimportEquityaapl=Equity('AAPL')aapl.annual_dividendaapl.dividend_yieldaapl.priceaapl.optionsaapl.hist_vol(30)aapl.rolling_hist_vol(30)
使用请求缓存自动缓存数据1小时
有关详细信息,请参见pandas-finance documentation。