﻿---
lang: zh-TW
title: "LLM 交易論文的夏普比率靠得住嗎：讀一份 91 篇論文的證據審計"
description: "大模型交易論文寫在摘要裡的夏普比率，中位數是 2.0。一份預註冊的審計數了 91 篇論文背後的證據：一半的交易測試不扣成本，測試窗口中位數只有 12 個月，測試期可能落在模型訓練資料裡的論文幾乎都沒做控制。我們從一個回測數字該滿足什麼講起，看大模型帶來了哪些新問題，再看這份審計怎麼數、數出了什麼、五個假設哪些成立，最後核對它的資料，討論它能說明什麼、不能說明什麼。"
pubDate: 2026-11-26
tags: ["量化", "回测", "大语言模型", "论文解读", "可复现"]
clc: "F830.91"
hero: "./hero.zh-TW.svg"
refs:
  - id: audit
    title: "Short Windows, Unmodelled Costs, Unknown Cutoffs: A Pre-Registered Evidence Audit of 91 LLM Trading Papers"
    url: https://ssrn.com/abstract=7687481
    author: Henry Zhang
    site: SSRN 7687481
    date: 2026-11
    note: "6 頁。本文的主要材料：設計見第 2 節，表 1 和五個假設的結果見第 3 節，侷限見第 5 節。"
  - id: audit-arxiv
    title: "Short Windows, Unmodelled Costs, Unknown Cutoffs（arXiv 版）"
    url: https://arxiv.org/abs/2611.18934
    author: Henry Zhang
    site: arXiv 2611.18934
    date: 2026-11-13
  - id: audit-repo
    title: "henryzhangpku/llm-trading-evidence-audit"
    url: https://github.com/henryzhangpku/llm-trading-evidence-audit
    author: Henry Zhang
    site: GitHub
    date: 2026-11-16
    note: "預註冊、編碼細則、`codes.jsonl`（91 條帶引文的編碼）、二次編碼、更正記錄和 `analyze.py`。本文第六節用它復算了論文裡的數字。"
  - id: lo02
    title: "The Statistics of Sharpe Ratios"
    url: https://doi.org/10.2469/faj.v58.n4.2453
    author: Andrew W. Lo
    site: "Financial Analysts Journal 58(4): 36–52"
    date: "2002"
    note: "收益獨立同分布時夏普比率估計值的標準誤公式，以及自相關時的修正。"
  - id: bailey14
    title: "The Deflated Sharpe Ratio: Correcting for Selection Bias, Backtest Overfitting, and Non-Normality"
    url: https://doi.org/10.3905/jpm.2014.40.5.094
    collect: "doi-10-3905-jpm-2014-40-5-094"
    author: David H. Bailey, Marcos López de Prado
    site: "Journal of Portfolio Management 40(5): 94–107"
    date: "2014"
    note: "按嘗試次數、偏度和峰度校正夏普比率；需要知道一共試了多少個策略。"
  - id: hlz16
    title: "… and the Cross-Section of Expected Returns"
    url: https://doi.org/10.1093/rfs/hhv059
    collect: "doi-10-1093-rfs-hhv059"
    author: Campbell R. Harvey, Yan Liu, Heqing Zhu
    site: "Review of Financial Studies 29(1): 5–68"
    date: "2016"
    note: "統計了數百個已發表的收益預測因子，建議考慮多重檢驗後把新因子的 t 值門檻提到 3.0 左右。"
  - id: hxz20
    title: "Replicating Anomalies"
    url: https://doi.org/10.1093/rfs/hhy131
    author: Kewei Hou, Chen Xue, Lu Zhang
    site: "Review of Financial Studies 33(5): 2019–2133"
    date: "2020"
    note: "452 個異象中 65% 過不了 |t| ≥ 1.96，門檻提到 2.78 時失敗率為 82%。"
  - id: mp16
    title: "Does Academic Research Destroy Stock Return Predictability?"
    url: https://doi.org/10.1111/jofi.12365
    author: R. David McLean, Jeffrey Pontiff
    site: "Journal of Finance 71(1): 5–32"
    date: "2016"
    note: "97 個預測因子的組合收益在樣本外低 26%，發表後低 58%。"
  - id: finsaber
    title: "Can LLM-based Financial Investing Strategies Outperform the Market in Long Run?"
    url: https://arxiv.org/abs/2505.07078
    author: Weixian Waylon Li, Hyeonjun Kim, Mihai Cucuringu, Tiejun Ma
    site: arXiv 2505.07078
    date: 2025-05-11
    note: "FINSABER：把擇時類 LLM 策略放到二十年、一百多隻股票上重測，原來報告的優勢明顯減弱。"
  - id: mirage
    title: "Profit Mirage: Revisiting Information Leakage in LLM-based Financial Agents"
    url: https://arxiv.org/abs/2510.07920
    author: Xiangyu Li, Yawen Zeng, Xiaofen Xing, Jin Xu, Xiangmin Xu
    site: arXiv 2510.07920
    date: 2025-10-09
    note: "回測收益在模型知識截止之後消失的“利潤幻影”，以及防洩漏的評測集 FinLake-Bench。"
  - id: lap
    title: "Detecting Lookahead Bias in LLM Forecasts"
    url: https://arxiv.org/abs/2512.23847
    author: Zhenyu Gao, Wenxi Jiang, Yutong Yan
    site: arXiv 2512.23847
    date: 2025-12-29
    note: "用只給日期的回憶提問估計模型“記得”結果的機率（LAP）；它在訓練截止後幾乎降到零。"
  - id: deepfund
    title: "Time Travel is Cheating: Going Live with DeepFund for Real-Time Fund Investment Benchmarking"
    url: https://arxiv.org/abs/2505.11065
    author: Changlun Li, Yao Shi, et al.
    site: arXiv 2505.11065
    date: 2025-05-16
    note: "只用模型訓練截止之後的即時行情評測；DeepSeek-V3、Claude-3.7-Sonnet 等模型在即時環境裡出現淨虧損。"
  - id: chrono
    title: "Chronologically Consistent Large Language Models"
    url: https://arxiv.org/abs/2502.21206
    author: Songrun He, Linying Lv, Asaf Manela, Jimmy Wu
    site: arXiv 2502.21206
    date: 2025-02-28
    note: "只用某個日期之前的文本訓練的模型，用來在回測裡排除“讀過未來”。"
  - id: findpo
    title: "FinDPO: Financial Sentiment Analysis for Algorithmic Trading through Preference Optimization of LLMs"
    url: https://arxiv.org/abs/2507.18417
    site: arXiv 2507.18417
    date: "2025"
    note: "審計總體中的一篇：測試期 2015 年 2 月至 2021 年 6 月，417 家公司，扣 5bp 成本後夏普 2.0，模型為 Llama-3-8B-Instruct。"
  - id: llama3
    title: "Meta Llama 3 Model Card"
    url: https://github.com/meta-llama/llama3/blob/main/MODEL_CARD.md
    author: Meta
    site: GitHub
    date: 2024-04
    note: "預訓練資料截止：8B 為 2023 年 3 月，70B 為 2023 年 12 月。"
  - id: yao
    title: "Execution Realism and Reproducibility in LLM-Based Trading Systems: A Systematic Scoping Review and Evidence Audit"
    url: https://arxiv.org/abs/2606.08285
    author: Junyi Yao, Zihao Zheng, Baichuan Li, Jiayu Long
    site: arXiv 2606.08285
    date: 2026-06-06
    note: "PRISMA-ScR 範圍綜述，系統檢索後 53 篇暫定納入；逐項計數等作者核驗後才公佈。"
  - id: illusion
    title: "The Alpha Illusion: Reported Alpha from LLM Trading Agents Should Not Be Treated as Deployment Evidence"
    url: https://arxiv.org/abs/2605.16895
    author: Yuxuan Ye, Jun Han, et al.
    site: arXiv 2605.16895
    date: 2026-05-16
    note: "立場論文：LLM 交易智慧體報告的超額收益不能當作可部署的證據，並提出 P1–P6 報告規範。"
  - id: hardtofool
    title: "Hard to Fool: A Bounded LLM Research Loop for Quantitative Finance, and What Two Dozen Campaigns Found"
    url: https://arxiv.org/abs/2611.06607
    author: Henry Zhang
    site: arXiv 2611.06607
    date: 2026-11-04
    note: "審計作者的配套論文，介紹記錄每次嘗試、預註冊假設、留出集只用一次的研究流程。"
  - id: gencay
    title: "What Survives Honest Evaluation? Leakage-safe, Search-aware Assessment of LLM-driven Trading Strategy Discovery"
    url: https://arxiv.org/abs/2608.27734
    author: Eray Gençay
    site: arXiv 2608.27734
    date: 2026-08-27
    further: true
---

大模型做交易的論文越來越多：讓一群 LLM 智慧體分工讀新聞、看財報、做決策，或者讓 LLM 自動寫出成百上千個選股因子再挑好的。很多論文在摘要裡寫出一個夏普比率（Sharpe ratio，單位風險換來的超額收益）。一份審計統計了這些寫在摘要或結論裡的夏普，中位數是 **2.0**[^audit]。

2.0 是什麼概念？它意味著策略的年化超額收益是年化波動的兩倍。審計的作者在開頭說，這樣的夏普“放在實證金融的任何其他領域都會很驚人”；而在 LLM 交易論文裡，它只是一箇中位數。這種反差讓人想追問：

1. 一個回測出來的夏普，要滿足什麼條件才值得相信？
2. 用大模型做交易，在老問題之外又多了哪些新問題？
3. 有沒有人系統地數過：這些論文到底做沒做這些檢查？
4. 數出來的結果是什麼樣？
5. 這份統計本身靠得住嗎，它能說明什麼、不能說明什麼？

2026 年 11 月，獨立研究者 Henry Zhang 在 SSRN 和 arXiv 上放出一篇只有 6 頁的論文《Short Windows, Unmodelled Costs, Unknown Cutoffs》（短窗口、沒建模的成本、未知的截止日期）[^audit][^audit-arxiv]，回答的正是第 3、4 個問題。本文順著上面幾個問題往下讀這篇論文，並在需要的地方用它公開的資料做了複核。

## 一、回測數字的三個老問題

### 夏普比率怎麼算

夏普比率是收益均值減去無風險利率、再除以收益的標準差，通常換算成年化。它衡量的是“每承擔一份波動，換來多少超額收益”。論文裡的夏普，幾乎都來自**回測**：拿歷史資料，假裝當時按策略交易，算出一條收益曲線。

問題在於，回測出來的數字和“未來能拿到的數字”之間隔著好幾層。實證金融在這件事上交過不少學費，總結下來主要是三個問題。

### 第一個問題：成本

回測裡買賣是免費的，現實裡不是。佣金、買賣價差、大單的衝擊成本、做空要付的借券費，每一項都會從收益里扣掉。換手越高的策略，扣得越多。LLM 交易論文常見的是每天根據新聞調倉，換手很高；如果回測時不扣成本，報告出來的夏普和實際能拿到的可能差得很遠。

### 第二個問題：窗口長度

夏普比率本身是一個**估計值**，測試期越短，誤差越大。Lo 在 2002 年給出了它的標準誤[^lo02]：在收益獨立同分布的近似下，

$$
\mathrm{SE}(\widehat{SR}) \approx \sqrt{\frac{1 + SR^2/2}{T}}
$$

其中 $SR$ 和 $T$ 都按同一個週期計（比如日夏普和交易日數）。換算成年化後，用日資料時這個標準誤約等於 $1/\sqrt{Y}$，$Y$ 是測試的年數。也就是說，**一年的回測，年化夏普的標準誤大約是 1**。

這意味著什麼？看圖 1：同樣報告夏普 2.0，測試 6 個月時，95% 區間是 −0.78 到 4.78，連“大於零”都說明不了；測試 12 個月，區間下沿剛好擦過零；要到幾年以上，區間才明顯離開零。真實收益有肥尾和自相關，實際的誤差還會再變。

<figure class="dd dd-figure">
<div class="dd-scroll">
<svg class="dd-svg" viewBox="0 0 800 340" xmlns="http://www.w3.org/2000/svg" role="img" aria-labelledby="lta-ci-title lta-ci-desc">
<title id="lta-ci-title">同一個夏普 2.0 在不同測試長度下的 95% 區間</title>
<desc id="lta-ci-desc">四條橫線分別是測試 6、12、36、240 個月時夏普 2.0 的 95% 區間：6 個月為 −0.78 到 4.78，12 個月為 0.03 到 3.97，36 個月為 0.86 到 3.14，240 個月為 1.56 到 2.44。</desc>
<rect class="dd-frame" width="800" height="340" rx="10"/>
<rect class="dd-zone" x="16" y="16" width="768" height="308" rx="8"/>
<text class="t-zone" x="40" y="44">同一個夏普 2.0，換不同長度的測試窗口</text>
<line class="dd-edge dd-dash" x1="340" y1="80" x2="340" y2="268"/>
<text class="t-note" x="346" y="76">夏普 = 0</text>
<line class="dd-edge" x1="260" y1="276" x2="740" y2="276"/>
<text class="t-note" x="260" y="294" text-anchor="middle">−1</text>
<text class="t-note" x="340" y="294" text-anchor="middle">0</text>
<text class="t-note" x="420" y="294" text-anchor="middle">1</text>
<text class="t-note" x="500" y="294" text-anchor="middle">2</text>
<text class="t-note" x="580" y="294" text-anchor="middle">3</text>
<text class="t-note" x="660" y="294" text-anchor="middle">4</text>
<text class="t-note" x="740" y="294" text-anchor="middle">5</text>
<text class="t-name" x="40" y="104">6 個月</text>
<text class="t-note" x="40" y="120">下四分位</text>
<line class="dd-edge" x1="278" y1="100" x2="722" y2="100"/>
<line class="dd-edge" x1="278" y1="94" x2="278" y2="106"/>
<line class="dd-edge" x1="722" y1="94" x2="722" y2="106"/>
<circle class="dd-fill-acc" cx="500" cy="100" r="5"/>
<text class="t-val" x="500" y="120" text-anchor="middle">−0.78 ~ 4.78</text>
<text class="t-name" x="40" y="148">12 個月</text>
<text class="t-note" x="40" y="164">中位數</text>
<line class="dd-edge" x1="342" y1="144" x2="658" y2="144"/>
<line class="dd-edge" x1="342" y1="138" x2="342" y2="150"/>
<line class="dd-edge" x1="658" y1="138" x2="658" y2="150"/>
<circle class="dd-fill-acc" cx="500" cy="144" r="5"/>
<text class="t-val" x="500" y="164" text-anchor="middle">0.03 ~ 3.97</text>
<text class="t-name" x="40" y="192">36 個月</text>
<text class="t-note" x="40" y="208">上四分位</text>
<line class="dd-edge" x1="409" y1="188" x2="591" y2="188"/>
<line class="dd-edge" x1="409" y1="182" x2="409" y2="194"/>
<line class="dd-edge" x1="591" y1="182" x2="591" y2="194"/>
<circle class="dd-fill-acc" cx="500" cy="188" r="5"/>
<text class="t-val" x="500" y="208" text-anchor="middle">0.86 ~ 3.14</text>
<text class="t-name" x="40" y="236">240 個月</text>
<text class="t-note" x="40" y="252">FINSABER 的 20 年</text>
<line class="dd-edge" x1="465" y1="232" x2="535" y2="232"/>
<line class="dd-edge" x1="465" y1="226" x2="465" y2="238"/>
<line class="dd-edge" x1="535" y1="226" x2="535" y2="238"/>
<circle class="dd-fill-acc" cx="500" cy="232" r="5"/>
<text class="t-val" x="500" y="252" text-anchor="middle">1.56 ~ 2.44</text>
<text class="t-say" x="40" y="316">橫線是 95% 區間，按日收益獨立同分布近似計算；左側標註對應審計裡測試窗口的分位數。</text>
</svg>
</div>
<figcaption>圖 1 · 同樣報告夏普 2.0，6 個月的測試連“大於零”都說明不了</figcaption>
</figure>

### 第三個問題：搜尋

第三個問題最隱蔽。假設研究者試了 100 個策略，全都沒有真本事，只報告回測最好的那個，它的夏普也會相當漂亮。回測因此不只是“對市場的陳述”，也是“對一次搜尋的陳述”：只有知道一共試了多少個，才能判斷最好的那個有多少是運氣。

金融學界為此吃過虧。Harvey、Liu 和 Zhu 統計了幾百個已發表的收益預測因子，認為考慮多重檢驗後，新因子的 t 值門檻應該提到 3.0 左右[^hlz16]；Hou、Xue 和 Zhang 重做了 452 個“異象”，65% 過不了常規的 1.96 門檻[^hxz20]；McLean 和 Pontiff 發現，97 個預測因子的收益在樣本外低 26%，論文發表後低 58%[^mp16]。Bailey 和 López de Prado 的**收縮夏普比率**（deflated Sharpe ratio）就是按嘗試次數把夏普往下校正，但前提是論文要報告試了多少次[^bailey14]。

這三個問題，股票因子研究花了幾十年才建立起相應的規範。**換成大模型來做交易，它們還在嗎？又多了什麼新問題？**

## 二、大模型帶來的新問題：模型可能讀過考卷

### 現象：截止日期之後，收益消失了

大模型是用海量網路文本預訓練出來的，其中包括新聞、財報、研報和行情評論。如果回測期落在模型的訓練資料範圍內，模型在“預測”某天的股價時，可能早就讀過那天之後發生的事。這時回測測的是**記憶**，而不是推理。

已經有幾篇論文直接測到了這個效應。Li 等人把它叫作“利潤幻影”：很多 LLM 交易系統的回測收益，在模型知識截止之後就消失了[^mirage]。Gao、Jiang 和 Yan 設計了一個只給日期、讓模型回憶結果的提問，估計模型“記得”某家公司某天結果的機率；這個機率在訓練截止之前一直為正，截止後幾乎降到零，而 LLM 預測的準確度恰好在高記憶的樣本上被放大[^lap]。DeepFund 把評測放到即時行情裡，只用模型訓練截止之後的資料，結果包括 DeepSeek-V3 和 Claude-3.7-Sonnet 在內的模型都出現了淨虧損[^deepfund]。

### 一個具體例子

圖 2 是這份審計總體裡的一篇論文 FinDPO[^findpo]。它用微調過的 Llama-3-8B 做新聞情緒分析，再據此構建多空組合，測試期從 2015 年 2 月到 2021 年 6 月，覆蓋 417 家公司，扣 5bp 成本後夏普 2.0。窗口長達 77 個月，也扣了成本，在這批論文裡算做得好的。但根據 Meta 的模型卡，Llama-3-8B 的預訓練資料截止在 2023 年 3 月[^llama3]：整個測試期都在模型讀過的範圍內。

<figure class="dd dd-figure">
<div class="dd-scroll">
<svg class="dd-svg" viewBox="0 0 800 300" xmlns="http://www.w3.org/2000/svg" role="img" aria-labelledby="lta-tl-title lta-tl-desc">
<title id="lta-tl-title">FinDPO 的測試期與 Llama-3-8B 的訓練截止</title>
<desc id="lta-tl-desc">時間軸從 2014 年到 2026 年。FinDPO 的測試期是 2015 年 2 月到 2021 年 6 月；Llama-3-8B 的預訓練資料一直延續到 2023 年 3 月，完全覆蓋測試期。截止之後的區間才是乾淨的測試區。</desc>
<rect class="dd-frame" width="800" height="300" rx="10"/>
<rect class="dd-zone" x="16" y="16" width="768" height="268" rx="8"/>
<text class="t-zone" x="40" y="44">FinDPO 的測試期和它所用模型的訓練資料</text>
<rect class="dd-derived" x="586" y="72" width="154" height="164" rx="6"/>
<text class="t-note" x="598" y="196">截止之後：</text>
<text class="t-note" x="598" y="214">測試只能放這裡，或實盤</text>
<line class="dd-edge" x1="80" y1="248" x2="740" y2="248"/>
<line class="dd-edge" x1="190" y1="244" x2="190" y2="252"/>
<line class="dd-edge" x1="300" y1="244" x2="300" y2="252"/>
<line class="dd-edge" x1="410" y1="244" x2="410" y2="252"/>
<line class="dd-edge" x1="520" y1="244" x2="520" y2="252"/>
<line class="dd-edge" x1="630" y1="244" x2="630" y2="252"/>
<text class="t-note" x="190" y="268" text-anchor="middle">2016</text>
<text class="t-note" x="300" y="268" text-anchor="middle">2018</text>
<text class="t-note" x="410" y="268" text-anchor="middle">2020</text>
<text class="t-note" x="520" y="268" text-anchor="middle">2022</text>
<text class="t-note" x="630" y="268" text-anchor="middle">2024</text>
<line class="dd-edge-acc" x1="584" y1="72" x2="584" y2="240"/>
<text class="t-mono t-acc" x="578" y="68" text-anchor="end">訓練截止 2023-03</text>
<rect class="dd-card" x="140" y="88" width="352" height="36" rx="4"/>
<text class="t-mono" x="156" y="111">測試期 2015-02 → 2021-06</text>
<text class="t-note" x="140" y="144">417 家公司 · 扣 5bp 後夏普 2.0（論文報告）</text>
<rect class="dd-derived" x="40" y="164" width="544" height="36" rx="4"/>
<text class="t-name" x="56" y="187">Llama-3-8B 預訓練資料 … 截至 2023-03</text>
<text class="t-say" x="40" y="224">虛線：模型讀過的文本範圍，論文裡沒有寫，來自 Meta 的模型卡。</text>
</svg>
</div>
<figcaption>圖 2 · FinDPO 的整個測試期都在 Llama-3-8B 的預訓練資料範圍內，回測無法排除模型“記得”那幾年</figcaption>
</figure>

需要說清楚的是：測試期和訓練資料重疊，**不等於**結果就是靠記憶得來的。它只說明這次回測沒法把“模型會推理”和“模型記得”分開。分開它們有三種辦法：把測試放在訓練截止之後；做實盤或前向記錄（forward test，先記下預測，再等結果）；或者用只讀過某個日期之前文本的“時間一致”模型[^chrono]。

### 老問題也換了形式

成本和窗口的問題在 LLM 論文裡同樣存在。FINSABER 把幾種擇時類 LLM 策略放到二十年、一百多隻股票上重測，原來報告的優勢明顯減弱：牛市裡過於保守，跑輸被動持有，熊市裡又過於激進[^finsaber]。搜尋的問題也換了形式：一個自動挖因子的系統，一次執行就可能生成成百上千個候選，被調整的不只是引數，還有提示詞。

這些單篇論文各自指出了一個問題。**但整個領域裡，到底有多少論文做了這幾項檢查？**

## 三、審計的做法：先把規則鎖起來

### 為什麼之前沒人數

最接近的前人工作是 Yao 等人 2026 年 6 月的範圍綜述，按 PRISMA-ScR 規範系統檢索，暫定納入 53 篇，但逐項計數要等原論文作者核驗後才公佈[^yao]。另一篇立場論文《The Alpha Illusion》提出了 P1–P6 報告規範，但沒有給出整個領域的統計[^illusion]。這份審計要補的就是這個“數”。

### 怎麼數：預註冊、引文、二次編碼

“統計一批論文做沒做某件事”本身也容易被做歪：先看了結果再改分類標準，就能得到想要的結論。所以作者把規則在動手之前就鎖定了，圖 3 左邊是公開倉庫裡的提交記錄，右邊是資料流經的檢查[^audit-repo]。

<figure class="dd dd-figure">
<div class="dd-scroll">
<svg class="dd-svg" viewBox="0 0 800 440" xmlns="http://www.w3.org/2000/svg" role="img" aria-labelledby="lta-flow-title lta-flow-desc">
<title id="lta-flow-title">審計的時間戳和資料檢查</title>
<desc id="lta-flow-desc">左邊是公開倉庫的提交：11 月 2 日 11:31 提交預註冊和 91 篇名單，11:33 提交編碼細則和分析腳本，11:45 提交編碼和結果，11 月 9 日公開發布；這些提交是從私有倉庫按原日期重放的。右邊是資料流：233 篇語料篩出 91 篇，十個欄位各附原文引文，引文腳本校驗無一不符，盲二編碼 18 篇，最後 75 篇有交易測試。</desc>
<defs>
<marker id="lta-flow-arrow" markerWidth="8" markerHeight="8" refX="7" refY="4" orient="auto"><path class="dd-head" d="M1 1 L7 4 L1 7"/></marker>
</defs>
<rect class="dd-frame" width="800" height="440" rx="10"/>
<rect class="dd-zone" x="16" y="16" width="372" height="408" rx="8"/>
<rect class="dd-zone" x="404" y="16" width="380" height="408" rx="8"/>
<text class="t-zone" x="40" y="44">時間戳：提交歷史</text>
<text class="t-zone" x="428" y="44">資料：從語料到結果</text>
<line class="dd-edge" x1="202" y1="108" x2="202" y2="138" marker-end="url(#lta-flow-arrow)"/>
<text class="t-note" x="212" y="128">按原日期重放</text>
<line class="dd-edge" x1="594" y1="100" x2="594" y2="118" marker-end="url(#lta-flow-arrow)"/>
<line class="dd-edge" x1="594" y1="156" x2="594" y2="174" marker-end="url(#lta-flow-arrow)"/>
<line class="dd-edge" x1="594" y1="212" x2="594" y2="230" marker-end="url(#lta-flow-arrow)"/>
<line class="dd-edge" x1="594" y1="268" x2="594" y2="286" marker-end="url(#lta-flow-arrow)"/>
<line class="dd-edge" x1="594" y1="324" x2="594" y2="342" marker-end="url(#lta-flow-arrow)"/>
<rect class="dd-derived" x="40" y="64" width="324" height="44" rx="6"/>
<text class="t-name" x="56" y="91">私有工作倉庫 · 原始提交（未公開）</text>
<rect class="dd-card" x="40" y="140" width="324" height="136" rx="6"/>
<path class="dd-card-head" d="M46 140 H358 Q364 140 364 146 V172 H40 V146 Q40 140 46 140 Z"/>
<text class="t-name" x="56" y="161">git log</text>
<text class="t-note" x="348" y="161" text-anchor="end">公開倉庫</text>
<text class="t-mono" x="56" y="189">3c84c44</text>
<text class="t-val" x="124" y="189">11-02 <tspan class="t-acc">11:31</tspan></text>
<text class="t-note" x="232" y="189">預註冊與名單</text>
<line class="dd-hair" x1="40" y1="198" x2="364" y2="198"/>
<text class="t-mono" x="56" y="215">e048510</text>
<text class="t-val" x="124" y="215">11-02 <tspan class="t-acc">11:33</tspan></text>
<text class="t-note" x="232" y="215">細則與腳本</text>
<line class="dd-hair" x1="40" y1="224" x2="364" y2="224"/>
<text class="t-mono" x="56" y="241">a6ca38a</text>
<text class="t-val" x="124" y="241">11-02 <tspan class="t-acc">11:45</tspan></text>
<text class="t-note" x="232" y="241">編碼與結果</text>
<line class="dd-hair" x1="40" y1="250" x2="364" y2="250"/>
<text class="t-mono" x="56" y="267">c029387</text>
<text class="t-val" x="124" y="267">11-09 12:32</text>
<text class="t-note" x="232" y="267">公開發布</text>
<text class="t-say" x="40" y="312">提交順序顯示預註冊早於編碼；</text>
<text class="t-say" x="40" y="332">但虛線框裡的原始記錄不公開，</text>
<text class="t-say" x="40" y="352">日期也由作者設定，外部只能採信。</text>
<rect class="dd-card" x="428" y="64" width="332" height="36" rx="4"/>
<text class="t-name" x="444" y="87">語料 233 篇 → 總體 91 篇，編碼前凍結</text>
<rect class="dd-card" x="428" y="120" width="332" height="36" rx="4"/>
<text class="t-name" x="444" y="143">10 個欄位，每個編碼附 5–30 詞原文</text>
<rect class="dd-card" x="428" y="176" width="332" height="36" rx="4"/>
<text class="t-name" x="444" y="199">腳本逐條校驗引文：0 處不符</text>
<rect class="dd-card" x="428" y="232" width="332" height="36" rx="4"/>
<text class="t-name" x="444" y="255">盲二編碼隨機 18 篇：一致率 89–100%</text>
<rect class="dd-card" x="428" y="288" width="332" height="36" rx="4"/>
<text class="t-name" x="444" y="311">16 篇沒有交易測試，剔除</text>
<rect class="dd-card" x="428" y="344" width="332" height="36" rx="4"/>
<text class="t-name" x="444" y="367">75 篇有交易測試 → 表 1</text>
</svg>
</div>
<figcaption>圖 3 · 規則在編碼之前提交，每個編碼都要能在原文裡找到出處；時間戳本身則只能採信</figcaption>
</figure>

具體有四層：

- **總體先定。** 語料是作者整理的 233 篇 LLM 交易、文本訊號、評測基準和經典因子文獻。按預先寫好的規則（主題屬於 00–07，且是 LLM 智慧體或因子挖掘論文、或報告了夏普/年化收益，且有全文）篩出 91 篇，名單在編碼前凍結。按型別分，是 50 篇智慧體、13 篇評測基準、11 篇因子挖掘、8 篇其他方法、5 篇測量類和 4 篇綜述，多數是 2024–2026 年的預印本。
- **十個欄位。** 每篇只編碼摘要裡描述的那個主實驗：測試月數、資產數、成本（不扣 / 固定費率 / 用資料建模價差、衝擊或借券費）、前視控制（沒討論 / 只承認 / 測試在訓練截止之後 / 實盤 / 時間一致模型）、搜尋（沒討論 / 提到 / 報告次數 / 做了多重檢驗校正）、有沒有買入持有基準、摘要或結論裡的夏普、有沒有公開程式碼，以及模型的訓練截止是否確定早於測試期。
- **每個編碼帶引文。** 非空的編碼必須附一段 5–30 個詞的原文，腳本把它當子串去論文全文裡查，查不到就算錯。論文報告無一不符。
- **盲二編碼。** 按預先固定的隨機種子抽 18 篇（約 20%）由第二個編碼員獨立重編。成本欄位一致 100%，前視、搜尋和程式碼 89%，基準、窗口長度（誤差 10% 內）和夏普（誤差 5% 內）94%。

還有一點要特別指出：**編碼員是語言模型**，不是人。引文校驗能保證每個編碼指向真實存在的文字，但不能保證判斷是對的，這一點第六節再討論。

規則鎖定之後，**數出來的是什麼？**

## 四、數出來的結果

91 篇裡有 16 篇沒有交易測試（推理評測、預測準確度、概念或綜述），下面的數字都基於剩下的 75 篇。

<figure class="dd dd-figure dt-figure">
<div class="dt-panel">
<div class="dt-title" id="lta-t1-title">75 篇有交易測試的論文，各項證據的分佈</div>
<div class="dt-scroll">
<table class="dt" aria-labelledby="lta-t1-title">
<colgroup><col style="width:56%"><col><col></colgroup>
<thead>
<tr><th scope="col">欄位與取值</th><th scope="col" class="num">篇數</th><th scope="col" class="num">佔比</th></tr>
</thead>
<tbody>
<tr class="dt-group"><th colspan="3" scope="rowgroup">交易成本</th></tr>
<tr><th scope="row">不扣成本</th><td class="num mono bad hl">38</td><td class="num mono bad hl">51%</td></tr>
<tr><th scope="row">固定費率（通常 5–20bp 或固定佣金）</th><td class="num mono">30</td><td class="num mono">40%</td></tr>
<tr><th scope="row">用資料建模價差、衝擊或借券費</th><td class="num mono">7</td><td class="num mono">9%</td></tr>
<tr class="dt-group"><th colspan="3" scope="rowgroup">前視與訓練資料洩漏</th></tr>
<tr><th scope="row">沒有討論</th><td class="num mono">30</td><td class="num mono">40%</td></tr>
<tr><th scope="row">只承認，沒有控制</th><td class="num mono">24</td><td class="num mono">32%</td></tr>
<tr><th scope="row">測試在訓練截止之後</th><td class="num mono">14</td><td class="num mono">19%</td></tr>
<tr><th scope="row">實盤或前向記錄</th><td class="num mono">6</td><td class="num mono">8%</td></tr>
<tr><th scope="row">時間一致模型</th><td class="num mono">1</td><td class="num mono">1%</td></tr>
<tr class="dt-group"><th colspan="3" scope="rowgroup">搜尋與多重檢驗</th></tr>
<tr><th scope="row">沒有討論</th><td class="num mono">39</td><td class="num mono">52%</td></tr>
<tr><th scope="row">提到</th><td class="num mono">6</td><td class="num mono">8%</td></tr>
<tr><th scope="row">報告嘗試次數</th><td class="num mono">23</td><td class="num mono">31%</td></tr>
<tr><th scope="row">做了多重檢驗校正</th><td class="num mono">7</td><td class="num mono">9%</td></tr>
<tr class="dt-group"><th colspan="3" scope="rowgroup">其他</th></tr>
<tr><th scope="row">有買入持有或指數基準</th><td class="num mono">47</td><td class="num mono">63%</td></tr>
<tr><th scope="row">公開程式碼</th><td class="num mono">22</td><td class="num mono">29%</td></tr>
<tr><th scope="row">扣成本、控制前視、報告次數三項俱全</th><td class="num mono bad hl">5</td><td class="num mono bad hl">7%</td></tr>
</tbody>
</table>
</div>
<p class="dt-note">數字來自論文表 1；本文用公開的編碼檔案逐項復算，結果一致。</p>
</div>
<figcaption>圖 4 · 一半的交易測試不扣成本，三項基本檢查都做了的只有 5 篇</figcaption>
</figure>

### 成本：一半不扣

38 篇（51%）完全不扣交易成本。扣了的 37 篇裡，30 篇用一個固定費率，通常是 5–20 個基點或固定佣金；只有 7 篇（9%）用資料去建模買賣價差、衝擊成本或借券費。固定費率總比不扣強，但對高換手、小盤股或需要做空的策略，它往往低估了真實成本。

### 窗口：中位數 12 個月

69 篇寫明瞭測試窗口。中位數 12 個月，四分位數是 6 個月和 36 個月，18 篇只測了 6 個月或更短。對照圖 1，一半論文的測試長度，不足以讓夏普 2.0 的區間可靠地離開零。資產數也偏少：54 篇寫明瞭資產數，中位數 69 只，但其中 20 篇不超過 10 只，常見的做法是對單隻股票逐只交易。

### 前視：幾乎沒人控制

這是整份審計裡最突出的數字。按模型訓練截止和測試期的關係，75 篇分成三組：24 篇的截止確定早於測試期；22 篇確定不早於測試期，也就是測試期可能落在訓練資料裡；29 篇從論文裡看不出來。後兩組共 51 篇，其中 **50 篇（98%）** 既沒有把測試放到截止之後，也沒有做實盤，也沒有用時間一致模型：要麼根本沒討論（佔全部交易測試的 40%），要麼承認了但沒有控制。做實盤或前向記錄的，一共只有 6 篇。

### 搜尋：報告次數的比預想多，但多數是隨機種子

30 篇（40%）報告了嘗試次數或做了校正，其中 7 篇（9%）給出了多重檢驗校正後的結果。這比作者預期的多，下一節會細看。

三項基本檢查（扣成本、控制前視、報告嘗試次數）都做了的，只有 5 篇，其中只有 1 篇同時公開了程式碼。

這些數字和作者事先寫下的預測對得上嗎？

## 五、五個預註冊假設的檢驗

作者在編碼前寫下了五個有方向的假設，並承諾不成立的也照實報告。結果是兩個成立、三個不成立。

<figure class="dd dd-figure dt-figure">
<div class="dt-panel">
<div class="dt-title" id="lta-t2-title">五個假設：預測與結果</div>
<div class="dt-scroll">
<table class="dt" aria-labelledby="lta-t2-title">
<colgroup><col style="width:13%"><col style="width:38%"><col><col style="width:16%"></colgroup>
<thead>
<tr><th scope="col">假設</th><th scope="col">事先的預測</th><th scope="col">結果</th><th scope="col" class="c">結論</th></tr>
</thead>
<tbody>
<tr><th scope="row">H1</th><td>報告嘗試次數的 &lt; 10%，做校正的 &lt; 5%</td><td class="mono">40%；9%</td><td class="c">不成立</td></tr>
<tr><th scope="row">H2</th><td>測試窗口中位數 ≤ 12 個月</td><td class="mono">12 個月</td><td class="c">成立</td></tr>
<tr><th scope="row">H3</th><td>摘要夏普與窗口長度負相關（單側 p &lt; 0.05）</td><td class="mono">ρ = −0.10，p = 0.36，n = 13</td><td class="c">不成立</td></tr>
<tr><th scope="row">H4</th><td>測試期不確定在截止之後的論文，多數沒有控制洩漏</td><td class="mono">50 / 51 = 98%</td><td class="c">成立</td></tr>
<tr><th scope="row">H5</th><td>扣成本的論文摘要夏普更低（單側 p &lt; 0.05）</td><td class="mono">中位數 1.62 對 3.46，p = 0.10，n = 11 對 2</td><td class="c">不成立</td></tr>
</tbody>
</table>
</div>
<p class="dt-note">H3 和 H5 用置換檢驗；去掉總體裡重複的一篇（同一論文的預印本和正式版）後，H3 的 ρ = −0.23、p = 0.24，H5 的 p = 0.10，結論不變。</p>
</div>
<figcaption>圖 5 · 兩個“問題存在”的假設成立；兩個“夏普隨窗口和成本變化”的假設因樣本太小檢驗不出來</figcaption>
</figure>

### H1：不成立，但要看數的是什麼

報告了嘗試次數的 23 篇，作者回頭讀了引文：其中 13 篇是同一個配置用不同隨機種子跑三到五次，衡量的是執行之間的波動；只有 10 篇數的是**搜尋過的候選策略或配置有多少個**，這才是收縮夏普比率需要的那個數。按窄口徑算，披露搜尋規模或做了校正的是 17 篇（23%），仍然高於預測的 10%，所以 H1 照樣算不成立。作者也說明，這個拆分是事後的探索性分析，編碼細則當初沒有區分這兩種情況。

我們在公開的編碼檔案裡看了這 23 條引文，比如“每個模型重複執行 5 次以避免隨機種子的影響”屬於前一種，“主執行在三輪中評估了 104 個有效候選”屬於後一種，和作者的分法一致。

### H3 和 H5：樣本太小，檢驗不出來

這兩個假設是整份審計裡最“抓眼球”的：窗口越短夏普越高，不扣成本的夏普更高。但它們只能用摘要或結論裡寫了夏普的論文來檢驗，而這樣的論文只有 15 篇，去掉兩篇報告“相對提升”的，剩 13 篇。圖 6 把這 13 個點畫了出來。

<figure class="dd dd-figure">
<div class="dd-scroll">
<svg class="dd-svg" viewBox="0 0 800 400" xmlns="http://www.w3.org/2000/svg" role="img" aria-labelledby="lta-sr-title lta-sr-desc">
<title id="lta-sr-title">13 篇論文的摘要夏普與測試窗口</title>
<desc id="lta-sr-desc">散點圖，橫軸是測試窗口月數（對數刻度，6 到 96 個月），縱軸是摘要裡的夏普（0 到 5）。11 篇扣了固定費率，2 篇未扣成本，分別是 15 個月 4.49 和 10 個月 2.43。中位數 2.0。看不出窗口越短夏普越高。</desc>
<rect class="dd-frame" width="800" height="400" rx="10"/>
<rect class="dd-zone" x="16" y="16" width="768" height="368" rx="8"/>
<text class="t-zone" x="40" y="44">13 篇在摘要或結論裡給出夏普的論文</text>
<line class="dd-edge" x1="120" y1="330" x2="740" y2="330"/>
<line class="dd-edge" x1="120" y1="80" x2="120" y2="330"/>
<line class="dd-hair" x1="120" y1="280" x2="740" y2="280"/>
<line class="dd-hair" x1="120" y1="180" x2="740" y2="180"/>
<line class="dd-hair" x1="120" y1="130" x2="740" y2="130"/>
<line class="dd-hair" x1="120" y1="80" x2="740" y2="80"/>
<line class="dd-edge dd-dash" x1="120" y1="230" x2="740" y2="230"/>
<text class="t-note" x="126" y="224">中位數 2.0</text>
<text class="t-note" x="110" y="334" text-anchor="end">0</text>
<text class="t-note" x="110" y="284" text-anchor="end">1</text>
<text class="t-note" x="110" y="234" text-anchor="end">2</text>
<text class="t-note" x="110" y="184" text-anchor="end">3</text>
<text class="t-note" x="110" y="134" text-anchor="end">4</text>
<text class="t-note" x="110" y="84" text-anchor="end">5</text>
<text class="t-note" x="40" y="72">摘要夏普</text>
<text class="t-note" x="192" y="350" text-anchor="middle">6</text>
<text class="t-note" x="316" y="350" text-anchor="middle">12</text>
<text class="t-note" x="440" y="350" text-anchor="middle">24</text>
<text class="t-note" x="564" y="350" text-anchor="middle">48</text>
<text class="t-note" x="688" y="350" text-anchor="middle">96</text>
<text class="t-note" x="740" y="370" text-anchor="end">測試窗口（月，對數刻度）</text>
<circle class="dd-dot" cx="192" cy="250" r="5"/>
<circle class="dd-dot" cx="192" cy="204" r="5"/>
<circle class="dd-dot" cx="265" cy="207" r="5"/>
<circle class="dd-fill-acc" cx="284" cy="208" r="5"/>
<circle class="dd-dot" cx="310" cy="249" r="5"/>
<circle class="dd-dot" cx="322" cy="255" r="5"/>
<circle class="dd-dot" cx="316" cy="263" r="5"/>
<circle class="dd-fill-acc" cx="356" cy="105" r="5"/>
<circle class="dd-dot" cx="434" cy="177" r="5"/>
<circle class="dd-dot" cx="447" cy="177" r="5"/>
<circle class="dd-dot" cx="440" cy="252" r="5"/>
<circle class="dd-dot" cx="649" cy="230" r="5"/>
<circle class="dd-dot" cx="699" cy="313" r="5"/>
<text class="t-note t-acc" x="368" y="109">4.49 · 15 個月 · 未扣成本</text>
<text class="t-note t-acc" x="296" y="196">2.43 · 未扣成本</text>
<text class="t-note" x="458" y="168">3.05 × 2：同一篇的預印本和正式版</text>
<text class="t-note" x="657" y="218" text-anchor="middle">FinDPO</text>
<circle class="dd-dot" cx="600" cy="94" r="5"/>
<text class="t-note" x="612" y="98">扣了固定費率（11 篇）</text>
<circle class="dd-fill-acc" cx="600" cy="118" r="5"/>
<text class="t-note" x="612" y="122">未扣成本（2 篇）</text>
<text class="t-say" x="140" y="300">ρ = −0.10，單側 p = 0.36：看不出窗口越短夏普越高</text>
</svg>
</div>
<figcaption>圖 6 · 只有 13 個點、2 個未扣成本，這樣的樣本既證實不了、也否定不了“短窗口和不扣成本抬高夏普”</figcaption>
</figure>

窗口和夏普的秩相關是 −0.10，單側 p = 0.36。成本那邊，11 篇扣了成本、2 篇沒扣，中位數分別是 1.62 和 3.46，方向和預測一致，但 p = 0.10，而且一邊只有 2 個點。作者明確說：這兩個檢驗在這個樣本量下都檢測不出預測的關聯，扣成本組和不扣組的中位數差距**不能當作證據**。這裡還要補一句：這 13 個夏普口徑並不統一，有的是超額收益的夏普，有的是扣費後，有的只說“夏普”，放在一起比本身就粗糙。

另一個發現藏在“只有 13 篇”這個數里：**大多數論文不把夏普寫進摘要**，而是放在引言或表格裡，常常是逐個資產給出，或者是未扣費的超額收益。這本身也是一種報告習慣。

數字講完了，**這份審計本身有多可靠？**

## 六、這份證據有多強

### 我們複核了什麼

審計公開了全部編碼。我們沒有執行作者的 `analyze.py`，而是自己寫腳本讀 `codes.jsonl` 重新計數（腳本見第七節），表 1 的每個數、窗口中位數和四分位數（6、12、36 個月）、H4 的 50/51、13 個夏普及其中位數 2.0、三項俱全的 5 篇，都和論文一致。也就是說，**論文的數字確實來自這份編碼**；編碼本身對不對，是另一個問題。

### 論文的說法與證據

<figure class="dd dd-figure dt-figure">
<div class="dt-panel">
<div class="dt-title" id="lta-t3-title">主要說法、支撐它的證據和我們的判斷</div>
<div class="dt-scroll">
<table class="dt" aria-labelledby="lta-t3-title">
<colgroup><col style="width:30%"><col style="width:34%"><col></colgroup>
<thead>
<tr><th scope="col">論文的說法</th><th scope="col">證據</th><th scope="col">判斷</th></tr>
</thead>
<tbody>
<tr><th scope="row">一半交易測試不扣成本</th><td>38/75，成本欄位二編碼一致 100%</td><td class="good">較強；“不扣”是客觀事實，容易核對</td></tr>
<tr><th scope="row">測試窗口中位數 12 個月</th><td>69 篇寫明窗口，二編碼一致 94%</td><td class="good">較強；只看主實驗，附加實驗可能更長</td></tr>
<tr><th scope="row">可能重疊訓練資料的論文幾乎都沒控制</th><td>50/51；其中 29 篇截止日期“看不出”</td><td class="warn">方向可信；分組依賴“論文裡寫沒寫截止”，沒有查模型的公開截止</td></tr>
<tr><th scope="row">搜尋規模多數沒披露</th><td>窄口徑 17/75 披露；拆分為事後分析</td><td class="warn">中等；“種子”與“搜尋”的區分沒有預註冊，也沒有二編碼</td></tr>
<tr><th scope="row">夏普與窗口、成本無可檢測關聯</th><td>n = 13，p = 0.36 和 0.10</td><td>不是“沒有關係”，而是“測不出”</td></tr>
</tbody>
</table>
</div>
</div>
<figcaption>圖 7 · 描述性的計數比較紮實，關於夏普的兩個推論則基本沒有資訊量</figcaption>
</figure>

### 侷限：作者自己承認的

- **總體是一個整理過的語料，不是系統檢索。** 233 篇是作者收集的，比例描述的是這個語料。作者認為它偏向被引用多、較新的論文，大致能代表“流傳較廣的工作”，但不能保證。
- **編碼員是語言模型。** 二編碼只有 18 篇，主觀欄位大約十篇裡有一篇意見不一。
- **截止日期不查外部資料。** 論文沒寫截止的就編“未知”，不去查模型公開的截止日期。這讓 H4 在一個方向上偏保守，也留下 29 篇無法判斷。
- **“摘要夏普”定義得太嚴**，導致 H3、H5 樣本過小；更寬的定義沒有預註冊，作者就沒有報告。
- **利益衝突。** 作者在這個領域開發並出售研究工具，配套論文《Hard to Fool》介紹的就是他自己的研究流程[^hardtofool]。他的應對是公開全部編碼和引文，讓人不必信任他也能核對。

### 侷限：我們讀的時候注意到的

- **時間戳只能採信。** 公開倉庫的 README 說明，前四個提交是從私有倉庫按原日期重放的，DEVIATIONS 檔案也記錄了語料所在倉庫的歷史被改寫過（為了改郵箱和去掉 AI 署名，作者說內容未變）。Git 的提交日期可以由提交者設定，所以“預註冊早於編碼”在技術上無法從外部獨立驗證。這不是說有問題，只是預註冊的約束力來自作者的誠信，而不是第三方存檔（比如 OSF 那樣的註冊平臺）。
- **編碼和結果在同一個提交裡。** 預註冊說“看到結果之前”修正過兩處編碼，但修正記錄、編碼和結果是在同一個提交（11:45）裡一起出現的，從 Git 歷史上分不出先後。另外，論文正文說那個五天的窗口“被編為零個月”，而更正記錄寫的是從 0 改為 0.5，兩處表述不完全一致，影響很小。
- **編碼速度。** 細則提交在 11:33，91 篇的編碼、引文和二次編碼在 11:45 提交，相隔 12 分鐘。我們推斷這是多個 LLM 編碼員並行完成的（細則裡有“你負責的那一組論文”這樣的措辭）。這對 LLM 編碼不算異常，但也說明沒有人工逐篇複查。
- **總體裡混入了少量邊緣樣本。** 比如有一篇論文的編碼備註寫著“實際上沒有使用 LLM，假設是人工指定的”；還有同一篇論文的預印本和正式版各算一次，作者在穩健性檢驗裡處理了後者。

### 它沒有說明什麼

最後，作者在結論裡的一句話值得原樣記住：這些計數**不說明 LLM 交易策略無效**，只說明大部分已發表的證據沒法告訴我們它們是否無效。它也不是對任何單篇論文的評判：總體裡有幾篇正是圍繞這些檢查設計的，包括實盤基準、前向記錄的預測、帶嘗試次數校正的防洩漏因子發現[^gencay]、生產環境記錄，以及汙染檢測。計數只說明，這些是例外。

## 七、六行報告標準

作者提出，任何一篇 LLM 交易論文只要寫清下面六行，讀者一分鐘內就能判斷它的結果：

1. 測試窗口（寫明起止日期）和資產數量；
2. 主模型及其訓練截止日期，測試是否在截止之後；
3. 成本模型，以及讓結果消失的**盈虧平衡成本**；
4. 報告的這個策略之前，一共搜尋過多少個策略、提示詞或配置；
5. 按這個數量計算的多重檢驗統計量（收縮夏普或 reality check）；
6. 一個相對基準的、或按持倉構成匹配的零假設對照。

這六行對讀者同樣有用：讀到一個漂亮的夏普，先找這六行，找不到的就是證據缺口。本站之前的兩篇量化文章，[納指 ETF 的時差利差分析](/blog/nasdaq-etf-overnight/)和[量化策略籃子與市場風格](/blog/quant-regime-switching/)，都在回測里扣了成本；它們沒有用到大模型，第 2 行不適用，其餘幾行可以逐條對照。

如果想自己核對審計的數字，可以把公開倉庫克隆下來，用下面這段腳本重算表 1 和 H4。它只讀 `codes.jsonl`，不依賴作者的程式碼：

```python
import json, statistics as st
from collections import Counter

rows = [json.loads(l) for l in open("codes.jsonl")]
trading = [r for r in rows if r["costs"] != "na"]          # 75 papers with a trading test
for field in ("costs", "leakage", "trials"):
    print(field, Counter(r[field] for r in trading))

months = sorted(r["test_months"] for r in trading if r["test_months"] is not None)
print("window n =", len(months), "quartiles =", st.quantiles(months, n=4))

# H4: cutoff not known to precede the test, and leakage not controlled
h4 = [r for r in trading if r["llm_cutoff_before_test"] != "y"]
print("H4:", sum(r["leakage"] in ("none", "acknowledged") for r in h4), "/", len(h4))
```

輸出應該是：成本 38/30/7，前視 30/24/14/6/1，搜尋 39/6/23/7，窗口 69 篇、四分位數 6、12、36，H4 為 50/51。

## 小結

1. **一個回測夏普要滿足什麼？**扣掉現實的成本，測試期足夠長（一年的測試，年化夏普的標準誤約為 1），並且說明一共試了多少個策略。
2. **大模型多了什麼問題？**模型可能在預訓練時讀過測試期，回測測到的是記憶。控制辦法是測在訓練截止之後、做實盤，或用時間一致模型。
3. **有人數過嗎？**這份預註冊審計數了 91 篇：規則先提交，每個編碼附原文引文並由腳本校驗，18 篇做了盲二編碼。
4. **數出了什麼？**75 篇有交易測試的論文裡，51% 不扣成本，測試窗口中位數 12 個月；測試可能與訓練資料重疊的 51 篇中，50 篇沒有控制；三項檢查俱全的只有 5 篇。
5. **假設成立了嗎？**“窗口短”和“前視沒控制”成立；“很少報告嘗試次數”不成立，但報告的多是隨機種子；夏普與窗口、成本的關聯因為只有 13 個樣本而測不出來。
6. **證據有多強？**計數可以用公開資料復算，我們復算結果一致；但語料不是系統檢索，編碼員是 LLM，時間戳只能採信，作者也有利益關係。它說明的是“已發表的證據不足以判斷”，而不是“LLM 交易無效”。

## 參考資料
