Expert Coders

Expert Coders

State-Of-The-Art Software Development

"The software you built has made mud logging less stressful, enjoyable and flat out easy!" — Customer

Mike Cunningham

Mike Cunningham

Owner

Options Trading Mean Reversion Scanner

Overview

An automated stock options alert system that scans the market daily for mean reversion trading opportunities. The system applies a five-condition signal detection algorithm using Bollinger Bands, Keltner Channels, RSI, and ADX indicators, then presents candidates on a Flask dashboard with risk management guardrails.

The Challenge

Manual stock screening is tedious and emotional. Mean reversion strategies work best when applied consistently across many tickers with strict entry criteria — exactly the kind of disciplined, repetitive analysis that software excels at and humans struggle with.

What I Built

  • 5-condition signal detection — a stock must simultaneously satisfy Bollinger Band, Keltner Channel, RSI, ADX, and volume criteria before triggering an alert
  • TA-Lib integration for efficient technical indicator calculation across hundreds of tickers
  • Flask dashboard showing current signals, historical accuracy, and position tracking
  • 70% cash rule — the system enforces risk management by never recommending allocation above 30% of capital
  • Automated daily scanning via cron with results pushed to the dashboard
  • Production deployment in an LXD container with persistent storage

Tech Stack

Python, Flask, TA-Lib, NumPy, Pandas, LXD containers, Cron scheduling, JSON configuration