获取事件因子(factor/get_event_factor)

获取事件因子

网关地址

沙箱环境调用地址: https://sandbox.hscloud.cn
数据核查类生产调用地址: https://api.hscloud.cn
仿真业务接口生产调用地址: https://vopen.hscloud.cn
其余生产调用地址: https://open.hscloud.cn

URL

https://sandbox.hscloud.cn/alphamind/v1/factor/get_event_factor

是否需要业务登录

HTTP请求方式

POST

请求参数

参数名 类型 必填 最大长度 默认值 中文名 描述
access_token String 访问令牌
factor_list String 因子列表
支持最多10个因子同时查询
stock_list String 股票集合
如:600570.XSHG,多个代码用英文逗号隔开,与index_code互斥,优先匹配stock_list
index_code String 指数代码
如:000300.XSHG,与stock_list互斥,优先匹配stock_list
start_date String 开始日期
如:20190101
end_date String 截止日期
如:20190101
company_id String 机构编码

返回参数

参数名 类型 最大长度 默认值 中文名 描述
error_no String 错误代码
error_info String 错误提示
data Object 返回数据

正确返回示例

{"error_no":0,"error_info":"","data":{"fields":"trading_day,stock_code,factor_1,factor_2","items":[["20150501","600570.XSHG",0.87552,0.4512],["20150502","600570.XSHG",0.87552,0.4512]]}}