// PORTFOLIO · MODULE 08/12
Portfolio construction: from Markowitz to LLM-generated views
Efficient frontier, Black-Litterman with LLM views, and optimizer sensitivity.
Module 7 built the measurement of risk: variance, covariance and Euler decomposition. This module answers the next question: given expected returns and a covariance matrix, what weights should the portfolio hold? The theoretical answer is seventy years old and forms a single genealogical tree —Markowitz (1952) → Tobin (1958) → Sharpe (1964) → Fama-French/Carhart → Black-Litterman (1992) → risk-only methods (ERC, MDP, HRP)—, not a recipe book of rival methods. Onto that tree the course grafts its modern contribution: an LLM that reads news and issues views that the Black-Litterman model weighs in a Bayesian manner before a deterministic optimizer computes the weights and a human vetoes them. It is the natural bridge to Module 9 (signals) and the pipeline that the Module 12 capstone will implement end to end.
8.1 Theory with exact formulas
Notation: weight vector; expected returns; covariance matrix; vector of ones; risk-free rate; (or ) risk aversion.
8.1.1 Markowitz mean-variance and its descendants
The optimization program. Markowitz (1952) formulated portfolio selection as a quadratic program: minimize variance subject to a target return (databento.com):
The dual form with risk aversion —the one most used in code— has a closed-form solution without constraints:
Note the factor : it is the source of all the fragility that section 8.2 will quantify, because inverting a nearly singular covariance matrix amplifies the errors of (B2BITS).
The efficient frontier as a hyperbola. Defining the scalars
the minimum-variance frontier in space is the hyperbola:
Global minimum-variance portfolio (GMV). The leftmost point of the frontier does not depend on —the property that makes it the most robust estimator of the family— (Github):
Tangency portfolio (maximum Sharpe) and CML. With a risk-free asset , the risky-asset portfolio with the maximum Sharpe ratio is:
and every combination of and the tangency portfolio forms the Capital Market Line:
The following figure illustrates these objects with four synthetic assets (the resulting GMV weights are 74.6%, 15.0%, 6.7% and 3.7%; the tangency weights, 44.8%, 20.8%, 15.1% and 19.3%):
Tobin's two-fund separation. Tobin (1958) showed that the choice of which risky portfolio to hold is independent of risk aversion: only how much is invested in it versus the safe asset changes (arXiv.org). Every optimal portfolio is:
with implying leverage. The conservative and the aggressive investor hold the same risky portfolio; they differ only in the leverage applied to it (稀土掘金).
CAPM. In equilibrium, the tangency portfolio is the market portfolio and every asset prices on the Security Market Line (Sharpe 1964; Lintner 1965; Mossin 1966) (mer.vin):
Factor models. The single-factor CAPM generalizes into the factor decomposition of returns. Fama-French 3 factors (1993) adds size and value, explaining roughly 90% of the variation of diversified portfolios versus the CAPM's ~70% (Github):
Carhart (1997) adds momentum (Winners Minus Losers, winners 12–1 months minus losers) (Github):
and Fama-French 5 factors (2015) incorporates operating profitability (, Robust Minus Weak) and conservative investment (, Conservative Minus Aggressive) (Github):
These models matter here for two reasons: (i) they define the factor risk budgets that are imposed as linear constraints in the optimizer (), and (ii) they are the benchmark that any "alpha" generated by an LLM must beat net of costs —section 8.4 will show that LLM styles are usually undeclared FF/Carhart factor exposures (Github). Factor data are downloaded from the Ken French Data Library (Github).
8.1.2 Black-Litterman, Kelly and the -free methods
Full Black-Litterman. Black and Litterman (1992) solved the absurd-inputs problem of MVO by reversing the direction of the calculation: instead of estimating and optimizing, they start from CAPM equilibrium and let the investor tilt the prior only where they have conviction (Github). The procedure has four steps.
Step 1 — Implied equilibrium returns (reverse optimization on the market-cap weights , with typically between 2.5 and 3.5) (Github):
Step 2 — Investor views: views , with , "picking" matrix and the uncertainty diagonal.
Step 3 — Bayesian posterior, in its two equivalent exact forms (Github):
with posterior covariance , where . The scalar measures the uncertainty of the prior; institutional practice sets it in or as (Github). Idzorek's (2005) calibration of sets each diagonal element from the variance of the view's asset combination (Github):
Step 4 — Weights: and are fed to the MV optimizer: (unconstrained). The economic reading is the pedagogical key: BL is a Bayesian shrinkage toward equilibrium —a view with high barely moves ; a view with low dominates it locally. That is exactly where the LLM views of section 8.3 will enter.
Kelly criterion. Kelly (1956) maximizes the expected logarithmic growth rate of wealth (Github). For a bet with probability of winning and net odds :
Differentiating and setting to zero yields the optimal fraction (Github):
The generalization with partial losses (Rotando and Thorp 1992; Thorp 2008), where are the odds of the negative outcome (Github):
and the Gaussian continuous version, with its multivariate form (Github):
Multivariate Kelly coincides with the unnormalized tangency portfolio —the case of MVO—, which connects sizing and optimization in a single theory. Since full Kelly is extraordinarily sensitive to the estimated edge, standard practice is fractional Kelly with or : half-Kelly retains roughly 75% of the growth with about half the volatility, and Thorp himself operated in that range (Github).
Equal Risk Contribution (ERC). Risk-only methods remove from the problem. The marginal risk contribution and the risk contribution of asset are (Maillard, Roncalli and Teïletche 2010) (Github):
By the Euler identity of Module 7, . The ERC condition requires each asset to contribute exactly of total risk:
With no general closed-form solution, it is solved numerically (least-squares formulation; Spinu's 2013 version convexifies the problem via a logarithmic function) (Github):
ERC sits between and GMV on the diversification-risk spectrum.
Ledoit-Wolf covariance shrinkage. The sample covariance is noisy and ill-conditioned; the Ledoit-Wolf estimator (2003/2004) combines it convexly with a structured target (Source):
with optimal intensity computable in closed form from the data, with no free parameters (AgentConn):
Usual targets: constant correlation (2003: , ) and scaled identity (2004: ). Verified numerical example: with , sample correlation 0.72 and mean 0.42, the shrunk correlation is (maryammiradi.com). Course operating rule: never feed raw sample to BL or MVO with more than a dozen assets.
Maximum Diversification. Choueifaty and Coignard (2008) maximize the diversification ratio (TradingAgents-AI):
The solution without the no-shorting constraint is , normalized to sum 1 (Cambridge University Press & Assessment). If all Sharpes are equal, MDP coincides with the tangency portfolio; moreover, is the effective number of independent risk sources in the portfolio (Cambridge University Press & Assessment).
HRP — Hierarchical Risk Parity. López de Prado (2016) achieves diversification without inverting , eliminating at the root the instability of (ResearchGate). Three stages: (1) hierarchical clustering on the correlation-derived distance:
(2) quasi-diagonalization: reordering the rows and columns of following the dendrogram so that similar assets end up adjacent; (3) recursive bisection: for each split into subclusters , the intra-cluster variance is computed with inverse-variance allocation,
and the split factor between subclusters:
Weights propagate multiplicatively down to the leaves. Documented extensions include HERC/HERC2 (Raffinot 2018), NCO (López de Prado 2019) and Schur complementary allocation (Cotton 2024), which unifies HRP and minimum variance while guaranteeing (arXiv.org).
HRP and fractional Kelly in production:
from pypfopt import HRPOpt
hrp = HRPOpt(returns) # Ward clustering + recursive bisection
w_hrp = hrp.optimize() # without inverting Sigma: robust to ill-conditioning
# Fractional Kelly on the BL tangency portfolio (prudential sizing)
f_kelly_full = np.linalg.solve(S_bl.values, mu_bl.values - 0.03) # Sigma^-1 (mu - rf 1)
c_frac = 0.25 # quarter-Kelly
w_final = c_frac * f_kelly_full / np.sum(np.abs(f_kelly_full))Reference implementation (PyPortfolioOpt):
from pypfopt import EfficientFrontier, risk_models, expected_returns
mu = expected_returns.mean_historical_return(prices)
S = risk_models.CovarianceShrinkage(prices).ledoit_wolf() # never raw sample_cov
ef = EfficientFrontier(mu, S)
w_tan = ef.max_sharpe(risk_free_rate=0.03)
ef_gmv = EfficientFrontier(mu, S)
w_gmv = ef_gmv.min_volatility()GMV with cvxpy (full constraint control):
import cvxpy as cp
import numpy as np
n = S.shape[0]
w = cp.Variable(n)
prob = cp.Problem(
cp.Minimize(cp.quad_form(w, S.values)),
[cp.sum(w) == 1, w >= 0, w <= 0.25] # long-only + per-asset cap
)
prob.solve()
w_gmv = w.value # constrained GMV = implicit shrinkage (§8.2)8.2 The fragility of optimization
8.2.1 Error maximization, estimation sensitivity and defenses
The enemy is the input, not the model. Merton (1980) showed that the covariance matrix can be estimated with high precision using data of reasonable frequency, but that the mean of returns is only estimable with histories far longer than those available: with realistic historical data, is essentially useless for computing optimal weights (B2BITS). Chopra and Ziemba (1993) quantified the damage hierarchy: errors in means have roughly an order of magnitude more impact on utility loss than errors in variances, and these in turn more than errors in covariances —the commonly cited rule of thumb is ~11× means versus variances and ~21× means versus covariances in certainty-equivalent terms, figures best taken as an order of magnitude and not as a universal constant. The didactic consequence is direct: the research budget should go first to , not to .
The geometric mechanism is the inversion of : in correlated universes the matrix is nearly singular and multiplying by amounts to multiplying by a large number, which magnifies small changes in expected returns into huge changes in weights (Best and Grauer 1991). The canonical numerical example: with correlation 0.7, changing one asset's expected return by only 2 percentage points (from 10% to 8%) reduces its optimal weight from 0.50 to 0.18 (B2BITS). The following figure reproduces the phenomenon with the four synthetic assets: moving Asset 4's expected return by pp. shifts its tangency weight from 12.2% to 26.1% —almost 14 pp. of rotation from a perfectly plausible estimation error.
Michaud and the verdict. Michaud (1989) named the phenomenon: MVO is an error maximization device that aggressively exploits estimation errors instead of approximating the true mean-variance trade-off (Github). The formal line starts with Jobson and Korkie (1980), continues with Britten-Jones (1999) —the sampling error of tangency weights is enormous— and with Green and Hollifield (1992), who show that even without estimation error a dominant factor generates extreme weights (Foxholm Financial). The most uncomfortable empirical result is DeMiguel, Garlappi and Uppal (2009): fourteen sophisticated strategies (Bayes-Stein, minimum variance, constraints) against on seven datasets, and none consistently beats the equal-weight allocation out of sample; with costs, the gap widens (Github). The caveat documented by Kirby and Ostdiek (2012) is equally important: much of the result comes from a design with high estimation risk and extreme turnover, and low-turnover MVO (volatility/reward-to-risk timing) can indeed beat net of costs (Github).
Constraints as shrinkage (Jagannathan-Ma). The most counterintuitive and most useful result in the literature: the long-only GMV portfolio with upper caps computed with is identical to the unconstrained GMV of a modified matrix in which the Lagrange multipliers shrink the covariances of the assets at the cap. Imposing "wrong" constraints acts as covariance shrinkage, and that is why the constrained GMV beats the unconstrained one out of sample (Jagannathan and Ma 2003) (arXiv.org). DeMiguel, Garlappi, Nogales and Uppal (2009) unified the landscape: norm constraints nest as special cases Ledoit-Wolf shrinkage, the Jagannathan-Ma result and itself (pypi.org). Operational lesson: sector constraints, per-asset caps and long-only are not concessions to compliance; they are statistical regularization.
Turnover and costs. Net return after rebalancing incorporates the transaction cost (Palomar 2025) (arXiv.org):
with a linear model for commissions and spread, and market impact quadratic in weights (square root in volume, Almgren-Chriss; Module 7). The standard defense is to penalize turnover inside the objective (arXiv.org):
For illustration: 200% annual turnover on a 100-million portfolio with an average effective cost of 15 bps per side destroys 300,000.00 of annual return (30 bps of drag) —enough to reverse the ranking of any pair of methods in the table below.
Deflated Sharpe Ratio. Every allocation backtest must be corrected for sample length, non-normality and selection bias from multiple trials (Bailey and López de Prado 2014) (Github):
where is the maximum expected Sharpe under the null after independent trials:
with the Euler-Mascheroni constant and the variance of the Sharpes across trials. Practical rule: require , complemented with PBO via CSCV and purged/embargoed cross-validation for series with overlapping labels (Github).
Table 8.1 — Allocation methods: assumptions, critical inputs, fragility and when to use them
| Method | Key assumptions | Critical inputs | Dominant fragility | When to use it |
|---|---|---|---|---|
| GMV | Only risk matters; ignored | (well estimated) | Estimation of ; concentration in low-vol assets | Robust baseline; broad universe with little return signal |
| Tangency (max Sharpe) | , known; exists | and | Extreme error maximization: pp. in → ±14 pp. in | Only with shrunk (BL, Bayes-Stein) and constraints |
| Black-Litterman | CAPM equilibrium as prior; views | , , , , , | Poor calibration of ; overconfident views | Whenever there are views (human or LLM) to combine with the market |
| Kelly (fractional) | Estimable edge; logarithmic utility | Edge (, or ) | Overestimating the edge → ruinous over-leverage | Sizing bets with documented edge; always |
| ERC / Risk Parity | Diversification by risk, not capital | Rotation toward low-vol/estimated-correlation assets | Multi-asset portfolios without reliable return views | |
| Maximum Diversification | Maximize ; implicit homogeneous Sharpes | , | reappears; sensitive to conditioning | When equal ex-ante Sharpes are believed and maximum diversification is wanted |
| HRP | Hierarchical correlation structure | (not inverted), linkage | Arbitrariness of clustering; less efficient in-sample | Production with ill-conditioned or large |
8.3 LLM views for Black-Litterman (full practical case)
8.3.1 Documented pipeline: from news to weights with human veto
The best empirically supported integration is Kim, Lee et al. (2025, arXiv 2504.14345), a complete and reproducible framework: for each stock in the universe (S&P 500) the LLM is queried times with recent news; the mean of the repeated responses constitutes the views vector , and the variance of the responses populates the diagonal of —higher variance implies higher uncertainty and, automatically, lower weight of the view in the posterior—, with (one absolute view per asset) (pypi.org). The reported result is that portfolios guided by the best-performing LLMs outperform traditional baselines in absolute and risk-adjusted terms, but —an essential caveat— the choice of LLM is not the search for a better forecaster but "a strategic choice of investment style whose success depends on its alignment with the prevailing market regime" (pypi.org). The equivalent GLS specification used by the paper makes the stacked prior-and-views structure explicit (Cambridge University Press & Assessment):
The full institutional pipeline, with LangChain/LangGraph at the view-generation layer and deterministic tools downstream, respects the course's backbone pattern: the LLM reasons, the math decides, the human vetoes.
Snippet — view-generation layer with LangChain (structured output, closed schema):
from pydantic import BaseModel, Field
from langchain_openai import ChatOpenAI
class VistaActivo(BaseModel):
ticker: str
retorno_esperado_anual: float = Field(description="Vista de retorno, en tanto por uno")
justificacion: str = Field(max_length=500)
evidencia_literal: str = Field(description="Cita verbatim de la noticia que sustenta la vista")
llm = ChatOpenAI(model="gpt-5", temperature=1.0) # temperature > 0: dispersion is the signal
chain = llm.with_structured_output(VistaActivo)
# N = 100 repeated queries per asset (arXiv 2504.14345)
respuestas = [chain.invoke({"noticias": noticias_pit, "ticker": tk}) for _ in range(100)]
q_i = float(np.mean([r.retorno_esperado_anual for r in respuestas]))
omega_i = float(np.var([r.retorno_esperado_anual for r in respuestas], ddof=1))Two design decisions are non-negotiable. First, the closed schema with literal evidence: each view must quote verbatim the news item that supports it (the anti-hallucination discipline of Module 6), and the news must be point-in-time —published before the decision timestamp, with ingestion latency modeled—. Second, temperature is not minimized: the dispersion of the responses is the measure of uncertainty that feeds .
Snippet — BL posterior with PyPortfolioOpt and constrained optimization:
from pypfopt.black_litterman import BlackLittermanModel
bl = BlackLittermanModel(
S_lw, # Ledoit-Wolf covariance (never raw sample)
pi="market_cap", # equilibrium prior: pi = delta Sigma w_m
absolute_views=pd.Series(q_dict), # q: means of the N=100 queries
omega="idzorek", # or diagonal = variance of the queries
tau=0.025,
)
mu_bl = bl.bl_returns()
S_bl = bl.bl_cov()
ef = EfficientFrontier(mu_bl, S_bl)
ef.add_constraint(lambda w: w >= 0) # long-only
ef.add_constraint(lambda w: w <= 0.10) # per-asset cap (Jagannathan-Ma)
weights = ef.max_sharpe(risk_free_rate=0.03) # -> human veto before the OMSCritical context of the case. The headline-sentiment signal has the best empirical pedigree in the LLM literature (Lopez-Lira and Tang 2023: post-cutoff GPT-4 scores that predict the initial reaction and the subsequent drift, stronger in small-caps and negative news), but the authors themselves document that "strategy returns decay as LLM adoption increases, consistent with improved price efficiency" —the edge gets arbitraged away (skfolio.org). And Glasserman and Lin (2023) decompose the bias into look-ahead and distraction effect: in-sample, anonymized headlines perform better than identified ones, because general knowledge of the company contaminates the sentiment reading more than recall of the future —especially in large caps—, which turns headline anonymization into standard de-biasing procedure before generating views (Cambridge University Press & Assessment).
8.4 Critical evidence on LLMs and prediction
8.4.1 Memorization, Alpha Illusion and the consequence for
Four results delimit what an LLM can contribute to portfolio construction.
Memorization Problem. Lopez-Lira, Tang and Zhu (2025) —the same first author of the foundational pro-predictability paper, in a remarkable self-correction by the community— show that LLMs recall with recall-precision the exact values of economic variables prior to their cutoff (MAE of 0.03%–0.15% on unemployment, GDP and S&P 500; directional accuracy above 96%), that neither explicit instructions to respect temporal boundaries nor masking prevents it, and that post-cutoff the recall disappears (arXiv.org). Devastating conclusion: one cannot tell whether the LLM is forecasting or accessing memorized data; every backtest of LLM views inside the training window is contaminated.
Alpha Illusion and reproducibility. "The Alpha Illusion" audit (2026) of FinCon, FinMem, TradingAgents, FinAgent, QuantAgent and FLAG-Trader concludes that the alpha reported by end-to-end LLM agents should not be treated as deployment evidence: current public evidence does not distinguish robust predictive ability from temporal contamination, unmodeled frictions, Sharpe uncertainty in short windows, narrative fitting and parametric priors (Github). The "Agentic Trading" audit (2026) protocolizes 77 empirical studies and reports that zero meet the full reproducibility criteria (arXiv.org); "Profit Mirage" (2025) quantifies how dazzling returns evaporate once the model's knowledge window ends (arXiv.org). Look-ahead is structural in pre-trained language models (Sarkar and Vafa 2024) (Github).
Why LLMs do not beat systematic factors. The few works with rigorous factor control show that sentiment "alpha" shrinks substantially after adjusting for Fama-French and costs; the documented survival corresponds to small specialized models trained year by year (FinText, by Rahimikia and Drinkall), not to generalist LLMs (metricgate.com). Moreover, the "styles" LLMs exhibit in the enhanced BL are undeclared implicit factor exposures: when the model "chooses" small-caps or value, it is replicating known FF/Carhart premia without attribution (Github). The honest comparison standard remains Gu, Kelly and Xiu (2020).
Operational implication for the section 8.3 pipeline. LLM views are treated as a weak signal with high , never as truth: (i) evaluate only post-cutoff or with living benchmarks; (ii) anonymize headlines (anti-distraction); (iii) inflate with a prudential factor; (iv) validate the full system with DSR > 0.95 and PBO; (v) attribute the result against FF5/Carhart factors before claiming alpha.
Table 8.2 — Critical evidence on LLMs in financial prediction
| Paper | Finding | Documented bias |
|---|---|---|
| Lopez-Lira & Tang (2023, arXiv 2304.07619) | Post-cutoff GPT-4 scores predict initial reaction (~90% hit rate portfolio-day, not tradable) and drift; long-short Sharpe 3.8 (v4) → 3.28 (v5) | No costs; numbers change across versions; decay with adoption |
| Glasserman & Lin (2023, arXiv 2309.17322) | Anonymized headlines perform better in-sample: distraction dominates look-ahead | Distraction effect, mostly in large caps |
| Kim, Lee et al. (2025, arXiv 2504.14345) | LLM views (mean of 100 queries, variance → ) beat baselines; each LLM is a regime-dependent "style" | Styles = implicit factor exposures; short window |
| Lopez-Lira, Tang & Zhu (2025, arXiv 2504.14765) | Exact pre-cutoff recall (>96% directional accuracy; MAE 0.03–0.15%); zero recall post-cutoff | Memorization: forecasting indistinguishable from recall |
| The Alpha Illusion (2026, arXiv 2605.16895) | End-to-end agents' alpha is not deployment evidence; "linguistic confidence is not a tradable probability" | Temporal contamination, omitted frictions, short-window Sharpe |
| Agentic Trading (2026) / Profit Mirage (2025, arXiv 2510.07920) | 0 of 77 studies fully reproducible; returns evaporate after the cutoff | Parametric leakage; systemic irreproducibility |
Exercises
-
GMV with cvxpy. With the module's four synthetic assets (, correlations given), solve the long-only GMV with a 40% per-asset cap using
cvxpy. Numerically verify the closed-form formula without constraints and compare. Repeat with the Ledoit-Wolf shrunk covariance () and quantify the change in . -
Black-Litterman with simulated LLM views. Starting from with , simulate two absolute "LLM" views: on assets 3 and 4, with (confident view) and (weak view). Compute with both posterior forms and check that they coincide to machine precision. Then double both and explain, using the formulas, why the posterior retracts toward .
-
Fractional Kelly. A strategy has , . (a) Compute with the discrete formula. (b) Plot and mark , half-Kelly and quarter-Kelly. (c) Simulate 1,000 trajectories of 252 bets for and compare median growth, volatility and maximum drawdown. Why does institutional practice choose even though expected growth is lower?
-
HRP versus GMV. With an 8-asset correlation matrix with two strong clusters (intra-cluster correlation 0.7, inter-cluster 0.1), implement HRP recursive bisection (distance , Ward linkage) and compare the weights and the simulated out-of-sample variance against GMV with sample covariance. Repeat with 60 observations per asset to exacerbate the ill-conditioning of and explain the result.
-
Sensitivity and defenses. Perturb each component of by pp. (16 configurations) and record the variation range of the unconstrained tangency weights. Repeat with (a) long-only constraints + 25% cap and (b) shrunk 50% toward . Relate the sensitivity reduction to the Jagannathan-Ma theorem.
-
Critical validation. Take the backtest Sharpe from exercise 4, assume months, , and trials with , and compute the DSR. Does it pass the 0.95 threshold? List which biases from Table 8.2 could be present if the "views" had been generated by an LLM with a cutoff later than the start of the backtest.
Module 8 of 15 — LangChain for Quantitative Trading. Data and versions verified as of July 2026; prices and market figures subject to change. LangChain 1.3.14 / langchain-core 1.5.2.
// check
Check your understanding
Self-assessment with instant feedback. No score is stored.
Show answer
B. The closed-form formula w_GMV = Σ⁻¹1/(1ᵀΣ⁻¹1) contains no μ in any term. Since Merton (1980) showed that the mean is practically inestimable while the covariance is estimated with good precision, giving up the noisiest input is exactly what gives the GMV its robustness (sections 8.1.1 and 8.2).
Show answer
C. In correlated universes Σ is nearly singular, and multiplying by Σ⁻¹ amounts to multiplying by a large number: plausible estimation errors turn into massive rotations. This is the mechanism Michaud named error maximization and which Figure 8.2 reproduces (12.2% → 26.1% with ±2 pp.).
Show answer
B. The constrained GMV computed with Σ̂ is identical to the unconstrained GMV of a modified matrix where the Lagrange multipliers shrink certain covariances. Constraining is regularizing: that is why the module's operational lesson is that caps and long-only are statistical regularization, not concessions to compliance (section 8.2.1).
Show answer
C. The framework queries the LLM 100 times per stock: the mean of the responses is the view and their variance measures the uncertainty, so a dispersed response automatically receives less weight in the posterior. That is why temperature is not minimized: dispersion is the signal (section 8.3.1).
Show answer
B. Distraction dominates recall of the future, especially in large caps: knowing which company is being discussed degrades the reading of the headline. That is why the module turns anonymization into standard de-biasing procedure before generating views (critical context of section 8.3.1 and Table 8.2).
Show answer
C. The Memorization Problem (Lopez-Lira, Tang and Zhu 2025) documents exact recall of pre-cutoff economic values that neither instructions nor masking eliminate, and the contamination is undetectable by inspecting the code. Evaluation is only valid post-cutoff or with living benchmarks (section 8.4.1).
Show answer
B. f* depends on the edge (p, b or μ/σ²), which is estimated with error; overestimating it with full Kelly leads to over-leverage. Fractioning is the standard insurance —Thorp himself operated in that range— and connects to the same fragility of the tangency portfolio, since multivariate Kelly is the unnormalized tangency (section 8.1.2).
Show answer
B. The DSR compares the estimated Sharpe with the maximum expected Sharpe under the null after N trials, adjusting for skewness, kurtosis and T. The module's practical rule is to require DSR > 0.95, complemented with PBO via CSCV, before considering any allocation as deployment evidence (section 8.2.1).