
I Turned Claude Fable 5.2 Into a 24/7 Stock Trader
This video shows how to turn Claude Fable 5.2 into an automated stock trading bot that runs around the clock. It finds trades, sizes positions, and places orders with stop-losses â even while you sleep.
đ ïž System Setup
- Broker: Uses Alpaca (paper trading account for testing) connected via API key in a
.envfile. - Rulebook (
rules.mmd): Defines risk rules (e.g., max 1âŻ% loss per trade, up to 5 positions, 3âŻ% daily limit) and strategy rules. - Command file (
claude.md): Instructs Fable to read the rulebook before each trade, place orders as bracket orders (with stop and target), and log all actions.
đ Strategy Development & Backtesting
Four sources for strategies: personal trades, published strategies, GitHub repos, or Fable's suggestions. Three strategies backtested:
- Breakout (price closes above 55-day high) â +77âŻ%
- Pullback (rising stock with sharp dip) â +52âŻ%
- Oversold bounce (oversold stock) â +72.9âŻ%
Benchmarks: S&P 500 +17.5âŻ%, holding all 30 stocks +112âŻ%. Chosen strategy: Breakout.
đ€ Automation
- Scanner (cheaper model Sonnet) checks stocks for entry signals regularly.
- Fable makes final decisions and refines the strategy adaptively.
- Mode: âalertâ (notification) or âautoâ (fully automatic) â changeable in rulebook.
â° 24/7 Operation
Options:
- Claude Scheduled Tasks (Anthropic cloud, no own computer needed)
- VPS (e.g., Hostinger) with Claude Code + Telegram webhook
- Always-on agent like Claude Duet, Grockbot, or Hermes (orchestrator)
đ Simulation Result
With $10,000 and 75 trades over one year: $11,600 (+16âŻ%) â outperforming S&P 500 (+11âŻ%) and top 30 stocks (+13âŻ%).
The complete setup is available in the free school community.






