Thank you Jürgen. You always come with great information.
?
My flex-query just takes information from the "Trades" section. There it doesn't differentiate between CapitalGainsPnl and FifoPnlRealized. I just crossed "Realized PnL" and both columns pop up in the CSV.
?
I understand that ?CapitalGainsPnl somehow is influenced by taxes although I'm unsure how this effects me living in Sweden having my account at IB Ireland and being granted an exemption from Irish withholding tax (it says so in my account management).
?
Would be perfect if there was a field for the raw realized PnL before any tax considerations.