From 1d379183497a7cff73c0041f200d4b13df54f1d0 Mon Sep 17 00:00:00 2001 From: Red S Date: Thu, 8 Feb 2024 23:43:31 -0800 Subject: [PATCH] feat: add schwab csv credit line importer --- .../importers/schwab/schwab_csv_creditline.py | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 beancount_reds_importers/importers/schwab/schwab_csv_creditline.py diff --git a/beancount_reds_importers/importers/schwab/schwab_csv_creditline.py b/beancount_reds_importers/importers/schwab/schwab_csv_creditline.py new file mode 100644 index 0000000..5f452de --- /dev/null +++ b/beancount_reds_importers/importers/schwab/schwab_csv_creditline.py @@ -0,0 +1,11 @@ +""" Schwab Credit Line (eg: Pledged Asset Line) .csv importer.""" + +from beancount_reds_importers.importers.schwab import schwab_csv_checking + +class Importer(schwab_csv_checking.Importer): + IMPORTER_NAME = 'Schwab Line of Credit CSV' + + def custom_init(self): + super().custom_init() + self.filename_pattern_def = '.*_Transactions_' + self.column_labels_line = '"Date","Type","CheckNumber","Description","Withdrawal","Deposit","RunningBalance"'