diff options
Diffstat (limited to 'python/task_server/globeop.py')
| -rw-r--r-- | python/task_server/globeop.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/python/task_server/globeop.py b/python/task_server/globeop.py index 96ab050f..10e8d6b5 100644 --- a/python/task_server/globeop.py +++ b/python/task_server/globeop.py @@ -83,10 +83,7 @@ def download_data(engine, workdate: datetime.date, fund="SERCGMAST"): pnlfiles = [ filename for filename in files - if filename.endswith("csv.asc") - and "Profit" in filename - and "KD" in filename - and fund in filename + if filename.endswith("csv.asc") and "Profit" in filename and fund in filename if get_ped(filename) < workdate ] valuationfiles = [ @@ -94,7 +91,6 @@ def download_data(engine, workdate: datetime.date, fund="SERCGMAST"): for filename in files if filename.endswith("csv.asc") and "Valuation_TradeID" in filename - and "KD" in filename and fund in filename if get_ped(filename) < workdate ] |
