How to build your own ETF from individual stocks
Last updated November 2026
Short answer
People ask this when a fund holds most of what they want and a few things they do not, when a thematic ETF charges 0.5% or more a year for ten companies, or when their broker has no basket tool. A do-it-yourself ETF answers all three. This guide covers what it is, how to set one up, what it costs next to a fund, and the mistakes that make it harder than it needs to be.
What does it mean to build your own ETF?
An ETF is a single security that holds many others at set weights. A do-it-yourself version is the same idea inside your own account: a list of stocks, a target weight for each, and a habit of bringing the weights back when they move. You own the shares directly, so you can see and change every holding, and you can leave out a company a fund would force you to own.
Many thematic funds are concentrated enough that this is practical. On our defense ETF guide, for example, ITA kept about 75% of its money in ten companies as of October 2026, so ten positions held at similar weights reproduce most of it. Some brokers offer a basket feature (M1 pies, Fidelity Basket Portfolios); with the rest, you keep track of the weights yourself or with an app.
How to build your own ETF in Walnut
1. Choose the companies
Start from what the basket is for: a theme, a fund you want to copy more cheaply, or a fund you want without two or three of its holdings. A fund's top 10 holdings or one of our theme pages make a good starting list. In Walnut you can describe the idea to the assistant and edit the list it proposes.
2. Set target weights
Give each company a percentage so the total is 100. Equal weights are simple; weighting toward the companies you hold most conviction in is common too. Writing the weights down is what lets you rebalance later. Walnut stores them as part of the basket.
3. Check it against what you already own
If you already hold an S&P 500 fund, a basket of large tech or chip companies adds weight to names you own. With a brokerage connected, Walnut reads your current holdings and shows the basket next to them, and it shows how the basket would have done against the S&P 500 over the periods you pick.
4. Buy the shares
With a small amount you need fractional shares to hit the weights; Public, for example, requires at least $5 per fractional order, so a 10-stock basket with equal weights needs about $50. At brokers that allow trading through Walnut (E*Trade, Public, Webull, tastytrade and a few others) you can place the orders from the app, and each one waits for your approval. At Fidelity, Schwab, Vanguard and Robinhood, which connect for tracking only, you place the orders at the broker and then mark them in Walnut with “I bought these myself”, which ties those shares to the basket.
5. Rebalance on a schedule or a threshold
Prices pull the weights apart. Walnut shows how far each holding has moved from its target and which trades would bring the basket back. In a taxable account, putting new money into the underweight names first keeps sales, and the taxes on them, to a minimum. Our guide to rebalancing a portfolio covers the methods in more detail.
What a do-it-yourself ETF costs next to a fund
The fund side is easy to measure. A thematic ETF at 0.50% a year costs about $50 a year on $10,000, taken from the fund's assets every day, and the cost grows as the balance grows. A basket of the same companies has no expense ratio, and most large US brokers charge no commission on stock trades.
The basket's costs are less visible. Each rebalance is a handful of trades, which takes time and, in a taxable account, can realize gains that a fund would have handled inside its own structure. A basket also tends to hold fewer companies than the fund it copies, so it carries more single-company risk. For a concentrated theme held in a tax-advantaged account, the basket usually comes out ahead on cost; for a broad index, a low-cost fund at 0.03% is hard to beat.
Common mistakes when building your own ETF
- Copying a fund you already own. A basket of the largest tech companies next to an S&P 500 fund mostly raises weights you already hold. Check the overlap before buying.
- Skipping the target weights. Without written targets there is nothing to rebalance toward, and the basket slowly becomes whatever went up most.
- Rebalancing by selling in a taxable account every time. New contributions and tax-advantaged accounts do much of the work without a tax bill.
- Too many tiny positions. Forty holdings at 2.5% each is a lot of upkeep for a basket that ends up close to a cheap index fund.
Try it in Walnut
Walnut holds your basket's target weights, shows how far it has moved from them and the trades that would bring it back, and places orders you approve at brokers that allow trading.
FAQ
Can I create my own ETF?
+
Not as a listed fund. An ETF is a registered investment company with an issuer, a custodian and SEC filings, which is far beyond an individual account. What people mean by building their own ETF is a basket: individual stocks bought at target weights in a normal brokerage account and rebalanced over time. It behaves like a small fund that you run yourself.
Is building my own basket cheaper than buying an ETF?
+
Usually, on ongoing cost. Individual shares carry no expense ratio, and most large US brokers charge no commission on stock trades, while thematic ETFs often charge 0.35% to 0.75% a year. The costs move elsewhere: your time, the trades needed to rebalance, and taxes when you sell winners in a taxable account. Small baskets also need fractional shares to hit their weights.
How many stocks should be in a do-it-yourself ETF?
+
There is no fixed number. A theme basket covering a fund's top 10 holdings reproduces most of a concentrated fund, while a broad basket needs dozens of names to approach an index. Fewer names means more single-company risk and less upkeep; more names means the reverse. Walnut shows how a chosen mix has tracked the S&P 500, which makes the trade-off visible. This is not advice.
Are there tax advantages to holding the stocks instead of the fund?
+
There can be. With individual stocks you can sell one losing position to realize a loss while keeping the winners, which a single fund does not allow. The flip side is that rebalancing by selling winners realizes gains, while a fund rebalances internally. Rules such as the wash-sale rule apply, so a tax professional can confirm what fits your situation.
Walnut is informational and is not an investment adviser. This guide is educational, not a recommendation; consider your own situation and verify details before investing.