diff options
Diffstat (limited to 'python/report_ops/cash.py')
| -rw-r--r-- | python/report_ops/cash.py | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/python/report_ops/cash.py b/python/report_ops/cash.py index 7068d649..ffc5f4c8 100644 --- a/python/report_ops/cash.py +++ b/python/report_ops/cash.py @@ -79,7 +79,7 @@ class CashReport: self.clear() -class NTCashReport(CashReport, NT, custodian="NT", dtkey="%Y%m%d%H%M"): +class NTCashReport(CashReport, custodian="NT", dtkey="%Y%m%d%H%M"): def yield_rows(self, fund): p = self.get_cash_report(f"NT_CASH_{fund}") df = pd.read_csv(p, on_bad_lines="warn") @@ -90,9 +90,7 @@ class NTCashReport(CashReport, NT, custodian="NT", dtkey="%Y%m%d%H%M"): yield from df.itertuples() -class UMBCashReport( - CashReport, UMB, fund="SERCGMAST", custodian="UMB", dtkey="%Y%m%d%H%M" -): +class UMBCashReport(CashReport, custodian="UMB", dtkey="%Y%m%d%H%M"): def yield_rows(self, fund): p = self.get_cash_report("UMB_CASH_{fund}") df = pd.read_excel(p, skiprows=3) @@ -101,9 +99,7 @@ class UMBCashReport( ].items() -class BNYCashReport( - CashReport, BNY, fund="BOWDST", custodian="BNY", dtkey="%Y%m%d%H%M%S" -): +class BNYCashReport(CashReport, custodian="BNY", dtkey="%Y%m%d%H%M%S"): def yield_rows(self): p = self.get_cash_report("BNY_CASH_{fund}") df = pd.read_csv(p) @@ -118,7 +114,7 @@ class BNYCashReport( )["Beginning Balance Local"].items() -class ScotiaCashReport(CashReport, SCOTIA, custodian="SCOTIA", dtkey="%Y%m%d%H%M%S"): +class ScotiaCashReport(CashReport, custodian="SCOTIA", dtkey="%Y%m%d%H%M%S"): def yield_rows(self): p = self.get_cash_report() df = pd.read_excel(p, skipfooter=1) |
