Skip to content

Commit

Permalink
Added lending interest category
Browse files Browse the repository at this point in the history
  • Loading branch information
rich-britton committed Feb 4, 2025
1 parent d502709 commit 30fbdf9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cgt_calc/parsers/trading212.py
Original file line number Diff line number Diff line change
Expand Up @@ -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":
Expand Down

0 comments on commit 30fbdf9

Please sign in to comment.