u/DaHongPao88

Detecting SPY bottom phases with AI

Detecting SPY bottom phases with AI

Important note upfront:

This is not a buy/sell signal, not financial advice, and definitely not a “the AI predicts the market perfectly” tool. It is more of a regime score that is calculated daily after market close and checks whether the current market environment resembles historical bottom phases.

-------------------------------------------------------------------------------

Hi everyone,

Over the past few months, I built an AI-based dashboard that is meant to help me time my stock and ETF purchases a bit better.

The model was trained on data from January 1, 2000 to January 1, 2020. Everything from 2020 onward was never seen by the model and is used as the test period to understand how the model reacts to unseen data.

It is far from perfect, but if there is interest, I can make it available for free.

https://preview.redd.it/1a51dybjaj0h1.png?width=926&format=png&auto=webp&s=717c0fd09aa0afad13a859ba6e6c05437f24e4a7

This is the AI’s performance so far. Every day after market close, the AI calculates a score/probability, and based on that, it indicates whether the current environment may be a potentially good entry point.

I would like to know whether there is interest in this, and secondly, what you would like to see.

Would you prefer a simple version like the current one, or would you want specific features or metrics?

------------------------------------------------------------------

How does the SPY regime model work?

The model does not predict the future.

It looks at the current SPY market environment and compares it with historical periods that later turned into strong recovery phases. Based on that comparison, it calculates a daily regime score after market close.

A high score does not mean “buy now.”
It means: the current setup looks similar to previous market-bottom or recovery environments.

The model was trained only on data from 2000 to 2020. Everything from 2020 onward was not used for training, so the post-2020 results are used as an out-of-sample test.

I also show the bad signals, not only the good ones. Some signals were early or wrong, and that is important to see. The goal is not to create a perfect trading system, but a transparent tool that can help with timing long-term ETF or stock purchases.

In simple terms:

  • It runs once per day after market close
  • It analyzes the current SPY market regime
  • It compares today’s setup with past bottom/recovery phases
  • It outputs a score

The main idea is:
Instead of trying to predict tomorrow’s price, the model tries to identify when market conditions look historically similar to previous attractive entry zones.

reddit.com
u/DaHongPao88 — 3 days ago
▲ 7 r/Aktien

SPY-Bodenphasen per KI erkennen:

Wichtig vorweg:
Das ist kein Buy/Sell-Signal, keine Anlageberatung und ganz sicher kein “KI sagt den Markt perfekt voraus”-Tool. Es ist eher ein Regime-Score, der täglich nach Marktschluss berechnet, ob das aktuelle Marktumfeld historischen Bodenphasen ähnelt.
---------------------------------------------------------------------------------------
Hallo zusammen,

ich habe in den letzten Monaten ein KI-basiertes Dashboard gebaut, das mir dabei helfen soll, Käufe in Aktien/ETFs besser zu timen. iCh würde es kostenlos hier zur Verfügung stellen falls es genug Interesse gibt.

https://preview.redd.it/b2xjcz12aj0h1.png?width=926&format=png&auto=webp&s=da89bd38f0593f7c38e412321acbff0d23f62102

Die KI fragt im Grunde: Wie stark ähnelt die aktuelle SPY-Situation historischen Boden-/Erholungsphasen?

Mich würde interessieren:

  1. Würdet ihr so ein Tool grundsätzlich nutzen?
  2. Was wäre euch wichtiger: einfache Ampel, detaillierter Score, CSV/Backtest-Daten oder Alerts?
  3. Welche Kennzahlen würdet ihr sehen wollen, bevor ihr so einem Modell überhaupt vertraut?

---------------------------------------------------------------------------------------
Wie funktioniert das SPY-Regime-Modell?

Das Modell sagt nicht die Zukunft voraus.

Es schaut sich das aktuelle Marktumfeld vom SPY an und vergleicht es mit historischen Phasen, die später zu starken Erholungen geführt haben. Daraus berechnet das Modell täglich nach Marktschluss einen Regime-Score

Ein hoher Score bedeutet also nicht: “Jetzt kaufen.”
Er bedeutet eher: Das aktuelle Setup ähnelt früheren Marktphasen, in denen sich attraktive Einstiege ergeben haben.

Das Modell wurde nur mit Daten von 2000 bis 2020 trainiert. Alles ab 2020 hat das Modell im Training nicht gesehen. Die Zeit danach nutze ich deshalb als Out-of-Sample-Test, um zu prüfen, wie sich das Modell auf neuen, unbekannten Daten verhält.

Mir ist wichtig, nicht nur die guten Signale zu zeigen. Auch schlechte oder zu frühe Signale bleiben sichtbar, weil genau das bei so einem Tool entscheidend ist. Es geht nicht darum, ein perfektes Trading-System zu bauen, sondern ein transparentes Hilfsmittel, das beim Timing von langfristigen ETF- oder Aktienkäufen unterstützen kann.

Einfach gesagt:

  • Das Modell läuft einmal täglich nach Marktschluss
  • Es analysiert das aktuelle SPY-Marktumfeld
  • Es vergleicht das heutige Setup mit früheren Boden- und Erholungsphasen
  • Es gibt einen Score aus, keine Kaufempfehlung
  • Der Track Record bleibt öffentlich nachvollziehbar
  • Auch Fehlalarme und schlechte Signale werden gezeigt
  • Keine Anlageberatung und keine Garantie

Die Grundidee ist also:
Nicht vorhersagen, wo der SPY morgen steht, sondern erkennen, wann das aktuelle Marktumfeld historischen attraktiven Einstiegsphasen ähnelt.

-----------------------------------------------------

EDIT: "Wie funktioniert das SPY-Regime-Modell?" eingebaut

reddit.com
u/DaHongPao88 — 3 days ago

Detecting SPY bottom phases with AI

Important note upfront:

This is not a buy/sell signal, not financial advice, and definitely not a “the AI predicts the market perfectly” tool. It is more of a regime score that is calculated daily after market close and checks whether the current market environment resembles historical bottom phases.

—————————————————————————-
Hi everyone,

Over the past few months, I built an AI-based dashboard that is meant to help me time my stock and ETF purchases a bit better.

The model was trained on data from January 1, 2000 to January 1, 2020. Everything from 2020 onward was never seen by the model and is used as the test period to understand how the model reacts to unseen data.

It is far from perfect, but if there is interest, I can make it available for free.

This is the AI’s performance so far. Every day after market close, the AI calculates a score/probability, and based on that, it indicates whether the current environment may be a potentially good entry point.

https://preview.redd.it/xf3ekqliyi0h1.png?width=926&format=png&auto=webp&s=55bcec6849a3a3f42f82061dea0faecf8e321a5f

I would like to know whether there is interest in this, and secondly, what you would like to see.

Would you prefer a simple version like the current one, or would you want specific features or metrics?

reddit.com
u/DaHongPao88 — 3 days ago
▲ 1 r/Aktien

SPY-Bodenphasen per KI erkennen:

Wichtig vorweg:

Das ist kein Buy/Sell-Signal, keine Anlageberatung und ganz sicher kein “KI sagt den Markt perfekt voraus”-Tool. Es ist eher ein Regime-Score, der täglich nach Marktschluss berechnet, ob das aktuelle Marktumfeld historischen Bodenphasen ähnelt.

--------------------------

Hallo zusammen,

ich habe in den letzten Monaten ein KI-basiertes Dashboard gebaut, das mir dabei helfen soll, Käufe in Aktien/ETFs besser zu timen

Trainiert wurde das Modell von 01.01.2000 bis 01.01.2020. Alles ab 2020 hat das Modell nie gesehen und dient als die Test-periode um zu verstehen wie das Modell auf nicht trainierte Daten reagiert.

Das ist bei weitem nicht perfekt, aber wenn ihr Interesse habt, kann ich es kostenlos zur Verfügung stellen.

Das ist die Performance der KI. Jeden Tag berechnet die KI eine Wahrscheinlichkeit nach Marktschluss und darauf wird dann entschieden, ob potenziell ein guter Einstiegspunkt:

https://preview.redd.it/846shtssxi0h1.png?width=926&format=png&auto=webp&s=97cf5529f4d47d3bef6a919cf6ce9f037a63627b

Ich würde gerne wissen ob es hier Interesse gibt und zweitens was ihr gerne wie sehen wollen würdet?

Möchtet ihr gerne einfach so einen wie gerade oder habt ihr einen Wunsch?

reddit.com
u/DaHongPao88 — 3 days ago

Update: Post-processing boosted performance: 98.82% win20d, 4.73% mean20d, 1 loser on SPY

https://preview.redd.it/h73x8vw0ni0h1.png?width=619&format=png&auto=webp&s=34e6683c1d140358f602a198afb7edf79ae255f7

Hi people,

With nice feedback, I improved the performance of my model further in the OOS period:

Before:

https://preview.redd.it/vn091s2lni0h1.png?width=950&format=png&auto=webp&s=8e15a89dd43aaecc2a3ca055fbd940c637ffdb56

Now:

https://preview.redd.it/kunvyj0oni0h1.png?width=874&format=png&auto=webp&s=d099326c07e20b9b04ce932e716b70454c079f49

The biggest boost came from reducing false-positives via post-processing.

Because this model is only for the SPY and was only trained on the SPY, the next task is to train a general deep learning model on more tickers.

reddit.com
u/DaHongPao88 — 3 days ago