Regime-Aware
Market Signals Bot
K-means market regimes and VIX rules, backtested and delivered to Telegram every weekday
A personal research project. Not financial advice.
Every weekday evening this bot posts a chart and a call (buy, hold or sell) for SPY and VT into a Telegram group, plus a chart-only panel for Singapore's STI.
SPY
- strategy
- BB · VIX clustered
- strong buys (1y)
- 25
- weak buys
- 9
- weak sells
- 3
VT (VWRA)
- strategy
- BB/RSI · VIX regime
- strong buys (1y)
- 18
- weak sells
- 3
- regimes
- k-means, k = 4
STI
- mode
- chart-only
- investable proxy
- ES3.SI
- overlays
- EMA 50 · Bollinger
- momentum
- RSI
The strategies
SPY uses VIX Bollinger-band mean reversion with a spike-fade rule: buy when fear spikes and starts to fade. VT uses a hybrid that switches between momentum and mean reversion depending on the market regime, where the regimes come from k-means clustering (k = 4) with VIX as a feature, and RSI as a confirmation.
SPY: signals, RSI and VIX bands
VT: regime-clustered Bollinger/RSIKeeping it honest
Most of the work is in not fooling myself. Every change is recorded in a methodology decision log. For example, smoothing SPY's regime labels with a 5-day rolling mode stopped regimes from flickering, and was validated at +8.6 percentage points over the full period against the unsmoothed version.
- Assets move through go-live stages: chart-only, research, paper, then advisory.
- A quarterly walk-forward re-tune searches parameters inside anti-overfit gates, and only a human can apply the result.
- A data sanity guard refuses to issue a signal on a suspect price bar, and says so.
- A heartbeat on a separate channel alerts me if the daily run stops, and a monthly report checks live execution against the backtest's assumptions.
Promotion only happens through the anti-overfit gates, and a human applies every re-tune.
STI: chart-only, with an investable proxy noted