Swing Trading Journal Excel (IBKR Import) | Interactive Brokers Flex Query Template & Dashboard
Excel swing trading journal with Interactive Brokers (IBKR) Flex Query CSV import. Stop retyping your Interactive Brokers trades. Paste your IBKR Flex Query (or Activity Statement) CSV into this workbook and its formulas turn every execution into a clean round-trip trade. Scale-ins, partial exits, shorts and commissions are all handled. Then paste the trades into a swing-trading journal that calculates P&L, R-multiples, holding days and return on cost.
The only other IBKR Flex importer we found is a standalone browser app. This one is a native spreadsheet you own: no macros, add-ins, logins or subscription, and your data never leaves your file.
It also has a built-in position-size calculator. Enter your entry, stop and target to get shares, position value, % of account and reward:risk. Shares are capped by your max position size. The portfolio heat table pulls your open trades from the journal and warns you before total open risk goes over your limit.
The dashboard updates itself: net P&L, win rate, profit factor, expectancy in R, payoff ratio, max drawdown, an equity curve, and P&L by month, setup, weekday and side. A "cost of mistakes" table shows what chasing entries or moving stops really cost you.
It comes with 22 fictional example trades, a matching sample IBKR CSV to practise the import, and an 8-page PDF guide. The guide includes step-by-step Flex Query setup.
What's included
- Rangefolio-Swing-Trading-Journal.xlsx (10 sheets: Start Here, Settings, Trade Journal, Dashboard, Position Sizer, IBKR Import, Import Results, Lists, plus 2 protected helper sheets)
- sample-ibkr-flex-trades.csv (fictional, 46 executions / 22 trades)
- User-Guide.pdf (8 pages: setup, IBKR Flex Query walkthrough, importing, journaling, sizing, dashboard, troubleshooting)
Who it's for
- Stock and ETF swing traders who use Interactive Brokers (IBKR Pro or Lite)
- Traders who think in R-multiples and want to know their real expectancy
- Anyone who wants a risk-first routine: size every trade and cap total portfolio heat
- People who prefer a spreadsheet they own to a monthly journaling subscription
Formats and compatibility
Built for Microsoft Excel 2019/365 (.xlsx, no macros). Tested in LibreOffice Calc. Google Sheets import is possible but not officially supported; charts, protection and some formatting may change.
- .xlsx only: formulas, no macros or VBA, no add-ins, works offline
- Excel 2016 and earlier: a few cells use MAXIFS/MINIFS and will show #NAME?
FAQ
Does it connect to my IBKR account?
No. Nothing logs in or syncs. You run a Flex Query (or download an Activity Statement) in IBKR's Client Portal, open the CSV and paste it in. Your data stays in your own file.
Does it handle partial exits, scaling in and short trades?
Yes. Fills are grouped from flat to flat for each symbol. Adds are averaged into the entry price and partial sales into the exit price. A trade stays marked "Partial" until it's fully closed. Shorts (sell to open, buy to cover) are supported.
Can I use it if I don't trade with Interactive Brokers?
Yes. Type trades straight into the journal and every calculation, the sizer and the dashboard work the same way. The importer just saves typing for IBKR users.
Is this financial advice?
No. It's a record-keeping and calculation tool for education only. It doesn't recommend any trade. All example data is fictional. Rangefolio isn't affiliated with Interactive Brokers.