From 842955bce5856fb8c84ceedeec09d1e516465992 Mon Sep 17 00:00:00 2001 From: Lukas Pierchalla Date: Sun, 20 Sep 2026 13:52:08 +0200 Subject: [PATCH] update scalable_sync.py to include currency field in transaction records for improved accuracy --- scalable_sync.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scalable_sync.py b/scalable_sync.py index d5895ef..f9c3d70 100644 --- a/scalable_sync.py +++ b/scalable_sync.py @@ -243,6 +243,7 @@ def map_to_wealthfolio(tx: dict) -> list[WealthfolioActivity]: quantity=qty, unit_price=unit_price, amount=amount, + currency=tx.get("currency", "EUR"), external_id=tx_id, account_id=WF_ACCOUNT_ID, )) @@ -269,6 +270,7 @@ def map_to_wealthfolio(tx: dict) -> list[WealthfolioActivity]: symbol="$CASH", activity_type=wf_type, amount=amount, + currency=tx.get("currency", "EUR"), external_id=tx_id, account_id=WF_ACCOUNT_ID, ))