From d742fd8d71bc4d90552df9904a74a7d7be510b75 Mon Sep 17 00:00:00 2001 From: Carl Meyer Date: Mon, 21 Dec 2020 14:04:49 -0700 Subject: [PATCH] Schwab CSV: parse per-account positions CSV too. --- beancount_import/source/schwab_csv.py | 16 ++++++++++++---- .../test_basic/import_results.beancount | 15 +++++++++++++++ .../Intelligent-Positions-2020-11-30.CSV | 6 ++++++ 3 files changed, 33 insertions(+), 4 deletions(-) create mode 100644 testdata/source/schwab_csv/test_basic/positions/Intelligent-Positions-2020-11-30.CSV diff --git a/beancount_import/source/schwab_csv.py b/beancount_import/source/schwab_csv.py index 17186055..50aa028c 100644 --- a/beancount_import/source/schwab_csv.py +++ b/beancount_import/source/schwab_csv.py @@ -915,7 +915,7 @@ def _load_transactions(filename: str) -> List[RawEntry]: POSITIONS_TITLE_RE = re.compile( - r'"Positions for All-Accounts as of (?P