PlainQuant

Demo: Golden cross on Hong Kong stocks

Default settings, no tuning.

From 2019 to 2026, this rule's honest estimate is about 7.3% a year after costs, with a worst drop of 59.5%.

Raw backtest result8.6% a year
Honest estimate 7.3% a year

Over the same years, the market made 0.7% a year (the Tracker Fund of Hong Kong 2800, dividends included).

The gap is what most backtests miss.

How we checked this 2 of 3 checks passed
  • Separate test periods: -12.9% to 26.1% a year.
  • 80% of similar paths drop no more than 58.3% from a peak.
  • Profitable in 2 of 6 stretches.
Survivorship Some delisted stocks missing

Universe: point-in-time half-yearly 2019-01-01..2026-07-01, most delisted names missing from the source. Factor applied: 0.85.

Testing only today's listed companies skips those that went bust or were delisted, often the worst losers. We test on the stocks available on each past date, delisted ones included where the data has them.

Overfitting Low risk of a lucky fit

Settings of this rule tried on these stocks in the last 90 days: 1 (about 1.0 independent). Chance it isn't luck: 87.2%. Discount: 0.0%.

Try enough settings and one will look great by chance. We count your tries, test on years the rule wasn't tuned on, and discount the result. A rule that works for only one setting is describing the past.

Costs Realistic costs included

Before costs 9.7% a year; after costs 8.6% (hk_default).

Every trade pays commission, exchange fees, Hong Kong stamp duty and the bid-ask spread; frequent trading can lose most of its paper profit to them. We charge broker-like fees on every simulated trade and show what costs took.

873k1.27M1.67M2.06M2.46M2020202120222023202420252026
873k1.27M1.67M2.06M2.46M2020202220242026
Account value over time. Shaded bands mark the separate test periods.
Details

By calendar year

YearDatesReturnMarketWorst dropTrades
2019 (part year)2019-11-01 – 2019-12-312.9%5.2%-4.8%1
20202020-01-02 – 2020-12-3186.2%-2.3%-27.3%13
20212021-01-04 – 2021-12-31-1.5%-14.8%-28.5%17
20222022-01-03 – 2022-12-30-32.0%-14.3%-42.8%35
20232023-01-03 – 2023-12-29-13.2%-14.0%-22.8%18
20242024-01-02 – 2024-12-3111.6%27.9%-17.5%12
20252025-01-02 – 2025-12-3171.9%37.3%-14.5%7
2026 (part year)2026-01-02 – 2026-10-30-16.8%-9.2%-28.6%18
Whole window2019-11-01 – 2026-10-318.6% a year0.7% a year-59.5%121

140 of 784 names with bars in the window are outside the point-in-time universe for all of it (never entered)

1 held names had no bar for 5+ sessions and were carried at their last price (a delisting the data does not flag?): 0751.HK

Basis: Tushare raw hk_daily prices; adj_factor = hk_adjfactor cum_adjfactor (multiplicative total return: cash dividends, distributions in kind, bonus issues; latest bar 1); split_factor = 1: volume is raw, not split-adjusted. Window 2019-11-01 to 2026-10-31. Data 20261113-hk-tushare-nightly, engine 0.1.5.

Trades

StockBoughtSoldReturnWhy sold
6185.HK2026-10-262026-10-30-11.1%still held
3759.HK2026-08-172026-10-30-10.1%still held
2269.HK2026-08-062026-10-309.8%still held
2018.HK2026-06-102026-10-30-19.3%still held
1579.HK2026-01-302026-10-308.4%still held
1288.HK2026-04-212026-10-3016.9%still held
0995.HK2024-02-052026-10-30144.6%still held
0836.HK2026-04-172026-10-3011.2%still held
0340.HK2026-09-302026-10-30-6.0%still held
0023.HK2026-07-312026-10-3010.2%still held
Show 90 more trades

Showing the latest 100 of 131 trades.

StockBoughtSoldReturnWhy sold
6869.HK2026-10-132026-10-23-28.3%stop
2607.HK2026-07-162026-10-13-7.7%rule
2689.HK2026-07-172026-09-30-26.1%stop
6613.HK2026-07-272026-08-17-2.7%rule
3668.HK2026-02-122026-08-06-10.8%rule
1304.HK2026-07-032026-07-29-29.2%stop
1908.HK2026-07-162026-07-271.6%rule
0751.HK2025-06-052026-07-1545.1%rule
3993.HK2025-05-222026-07-08135.8%rule
2252.HK2025-02-042026-07-0851.6%rule
0322.HK2025-12-312026-07-03-6.9%rule
0175.HK2026-04-142026-06-03-25.3%stop
1114.HK2025-01-232026-04-2135.2%rule
0753.HK2024-11-192026-04-1711.6%rule
3900.HK2026-02-232026-04-08-25.5%stop
1801.HK2025-04-102026-02-16102.1%rule
2328.HK2023-04-282026-02-12107.6%rule
9926.HK2024-09-172026-01-2860.8%rule
0667.HK2024-08-162025-12-29191.1%rule
3958.HK2024-09-052025-06-0454.5%rule
6979.HK2025-05-212025-05-22-2.1%rule
2618.HK2024-09-092025-05-2125.9%rule
0006.HK2023-12-282025-04-0910.2%rule
0066.HK2024-09-102025-02-04-7.6%rule
0002.HK2023-05-172025-01-2315.1%rule
0836.HK2024-02-202024-11-1919.3%rule
3998.HK2024-01-242024-09-1612.5%rule
1164.HK2023-09-122024-09-1023.3%rule
2145.HK2024-01-232024-09-0525.0%rule
0316.HK2024-02-022024-09-03-5.9%rule
2338.HK2023-11-172024-07-29-2.3%rule
0354.HK2023-10-252024-02-20-18.6%rule
0013.HK2023-10-042024-02-05-24.6%stop
1918.HK2024-01-242024-02-02-0.5%rule
1060.HK2023-09-262024-01-23-28.9%stop
0489.HK2023-12-062024-01-23-25.6%stop
0981.HK2023-10-192024-01-22-24.3%rule
2883.HK2023-08-252023-12-27-14.2%rule
0293.HK2023-07-272023-12-06-10.6%rule
6862.HK2023-08-212023-11-17-23.7%rule
1378.HK2023-09-272023-10-25-8.5%rule
0317.HK2022-08-122023-10-1221.1%rule
1071.HK2022-07-182023-10-0313.9%rule
1928.HK2022-11-282023-09-2737.7%rule
9988.HK2023-08-102023-09-26-10.5%rule
0991.HK2023-04-172023-09-11-16.2%rule
9899.HK2023-06-142023-08-23-18.6%rule
9987.HK2022-08-252023-08-217.9%rule
0144.HK2023-04-032023-08-10-14.3%rule
1530.HK2022-11-112023-07-205.0%rule
6088.HK2022-11-302023-06-09-5.2%rule
1072.HK2022-09-062023-05-17-7.0%rule
2096.HK2022-11-242023-04-28-14.6%rule
1093.HK2022-11-172023-04-13-21.3%rule
9995.HK2022-11-212023-04-03-27.6%stop
1302.HK2022-11-152022-11-28-7.0%rule
3899.HK2022-11-082022-11-25-4.3%rule
1997.HK2022-11-152022-11-22-4.6%rule
1997.HK2022-10-032022-11-11-2.4%rule
1164.HK2022-09-052022-11-01-26.7%stop
0902.HK2022-10-262022-11-01-22.6%rule
1339.HK2022-03-032022-10-27-4.5%rule
0762.HK2022-09-192022-10-27-10.1%rule
1876.HK2022-07-052022-10-24-27.7%stop
0288.HK2022-06-072022-10-17-20.1%rule
2343.HK2022-09-152022-10-03-14.2%rule
3692.HK2022-08-292022-09-16-24.4%rule
2269.HK2022-08-262022-09-15-23.6%stop
0990.HK2022-04-132022-09-06-26.5%stop
1258.HK2022-03-282022-09-02-4.6%rule
6066.HK2022-08-182022-08-26-1.5%rule
1368.HK2022-07-052022-08-25-25.3%stop
1288.HK2022-01-252022-08-24-6.6%rule
2669.HK2021-12-072022-08-186.6%rule
1378.HK2022-03-092022-08-12-16.0%rule
1208.HK2022-05-182022-07-18-27.4%stop
1787.HK2022-03-152022-06-29-0.5%rule
0002.HK2021-12-302022-06-29-15.5%rule
1196.HK2022-05-042022-06-06-35.3%stop
3996.HK2021-08-102022-05-04-1.4%rule
6881.HK2021-10-252022-05-03-6.9%rule
0004.HK2022-04-072022-04-08-3.1%rule
2727.HK2021-12-242022-03-31-17.0%rule
1072.HK2021-08-202022-03-25-10.1%rule
0817.HK2022-01-212022-03-15-30.6%stop
6690.HK2021-12-232022-03-09-25.6%stop
0826.HK2021-08-242022-03-03-24.7%rule
2357.HK2022-01-112022-01-25-9.4%rule
1772.HK2019-11-062022-01-21606.0%rule
0175.HK2021-08-022022-01-06-25.3%stop