Magic Formula (Greenblatt)
EN: Magic Formula / Greenblatt Formula PT: Fórmula Mágica de Greenblatt
La estrategia sistemática más famosa del value investing moderno — Joel Greenblatt combina dos métricas simples (Earnings Yield + Return on Capital) para identificar "good companies at cheap prices". Documentado en "The Little Book That Beats the Market" (2005) con retornos de 17%+ anualizado durante 1988-2004.
Qué es la Magic Formula
La Magic Formula (también llamada Greenblatt Formula, en portugués Fórmula Mágica) es una estrategia quantitativa systematic desarrollada por Joel Greenblatt, fundador de Gotham Capital y adjunct professor en Columbia Business School. Publicada en su libro best-seller "The Little Book That Beats the Market" (2005, revised 2010), la formula combina dos métricas simples en un sistema rules-based elegante. El approach: "buy good companies at cheap prices" expressed cuantitativamente. Las dos métricas: (1) Earnings Yield = EBIT / Enterprise Value. Mide cheapness — qué tanto earnings operativos recibes por cada dólar invertido en la empresa completa. Invertido de EV/EBIT. Mayor = más cheap. (2) Return on Capital = EBIT / (Net Working Capital + Net Fixed Assets). Mide quality — qué tanto earnings genera el business per dólar de capital tangible invertido en operaciones. Similar a ROIC pero usando EBIT en lugar de NOPAT y capital operativo en lugar de total invested capital. Mayor = mejor business. La Magic Formula process: (a) rank universe de stocks by Earnings Yield (1 = highest, n = lowest); (b) rank mismo universe by Return on Capital (1 = highest, n = lowest); (c) sum los two ranks per stock; (d) buy top 20-30 stocks con lowest combined rank (meaning highest EY + highest ROC); (e) hold 1 year, rebalance, repeat. Historical performance: Greenblatt documented returns de 17% anualizado 1988-2004 vs S&P 500 <10% — outperformance de 7+ percentage points anualizado durante 17 años. Applied post-fees, investor capital grew 5×+ faster than index during period. La elegancia: combines rigorous quantitative screening con simple 2-metric framework. No judgment required, no market timing. Anyone can implement con stock screener.
Las Dos Métricas Expandidas
Earnings Yield (EY) = EBIT / Enterprise Value. Componentes: EBIT (Operating Income) del income statement. Enterprise Value = Market Cap + Debt - Cash. Cálculo: empresa con EBIT $500M, Market Cap $3B, Debt $500M, Cash $200M → EV = $3B + $500M - $200M = $3.3B. EY = $500M / $3.3B = 15.2%. Interpretation: receiving 15.2% operating return per dollar en enterprise value. Comparación benchmark: Treasury bond yield — si 10-year Treasury yields 4.5%, entonces EY de 15.2% provides risk premium de 10.7 percentage points. Historically attractive. Why EBIT & EV (not P/E)?: (a) Capital structure neutral: companies con different debt levels comparable on EBIT/EV basis. P/E distorts by capital structure. (b) Pre-tax comparison: neutralizes different tax jurisdictions. (c) Enterprise focus: represents total return to all capital providers (equity + debt), not just equity. Return on Capital (ROC) = EBIT / (Net Working Capital + Net Fixed Assets). Greenblatt specifically defined denominator as: Net Working Capital (Current Assets excluding excess cash, minus Current Liabilities excluding interest-bearing debt) + Net Fixed Assets (Property, Plant & Equipment net of depreciation). Excludes: excess cash (not operational), goodwill (not tangible operating capital), intangibles (difficult to value consistently). Cálculo: empresa con EBIT $500M, Working Capital $300M, Net PP&E $800M → ROC = $500M / $1.1B = 45.5%. Business generating 45.5% on operating capital is exceptional — moat territory. Why ROC (not ROE or ROA)?: (a) Operating focus: excludes non-operating assets (excess cash, goodwill) que dilute operating returns. (b) Capital structure neutral: ROC independent of leverage unlike ROE. (c) Captures moat: sustained high ROC is evidence of competitive advantage. (d) Tangible assets only: conservative, excludes intangibles valuation. Alternative definitions of ROC exist (ROIC typically uses NOPAT instead of EBIT, total invested capital instead of operating capital). Greenblatt's specific definition is more restrictive but captures same concept.
Implementation en 5 Pasos
La implementation práctica sigue 5 pasos sistematicos. Paso 1: Define el universe: típicamente US-listed stocks with minimum market cap (Greenblatt suggests $50-100M en libro original; modern practitioners use $500M+ para liquidez). Exclude: utilities (regulated returns artificially constrained), financial services (ROC calculation problematic for banks), preferred stocks, ADRs optionally. Paso 2: Calculate Earnings Yield: EBIT TTM / (Market Cap + Debt - Cash) for each stock. Rank 1 (highest EY) to N (lowest). Paso 3: Calculate Return on Capital: EBIT TTM / (Net Working Capital + Net Fixed Assets) for each stock. Rank 1 (highest ROC) to N (lowest). Paso 4: Combined rank: suma EY rank + ROC rank. Lower combined = better. Sort ascending. Select top 20-30 stocks. Paso 5: Portfolio construction: buy selected stocks in roughly equal weights. Hold 1 year. Rebalance annually by repeating steps 2-4. Sell losers before 1 year y winners after 1 year para tax efficiency (short-term vs long-term capital gains en US). Modern tools: (1) MagicFormulaInvesting.com: Greenblatt's free website publishing monthly updated Magic Formula stocks. Basic version screens US universe con his specific methodology. (2) Stock screeners: Finviz, FinancialChart, Stockopedia tienen Magic Formula screens. (3) ETFs approximating: Gotham Enhanced 500 (GIND), Pacer US Cash Cows 100 (COWZ), similar quality-value blend ETFs. Individual investor implementation: 30 stocks × $1,000 each = $30,000 starting capital. Annual rebalance = 30 trades. Low cost brokerages (Schwab, Fidelity, IBKR) handle minimally. Paper trading primero para familiarizarse con process antes de commit real capital. Discipline required: el approach funciona porque systematic, not sporadic. Miss 1-2 annual rebalances and edge disappears. Not all years outperform — some years lag significantly (e.g., 2008-2009 during crisis). Patience through volatility is essential.
Performance y Edge Investigado
El edge empírico de Magic Formula ha sido investigated extensivamente. Greenblatt original study 1988-2004: 17% anualizado vs S&P 500 9% anualizado. Outperformance 7-8% persistently. Subsequent replication studies: (a) Tobias Carlisle en "Quantitative Value" (2012) replicated similar edge 1974-2011 con modifications. (b) James Montier (GMO) replicated in international universes with similar findings. (c) Academic studies 2010-2020 have shown edge compressed but positive — maybe 3-5% anualizado post-publication vs. 7-8% pre-publication (consistent con academic factor degradation post-disclosure). Year-by-year reality: Magic Formula doesn't outperform every year. Greenblatt data shows: (a) 74% of years outperform (better than coin flip); (b) outperformance years average 15%+; (c) underperformance years average -7%; (d) longest losing streak during Greenblatt study was 3 years (1999-2001 dot-com era). Point: patience through lag periods is crucial. Most investors abandon during losing streaks, capturing only losses. Real-world fund implementation: Gotham Capital (Greenblatt's fund) has used variant strategies para decades con strong long-term results. Gotham Asset Management now offers mutual funds y ETFs based on adapted methodology. Performance has been competitive pero not as extraordinary como original backtest — typical for post-discovery factors. Limitations y critiques: (a) Survivorship bias en backtest: earlier Piotroski data possibly included stocks que subsequently failed. Modern replications más rigorous. (b) Small-cap bias: edge stronger en smaller companies donde mispricings more prevalent. (c) Sector concentration risk: at times, Magic Formula portfolio concentrates heavily in one sector (cyclical specific). (d) Bear market performance: underperforms during sharp selloffs due to cyclical exposure. Modern hybrid approaches: many practitioners now combine Magic Formula con quality overlays (F-Score, moat analysis), sector constraints (no more than 30% in single sector), y risk management (stop losses, portfolio hedging). Purist approach followed by Greenblatt remains systematic and elegant; practical implementations add risk controls.
Operativa y Aplicación en Opciones
El uso operativo de Magic Formula. Systematic strategy: buy 20-30 stocks ranked top by combined EY + ROC. Rebalance annually. Simple, mechanical, emotion-free. Individual investor ideal implementation. Active variant: apply Magic Formula as screening tool, then conduct qualitative analysis on top candidates antes de invest. Eliminates occasional value traps that pass quantitative screen pero have structural problems. More time-intensive pero potentially higher quality. Hybrid portfolio construction: 60-70% core Magic Formula portfolio + 30-40% individual high-conviction positions. Combines systematic edge con high-conviction upside. Sector constraint overlay: limit any single sector to 30-35% of portfolio to avoid concentration risk. Magic Formula naturally screens cyclicals during troughs — can produce over-concentrated cyclical exposure. Quality overlay: filter Magic Formula candidates por F-Score ≥ 5 o Altman Z-Score > 2.5. Removes fundamentals-deteriorating "cheap for a reason" stocks. Opciones: (a) Long calls / LEAPS on top Magic Formula candidates — leveraged exposure to mean reversion. Select LEAPS 12-24 months for time to materialize. Particularly effective en high conviction candidates where qualitative analysis confirms quantitative signal. (b) Bull call spreads for risk-defined exposure — reduces option cost while capturing upside. (c) Cash-secured puts con strike below Magic Formula candidates' current prices — disciplined entry discount. If assigned, enter at attractive value. (d) Covered calls sobre Magic Formula holdings — income generation sin sacrificing equity exposure. Strikes 10-15% OTM 30-45 DTE captures premium with moderate capping de upside. (e) Pair trades: long calls en high Magic Formula score stocks + short calls en low Magic Formula stocks within same sector. Captures relative value differential. (f) Avoid: premium-selling strategies (iron condors, short strangles) on cyclical Magic Formula candidates — gap risk during cyclical reversals too severe. Long stock + covered calls is safer premium capture. Ejemplo histórico: Greenblatt's track record includes specific winners like American Express during 1990-1991 financial stress (passed Magic Formula screen due to cheap valuation despite quality). Greenblatt bought significant position when AXP traded at low multiples of earnings. Position appreciated 300%+ over subsequent decade as fundamentals recovered. Equivalent opportunities continuously emerge en Magic Formula screens during sector-specific crises (banks 2008-2012, energy 2015-2016, retail 2017-2019, travel 2020-2021). Systematic identification via Magic Formula + qualitative validation produced compound returns far exceeding index benchmarks for disciplined practitioners.
Magic Formula vs. Otros Systematic Frameworks
Magic Formula es uno of the most elegant combinations of value + quality en dos metrics.
| Framework | Metrics | Simplicidad | Edge documentado |
|---|---|---|---|
| Magic Formula | EY + ROC combined ranks | Alta | 17% anualizado 1988-2004 original |
| Piotroski F-Score | 9 binary criteria | Media | 7.5% outperformance value stocks |
| Graham Defensive | 7 criteria (including Graham #) | Media | Schloss 15.3% annualized 50+ years |
| O'Shaughnessy Cornerstone Value | Multi-factor rank | Media-Alta | 16-18% backtests |
| Fama-French 5-factor | Academic factors | Alta (for academia) | Academic benchmark |