Skip to content

silkyrex/technical-regime

Repository files navigation

Technical Regime

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.

Quick start

./scripts/init.sh
source .venv/bin/activate
python3 cli.py

CLI flags

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

Output format

Each ticker shows 4 lines: MA position/slope, key levels, trend structure, and an overall regime verdict (BULLISH / BEARISH / NEUTRAL).

Regime scoring

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

Project structure

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

Status

Personal trading tool. Active project.

About

Global market regime dashboard for indexes, sectors, bonds, futures, and FX

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors