"Quantifying Wisdom, Democratizing Alpha."
ไธญๆๆๆกฃ โข Quick Start โข Features โข Architecture
HiStock AI is a next-generation Multi-Agent Investment Research & Debate Platform tailored for the A-share market. It's your personal "AI Investment Boardroom" โ simulating professional debates between legendary investors (Buffett, Munger, Soros, and more) to help you navigate market noise and uncover hidden risks and opportunities.
-
AI Boardroom: Multi-round debates moderated by an AI Host with diverse investment personas
-
Master Personas: Pre-configured legendary investors including Buffett, Wood, Soros, Lynch, and more
-
Context-Aware Dialog: Agents respond to each other, forming a dynamic "think tank"
-
Percentile-Based Scoring: Factors scored relative to market distribution (0-100), objectively reflecting stock position
-
Weighted Factors: Configurable weights for PE, ROE, Debt Ratio, etc., supporting personalized scoring models
-
Multi-Dimension Analysis: Value, Growth, Quality dimensions with customizable weights
-
Industry Normalization: (In Development) Relative scoring within industry sectors to eliminate valuation bias
-
Real-Time Data: Integrated with AkShare and BaoStock for quotes, valuations, and news
-
Factor Analysis: Technical indicators (MA, RSI, MACD) and fundamental metrics (PE/PB, ROE)
-
Custom Factors: Create your own quantitative factors using formula DSL
-
News Agent: Tracks real-time market dynamics and extracts key bullish/bearish signals from massive information
-
Research Agent: Deep dives into company filings and financial reports to provide comprehensive fundamental analysis
-
Master Agent: Support custom personas, simulating the thinking style and investment logic of legendary investors
-
Model Management: Configure DeepSeek, OpenAI, Google, and more with custom Base URL support
-
Agent Configuration: Visually configure agent parameters and prompts
-
Appearance: Red/Green up/down color switching to suit different market habits
-
Privacy First: All API keys stored locally, with one-click factory reset
- Streaming Response: Real-time debate stream with progress indicators, making the thinking process visible
- Dark Mode: Carefully designed Dark/Light themes that perfectly adapt to system settings
- Interaction Optimized: Interface and workflows tailored for A-share investors
- Python 3.12+
- uv (Recommended package manager)
- Node.js 18+ (for frontend)
# Clone the repository
git clone https://github.com/HiStock-ai/histock.git
cd histock
# Install Python dependencies
uv sync --group dev
# Install frontend dependencies (optional, for development)
cd frontend && npm install && cd ..# Mac / Linux
bash start.sh
# Windows (PowerShell)
.\start.ps1Access the application at http://localhost:1420
HiStock AI supports multiple LLM providers:
- DeepSeek (Recommended for cost-performance)
- OpenAI (GPT-4o, GPT-4)
- Google (Gemini)
- Anthropic (Claude)
- Go to Settings (bottom left)
- Add your API Key
histock/
โโโ python/ # Backend (Python)
โ โโโ histock/
โ โโโ agents/ # AI Agents (Master, Quantitative, News)
โ โโโ core/ # Core Framework (Agent, Session, Message)
โ โโโ services/ # Business Services (Factor, Scoring, Stream)
โ โโโ server/ # FastAPI Application & Routes
โ โโโ adapters/ # Data Adapters (AkShare, BaoStock)
โ โโโ config/ # Configuration Management
โ โโโ utils/ # Utility Functions
โโโ frontend/ # Frontend (React)
โ โโโ src/app/ # App Routes & Pages
โ โโโ src/components/ # UI Components
โ โโโ src/lib/ # Frontend Utilities
โโโ assets/ # Branding Assets
| Layer | Technology |
|---|---|
| Backend | FastAPI, Agno Framework, SQLAlchemy |
| Frontend | React Router 7, Vite, Tailwind CSS, shadcn/ui, Zustand |
| Data | AkShare, BaoStock, TA-Lib |
| AI | Multi-Agent Orchestration, Streaming SSE |
- Industry Normalization: Relative scoring within industry sectors (SW/CITIC classification)
- Backtesting Module: Historical factor performance analysis
- Portfolio Optimization: Multi-stock portfolio construction
- Mobile App: React Native companion app
HiStock AI is proudly built upon the foundation of the ValueCell project. We extend our gratitude to the original creators for their pioneering contributions to the AI investment community.
We welcome contributions! Please see CONTRIBUTING.md for guidelines.
HiStock AI is for educational and technical research purposes only. All insights are generated by AI models and do not constitute financial advice. Investing in the stock market involves significant risk.
This project is licensed under the Apache License 2.0.
If you find this project helpful, give us a โญ










