Investing

Build an ETF Comparison Tool with AI

Compare ETFs side-by-side on expense ratio, holdings, performance, sector exposure, and dividend yield. Build a powerful ETF comparison tool that helps passive investors evaluate funds, avoid overlap, and choose the best vehicle for their portfolio goals without paying for expensive data subscriptions.

Build Prompt

Copy this prompt into Claude Code
Build a static HTML ETF comparison tool. Dark theme: background #0a0a0f, surfaces #12121a, borders #1a1a2a, accent #059669 (green). Data from inline `const ETFS = [...]`. Each ETF object: ticker, name, issuer, category (US Large Cap/International/Bond/Sector/Dividend/Growth/Value/Real Estate/Commodity), expenseRatio, aum (billions), avgDailyVolume, inceptionDate, dividendYield, distributionFrequency, ytdReturn, return1yr, return3yr, return5yr, return10yr, numHoldings, top10HoldingsPercent, top10Holdings (array of {ticker, weight}), sectorWeights ({Technology, Healthcare, Finance, Energy, Consumer, Utilities, Materials, Industrials, Communication, RealEstate}), beta, standardDeviation, sharpeRatio, trackingError, premiumDiscount, description. Include 30 popular ETFs. Layout: ETF search/select panel with multi-select (up to 4). Category filter tabs. Selected ETFs shown as comparison columns. Comparison sections: 1. Quick Stats row: expense ratio (highlight lowest), AUM, # holdings, dividend yield 2. Performance table: YTD, 1yr, 3yr, 5yr, 10yr — color code best in column green 3. Sector exposure: stacked horizontal bar chart SVG per ETF for visual overlap detection 4. Top 10 Holdings: side-by-side lists with overlap highlighting (shared tickers shown in amber) 5. Risk metrics: beta, std dev, Sharpe ratio table 6. Fee Impact calculator: input $10,000 investment + years → show dollar cost difference of expense ratios compounded Overlap Score: calculate and display % of holdings shared between any two selected ETFs. Popular comparisons: preset pairs — "VOO vs SPY", "QQQ vs SCHG", "BND vs AGG". Read the guide at https://accessagent.ai/api/guide and follow it to deploy the site to AccessAgent.ai. My email is [your@email.com].

Make It Yours

Portfolio Builder Mode

Allocate percentages across selected ETFs and see combined sector exposure and projected yield.

Factor Exposure Analysis

Show factor loadings (value, momentum, quality, size, low vol) for each ETF from factor model data.

Tax Efficiency Rating

Rate each ETF on tax efficiency using turnover rate, qualified dividend %, and capital gain distribution history.

Rebalancing Calculator

Input current holdings and target allocation — show exact buy/sell amounts to rebalance across ETFs.

ESG Score Integration

Display environmental, social, and governance scores for ESG-conscious investor filtering.

Dividend History Chart

SVG bar chart of quarterly dividend distributions over 3 years to assess consistency and growth.

Update Prompt

Update Prompt — Refresh ETF data with latest figures
Update all ETF data with current expense ratios, AUM, performance returns, dividend yields, and top holdings. Add any newly popular ETFs that have gained significant AUM. Update sector weights based on current fund disclosures. Refresh the data timestamp and redeploy.

SEO Tips

Monetization Ideas

Related Ideas

Ready to build your ETF Comparison Tool?

Copy the prompt above and paste it into Claude Code. Your ETF comparison tool will be live in minutes.

Get Started