I Built a Spy/QQQ 0DTE Options Bot

🕵️ TrueLiesBot – Dual-Symbol 0DTE Options Intelligence Operation

In this coding session, I built TrueLiesBot – a spy-themed automated options trading bot that trades SPY and QQQ 0DTE options using a
3-indicator confirmation system.

🎯 Strategy Overview:
• Dual Field Agents: SPY + QQQ (independent scanning)
• 3-Source Intel Confirmation: Boom Hunter + Hull Suite + Volatility Oscillator
• Directional: Both CALLS and PUTS based on signal alignment
• Fast Execution: 4-minute max hold time
• Three-Tier Profits: TP1 (28.5%), TP2 (22.4%), TP3 (16.5%)

📊 Validated 2024 Performance:
✅ 184 trades executed
✅ 57.07% win rate
✅ 8,840% total return
✅ 1.97 profit factor
✅ Avg 2.96 minute hold time

📈 Symbol Breakdown:
• QQQ: 65.5% win rate, $6,722 profit (outperformer)
• SPY: 50.0% win rate, $2,119 profit

🛠️ Tech Stack:
– Python 3.11 (asyncio for concurrent operations)
– Tradier API (order execution)
– Theta Data (option greeks & pricing)
– Alpaca API (1-minute stock bars)
– NumPy/Pandas (vectorized indicator calculations)

🔑 Key Features:
• Multi-symbol capital tracking (prevents over-leverage)
• Tier-based position sizing (90% → 20% as balance grows)
• Robust order fill confirmation workflow
• Smart market detection (no crashes when market closed)
• Arnold Schwarzenegger spy theme throughout 🎬

⚙️ Trading Rules:
• Max 1 trade per symbol per day (2 simultaneous max)
• Entry window: 9: 31 AM – 11: 44 AM ET
• Delta range: 0.12 – 0.44
• Premium range: $0.05 – $0.30
• Stop loss: -14.5%

📁 Architecture:
– trueliesbot.py (main orchestrator)
– intel_processor.py (indicator calculations)
– truelies_position.py (mission tracking)
– truelies_account_tracker.py (virtual balance)
– truelies_config.py (strategy parameters)

⚠️ Disclaimer:
This is educational content showcasing algorithmic trading development. Past performance does not guarantee future results. Options
trading carries significant risk.

#algotrading #optionstrading #python #tradingbot #0dte #spy #qqq #algorithmictrading #trading #codingai