Meta Platforms (META): three strategies, 2019–2024.

Holding Meta Platforms over these years returned 333%, a Sharpe ratio of 0.65. At their default settings one of the three rules beat that Sharpe. Tuned on the first 70% of the period and scored on the rest, two of the three held up.

Against holding it

Each rule at the workspace's default parameters, with 10 basis points of cost on every change of position, over 1,510 trading days.

Total returnSharpeWorst fall
Buy and hold333%0.65−77%
Momentum−24%−0.12−67%
MACD−82%−0.59−93%
Bollinger58%0.71−16%

On years it never saw

For each rule, every combination in its grid was run on the period up to 2023-03-15, the best was picked, and only that one was scored on what came after. How walk-forward works.

PickedSharpe, tunedSharpe, afterVerdict
Momentumlookback 20 · MA 1000.140.91held up
MACD16 / 34 / 9−0.27−0.38failed
Bollinger10 days · 2.5σ1.100.78held up

Skill or luck

Three more readings of the same runs. A permutation p-value under 0.05 means the timing beat random timing; a probability of overfitting near 0.5 or above means picking by backtest did no better than picking at random; the rolling column slides the split through the period. What each one asks.

Permutation pProbability of overfittingAcross rolling windows
Momentum0.2350.10depends on the window
MACD0.6490.23depends on the window
Bollinger0.0040.16positive in every window

Hypothetical results on past data (2019-01-02 to 2024-12-31), from a script in the repository that re-runs every figure. Not a recommendation to buy, sell or trade Meta Platforms or any other security.

Run it yourself

Each opens in the workspace on Meta Platforms over the same dates, straight after sign-up if you are new. Change the ticker or the dates and the numbers change with them, which is the point.

Other US stocks: Apple · Microsoft · Nvidia · Amazon · Alphabet · Tesla · JPMorgan Chase · S&P 500 ETF (SPY) · Nasdaq-100 ETF (QQQ) · AMD · Netflix · Berkshire Hathaway · Visa · Bank of America · Walmart · Coca-Cola · Johnson & Johnson · ExxonMobil · Disney · Dow Jones ETF (DIA) · Russell 2000 ETF (IWM). All of them.