STRASMORE/EXPLORE 2,170 QUERIES

Kelly inputs from daily closes, 2016 through 2025: win rate, average gain, average loss, and the fraction the formula returns

Answered against 22 years of US equities and 12 years of US options data and published with the query that produced it. This result is stored as of 2026-07-31, from Kelly Criterion Position Sizing, Measured.

as of table 6×5read in context →
Kelly inputs from daily closes, 2016 through 2025: win rate, average gain, average loss, and the fraction the formula returns — 6 rows by 5 columns, computed from US exchange, SIP and OPRA data.
tickerwin_rate_pctavg_gain_pctavg_loss_pctfull_kelly_x
SPY55.30.710.7610.1
MSFT54.11.171.167.4
JNJ51.80.790.775.8
KO530.760.84.4
NVDA54.62.282.33.8
TSLA522.712.642
Rows × columns
6 × 5
Computed
Completeness
No missing values
Source
US exchange, SIP and OPRA market data
Licence
Strasmore terms · free, no signup
Formats
JSON · CSV · the SQL below

What each column holds

Column definitions for Kelly inputs from daily closes, 2016 through 2025: win rate, average gain, average loss, and the fraction the formula returns, derived from the stored result.
ColumnTypeRangeNotes
ticker text 6 distinct values (JNJ, KO, MSFT…)
win_rate_pct number 51.8 to 55.3 percent
avg_gain_pct number 0.71 to 2.71 percent
avg_loss_pct number 0.76 to 2.64 percent
full_kelly_x number 2 to 10.1

Computed from Strasmore's warehouse of US exchange, SIP and OPRA market data. Equity prices are delayed; options greeks and implied volatility are end-of-day. This result is stored, not recomputed on load — it is exactly the numbers that were returned on , and the query below is what returned them.

the exact SQL behind every number
WITH daily AS (
    SELECT ticker,
           toDate(toTimeZone(window_start, 'America/New_York')) AS dt,
           argMax(toFloat64(close), window_start) AS c
    FROM global_markets.delayed_stocks_minute_aggs
    WHERE ticker IN ('SPY', 'KO', 'JNJ', 'MSFT', 'NVDA', 'TSLA')
      AND window_start >= '2016-01-01 00:00:00'
      AND window_start <  '2026-01-01 00:00:00'
      AND (toHour(toTimeZone(window_start, 'America/New_York')) * 60
           + toMinute(toTimeZone(window_start, 'America/New_York'))) BETWEEN 570 AND 959
    GROUP BY ticker, dt
),
steps AS (
    SELECT ticker, dt, c,
           lagInFrame(c) OVER (PARTITION BY ticker ORDER BY dt
                               ROWS BETWEEN 1 PRECEDING AND CURRENT ROW) AS prev
    FROM daily
),
rets AS (
    SELECT ticker, c / prev - 1 AS ret
    FROM steps
    WHERE prev > 0 AND c != prev
)
SELECT ticker,
       round(100 * countIf(ret > 0) / count(), 1) AS win_rate_pct,
       round(100 * avgIf(ret, ret > 0), 2) AS avg_gain_pct,
       round(100 * abs(avgIf(ret, ret < 0)), 2) AS avg_loss_pct,
       round(countIf(ret > 0) / count() / abs(avgIf(ret, ret < 0))
             - countIf(ret < 0) / count() / avgIf(ret, ret > 0), 1) AS full_kelly_x
FROM rets
GROUP BY ticker
HAVING countIf(ret > 0) > 0 AND countIf(ret < 0) > 0
ORDER BY full_kelly_x DESC

Run your own version of this

The same 22 years of US equities and 12 years of options data are queryable in SQL or plain English. A free account runs 100 queries a day and takes no card.

More from this analysisKelly Criterion Position Sizing, Measured
The same Kelly calculation on the S&P 500 tracker, year by year, 2016 through 2025 table 10×5 One decade of S&P 500 daily returns compounded at eight fixed bet sizes: ending wealth and worst drawdown ranking 8×3 S&P 500 tracker (SPY): down sessions by calendar year, 2016 to mid-2026 table 11×5 One-day move profile, seven household names, July 2025 to June 2026 table 7×6 SPY realised volatility by month against a 10% target series 72×4 Weekly realised volatility and the weight it implied, Nov 2019 to Apr 2020 series 25×4 See all 2,170 queries →