获取财务数据(基本面数据)
get_fundamentals 查询财务数据,基本命数据,公司的数据(即将废弃)
4、 get_factor() 获取因子
用途:查询财务数据
- 回测的时候、主要拿来选股
- 400多种 财务指标
# 获取股票截止 T-1 日的因子数据
get_factor(order_book_ids, factors,count=1,universe=None,expect_df=False)
参数 | 类型 | 说明 |
---|---|---|
order_book_ids | str or str list | 合约代码,可传入 order_book_id, order_book_id list |
factors | str or str list | 因子名称,可查询 rqdatac. |