← Back to the library
Trading and investing

Ib 0Dte

Find and place the best 0DTE (zero-days-to-expiration) credit spreads from Interactive Brokers. Default execution route is the EMA9/EMA21 + VIX/VXN regime strategy (ema_vix_0dte.py), which auto-selects bull_put or bear_call from a bare EMA cross and skips the trade when the vol index is elevated (VXN ≥ 35 for NDX/QQQ, VIX ≥ 20 otherwise). Optional --rr-gate and --time-gate add red→red and bar-timing confirmation. Supports cash-settled indices (SPX, NDX, RUT, VIX) and any optionable stock/ETF. Manual spread type override is available via zero_dte.py. Requires TWS or IB Gateway running locally. Trading analysis or dry-run only; live data and broker access require separately available host tools.

Works with the context you provideVersion 1.0.0

Ib 0Dte

First read and apply `references/chiefos-runtime.md`. Choose the source method below that matches the requested outcome and available evidence; do not execute every alternate provider path.

staskh: ib_0dte

Load `references/staskh/ib_0dte/SKILL.md` for the complete method, required inputs, ordered decisions, and output contract. Resolve its local resources beneath the same directory.

For upstream sibling names, resolve the canonical skill and source entrypoint with `references/source-routing.json`. Load sibling resources from that canonical skill; do not assume the original directory name is independently installed.