STRASMORE/EXPLORE 2,549 QUERIES

net_thb_compare

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-09-24, from uk-dividend-stocks-for-thai-investors.

as of table 6×5read in context →
net_thb_compare — 6 rows by 5 columns, computed from US exchange, SIP and OPRA data.
tickergross_thbwithholding_thbadr_fee_thbnet_thb
BP645501286327
DEO1062106410557
SHEL967201289544
UL689901286771
KO6720100805712
PG137302059011670
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 net_thb_compare, derived from the stored result.
ColumnTypeRangeNotes
ticker text 6 distinct values (BP, DEO, KO…)
gross_thb number 6,455 to 13,730
withholding_thb number 0 to 2,059
adr_fee_thb number 0 to 128
net_thb number 5,712 to 11,670

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.

WITH
    32.0 AS thb_per_usd,
    0.01 AS adr_fee_per_unit
SELECT
    ticker,
    round(gross_usd * thb_per_usd, 0)                                      AS gross_thb,
    round(gross_usd * wht_rate * thb_per_usd, 0)                           AS withholding_thb,
    round(payments * 100 * adr_fee_per_unit * is_adr * thb_per_usd, 0)     AS adr_fee_thb,
    round((gross_usd * (1 - wht_rate)
           - payments * 100 * adr_fee_per_unit * is_adr) * thb_per_usd, 0) AS net_thb
FROM
(
    SELECT
        ticker,
        round(toFloat64(sum(cash_amount)) * 100, 2) AS gross_usd,
        count()                                     AS payments,
        if(ticker IN ('KO', 'PG'), 0.15, 0.0)       AS wht_rate,
        if(ticker IN ('KO', 'PG'), 0.0, 1.0)        AS is_adr
    FROM
    (
        SELECT
            ticker,
            ex_dividend_date,
            any(cash_amount) AS cash_amount
        FROM global_markets.stocks_dividends
        WHERE ticker IN ('SHEL', 'BP', 'UL', 'AZN', 'DEO', 'KO', 'PG')
          AND currency = 'USD'
          AND ex_dividend_date >  today() - 365
          AND ex_dividend_date <= today()
        GROUP BY ticker, ex_dividend_date
    )
    GROUP BY ticker
)
ORDER BY is_adr DESC, ticker ASC
⌘/Ctrl + Enter

ใช้ข้อมูลนี้ในผู้ช่วย AI ของคุณ

เปิดพร้อมคิวรีได้ทันที พร้อมข้อมูลของหน้านี้ ฟรี ไม่ต้องมีบัญชี