# StockAnalyseAgent **Repository Path**: yin_yong_chao/stock-analyse-agent ## Basic Information - **Project Name**: StockAnalyseAgent - **Description**: No description available - **Primary Language**: Java - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2025-09-07 - **Last Updated**: 2025-09-10 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Stock Agent An intelligent agent project for stock analysis, designed to provide intelligent stock analysis capabilities. ## Project Overview - **Target Users**: Stock investors, financial analysts - **Core Problem**: Provide automated and intelligent stock market analysis to assist users in making investment decisions ## System Functions ### Main Functions - Stock data acquisition and processing - Intelligent analysis and prediction - Investment advice generation - Data visualization and interaction ### Key Features - AI-based stock trend prediction - Multi-module architecture supporting flexible expansion - Provides REST API interface for external calls ## Technical Architecture ### Technology Selection - Backend: Spring Boot 3.4.0 - AI Framework: Spring AI 1.0.0, Spring AI Alibaba 1.0.0.2 - Database: MySQL - Build Tool: Maven 3.8.1+ - JDK Version: Java 17 ## Project Modules - **agent**: Core AI analysis module, including analyzers, coordinators, controllers, etc. - **stock**: Stock data processing module, including data access interfaces, core business logic, etc. ## Development Environment ### Required Tools - JDK 17 - Maven 3.8.1+ - Spring Boot 3.4.0 - IDE (such as IntelliJ IDEA) ### Build Project ```bash # Clone project git clone # Enter project directory cd stock-agent # Compile and package mvn clean package ``` ## Run Project ### Local Run ```bash # Start stock-service cd stock/stock-service mvn spring-boot:run # Start agent-service cd agent/agent-service mvn spring-boot:run ``` ### Docker Run (Recommended) The project supports containerized deployment via Docker. All services can be started with one command using docker-compose. ```bash # Build and start all services docker-compose up -d # Check service status docker-compose ps # Stop all services docker-compose down ``` ### Port Information - stock-service: 8081 - agent-service: 8082 - MySQL: 3306 - Redis: 6379 ## Configuration Description The project provides multiple environment configurations: - Default configuration: application.yml - Docker environment configuration: application-docker.yml To customize the configuration, you can modify the corresponding configuration files or override them through environment variables.