|
@@ -154,8 +154,7 @@ def cal_entity_index_coe(entity_type, entity_info) {
|
|
|
start_day = entity_info.price_date.min();
|
|
|
|
|
|
// 取数据集每个基金组合指定日期之前5年至今的周净值
|
|
|
- s_json = (SELECT entity_id AS sec_id, price_date.temporalAdd(-5y) AS price_date FROM entity_info).toStdJson();
|
|
|
-
|
|
|
+ s_json = (SELECT entity_id AS sec_id, price_date.temporalAdd(-5y) AS price_date FROM entity_info).toStdJson();
|
|
|
nav_entity = get_nav_for_return_calculation(entity_type, 'w', s_json);
|
|
|
|
|
|
if(nav_entity.isVoid() || nav_entity.size() == 0) return null;
|