SamQuant

Backtest research / AAPL

Moving average crossover

Jan 3, 2023 to Jan 3, 2024 · US · Demo data

Export

Experiment setup

AAPL with moving average, Jan 3, 2023 to Jan 3, 2024

Signal at close · Fill at next open · Costs applied

Market
Separate up to six tickers with commas.
Latest allowed date: Aug 11, 2026.
Strategy
Execution
Position and risk
Analytics setting
Results are hypothetical and depend on the data and assumptions shown here. They are not investment advice or a promise of future performance.Read disclaimer
Price, indicators, and fills

AAPL daily bars

5 fills
View recent chart data
Twenty most recent AAPL price bars shown in the chart
DateOpenHighLowCloseVolume
2023-12-07122.77124.15121.77123.063,575,925
2023-12-08121.55121.70121.23121.401,987,159
2023-12-11120.15120.75119.31119.771,947,001
2023-12-12119.97120.72118.99120.542,013,295
2023-12-13120.48121.08119.61120.293,391,121
2023-12-14118.68119.25117.98118.403,051,976
2023-12-15118.20118.52117.65118.101,361,693
2023-12-18119.40120.47117.69118.441,060,384
2023-12-19119.70120.53118.76119.542,788,474
2023-12-20119.29119.78119.02119.281,247,873
2023-12-21119.00119.88118.28118.821,317,730
2023-12-22118.57119.09117.66118.733,341,161
2023-12-25118.55119.27117.64118.883,122,551
2023-12-26117.42118.27116.53117.302,023,550
2023-12-27118.67119.45117.44118.333,132,424
2023-12-28121.10122.06120.32121.171,758,117
2023-12-29122.53123.03121.30122.242,293,798
2024-01-01120.19120.61119.73120.311,136,161
2024-01-02120.94121.48120.26120.443,428,130
2024-01-03118.22119.04117.95118.161,070,729
Portfolio metrics1 asset · 5 fills
Total returnMethod-3.6%
AnnualizedMethod-3.5%
VolatilityMethod13.7%
Sharpe ratioMethod-0.19
Max drawdownMethod12.2%
Win rateMethod50.0%
Final valueMethod$96,352
Portfolio breakdown

Asset attribution

Ranked by net strategy P&L.

Asset attribution for this backtest
RankTickerStock returnFinal priceStrategy P&LContributionEnd weight
1AAPL32.4%$118-$3,648-3.6%100.0%
Research readout

What this run actually says

Finished behind

$100,000 became $96,352. That is a 3.6% loss over the dates shown.

Against holding
Equal-weight holding finished 35.2 percentage points ahead of the rules in this period.
Downside
The worst fall from a previous high was 12.2%. Risk-adjusted return was below the risk-free comparison.
Sample
5 trades is a thin sample. One trade can change the result sharply. The win rate was 50.0%; it says nothing about the size of wins and losses.
Last rule
BUY AAPL on Dec 11, 2023. That is the last recorded rule, not a trade for today.
Next step
The record stops on Jan 3, 2024. Try the same rules on another period before trusting the pattern. A strong fit here can still fail later.
Methodology and assumptionsReview the rules behind this result.
data
Demo bars are deterministic and synthetic.
execution
Orders fill completely with configurable fees and adverse slippage.
monteCarlo
Simulations use historical daily mean and covariance with equal asset weights.
optimization
The long-only frontier is an approximate historical sample, not a forecast.
riskControls
Risk exits use the current bar's open and never its closing price.
signalTiming
Signals use closing data and execute at the next bar's open.
universe
The selected symbols are not a point-in-time index universe.