I looked through the errors and they all seem to be occurring with securities with more than just “Buy” and “Sell”. e.g., a security with dividend transactions (after the buy and before the sale), would give this error, but a security with just buy and sell transactions, do not give this error.
For example, this is a security that gives the error - just 1 dividend transaction:
java.lang.IllegalArgumentException: Unable to add transaction '16 sept. 2023 FEES CAD 10,00 telus <no XEntry>' to account 'null' (uuid 36da9a71-189c-47b1-b828-1fc97426a3f9): EUR <> CAD
at name.abuchen.portfolio.model.Account.addTransaction(Account.java:142)
at name.abuchen.portfolio.snapshot.filter.ReadOnlyAccount.internalAddTransaction(ReadOnlyAccount.java:39)
at name.abuchen.portfolio.snapshot.filter.ClientTransactionFilter.filter(ClientTransactionFilter.java:73)
at name.abuchen.portfolio.snapshot.trades.Trade.lambda$12(Trade.java:129)
at name.abuchen.portfolio.snapshot.security.LazySecurityPerformanceRecord$LazyValue.get(LazySecurityPerformanceRecord.java:47)
at name.abuchen.portfolio.snapshot.trades.Trade.getProfitLossMovingAverage(Trade.java:258)
The method creates an internal client with internal account, and by default an internal account currency is EUR, so there is mismatch when adding account related transaction in non EUR (CAD) currency such as dividend, fees on security, taxes on security etc.