Query editor
-- 05 · Did markets react to AI-math and quantum/encryption news?-- For every market of the matching theme that was open at the event: last traded probability-- before the event, 24h and 72h after, and notional volume around it vs a matched baseline-- (same 24h window one week earlier).-- Reads the classifier: https://dune.com/queries/9226505-- EVENT TIMES ARE APPROXIMATE (UTC, hour precision) and the list stops at mid-2026.-- Verify each timestamp and add later events (e.g. IMO 2026 results) before relying on it.with mk as (select theme, sub_theme, venue, market_id, question, market_start_time, settlement_tsfrom query_9226505where not looks_like_price_market),events (event_name, event_ts, theme) as (values('DeepMind AlphaProof/AlphaGeometry 2 IMO silver', timestamp '2024-07-25 15:00:00', 'ai_math'),('OpenAI experimental model IMO gold claim', timestamp '2025-07-19 08:00:00', 'ai_math'),('Google DeepMind Gemini Deep Think IMO gold (official)', timestamp '2025-07-21 16:00:00', 'ai_math'),('OpenAI GPT-5 Erdos-problems claim and walk-back', timestamp '2025-10-17 18:00:00', 'ai_math'),('Google Willow chip announcement', timestamp '2024-12-09 16:00:00', 'encryption_breaking'),('Microsoft Majorana 1 announcement', timestamp '2025-02-19 16:00:00', 'encryption_breaking'),('Gidney: RSA-2048 with <1M noisy qubits paper', timestamp '2025-05-23 12:00:00', 'encryption_breaking'),('Google Quantum Echoes announcement', timestamp '2025-10-22 15:00:00', 'encryption_breaking')),pairs as (select e.event_name, e.event_ts, date_trunc('hour', e.event_ts) as event_hour,mk.theme, mk.sub_theme, mk.venue, mk.market_id, mk.questionfrom events ejoin mk on mk.theme = e.themeand mk.market_start_time < e.event_tsand (mk.settlement_ts is null or mk.settlement_ts > e.event_ts)),w as (selectp.event_name, p.event_hour, p.theme, p.sub_theme, p.venue, p.market_id, p.question,max_by(o.close, o.hour) filter (where o.hour < p.event_hour and not o.is_forward_filled) as prob_yes_before,max(o.hour) filter (where o.hour < p.event_hour and not o.is_forward_filled) as last_trade_before,max_by(o.close, o.hour) filter (where o.hour < p.event_hour + interval '24' hour and not o.is_forward_filled) as prob_yes_24h_after,max_by(o.close, o.hour) filter (where o.hour < p.event_hour + interval '72' hour and not o.is_forward_filled) as prob_yes_72h_after,sum(o.volume_contracts) filter (where o.hour >= p.event_hour - interval '24' hour and o.hour < p.event_hour) as notional_24h_before_usd,sum(o.volume_contracts) filter (where o.hour >= p.event_hour and o.hour < p.event_hour + interval '24' hour) as notional_24h_after_usd,sum(o.volume_contracts) filter (where o.hour >= p.event_hour - interval '7' dayand o.hour < p.event_hour - interval '6' day) as notional_baseline_24h_week_before_usdfrom pairs pjoin prediction_markets.ohlcv_hourly oon o.venue = p.venue and o.market_id = p.market_idand o.hour >= p.event_hour - interval '30' dayand o.hour < p.event_hour + interval '72' hourwhere o.block_month >= date '2024-06-01'group by 1, 2, 3, 4, 5, 6, 7)select*,prob_yes_24h_after - prob_yes_before as prob_change_24h,prob_yes_72h_after - prob_yes_before as prob_change_72h,date_diff('hour', last_trade_before, event_hour) as hours_since_last_trade_beforefrom wwhere coalesce(notional_24h_after_usd, 0) > 0 or prob_yes_before is not nullorder by event_hour, abs(coalesce(prob_yes_24h_after - prob_yes_before, 0)) desc