back to home

hengruiyun / AI-Stock-Master

AI股票大师-基于AI 的股票趋势分析平台,通过AI 解读中国、香港、美国股票市场,融合三大核心算法,独家预分析多维数据,为投资者提供全方位的学习支持. This is an AI-based stock trend analysis platform that integrates three core algorithms:

186 stars
40 forks
5 issues
PythonHTML

AI Architecture Analysis

This repository is indexed by RepoMind. By analyzing hengruiyun/AI-Stock-Master in our AI interface, you can instantly generate complete architecture diagrams, visualize control flows, and perform automated security audits across the entire codebase.

Our Agentic Context Augmented Generation (Agentic CAG) engine loads full source files into context on-demand, avoiding the fragmentation of traditional RAG systems. Ask questions about the architecture, dependencies, or specific features to see it in action.

Source files are only loaded when you start an analysis to optimize performance.

Embed this Badge

Showcase RepoMind's analysis directly in your repository's README.

[![Analyzed by RepoMind](https://img.shields.io/badge/Analyzed%20by-RepoMind-4F46E5?style=for-the-badge)](https://repomind.in/repo/hengruiyun/AI-Stock-Master)
Preview:Analyzed by RepoMind

Repository Overview (README excerpt)

Crawler view

AI Stock Master 中文 This is an AI-based stock trend analysis platform that leverages large language models to interpret Chinese, Hong Kong, and US stock markets. It integrates multiple core algorithms: **RTSI Individual Stock Trend Strength Index**, **MSCI Market Sentiment Index**, and **Core Strength Analyzer**, providing comprehensive investment decision support for investors. Demo(演示): TTfox.com --- Core Features• **Multi-dimensional Data**: Integration of multi-dimensional data points to capture key market information• **Multi-layered Analysis**: Three-tier analysis system covering individual stocks, industries, and markets• **Multiple Algorithms**: AI-enhanced RTSI/MSCI/Core Strength Analysis algorithms• **Strength Identification**: Core strength analyzer based on TMA technical momentum analysis• **AI Interpretation**: Integrated large language models for intelligent interpretation and recommendation generation --- AI and Large Language Model Technology Architecture Artificial Intelligence Theoretical Foundation This system is built on AI theory, integrating AI interpretation, deep learning, and large language model technologies. The system adopts a multi-layered analysis architecture:• Integration of large language models for natural language understanding and generation• Implementation of multi-agent collaborative decision-making mechanisms• Use of AI to optimize investment strategies **LLM-Driven Analysis Engine** Built-in Mini Ollama Integration Our system now includes seamless integration with **Mini Ollama** - a lightweight, high-performance local LLM runtime: **Core Features:**• **Zero-configuration Setup**: Automatic detection and configuration of Mini Ollama• **Local Processing**: Complete privacy protection with no data transmission• **Performance Optimization**: Specifically tuned for financial analysis tasks• **Multi-model Support**: Compatible with various open-source LLM models• **Resource Efficient**: Minimal memory footprint for desktop deployment --- Core Algorithm Details• RTSI - Individual Stock Trend Strength Index **Algorithm Theoretical Foundation** The RTSI algorithm is based on modern portfolio theory and behavioral finance principles, combined with machine learning technology. This algorithm quantifies the trend strength of individual stocks through multi-dimensional data fusion. **Mathematical Model** **Parameter Description**• α₁, α₂, α₃, α₄: Weight coefficients optimized through machine learning• TrendSlope: Trend slope measuring price change direction and strength• Consistency: Data consistency evaluating trend stability• Confidence: Confidence level based on statistical significance testing• Volume_Factor: Volume factor considering market participation **Application Scenarios**• Short-term Trading: Identifying short-term buy/sell opportunities• Trend Judgment: Confirming long-term trend direction• Risk Management: Setting dynamic stop-loss levels• Portfolio Construction: Screening strong stocks• TMA - Technical Momentum Analysis (Core Algorithm for Industry Analysis) **Algorithm Theoretical Foundation** TMA (Technical Momentum Analysis) algorithm is the core innovative algorithm of this system, designed based on modern technical analysis theory and behavioral finance principles. This algorithm is specifically designed to measure the technical momentum strength of industry sectors, achieving precise identification of sector rotation opportunities through multi-dimensional technical indicator fusion. **Core Technical Features**• **Multi-factor Fusion**: Combines multiple technical dimensions including RSI, MACD, price-volume relationships, and trend strength• **Momentum Quantification**: Converts qualitative technical analysis into quantitative strength scores• **Industry Focus**: Specifically optimized for industry sector analysis to capture sector rotation opportunities• **Real-time Updates**: Dynamically adjusts algorithm parameters based on real-time market data **Mathematical Model** **Algorithm Optimization Mechanisms**• **Adaptive Weights**: β parameters dynamically optimized through machine learning models• **Outlier Processing**: Uses robust statistical methods to handle extreme values• **Cyclical Adjustment**: Automatically adjusts scoring thresholds based on market cycles• **Backtesting Validation**: Continuously validates algorithm effectiveness through historical data backtesting **Strength Level Definitions**• **Extremely Strong**: TMA > 30, extremely strong technical momentum, recommended for focus• **Strong**: 20 15 may have significant rotation opportunities• **Cautious Observation**: Industries with 5 © 2025 AI Stock Trend Analysis System | Developed through collaboration between Artificial Intelligence and TTFox.com Let AI Empower Your Investment Decisions