Analyze Reddit stock sentiment + AI-powered stock picks for short-term returns.
cp .env.example .env
# Edit .env: add DEEPSEEK_API_KEY
pip install -r requirements.txt
# Terminal mode
python3 stonks.py
python3 stonks.py -e -p 25
# Web app mode
python3 -m uvicorn app:app --host 0.0.0.0 --port 8080
# Open http://localhost:8080
| Flag | Description |
|---|---|
| ------ | ------------- |
-e, --euro | Show European exchange equivalents for top picks |
-p N, --posts N | Posts per subreddit (default: 50) |
Generates a stock data table, then AI analysis with:
stonks.py — orchestrator + AI analysis via Deepseekreddit_scraper.py — scrapes 7 subreddits via Reddit JSON API (no auth required)stock_data.py — Yahoo Finance fundamentals/technicals + European ticker lookupAI-generated analysis for entertainment/educational purposes only. Not financial advice.
共 1 个版本