From afd08fde12323cecfa3257052d3eb0030b8eb149 Mon Sep 17 00:00:00 2001 From: rb <61749031+richard-britton@users.noreply.github.com> Date: Tue, 4 Feb 2025 19:03:55 +0000 Subject: [PATCH] Added lending interest category (#590) Co-authored-by: richard-britton --- cgt_calc/parsers/trading212.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/cgt_calc/parsers/trading212.py b/cgt_calc/parsers/trading212.py index 7d9922f..0f4740c 100644 --- a/cgt_calc/parsers/trading212.py +++ b/cgt_calc/parsers/trading212.py @@ -80,7 +80,10 @@ def action_from_str(label: str, filename: str) -> ActionType: ]: return ActionType.DIVIDEND - if label in ["Interest on cash"]: + if label in [ + "Interest on cash", + "Lending interest", + ]: return ActionType.INTEREST if label == "Stock Split":