MEDGE vs PortfolioAnalyst: what each one is for
PortfolioAnalyst, inside Interactive Brokers, tells you how your accounts actually performed. MEDGE takes the positions you hold today and tests them: past crises, scenarios, alternatives, what sits inside your ETFs. Most IBKR investors are better served by using both.
The short answer
Use PortfolioAnalyst for the record: time- and money-weighted returns of your accounts, comparisons with up to three benchmarks, risk measures, attribution against a benchmark, projected income and a consolidated view of your other accounts. It is free, and IBKR clients get it with their account.
Use MEDGE for decisions about the mix: how the current weights would have behaved through past crises, what a scenario you choose would do, how an alternative compares on the same assumptions, and how much your ETFs overlap. You import the positions from IBKR read-only and test them.
Three different numbers: account, holdings, backtest
PortfolioAnalyst reports two returns for your account. The time-weighted return links the returns of each period and ignores deposits and withdrawals: it measures the holdings. The money-weighted return is the internal rate of return of your cash flows: it also reflects when you added or took out money.
The difference is not a detail. Dichev showed that investors’ actual, dollar-weighted returns are systematically lower than buy-and-hold returns in nearly all major stock markets, because of the timing and size of their capital flows[1].
A backtest in MEDGE is a third number again: it applies today’s weights to past prices, with no cash flows at all. It answers “how does this mix behave?”, not “how much did I make?”.
Try it: the same holdings, with and without a deposit before a bad year.
| Year | Return of the holdings % | Added (+) or withdrawn (−) at the start | |
|---|---|---|---|
| 1 | |||
| 2 | |||
| 3 |
- Time-weighted return
- 7.5%per year
- Money-weighted return
- 5.3%per year
- Final value
- 22,770
- Net amount you put in
- 20,000
The holdings earned 7.5% a year, but your money earned 5.3%: more of it was invested in the weaker years.
Time-weighted return links the yearly returns and ignores cash flows: it measures the holdings. Money-weighted return is the internal rate of return of your cash flows: it measures your money. A backtest of today’s weights is a third number again, because it applies the current mix to the past.
Side by side, task by task
| Task | PortfolioAnalyst | MEDGE |
|---|---|---|
| Return your account actually achieved | Yes: time-weighted and money-weighted returns, by period | No: MEDGE imports a snapshot of positions, not transactions or cash flows |
| Benchmarks | Up to three at once; custom blends of up to three of more than 300 standard benchmarks | Benchmark comparison of the backtest, with each large fall of the benchmark and how much the portfolio took |
| Risk measures | Max drawdown, Sharpe, Sortino, Calmar, alpha, beta, positive and negative periods, value at risk (historical and variance methods) | Volatility, drawdowns, value at risk and expected shortfall, Sharpe and Sortino, and each holding’s share of the risk |
| Inside your funds | Fund Parser: breakdown of ETF and mutual fund holdings; concentration with funds expanded | Look-through of US-registered ETFs from SEC filings, and overlap by weight between funds |
| Attribution | Against a benchmark: sector allocation and security selection effects | Contribution of each holding to the backtest’s return and risk |
| Backtest of current or alternative weights | Not in the feature list IBKR publishes | Yes, with rebalancing, costs and What-If comparisons (Free plan) |
| Custom stress scenarios | Not in the feature list IBKR publishes | Stress Lab: shocks you choose, spread to every holding (Essential plan) |
| Monte Carlo | Not in the feature list IBKR publishes | Yes (Free plan) |
| Other accounts | Links brokerage, bank, card, loan and other accounts into one view | Imports from IBKR; other portfolios are entered as tickers and weights |
| Price | Free | Free plan; paid plans add the Stress Lab and larger portfolios |
PortfolioAnalyst features from IBKR’s own pages, consulted in November 2026 (sources below). Features change: check them before deciding.
When to use which
PortfolioAnalyst is the reference when
- you want to know what your accounts earned, after deposits and withdrawals;
- you need reports of actual performance, for yourself or for clients;
- you want income projections, bond metrics or option Greeks for the positions you hold;
- you want brokerage, bank and loan accounts in one place.
MEDGE helps when
- you are about to change the mix and want to test it first;
- you want to know what the last crises, or the one you fear, would do to today’s weights;
- you suspect your ETFs hold the same companies;
- you want to compare two allocations on the same assumptions, or ask an AI assistant about your portfolio through MEDGE’s MCP server.
Using them together
A practical routine: check in PortfolioAnalyst how the account performed; import the positions into MEDGE; test the change you are considering against past crises and a scenario; make the change at IBKR; and let PortfolioAnalyst record the result.
Nothing is duplicated: MEDGE reads only the open positions, through a Flex Query report you create, and never sees your transactions or your IBKR password.
Questions
Is MEDGE a replacement for PortfolioAnalyst?
No. PortfolioAnalyst reports the performance your accounts achieved; MEDGE does not, because it imports positions, not transactions. MEDGE adds tests of the current mix: backtests, crisis replays, custom scenarios and ETF look-through.
Does PortfolioAnalyst have backtesting or stress scenarios?
They are not in the feature list IBKR publishes for PortfolioAnalyst, which covers performance, benchmarks, attribution, risk measures including value at risk, allocation, fund parsing, income and fixed-income metrics. IBKR offers other risk tools in its trading platforms.
Is PortfolioAnalyst free?
Yes. IBKR says there is no cost to use PortfolioAnalyst; non-clients can open a free standalone account.
Can MEDGE import my IBKR positions?
Yes, read-only, through IBKR’s Flex Web Service: you create a Flex Query with your open positions and paste its token and Query ID into MEDGE.
Related
Sources
- [1] Dichev, I. D. (2007). What Are Stock Investors’ Actual Historical Returns? Evidence from Dollar-Weighted Returns. American Economic Review, 97(1), 386–401. doi.org/10.1257/aer.97.1.386
PortfolioAnalyst pages consulted
MEDGE Capital is not affiliated with Interactive Brokers. Interactive Brokers, IBKR, Client Portal and PortfolioAnalyst are trademarks of their owners. Educational content: not financial advice and not an investment recommendation. Risk disclaimer.