Retail Investor Builds a Semi-Automated Stock Trading Script with Claude and a Graham Formula
Elfwood86 · reddit · 2026-09-29
A beginner shares a semi-automated investing setup built with Claude-generated Python code stored on Google Drive: it runs manually each morning (takes 2 seconds) and trades by preset rules across 34 stocks (Nvidia, Apple, Microsoft, AMD, etc.).
Stock selection uses a valuation formula combining Benjamin Graham's approach with Buffett-style discounted cash flow. Trading rules include specific thresholds: buy $5 on a 5% daily drop, $15 on 15%, skip at 20%; scale out at +5%/+10%/+15% gains, sell all at +100%; no day trading, no selling at a loss.
The author plans to paper trade the setup first, admitting the rules aren't polished yet — it's framed as a fun experiment.
More from coding & agent
- Raven 0.2.0 ships as a 'harness of harnesses' orchestrating Claude Code, Codex and specialist agents — sven_ai · 2026-09-29
- Real-time Among Us demo pairs DeepSeek V4 Flash planner with Jev actor agent — ai · 2026-09-29
- MacAMP dev shares architecture sketches on why you can't just vibecode an audio player — HankYeomans · 2026-09-29
- Creator builds Claude plugin that edits, uploads and cross-posts videos fully automated — Scobleizer · 2026-09-29
- Swargs claims $50M+ transaction volume and 6,000+ listings on its AI agent marketplace — KyeGomezB · 2026-09-29
- Sonnet 5.5 effort settings make no difference in 15-task coding test: 9/15 at low, medium and high — every · 2026-09-29