Lesson Learned #022: Options Income Not Automated Despite Being Primary Profit Source
Lesson Learned #022: Options Income Not Automated Despite Being Primary Profit Source
ID: LL-022 Impact: Identified through automated analysis
Date: December 12, 2025 Severity: HIGH (Revenue Impact) Category: Automation Gap Status: RESOLVED
The Gap
Options trading generated $327 profit on Dec 12 (100x more than DCAâs $3-5/day), but was only running manually every 7+ days because it was never added to the automated daily workflow.
Evidence
last_theta_harvest: Dec 5, 2025 (7 days stale)- Todayâs options P/L: +$327 (AMD put +$130, SPY put +$197)
- Todayâs DCA P/L: ~$3-5
- Options were 100x more profitable but not automated
Root Cause Analysis
- Workflow Oversight:
daily-trading.ymlonly ranautonomous_trader.pyfor equity DCA - No Options Step: Options scripts existed (
execute_options_trade.py,options_profit_planner.py) but werenât in workflow - Manual Dependency: Theta harvesting required manual intervention
- No Staleness Alert: System didnât alert when
last_theta_harvestwas >24h old
Detection Method
CTO Claude asked âWhat is the single most important step?â and analyzed:
- Profit sources: Options » DCA
- Automation status: Options = manual, DCA = automated
- Last harvest timestamp: 7 days stale
| Key Insight: Grep for âoption | thetaâ in daily-trading.yml returned no results. |
Resolution
PR #590 merged - Added âHarvest theta (options income)â step to daily workflow:
- Runs after equity trading succeeds
- Scans for opportunities via
options_profit_planner.py - Executes wheel strategy on SPY/QQQ
- Updates
last_theta_harvesttimestamp continue-on-error: trueto not block equity trading
Prevention Measures
1. Automated Gap Detection Script
Create scripts/detect_automation_gaps.py:
- Compare profit sources vs automation status
- Alert if high-profit activities lack automation
- Run weekly via cron
2. Staleness Alerts
Add to daily workflow:
if last_theta_harvest > 24 hours:
send_alert("Theta harvest is stale!")
3. Profit Attribution Dashboard
Track daily P/L by source:
- Equity DCA
- Options (theta)
- Crypto
- Other
4. Workflow Completeness Check
Pre-commit hook to verify all income strategies have workflow coverage.
Metrics to Track
| Metric | Before Fix | Target |
|---|---|---|
| Theta harvest frequency | ~7 days | Daily |
| Options as % of profit | 98% (when run) | 60-80% |
| Automation coverage | 50% | 100% |
Related Lessons
ll_020_options_primary_strategy_dec12.md- Options should be primaryll_019_trading_system_dead_dec12.md- Silent automation failuresll_010_dead_code_and_dormant_systems_dec11.md- Unused systems
Tags
#automation #options #revenue #workflow #gap-detection #theta