STRASMORE/EXPLORE 2,948 QUERIES

tax_by_treatment

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-10-02, from how-event-contracts-are-taxed.

as of ranking 3×3read in context →
tax_by_treatment — 3 rows by 3 columns, computed from US exchange, SIP and OPRA data.
treatmenttax_on_10k_gain_usddeductible_part_of_10k_loss_usd
Section 1256 60/4026803000
Ordinary income370010000
Wagering, Section 165(d)37000
Rows × columns
3 × 3
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 tax_by_treatment, derived from the stored result.
ColumnTypeRangeNotes
treatment text 3 distinct values
tax_on_10k_gain_usd number 2,680 to 3,700 US dollars
deductible_part_of_10k_loss_usd number 0 to 10,000 US dollars

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.

Run it yourself

This is the exact query behind the result above. Change a ticker, a date or a column and run it against the warehouse — no account, no key. The no-signup tier is smaller than the one this page was computed on; a query that reaches past it comes back saying which plan runs it.

SELECT
    treatment,
    ROUND(10000 * gain_rate)        AS tax_on_10k_gain_usd,
    ROUND(10000 * loss_allowed_pct) AS deductible_part_of_10k_loss_usd
FROM
(
    SELECT
        'Section 1256 60/40'              AS treatment,
        (0.60 * 0.20) + (0.40 * 0.37)     AS gain_rate,
        0.30                              AS loss_allowed_pct,
        1                                 AS branch_order
    UNION ALL
    SELECT 'Ordinary income',          0.37, 1.00, 2
    UNION ALL
    SELECT 'Wagering, Section 165(d)', 0.37, 0.00, 3
)
ORDER BY branch_order
⌘/Ctrl + Enter

Work with this data in your AI assistant

Opens ready to query, with this page's data. Free, no account.

Related queries
Top 25 weekly-options underlyings by distinct contracts traded, with expiration weekdays ranking 25×4 → Annualized volatility vs total return, 25 large caps, calmest to wildest (~2 years) ranking 25×3 → SPY options median spread by expiration date, near-the-money strikes only ranking 25×4 → Stock headlines by ET hour of publication (last 30 days, all days) ranking 24×3 → When market headlines publish, by New York clock hour ranking 24×2 → In-sample rank versus out-of-sample Sharpe, same 24 cells ranking 24×4 → See all 2,948 queries →