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