Portfolio Management for Self-Directed Investors
By MALI ·

To manage your own portfolio, keep an accurate record of what you own and what you paid, measure return and risk in ways that answer your real questions, size and diversify positions for the losses you can tolerate, rebalance on written rules, and know the tax rules before you sell. Choosing holdings is one part of the work. The routine around them is the rest.
This guide is for self-directed investors: people who pick their own holdings, usually in a taxable brokerage account and perhaps an IRA as well. It describes a process you can repeat, not what to buy or sell. The tax sections cover US federal rules only and aren't tax advice. The routine has five stages, and each links to a shorter guide that goes further:
- Record what you own.
- Measure returns and risk.
- Size and diversify.
- Set goals and rebalance on rules.
- Know the tax rules before you sell.
1. Record what you own
If the ledger's share counts or costs are wrong, so are your returns, weights and tax estimates.
Why the position screen isn't enough
A broker's position screen usually shows one line per holding, often with a single average cost. That's not how basis works for individual stocks. Each purchase is a separate tax lot (a block of shares bought on one date at one price), and the lot you sell decides your gain and whether it's short- or long-term. Under IRS Topic 703, the basis of stock you buy is the purchase price plus costs such as commissions and transfer fees. It's then adjusted for events such as splits, spin-offs and wash sales.
The screen can also be wrong or incomplete. Brokers report basis to the IRS on Form 1099-B only for "covered" securities. Under the Instructions for Form 1099-B, stock acquired for cash after 2010 is generally covered, and mutual fund and dividend reinvestment plan shares are covered when acquired after 2011. Older shares are "noncovered", and the broker may have no basis on file for them, especially after a transfer between brokers. FINRA warns that without adequate records you may have to treat the basis as zero, which can mean paying more tax.
Build the ledger from exports
Export the full transaction history, not the current positions, from every account that ever held each security. Turn each purchase into a lot with its date, shares, price and fees. Then check your rebuilt share count against the broker's; a mismatch usually means a corporate action or a missing account. Importing brokerage history to get true cost basis walks through the export, the lot rebuild and filling noncovered gaps from old confirmations.
Corporate actions
A stock split leaves total basis unchanged and spreads it across more shares, lot by lot. A tax-free spin-off moves part of your basis from the parent's shares to the new company's shares, in the proportion the parent reports on Form 8937, usually posted on its investor relations website. How splits and spin-offs change cost basis works through both, with fractional shares and holding periods.
Once a year, compare your ledger's basis for each sale with Form 1099-B. Investigate every difference before you file.
2. Measure returns and risk
Did your holdings do well, and did your timing of deposits and withdrawals help? Each question needs its own return figure.
Your skill vs your timing
Time-weighted return (TWR) measures how the investments performed, with the effect of your deposits and withdrawals removed. You split the period at each cash flow, compute each piece's return, and multiply the growth factors together. Money-weighted return (MWR) is the internal rate of return on your actual cash flows. It weights each period by how much of your money was exposed to it.
The two match when no money moves in or out. They can differ a lot when a large deposit lands just before a weak stretch. The CFA Institute's Global Investment Performance Standards (GIPS) require firms to present time-weighted returns in most cases, because clients, not managers, usually control the cash flows. As a self-directed investor, you control both, so it's worth computing both.
The gap isn't academic. Ilia Dichev's 2007 study in the American Economic Review compared dollar-weighted (money-weighted) investor returns with buy-and-hold returns on stock indices. Actual investor returns were systematically lower in nearly all the major markets studied, and the gap traced to the timing of money flowing in and out. That's investors on average, not you, so compute your own MWR.
Time-weighted vs money-weighted return works both out by hand, with a two-investor example and a spreadsheet method.
The loss you'll actually feel
Volatility measures how widely returns swing. Maximum drawdown measures the loss you live through: the largest percentage fall from a peak to a later low, measured from the running peak rather than from what you paid. Recovery time is how long the portfolio takes to climb back above that peak.
Losses and the gains needed to undo them aren't the same size, because the gain starts from a smaller base:
| Drawdown | Gain needed to get back |
|---|---|
| 10% | 11.1% |
| 20% | 25.0% |
| 30% | 42.9% |
| 50% | 100.0% |
Treat the worst drawdown in your data as a floor for planning, not a ceiling. Magdon-Ismail and co-authors showed that, for a random price path with drift, the expected maximum drawdown grows with the length of the period. A longer history will usually show a deeper fall than a short one.
Max drawdown and recovery time calculates both from an illustrative equity curve. Then ask the personal question: how large a fall could you sit through without selling at the low?
3. Size and diversify
Count weight, not tickers
Harry Markowitz's 1952 paper "Portfolio Selection" showed that a portfolio's risk depends on how its holdings move together, not just on each holding's own risk. Five measures show how diversified you really are:
- Largest position and top five, as shares of the portfolio.
- Effective number of holdings: 1 divided by the sum of the squared weights. Ten equal positions score exactly 10; uneven weights score less. It's the reciprocal of the Herfindahl-Hirschman Index, which the US Department of Justice uses to measure market concentration.
- Sector exposure, including what sits inside your funds.
- Correlation, which runs from −1 to +1. The lower it is, the more combining two holdings reduces risk. Correlations can rise in sell-offs.
- Risk contribution: each holding's share of the portfolio's variance. A volatile holding can carry most of the risk at a modest weight.
How many stocks is enough? Meir Statman's 1987 study concluded that a well-diversified portfolio of randomly chosen stocks needed at least 30 stocks for a borrowing investor and 40 for a lending investor. How diversified is my portfolio? computes all five measures on one example.
Size each position on purpose
Position sizing decides how much goes into each holding or trade. Three methods are common.
- Fixed fractional: risk a set share of the account, such as 1%, between entry and stop. Shares = (account × risk %) ÷ (entry − stop). Ten losses in a row at 1% each leave about 90.4% of the account. A price can gap through a stop, so the planned loss is a plan, not a limit.
- Volatility targeting: weight = target volatility ÷ the asset's estimated volatility. You hold less of an asset when it swings more.
- The Kelly criterion: from John Kelly's 1956 paper, the fraction that maximizes long-run growth for a known edge. For a trade, f* = p − q ÷ b, where p is the win rate, q = 1 − p, and b is the average win divided by the average loss. It's the share of capital to put at risk, not the position size.
Kelly's weakness is that p and b are estimates. MacLean, Thorp and Ziemba (2010) set out its properties: it maximizes long-run growth but can bring very large drawdowns along the way, and betting more than Kelly gives you more risk and less growth. Fractional Kelly, such as half, trades some growth for much more security. Position sizing methods works all three on the same account and shows how far Kelly moves when the win rate estimate is off by five points.
Write your limits down before you need them: a maximum for any single stock, for any sector and for the top five.
4. Set goals and rebalance on rules
From a goal to a monthly amount
Investor.gov's guide to asset allocation notes that the right mix depends largely on your time horizon and your ability to tolerate risk, and both differ by goal. Money needed in two years can't sit through a deep drawdown the way 30-year money can.
To turn a goal into a contribution, grow your current savings to the target date at an assumed return. Subtract that from the target, then divide the gap by the future value of $1 a month over the same period. The result swings a lot with the assumed return, so run it at several, and treat them as assumptions, not forecasts. How much to invest monthly to reach a goal gives the formula, a worked table and the adjustment for inflation.
Rebalancing rules
Weights drift as holdings earn different returns. Rebalancing brings the mix back to the risk you chose; it isn't designed to raise returns. Investor.gov describes two ways to decide when: on a regular interval, such as every six or twelve months, or when an asset's weight moves by more than a percentage you set in advance. It adds that rebalancing tends to work best when done relatively infrequently, and that you should weigh fees and taxes first.
- Calendar: trade back to target on a fixed date, whatever the drift.
- Threshold: check often, but trade only when a weight leaves its band, such as five percentage points around target.
- Hybrid: check on a schedule and trade only if a band is breached.
Vanguard's 2024 study of target-date funds found its threshold method kept allocations closer to target at lower cost than monthly or quarterly rebalancing, but the estimated benefits were small: about 5 to 25 basis points a year (hundredths of a percentage point). For an individual, taxes usually matter more than the rule. So use new cash first: send contributions, dividends and interest to the underweight holding before you sell anything. Calendar vs threshold rebalancing compares the rules with a 60/40 example.
A worked example. An investor holds a hypothetical $120,000 portfolio (figures illustrative, commissions ignored). It includes 200 shares of Example Co., now at $200, worth $40,000. Her written rule caps any single stock at 25%, checked each quarter. Example Co. is 40,000 ÷ 120,000 = 33.3% of the portfolio, a third.
Selling alone would mean trimming to 25% of $120,000, or $30,000: a $10,000 sale, 50 shares. Instead she first puts a $20,000 contribution into her other holdings. The portfolio is now $140,000, and Example Co. is 40,000 ÷ 140,000 = 28.6%. Still above the cap. To reach 25% of $140,000, or $35,000, she sells $5,000: 25 shares. New money first halved the sale.
The lots still matter. Lot 1 is 100 shares bought in 2022 at $80. Lot 2 is 100 shares bought eight months ago at $150.
- FIFO (lot 1): $5,000 − 25 × $80 = $3,000 gain, long-term.
- Lot 2 identified: $5,000 − 25 × $150 = $1,250 gain, short-term.
The smaller gain is short-term, so it may be taxed at a higher rate. Which suits her depends on her other gains and losses that year.
5. Know the tax rules before you sell
This section covers US federal income tax rules for individuals only. It isn't tax advice.
Lot selection and the FIFO default
Treasury Regulation section 1.1012-1(c)(1) says that if you sell shares bought at different times or prices and don't adequately identify the lot, the shares sold are charged against the earliest lot acquired. That's FIFO, first in, first out. Publication 550 puts it the same way: if you can't adequately identify the shares you sell, their basis is the basis of the shares you acquired first.
For shares your broker holds, Publication 550 says you identify them adequately if you tell the broker the particular stock to be sold at the time of the sale, and receive written confirmation within a reasonable time. The regulation also accepts a standing instruction, which is how "highest cost first" settings at brokers work. Choosing a lot after the trade, once you see the result, isn't adequate identification.
Average cost is generally available only for mutual fund and dividend reinvestment plan shares, not individual stocks. And under Publication 550, property held more than one year gives a long-term gain or loss; one year or less, short-term. Tax lots: FIFO vs specific identification shows one sale producing a long-term gain, a long-term loss or a short-term loss depending on the lot.
The wash sale rule
Under Internal Revenue Code section 1091, as Publication 550 describes it, a wash sale occurs when you sell stock or securities at a loss and, within 30 days before or after the sale, you buy substantially identical stock or securities. Acquiring them in a fully taxable trade counts too, as does acquiring a contract or option to buy them, or acquiring the stock for your IRA or Roth IRA. Counting the sale date, that's a 61-day window. A sale by you and a purchase by your spouse or a corporation you control is also a wash sale.
The disallowed loss usually isn't lost. Publication 550 says to add it to the cost of the replacement shares, which postpones the deduction until you sell them, and their holding period includes that of the shares you sold. The IRA case is different. In Revenue Ruling 2008-5, the IRS held that when your IRA or Roth IRA buys the replacement shares, the loss is disallowed and your basis in the IRA isn't increased. The loss is gone, not deferred.
Your 1099-B may not catch it. The Instructions for Form 1099-B require brokers to report a wash sale only when the sale and the purchase are in the same account and involve covered securities with the same CUSIP number. A buy elsewhere is still your responsibility. The wash sale rule for active traders covers partial replacements, options, reinvested dividends and the trader's mark-to-market election.
The rule applies to losses only, so a sale at a gain, like the one in the worked example, isn't affected. Before a loss sale, list every purchase of the same security in the previous 30 days, in every account you and your spouse control.
Common mistakes
- Trusting a basis figure you never checked. A transferred or noncovered lot can show no basis at all, and a split applied twice doubles your share count. Rebuild from the transaction history and reconcile with Form 1099-B every year.
- Judging yourself on a return that mixes skill and timing. A broker's single return figure may be time-weighted, money-weighted or a simple gain on cost. Compare TWR with the index, and MWR with TWR, over the same dates.
- Letting one position quietly grow to a third of the portfolio. Winners raise their own weight without a single trade. Set the cap in advance, recompute weights after big moves, and send new cash elsewhere first.
- Full Kelly on an estimated edge. Kelly assumes you know your win rate and payoff. An estimate a few points too high pushes you over-size, where the growth rate falls and drawdowns deepen. Most traders use a fraction or treat Kelly as a ceiling.
- Selling for a loss and buying back in the IRA. The loss is disallowed, and under Rev. Rul. 2008-5 it doesn't move into any basis. Check every account, including your spouse's, before a loss sale.
Where MALI fits
MALI's portfolio tracker builds the stage 1 ledger from files you export from Charles Schwab, Fidelity, Vanguard, Interactive Brokers or Robinhood. It previews every row before saving, applies splits in the file to earlier purchases, and lets you record a spin-off by hand with the cost split from Form 8937. Its tax-loss harvest planning compares FIFO, highest cost first and specific lots, marking long-term lots and possible wash sales. Limits: there's no live connection to a brokerage, only files of up to 5,000 rows. Cash dividends, interest, transfers and options in a file are listed and skipped, and tax views are estimates, not tax advice. MALI doesn't currently report a time-weighted or money-weighted return figure for your portfolio.
For stage 2, Scenario Lab (Edge) replays today's weights through seven dated episodes, from the 2008 financial crisis to the 2023-24 AI rally, showing drawdown, worst day and time to recover. It doesn't model trades you'd have made along the way.
For stages 3 and 4, the Portfolio Advisor runs seven rule-based checks, including the largest position, sectors, the top five and risk share. It offers five goal mixes as a fixed policy, not an optimizer, and scores its past recommendations against SPY after 21 sessions. The free position size calculator gives shares from your stop, plus full and half Kelly. Portfolio Autopilot (Edge) works out rebalancing toward five risk profiles. For stage 5, the Compliance Co-pilot (Edge) checks a proposed trade for a possible wash sale under IRC section 1091 from the figures you type. None of them places orders.
FAQ
How often should I review my portfolio?
There's no single right frequency. Many investors check weights monthly or quarterly and trade only when one leaves its band, while Investor.gov notes that rebalancing tends to work best when done relatively infrequently. Reconcile the full ledger with Form 1099-B once a year.
How many stocks do I need to be diversified?
There's no fixed number. Statman's 1987 study concluded at least 30 to 40 randomly chosen stocks, far more than the ten often quoted. Weights and correlation matter as much as the count, and a broad index fund holds hundreds in one position.
Which return figure should I compare with an index?
The time-weighted return, against the index's total return over the same dates. It removes the effect of your deposits and withdrawals, as the index's figure does. Compare your money-weighted return with the time-weighted one to see what your timing did.
Do I have to use FIFO when I sell shares?
No. FIFO applies when you don't adequately identify the shares. You can use specific identification by telling your broker which lot to sell at the time of the sale and getting written confirmation, or by setting a standing instruction.
Does the wash sale rule apply across accounts?
Yes. Publication 550 includes purchases for your IRA or Roth IRA and purchases by your spouse or a corporation you control. Brokers must report a wash sale only when both trades are in the same account, so a repurchase elsewhere is yours to track.
Sources
- Publication 550 (2025), Investment Income and Expenses, IRS
- 26 CFR 1.1012-1, Basis of property, eCFR
- 26 U.S. Code 1091, Loss from wash sales of stock or securities, Legal Information Institute
- Internal Revenue Bulletin 2008-3 (Rev. Rul. 2008-5), IRS
- Instructions for Form 1099-B, IRS
- Instructions for Form 8937, IRS
- Topic no. 703, Basis of assets, IRS
- Cost Basis Basics, FINRA
- Beginners' Guide to Asset Allocation, Diversification, and Rebalancing, Investor.gov
- GIPS Standards Handbook for Firms, CFA Institute, 2020
- Herfindahl-Hirschman Index, US Department of Justice
- Markowitz, "Portfolio Selection", Journal of Finance, 1952
- Statman, "How Many Stocks Make a Diversified Portfolio?", Journal of Financial and Quantitative Analysis, 1987
- Dichev, "What Are Stock Investors' Actual Historical Returns? Evidence from Dollar-Weighted Returns", American Economic Review, 2007
- Magdon-Ismail, Atiya, Pratap and Abu-Mostafa, "On the maximum drawdown of a Brownian motion", Journal of Applied Probability, 2004
- Kelly, "A New Interpretation of Information Rate", Bell System Technical Journal, 1956
- MacLean, Thorp and Ziemba, "Long-term capital growth: the good and bad properties of the Kelly and fractional Kelly capital growth criteria", Quantitative Finance, 2010
- Zhang, Ahluwalia, Daga and Zi, "The rebalancing edge: Optimizing target-date fund rebalancing through threshold-based strategies", Vanguard, 2024
This article is educational and is not investment advice. MALI is a research and analytics platform; it does not recommend buying or selling any security.
