Pick any KSEI sector or market-cap bucket and slide the entry date across 2026 to compare normalized paths, max drawdowns, and recovery speeds against IHSG (^JKSE).
stocks
simulator
Published
December 27, 2026
SimulatorData as of 2026-11-30
Choose a KSEI sector or size bucket, pick a weighting scheme (Cap-weighted or Equal-weighted), and drag the entry trading day slider across the 2026 calendar (2026-01-02 → 2026-11-27). Everything runs locally in your browser on the study’s frozen CSVs (ihsg_daily.csv, sector_paths.csv, size_bucket_paths.csv, drawdown_summary.csv).
fmtPct = v => v ==null?"—":`${v >=0?"+":""}${v.toFixed(1)}%`fmtDD = v => v ==null?"—":`${v.toFixed(1)}%`recLabel = selStats.daysTo50Rec!=null?`**${selStats.daysTo50Rec} trading days** (hit ${selStats.rec50Date})`: selStats.recPctByCutoff!=null?`Not yet (**${selStats.recPctByCutoff.toFixed(1)}%** recovered by Nov 30)`:"No drawdown"md`**Entry:** **${entryDateStr}** · **${selectedGroup}** (${selStats.nConstituents} stocks, ${weighting}) Return to Nov 30: **${fmtPct(selStats.totalRetPct)}** vs IHSG **${fmtPct(ihsgStats.totalRetPct)}** · Max drawdown from entry peak: **${fmtDD(selStats.maxDdPct)}** (IHSG **${fmtDD(ihsgStats.maxDdPct)}**) · Trough: **${selStats.troughDate}** (${selStats.daysToTrough} trading days from peak) · 50% recovery: ${recLabel}`
1. Normalized replay path from entry date (Entry = 100)
Inputs.table(ddSummary, {columns: ["group_type","group","n_constituents","dec2025_mcap_t","peak_date","trough_date","max_drawdown_pct","days_to_trough","recovery_pct_by_cutoff","ytd_return_pct" ],header: {group_type:"Type",group:"Group",n_constituents:"N",dec2025_mcap_t:"Dec25 Mcap (Rp T)",peak_date:"Peak",trough_date:"Trough",max_drawdown_pct:"Max DD (%)",days_to_trough:"Days to Trough",recovery_pct_by_cutoff:"Rec % (Nov 30)",ytd_return_pct:"YTD Ret (%)" },format: {dec2025_mcap_t: d => d?.toFixed(1),max_drawdown_pct: d => d?.toFixed(1) +"%",recovery_pct_by_cutoff: d => d?.toFixed(1) +"%",ytd_return_pct: d => (d >=0?"+":"") + d?.toFixed(1) +"%" }})
How the model works
Constituent universe: Top 199 of the 200 largest IDX equities ranked by Dec 2025 KSEI implied market cap (sec_num × price, covering Rp 14,795.7 T or 93.2% of total IDX equity market cap; TRIO returned HTTP 404 from Yahoo Finance).
Cap-weighted vs equal-weighted indices: Cap-weighted sector and size-bucket indices initialize each stock at its Dec 2025 KSEI market cap and compound forward using split- and dividend-adjusted daily returns (adjclose). Equal-weighted indices compound the simple daily cross-sectional mean return across constituents. Both are normalized to 100 on the reader’s chosen entry date.
Recovery rule: Days to 50% recovery measures trading days from the post-entry trough until the index closes at or above trough + 0.50 × (peak − trough). When not yet reached by 2026-11-30, the simulator reports the percentage of the loss recovered by cutoff.