Browse Source

小修小补

Joey 4 months ago
parent
commit
471a0ebc95
1 changed files with 1 additions and 2 deletions
  1. 1 2
      modules/bfiMatcher.dos

+ 1 - 2
modules/bfiMatcher.dos

@@ -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;