agentusecases.aiAll 2,316 use cases
Money, Bills & Benefits

Build an Excel portfolio tracker from trade logs

Claude Code reads a trade log, writes and runs Python, pulls live Yahoo Finance data and exports Robinhood trade history to build an Excel portfolio tracker.

More AI trading agents

Done withCCClaude Code

What they did
The author gives Claude Code the path to an Excel Trade_Log, the starting capital and the start date. He tells it to use Excel formulas rather than hardcoded values. Claude reads the log, pulls prices and company data through yfinance, and builds the workbook sheets. The user then checks that the formulas recalculate. Broker pulls (including Robinhood via robin_stocks) and a daily update script are follow-up prompts.
How it went
The guide describes a workbook with a dashboard, positions, equity curve, risk metrics and stress tests. It gives no measured results. It admits Claude will sometimes hardcode values or misunderstand, and the user then has to tell it to fix them.
Worth knowing
Claude Pro is $20/month, and heavy builds may hit usage limits (Max is $100). Write the output to a new file, and change a price to confirm the formulas update.

Try it yourself with Claude Code

I have a trade log at [file path, e.g. a CSV exported from my broker]. Write and run Python that reads it, pulls current prices from Yahoo Finance, and builds an Excel portfolio tracker showing each position's cost basis, current value, gain/loss, and allocation. Save it as [filename].xlsx in this folder and tell me how to refresh it. Don't log into any account or change anything; work only from the exported file.

Want help getting this working? Join the Vibe Coding Academy ↗ Run by Alex Finn, who also runs this site.

Read the original ↗

Source: mispricedassets.substack.com · Undated

Related use cases

  • CC

    Turn tickets into merged pull requests

    Pulls tasks from GitHub Issues or Linear, then runs Claude Code or Codex in isolated Kubernetes pods to carry each one through to a PR.

    Claude CodeCodex

  • CC

    Automate event social posting across platforms

    Claude Code connected social channels to drive event registrations, working well on Twitter and Reddit and somewhat on LinkedIn.

    Claude Code

  • CC

    Send daily WhatsApp reminders of what to pack for school

    A commenter built a Claude Code tool that sends a WhatsApp reminder the day before about what to pack in a child's school bag.

    Claude Code

  • ··

    Shop for umbrella insurance through your personal agent

    Personal AI agents use Coverage Cat's Agent API/MCP to size umbrella coverage and compare carrier options with price ranges, backed by a licensed broker.

    Custom agent

  • ··

    Research crypto assets and execute swaps and perps trades

    The Midas Markets agent researches assets, analyzes portfolios and PnL, finds tokens by momentum, and executes swaps and perp positions on Hyperliquid.

    Custom agent

  • PC

    Generate prompts for a browser agent to execute trades

    A developer's signal generator reads stock and crypto portfolio files and produces browser-automation prompts for Perplexity Comet to execute trades on brokerage sites.

    Perplexity Comet

Keep browsing

All 334 Claude Code use casesAll 174 Money, Bills & Benefits use cases

Get 5 like this every morning

The best things people got an AI agent to do, each with the prompt to try it.

All use casesAgentsTopicsJobsNewRSSAboutContactSponsorPrivacy
Sponsors
VCVibe Coding Academy: Master AI and automate your lifeS/Ship/It Weekly: #1 AI newsletter on planet Earth+Your logo here: sponsor usVCVibe Coding Academy: Master AI and automate your lifeS/Ship/It Weekly: #1 AI newsletter on planet Earth+Your logo here: sponsor usVCVibe Coding Academy: Master AI and automate your lifeS/Ship/It Weekly: #1 AI newsletter on planet Earth+Your logo here: sponsor usVCVibe Coding Academy: Master AI and automate your lifeS/Ship/It Weekly: #1 AI newsletter on planet Earth+Your logo here: sponsor usVCVibe Coding Academy: Master AI and automate your lifeS/Ship/It Weekly: #1 AI newsletter on planet Earth+Your logo here: sponsor us
VCVibe Coding Academy: Master AI and automate your lifeS/Ship/It Weekly: #1 AI newsletter on planet Earth+Your logo here: sponsor usVCVibe Coding Academy: Master AI and automate your lifeS/Ship/It Weekly: #1 AI newsletter on planet Earth+Your logo here: sponsor usVCVibe Coding Academy: Master AI and automate your lifeS/Ship/It Weekly: #1 AI newsletter on planet Earth+Your logo here: sponsor usVCVibe Coding Academy: Master AI and automate your lifeS/Ship/It Weekly: #1 AI newsletter on planet Earth+Your logo here: sponsor usVCVibe Coding Academy: Master AI and automate your lifeS/Ship/It Weekly: #1 AI newsletter on planet Earth+Your logo here: sponsor us