Quick Start: Choose Your Runtime
DSA provides four primary ways to run. Pick the one that matches your workflow and infrastructure preference.
Runtime Comparison
Section titled “Runtime Comparison”| Runtime | Best For | Infrastructure | WebUI & Agent Q&A |
|---|---|---|---|
| Desktop App | Non-technical users & local workstation | Installer only (Windows / macOS) | Built-in |
| GitHub Actions | Serverless scheduled daily delivery | Zero server cost | Notifications & logs |
| Docker Compose | NAS / VPS 24×7 hosting | Single container command | Built-in (:8000) |
| Local Python CLI | Developers debugging models, sources & backtests | Python 3.10+ | --serve flag |
- Fork ZhuLinsen/daily_stock_analysis.
- Open
Settings → Secrets and variables → Actionsand add an AI key (GEMINI_API_KEYorOPENAI_API_KEY),STOCK_LIST(e.g.AAPL,NVDA,hk00700), and a notification secret (e.g.TELEGRAM_BOT_TOKEN+TELEGRAM_CHAT_ID). - Enable Actions workflows and run Daily Stock Analysis manually once to verify delivery.
git clone https://github.com/ZhuLinsen/daily_stock_analysis.gitcd daily_stock_analysiscp .env.example .env# Edit .env: set STOCK_LIST and at least one AI API key (see Minimal Env Config)
docker-compose -f ./docker/docker-compose.yml up -d serverConfigure at least one AI key before triggering analysis — see Minimal Environment Configuration and the LLM Configuration Guide.
git clone https://github.com/ZhuLinsen/daily_stock_analysis.gitcd daily_stock_analysispython -m venv .venv && source .venv/bin/activatepip install -r requirements.txtcp .env.example .env# Edit .env: set STOCK_LIST and at least one AI API key (e.g. GEMINI_API_KEY or DEEPSEEK_API_KEY)
python main.py --doctorpython main.py --stocks AAPL,NVDA,600519 --serveMake sure an AI API key is configured in .env before running analysis — see Minimal Environment Configuration and the LLM Configuration Guide.