Automate a paper portfolio with weekday research
They used Claude Code to watch a stock list, prepare paper trades, and keep a written trail on a fixed schedule.
- What they did
- They built a Claude Code workflow around Alpaca by adding a CLAUDE.md guide, a watchlist.json file, and Python utilities for data checks and order submission. The system was split into three weekday tasks: a market scan in the morning, an execution step shortly after, and a journal entry at the end of the day. In each pass, the agent checked whether the market was open, pulled recent bars and news, sent limit orders, and wrote a Markdown summary.
- How it went
- This was a how-to guide, so it did not include actual trading outcomes. It also pointed out that paper trading can overstate results because real orders can move, lag, or fill unevenly, and that the agent carries out a defined approach instead of guessing market direction.
- Tips
- A smaller watchlist helps keep inference costs down, and limiting tool use also helps. Treat paper trading as practice for the process, not as a promise of live performance.
Try it yourself with Claude Code
Create a Claude Code agent for my Alpaca paper-trading setup. Use [env file or secret location] for API keys, [watchlist file] for tickers, and [rules file] for the agent’s operating instructions. On weekdays at [morning time], verify market status, gather recent bars and news for each ticker, and draft a short note plus a proposed limit order for each one. Before any order is placed, stop and wait for my approval, showing the exact order details. If I approve, send paper-only orders, then save a Markdown journal to [folder or file]. Also run a separate weekday routine at [execution time] and a final one at [end-of-day time]. Never trade live, and end after one full morning cycle is complete.
Fill in the [brackets]. Agents can make mistakes, so review anything before it is sent, paid or deleted.
Get 3 agent uses like this every morning
With the day's top AI news. Free, and one click to unsubscribe.
Related agent uses
Use Claude Code for twice-weekly stock research
Claude Code can track a portfolio, compare bullish and bearish views, and leave trade approval to a human.
Use Claude Code to sort back taxes from records
They used Claude Code to clean up overdue Dutch filings by pulling records, matching proof, and preparing tax totals.
Check a rental listing before you underwrite it
Claude Code can fetch property data and help test a Florida rental deal with rehab costs.
Turn receipts and bank exports into a clean CSV
Use Claude Code to extract receipt fields into a CSV and group recurring bank charges for a subscription check.
Set up Claude Code to monitor investments on a schedule
A poster asked how Claude Code could stay connected to Robinhood through MCP so it could keep checking investments over time.
Build one dashboard for investing, taxes, and credit checks
A developer used Claude Code to create a local finance system that organized account data, tax prep, and credit alerts.