Examples / Research
What usually happens after a 3-day losing streak in QQQ?
Level 3 · ResearchPOST/v1/event-study
What it answers
Finds every day QQQ closed lower for the third day in a row since 2010, then measures returns 1, 5 and 20 days later and compares them with all other days.
Request
Input
POST /v1/event-study{ "symbols": [ "QQQ" ], "condition": "streak() == -3", "horizons": [ 1, 5, 20 ], "start_date": "2010-01-01" }
Live output billed to your account
Response
Output 200 OK
{ "ok": true, "data": { "condition": "streak() == -3", "cooldown_bars": 1, "symbols": 1, "occurrences": 202, "horizon_unit": "trading days", "results": [ { "count": 202, "mean": 0.003496, "median": 0.003472, "win_rate": 0.594059, "stdev": 0.014759, "t_stat": 3.366597, "p25": -0.004901, "p75": 0.010527, "best": 0.054445, "worst": -0.046493, "horizon": 1, "baseline_mean": 0.000754, "baseline_win_rate": 0.557416, "edge": 0.002742, "edge_t_stat": 2.592218 }, { "count": 202, "mean": 0.006411, "median": 0.007394, "win_rate": 0.628713, "stdev": 0.031401, "t_stat": 2.901629, "p25": -0.00938, "p75": 0.027084, "best": 0.101641, "worst": -0.12539, "horizon": 5, "baseline_mean": 0.003705, "baseline_win_rate": 0.602549, "edge": 0.002706, "edge_t_stat": 1.203891 }, { "count": 201, "mean": 0.017638, "median": 0.022334, "win_rate": 0.666667, "stdev": 0.057333, "t_stat": 4.361595, "p25": -0.016626, "p75": 0.053894, "best": 0.205272, "worst": -0.228383, "horizon": 20, "baseline_mean": 0.015009, "baseline_win_rate": 0.670298, "edge": 0.002629, "edge_t_stat": 0.638132 } ], "per_symbol": null, "recent": [ { "symbol": "QQQ", "date": "2026-11-02", "close": 681.09, "ret_1d": 0.006152, "ret_5d": -0.002555, "ret_20d": null }, { "symbol": "QQQ", "date": "2026-10-14", "close": 728.95, "ret_1d": -0.001303, "ret_5d": -0.005144, "ret_20d": -0.052912 }, { "symbol": "QQQ", "date": "2026-09-10", "close": 708.69, "ret_1d": 0.008734, "ret_5d": 0.011613, "ret_20d": 0.054876 }, { "symbol": "QQQ", "date": "2026-08-18", "close": 717.51, "ret_1d": -0.001993, "ret_5d": -0.009463, "ret_20d": -0.017826 }, { "symbol": "QQQ", "date": "2026-07-24", "close": 684.23, "ret_1d": -0.003084, "ret_5d": 0.005495, "ret_20d": 0.04269 }, "… 12 more items …", { "symbol": "QQQ", "date": "2025-08-18", "close": 574.35, "ret_1d": -0.013581, "ret_5d": -0.01177, "ret_20d": 0.024375 }, { "symbol": "QQQ", "date": "2025-06-20", "close": 523.72, "ret_1d": 0.010273, "ret_5d": 0.041511, "ret_20d": 0.072081 }, { "symbol": "QQQ", "date": "2025-04-21", "close": 430.55, "ret_1d": 0.026269, "ret_5d": 0.090744, "ret_20d": 0.205272 } ], "notes": [ "Forward returns are close-to-close from the signal bar and overlap when occurrences are closer together than the horizon; t-stats are therefore optimistic." ], "interval": "1day" }, "meta": { "op": "event-study", "units": 3, "cost_usd": 0.0, "billing": "internal", "free_call": false, "free_calls_left": 0, "balance_usd": 5.0, "ms": 27, "interval": "1day", "data_as_of": "2026-11-12", "partial_last_bar": false } }
How to read it
For each horizon, mean and win_rate describe the events; baseline_mean is the average over all days. edge is the difference, and edge_t_stat says whether it is statistically meaningful (above about 2). recent lists the latest occurrences so you can check them on a chart.
Parameters and limits: Event study reference. Analytics, not advice.