+
+ - Log in to your Interactive Brokers Client Portal
+ -
+ Navigate to Performance & Reports in the top
+ menu, then select Flex Queries
+
+ -
+ Click the + button next to Activity Flex Query
+
+ - Select Trades under Sections
+ - Select Executions on the pop-up window
+ -
+ Click SELECT ALL and then Save
+
+ - Enter a Query Name (e.g., "Ghostfolio Export")
+ -
+ Under Delivery Configuration, set Format to
+ CSV,
+ Include header and trailer records to
+ No, Include column headers to
+ Yes and
+ Display single column header row to
+ Yes
+
+ - Click Create
+ - Run the Activity Flex Query
+ -
+ Under Period, select Custom Date Range and choose
+ the dates you want to export. Run separate exports for longer
+ histories if necessary
+
+ -
+ Set Format to CSV, click
+ Run and download your trades
+
+ -
+ Import the CSV file in Ghostfolio: Portfolio →
+ Activities →
+ Import Activities...
+
+
+
+ Please note: The export contains trades only. It does not contain
+ dividends, interest or taxes. Keep only rows with the asset class
+ STK. Remove all other rows before the import, for
+ example currency conversions (CASH, such as
+ EUR.USD). Symbols from exchanges outside the US might
+ need a manual change.
+
+
+