aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--python/innocap.py3
-rw-r--r--python/report_ops/sma.py2
2 files changed, 3 insertions, 2 deletions
diff --git a/python/innocap.py b/python/innocap.py
index dd2337d6..57f14b28 100644
--- a/python/innocap.py
+++ b/python/innocap.py
@@ -110,5 +110,6 @@ if __name__ == "__main__":
conn = dbconn("dawndb")
upload_citco_files(cob, not args.no_upload)
- upload_position_files(cob, "ISOSEL", not args.no_upload)
+ for fund in ("ISOSEL", "CRSE"):
+ upload_position_files(cob, fund, not args.no_upload)
monitor_cash_balances(args.workdate, "ISOS01", conn, not args.no_upload)
diff --git a/python/report_ops/sma.py b/python/report_ops/sma.py
index 99748d44..fd70ab04 100644
--- a/python/report_ops/sma.py
+++ b/python/report_ops/sma.py
@@ -157,7 +157,7 @@ product_name_mapping = {
def get_path(cob, fund):
match fund:
- case "ISOSEL":
+ case "ISOSEL" | "CRSE":
filepath_pattern = "Innocap_{fund}_positions_{cob:%Y-%m-%d}.csv"
case _:
filepath_pattern = "{fund}_positions_{cob:%Y%m%d}.csv"