Minimal Environment Configuration
DSA is designed to run out of the box with free market data providers (AkShare, Baostock, YFinance). You only need two essentials to generate your first analysis.
1. Required Core
Section titled “1. Required Core”| Variable | Description | Example |
|---|---|---|
STOCK_LIST |
Comma-separated symbols across A-share, HK, US, JP, KR, TW | 600519,hk00700,AAPL,NVDA |
| One AI API Key | Gemini, Anthropic, OpenAI-compatible, DeepSeek, or local Ollama | GEMINI_API_KEY=... or OPENAI_API_KEY=... |
2. Recommended Enhancements
Section titled “2. Recommended Enhancements”- News Search:
SERPAPI_API_KEYS,TAVILY_API_KEYS, orBRAVE_API_KEYSto enrich earnings and catalyst context. - Market Data Stability:
TICKPLUS_API_KEY/TUSHARE_TOKEN(A-shares), orLONGBRIDGE_*(HK/US). - Notifications:
TELEGRAM_BOT_TOKEN+TELEGRAM_CHAT_ID,DISCORD_WEBHOOK_URL,FEISHU_WEBHOOK_URL,WECHAT_WEBHOOK_URL, or SMTPEMAIL_SENDER+EMAIL_PASSWORD.
See the LLM Configuration Guide for advanced multi-model routing.