- Add missing import json at module level in bright_data.py (removed inline but never added to top)
- Rename reflect_portfolio_manager -> reflect_risk_manager in reflection.py to match trading_graph.py
- Use curr_date parameter in get_social_sentiment search query
- Remove unused company_name variable in social_media_analyst.py
- Move json import to module level instead of inline
- Log content fetch errors instead of swallowing silently
- Use split-based vendor check for robustness with comma-separated configs
Adds Bright Data as a new data vendor for news, sentiment, and insider
transaction data. Uses SERP API for Google search results and Web
Unlocker for full article content in clean markdown format.
New features:
- bright_data vendor for get_news, get_global_news, get_insider_transactions
- New get_social_sentiment tool that scrapes Reddit, Twitter/X, and forums
for actual retail investor discussions (Bright Data exclusive)
- Social media analyst agent gains get_social_sentiment when bright_data
is configured, giving it real social data for the first time
- Automatic fallback on rate limits, same as Alpha Vantage
Usage:
export BRIGHT_DATA_API_KEY=your_key
config["data_vendors"]["news_data"] = "bright_data"
No changes to agent prompts, graph structure, or debate logic.
Drop-in vendor, zero breaking changes.
Add _clean_dataframe() to normalize stock DataFrames before stockstats:
coerce invalid dates/prices, drop rows missing Close, fill price gaps.
Also add on_bad_lines="skip" to all cached CSV reads.
- Replace hardcoded column indices with column name lookup
- Add mapping for all supported indicators to their expected CSV column names
- Handle missing columns gracefully with descriptive error messages
- Strip whitespace from header parsing for reliability
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Replace FinnHub with Alpha Vantage API in README documentation
- Implement comprehensive Alpha Vantage modules:
- Stock data (daily OHLCV with date filtering)
- Technical indicators (SMA, EMA, MACD, RSI, Bollinger Bands, ATR)
- Fundamental data (overview, balance sheet, cashflow, income statement)
- News and sentiment data with insider transactions
- Update news analyst tools to use ticker-based news search
- Integrate Alpha Vantage vendor methods into interface routing
- Maintain backward compatibility with existing vendor system
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>