Sequoia-X is a quantitative stock selection system for the A-share market. It automates daily stock data synchronization from baostock (via SQLite), runs multiple vectorized trading strategies (e.g., Turtle Trade, MA Volume, RPS Breakout), and pushes results to Feishu groups. The system operates in two modes: daily (incremental update + strategy execution + notification) and backfill (full historical data download). Architecture features modular separation: core (config/logging), data engine (SQLite/baostock sync), strategy (abstract base + concrete implementations), and notification (Feishu webhook). Key strengths include robust incremental sync with multiprocessing, fault-tolerant backfill with retries/reconnections, and strategy-specific webhook routing via environment variables.
This is an investment analysis framework implementing the Turtle Investment Strategy. It provides a modular, multi-agent system for stock analysis that combines quantitative financial analysis, qualitative business assessment, and valuation modeling. The framework collects data from Tushare API (with yfinance fallback), processes financial statements, analyzes annual report PDFs, and generates investment reports. Key features include a two-tier stock screening system, deterministic pre-computation of metrics to prevent LLM calculation errors, and a structured workflow with validation checkpoints. The architecture separates concerns into data collection, processing, analysis, and reporting layers with clear interfaces between components.