@ -16,6 +16,7 @@ Stock Oracle is a comprehensive investment analysis API that leverages SEC EDGAR
### Market Data Intelligence (NEW! 🆕)
### Market Data Intelligence (NEW! 🆕)
- **Most Active Stocks** : Real-time ~170 most actively traded stocks (sub-5s response)
- **Most Active Stocks** : Real-time ~170 most actively traded stocks (sub-5s response)
- **52-Week Gainers** : 1,350+ top gaining stocks with intelligent rate limiting (5-90s)
- **52-Week Gainers** : 1,350+ top gaining stocks with intelligent rate limiting (5-90s)
- **Index Constituents** : S& P 500 / Nasdaq 100 구성 종목 조회 — Wikipedia 파싱, 24시간 캐시
- **FRED Economic Data** : Federal Reserve economic indicators with smart caching (1000/day limit)
- **FRED Economic Data** : Federal Reserve economic indicators with smart caching (1000/day limit)
- **Advanced Web Scraping** : curl_cffi + Chrome impersonation bypasses rate limits
- **Advanced Web Scraping** : curl_cffi + Chrome impersonation bypasses rate limits
- **Smart Pagination** : Configurable page limits (1-10 pages) for performance tuning
- **Smart Pagination** : Configurable page limits (1-10 pages) for performance tuning
@ -94,10 +95,15 @@ pip install -r requirements-api.txt
cp .env.example .env
cp .env.example .env
# Edit .env with your settings
# Edit .env with your settings
# Run the API
# Start all services (first time)
python -m uvicorn app.main:app --host 0.0.0.0 --port 18000 --reload
docker-compose up -d
# Restart API after code changes (code is volume-mounted, no rebuild needed)
just run dev
```
```
> **Note** : Always use `just run dev` to restart the API. The `app/` directory is volume-mounted into the container, so code changes take effect on restart without rebuilding the image.
## ⚡ Quick Examples
## ⚡ Quick Examples
### Get Market Overview
### Get Market Overview
@ -733,6 +739,7 @@ curl "http://localhost:18001/api/v1/news/NVDA/social-only?days_back=3&max_social
- `GET /api/v1/stocks/trending` - **Trending stocks combining most active + 52-week gainers** (🚀 Recommended)
- `GET /api/v1/stocks/trending` - **Trending stocks combining most active + 52-week gainers** (🚀 Recommended)
- `GET /api/v1/stocks/most-active` - Most actively traded stocks (optional limit parameter)
- `GET /api/v1/stocks/most-active` - Most actively traded stocks (optional limit parameter)
- `GET /api/v1/stocks/52-week-gainers` - 52-week top gaining stocks with intelligent rate limiting
- `GET /api/v1/stocks/52-week-gainers` - 52-week top gaining stocks with intelligent rate limiting
- `GET /api/v1/stocks/index/{index_name}` - S& P 500 / Nasdaq 100 constituents from Wikipedia (24h cache)
#### Alpaca Market Data (NEW! 🆕)
#### Alpaca Market Data (NEW! 🆕)
- `GET /api/v1/alpaca/status` - Alpaca connection status and API key validation
- `GET /api/v1/alpaca/status` - Alpaca connection status and API key validation