Global market regime dashboard for indexes, sectors, bonds, futures, and FX.
Pulls live Yahoo Finance data and scores each ticker on MA position, MA slope, trend structure, and key levels. Output: a daily regime check across major global markets.
./scripts/init.sh
source .venv/bin/activate
python3 cli.py| Command | Universe |
|---|---|
python3 cli.py |
24 global indexes (default) |
python3 cli.py --sectors |
10 US sector ETFs |
python3 cli.py --bonds |
Treasury yields + futures |
python3 cli.py --futures |
Commodity + equity-index futures |
python3 cli.py --currencies |
23 FX pairs |
python3 cli.py --tickers AAPL,MSFT |
Custom tickers |
streamlit run app.py --server.address localhost |
Web UI → http://localhost:8501 |
Each ticker shows 4 lines: MA position/slope, key levels, trend structure, and an overall regime verdict (BULLISH / BEARISH / NEUTRAL).
4 checks per ticker: MA position+slope, trend structure (HH/HL vs LH/LL), distance from 252-day high, distance above prior swing low.
- Net ≥ +2 → BULLISH
- Net ≤ −2 → BEARISH
- Otherwise → NEUTRAL
cli.py # terminal report
app.py # Streamlit web UI
regime/
data.py # Yahoo Finance fetch
indicators.py # MA, trend, levels, regime scoring
report.py # shared report builder
test_indicators.py # tests
Personal trading tool. Active project.