📅 Data: Thai 2026-08-05 · US 2026-08-03 · 🇹🇭 SET 1,609.78 -0.45% · 🇺🇸 SPX 7,600.50 +1.48%
Thai + US · RS rating · 52W High · Press Esc to close
Add LINE

🧮 Branch-Selection Arbiter — Deflated Sharpe + PBO

หน้านี้คืออะไร: ก่อนที่เราจะให้ระบบไหนถือเงินจริง เราตรวจสอบตัวเองก่อนว่า "ผลตอบแทนที่เจอ เป็นของจริง หรือแค่บังเอิญ" — เพราะเราทดสอบกลยุทธ์ไปหลายร้อยแบบ ถ้าเลือกแบบที่ backtest ออกมาดีที่สุดโดยไม่เช็คอะไรเลย โอกาสสูงว่าจะได้ "ของปลอม" ที่ดูดีเพราะบังเอิญ ไม่ใช่เพราะมันเวิร์คจริง หน้านี้ใช้สถิติสองตัว (Deflated Sharpe Ratio และ Probability of Backtest Overfitting) ที่พัฒนาโดย López de Prado เพื่อตรวจว่าผลที่เห็น รอดจากการทดสอบแบบเข้มงวดหรือเปล่า ก่อนตัดสินใจให้ระบบไหนถือเงินจริงจริง ๆ — ผลตัดสินใจสุดท้ายของ Nov 2026 จะดูตัวเลขจากหน้านี้เป็นหลักฐานประกอบ

This page is our own audit of ourselves before any system gets real capital: is the edge we found real, or just the lucky one out of hundreds of variants we tried? These two statistics (both from López de Prado's work on backtest overfitting) test whether the result survives rigorous scrutiny before we commit real money to it.
The keystone "which system earns real capital?" test. Over 16 pattern strategy variants × 212 months (2006-02 → 2026-05). DSR deflates a Sharpe for how many variants were tried + return non-normality; PBO measures whether "pick the best backtest" survives out-of-sample. Engine: overfitting_stats.py (López de Prado). Read-only — decision aid, changes nothing live.
Read the metric, not just the colour. These are selective, let-winners-run systems (few big Webster runners + many −1R stops, plus many zero-trade months). Sharpe structurally penalises that profile — positive skew and inactivity both lower Sharpe even when per-trade expectancy is strong. So the per-trade lens is primary (it tests the metric the config was actually selected on: R expectancy + WF robustness). The monthly lens is shown for completeness and is biased against this style — do not read it as the verdict.
PBO = 0.48   ✓ ROBUST — the in-sample best tends to stay above the OOS median
12870 CSCV combinations · S=16 · median OOS rank of the IS-best = 0.53 (0.5 = coin-flip)

The LOCKED Nov 2026 config — distribution-free verdict (PRIMARY)

The valid test for these fat-tailed systems. p_overfit = probability the expectancy is search-luck given 16 variants were tried (bootstrap max-expectancy null; <0.05 green = survives the search). CI = bootstrap 95% interval on expectancy; excluding 0 (green) = a real edge. Bar to clear (null max-expectancy q95) = +0.529R.
Locked componentExpectancyRankSkewp_overfitBootstrap 95% CI
first_pullback_webster_pt+0.820R4/16+5.960.002[+0.45, +1.22]
failed_reentry_partial_2r_ma21+0.297R11/16+3.060.331[+0.16, +0.44]
Why not DSR? The Deflated Sharpe assumes near-normal returns; at skew +5 (the let-winners-run profile) its correction is outside its valid regime and reports ≈0 for edges that are demonstrably real by bootstrap. DSR per-variant is still shown in the ranking table below for contrast — but it is the WRONG tool for this style and should not drive the decision.

THIRD LENS — tail-dependency / edge-concentration (skew-aware)

p_overfit and PBO confirm the edge is real and persistent — neither asks whether the whole 20-year edge rests on a handful of monster trades that may never recur. That is the specific risk of a let-winners-run profile at high skew. top-3 % = share of total net R from the 3 biggest trades (lower = broader). Gini = inequality of the winning trades (0 even … 1 all-in-one). Drop-best-k = bootstrap expectancy after deleting the k largest winners; green = the reduced edge's 95% CI still excludes zero. An edge that survives deleting its best 5 trades over 20 years is structurally robust — the skew is a few huge winners sitting ON a genuinely positive base, not standing IN for it.
Locked componentTop-3 % of net RGini(gains)Tail fragilityDrop-best-k expectancy (CI excl 0 = green)
first_pullback_webster_pt26%0.59survives best-5 drop−1:+0.74R −2:+0.67R −3:+0.61R −5:+0.51R
failed_reentry_partial_2r_ma2121%0.42survives best-5 drop−1:+0.27R −2:+0.25R −3:+0.24R −5:+0.21R

Best by expectancy

first_pullback_sameday_long_wf_bl_v2_first_pullback_sameday — mean +1.046R/trade · per-trade Sharpe 0.173. DSR(per-trade): N=16: 1.00 N=50: 1.00 N=100: 1.00 N=200: 0.99 N=488: 0.97

All variants ranked by per-trade expectancy (top 20)

#VariantExpectancySharpe(trade)Sharpe(mo)Total RTradesDSR-trade (N=16)
1first_pullback_sameday_long_wf_bl_v2_first_pullback_sameday+1.046R0.1730.254+684R6541.00
2first_pullback_realistic_long_wf_bl_v2_first_pullback_realistic+0.945R0.1650.248+570R6031.00
3first_pullback_sameday_long_wf_first_pullback_sameday+0.929R0.1660.262+752R8091.00
4first_pullback_realistic_long_wf_first_pullback_realistic LOCKED+0.820R0.1540.242+605R7381.00
5first_pullback_sameday_long_wf_bl_first_pullback_sameday+0.438R0.0990.209+656R15000.89
6first_pullback_realistic_long_wf_v2_fp_webster180d_realistic+0.383R0.0860.193+597R15590.69
7first_pullback_realistic_long_wf_bl_first_pullback_realistic+0.375R0.0880.180+533R14220.72
8failed_reentry_realistic_long_wf_bl_v2_failed_reentry_realistic+0.368R0.1740.239+238R6461.00
9failed_reentry_sameday_long_wf_bl_v2_failed_reentry_sameday+0.342R0.1810.253+225R6571.00
10first_pullback_realistic_long_wf_v2_fp_ma50_realistic+0.316R0.0830.145+493R15590.61
11failed_reentry_realistic_long_wf_failed_reentry_realistic LOCKED+0.297R0.1470.213+237R7970.99
12failed_reentry_realistic_long_wf_v2_fr_webster180d_realistic+0.291R0.0840.147+290R9960.61
13failed_reentry_sameday_long_wf_failed_reentry_sameday+0.290R0.1580.228+236R8151.00
14failed_reentry_realistic_long_wf_v2_fr_oneil_realistic+0.187R0.0820.148+186R9960.58
15failed_reentry_sameday_long_wf_bl_failed_reentry_sameday+0.151R0.0880.135+143R9460.64
16failed_reentry_realistic_long_wf_bl_failed_reentry_realistic+0.114R0.0630.091+101R8880.32

Generated 2026-07-06T21:27:51 · branch_selection_arbiter.py · per-trade Sharpe σ across variants = 0.0429

เนื้อหาทั้งหมดในหน้านี้จัดทำขึ้นเพื่อการศึกษาและข้อมูลเท่านั้น ไม่ถือเป็นคำแนะนำการลงทุน ผมเองอาจถือครองหรือเคยถือครองหุ้นที่กล่าวถึง ความเห็นทั้งหมดเป็นมุมมองส่วนตัว ไม่ใช่คำแนะนำให้ซื้อขาย ก่อนตัดสินใจลงทุนควรศึกษาข้อมูลเพิ่มเติมด้วยตัวเองและปรึกษาที่ปรึกษาการลงทุนที่มีใบอนุญาตครับ