{"slug":"agentic-trading-bots-on-retail-brokerages","qid":"options_dte","label":"options_dte","post_title":"agentic-trading-bots-on-retail-brokerages","post_url":"/blog/agentic-trading-bots-on-retail-brokerages#q-options_dte","columns":["dte_bucket","volume_thousands","avg_iv_pct"],"rows":[{"dte_bucket":"0 to 1 days","volume_thousands":4166.5,"avg_iv_pct":38.2},{"dte_bucket":"2 to 7 days","volume_thousands":4846.6,"avg_iv_pct":26.4},{"dte_bucket":"8 to 30 days","volume_thousands":1544.9,"avg_iv_pct":24.7},{"dte_bucket":"31 to 90 days","volume_thousands":538.6,"avg_iv_pct":25},{"dte_bucket":"over 90 days","volume_thousands":322.6,"avg_iv_pct":28.1}],"shape":"ranking","sql":"SELECT\n    multiIf(days_to_expiry <=  1, '0 to 1 days',\n            days_to_expiry <=  7, '2 to 7 days',\n            days_to_expiry <= 30, '8 to 30 days',\n            days_to_expiry <= 90, '31 to 90 days',\n                                  'over 90 days')  AS dte_bucket,\n    round(sum(volume) / 1000, 1)                   AS volume_thousands,\n    round(100 * avg(implied_volatility), 1)         AS avg_iv_pct\nFROM global_markets.options_greeks\nWHERE underlying_symbol = 'AAPL'\n  AND date >= '2026-08-03'\n  AND date <  '2026-08-29'\n  AND iv_converged = 1\n  AND volume > 0\n  AND days_to_expiry >= 0\n  AND underlying_close > 0\n  AND abs(toFloat64(strike_price) / toFloat64(underlying_close) - 1) < 0.05\nGROUP BY dte_bucket\nORDER BY min(days_to_expiry)","computed_at":"2026-09-26T15:33:35.904076+00:00","elapsed":0.002572704}