ib_0dte

Installation
SKILL.md

IB 0DTE Credit Spread Finder & Executor

Default execution route: ema_vix_0dte.py — the EMA9/EMA21 + VIX/VXN regime strategy. It reads the 30-min IB bars, checks the vol index (VXN ≥ 35 for NDX/QQQ, VIX ≥ 20 otherwise), and auto-selects bull_put or bear_call from a bare EMA cross (or skips entirely) before delegating to the spread finder. Optional --rr-gate and --time-gate add confirmation. Use this unless the user explicitly requests a manual spread type.

zero_dte.py is the manual override when the user specifies --type bear_call, --type bull_put, or --type iron_condor directly.

Both scripts share the same spread-finding engine (find → propose → execute on --execute) and all the same flags. All data comes from IBKR.

Supports cash-settled indices (SPX, NDX, RUT, VIX, XSP, DJX) — which trade as Index contracts on their home exchange — as well as any optionable stock or ETF.

Prerequisites

Installs
3
GitHub Stars
373
First Seen
Sep 19, 2026
ib_0dte — staskh/trading_skills