Browse Source

小修小补

Joey 4 months ago
parent
commit
feba9c4cdf
2 changed files with 1 additions and 4 deletions
  1. 0 3
      modules/rbsaCalculator.dos
  2. 1 1
      modules/task_fundPerformance.dos

+ 0 - 3
modules/rbsaCalculator.dos

@@ -127,9 +127,6 @@ def cal_rolling_rbsa(ret, index_ret, is_long, window, step) {
     
         } while( cnt >= 0)
         
-    } else {
-    
-        tb.tableInsert(null, "error", "The number of returns must be greater than window size.")
     }
 
     return tb

+ 1 - 1
modules/task_fundPerformance.dos

@@ -6,7 +6,6 @@ use fundit::performanceDataPuller;
 use fundit::dataSaver;
 use fundit::returnCalculator;
 use fundit::indicatorCalculator;
-use fundit::bfiMatcher;
 use fundit::ms_dataPuller;
 
 /*
@@ -19,6 +18,7 @@ use fundit::ms_dataPuller;
  *   
  *   Example: calFundPerformanceTask('MF', 2024.10.28);
  *            calFundPerformanceTask('MI', 2024.10.28);
+ *            calFundPerformanceTask('FI', 2024.10.28);
  *            calFundPerformanceTask('MF', get_ini_data_const()['date']);  -- 【初始化数据专用】(70min)
  */
 def calFundPerformanceTask(entityType, date) {