aboutsummaryrefslogtreecommitdiffstats
path: root/python/report_ops/custodians.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/report_ops/custodians.py')
-rw-r--r--python/report_ops/custodians.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/python/report_ops/custodians.py b/python/report_ops/custodians.py
index 7c28bcf7..2c985225 100644
--- a/python/report_ops/custodians.py
+++ b/python/report_ops/custodians.py
@@ -3,6 +3,7 @@ from serenitas.utils.env import DAILY_DIR
import warnings
import datetime
from .misc import get_dir, _recipients, _cc_recipients
+from .scotia import download_scotia_report
import gpg
from serenitas.ops.trade_dataclasses import BondDeal
from serenitas.ops.funds import Service
@@ -194,3 +195,9 @@ class BNY(Custodian, account="BONY2"):
p.parent.mkdir(parents=True, exist_ok=True)
if not p.exists():
p.write_bytes(attach.content)
+
+
+class SCOTIA(Custodian, account="SCOTIA"):
+ @staticmethod
+ def download_reports(date=datetime.date.today()):
+ download_scotia_report()