从圣保罗大学巴西金融经济学研究中心NEFIN下载数据(http://www.nefin.com.br/)
nefindata的Python项目详细描述
内芬达
Python和R包从圣保罗大学巴西金融经济研究中心NEFIN下载数据(http://www.nefin.com.br/)
安装
python包可以通过pip安装。运行以下命令:
pip install nefindata
风险因素
收集市场因素、中小企业、WML、HML、IML、无风险等风险因素数据。在
使用示例:
^{pr2}$资本成本
收集基础产品、建筑、消费、能源、金融、制造业等工业部门的资本成本数据。 10个项目,1-20年数据。在
使用示例:
fromnefindata.cost_capitalimportget_sector_cost_of_capitalsector='Basic'df=get_sector_cost_of_capital(sector)df_agg=get_sector_cost_of_capital(sector,agg='year',agg_func='last')
其他数据
类似的函数获取其他数据,例如。语法与上面类似。在
- Dividend Yield:
get_dividend_yield()
- Illiquidity Index:
get_illiquidity_index()
- Loan Fees:
get_load_fees()
- Short Interest:
get_short_interest()
下一步行动
包括来自的数据下载程序
- 项目
标签: