1.1 KiB
1.1 KiB
Data Layer Fix and Test Plan
Goal
Verify and test the data layer for the Global Macro Analyzer implementation.
Prerequisites
- Python environment with dependencies installed
- yfinance and alpha_vantage configured
Steps
- Import and test scanner tools individually
- Run CLI scan command
- Validate output
- Document results
Testing Scanner Tools
- Test get_market_movers
- Test get_market_indices
- Test get_sector_performance
- Test get_industry_performance
- Test get_topic_news
Running CLI Scan
- Command: python -m tradingagents scan --date 2026-03-14
- Expected output: Rich panels with market movers, indices, sector performance, news, and top-10 watchlist
Expected Results
- No import errors
- Successful execution without exceptions
- Output files generated under results/
- Top-10 stock watchlist displayed
Contingency
- If errors occur, check import paths and configuration
- Verify default_config.py scanner_data setting is correct
- Ensure vendor routing works correctly
Next Steps
- Address any failures
- Refine output formatting
- Add additional test cases