
jinhongzou/finq4cn-mcp-server
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
興国金的金金属材mcp 서버
개요
Quantitative 분석을 위해 설계된 전용 MCP 서버 도구 인 FinQ4Cn-mcp-server는 금융 데이터에 편리한, 무료 및 오픈 소스 액세스를 제공하는 대형 모델을 제공합니다. akshare 라이브러리에 내장 된, 프로젝트는 중국의 A-share 시장에 초점을 맞추고, 사용자는 주식 및 관련 금융 제품에 대한 포괄적 인 데이터 지원을 제공합니다. 특히 양적 분석과 중국의 국내 주식 시장에서 관심있는 사용자뿐만 아니라 중국 금융 시장의 데이터에 대한 요구 사항을 충족하는 전문가를 위해 적합합니다. FinQ4Cn-mcp-server는 국내 투자자들에게 이상적인 선택입니다. FinQ4Cn-mcp-server는 사용자들이 재고 가격, 금융 지표 및 시장 변동성에 제한되지 않고도 다중 차원 데이터를 쉽게 접근할 수 있게 해줍니다. 정확한 의사결정을 강화할 수 있습니다.
개요(AI 번역)
영어|한국어
quantitative 분석을 위해 설계된 전용 MCP 서버 도구 인 FinQ4Cn-mcp-server는 금융 데이터에 편리한, 무료 및 오픈 소스 액세스를 제공하는 대형 모델을 제공합니다. akshare] 라이브러리에 내장된 이 프로젝트는 중국 A-share 시장에 초점을 맞추고, 주식 및 관련 금융 제품에 대한 포괄적 인 데이터 지원을 제공합니다. 특히 양적 분석과 중국의 국내 주식 시장에서 관심있는 사용자뿐만 아니라 중국 금융 시장의 데이터에 대한 요구 사항을 충족하는 전문가를 위해 적합합니다. FinQ4Cn-mcp-server는 국내 투자자들에게 이상적인 선택입니다. FinQ4Cn-mcp-server는 사용자들이 재고 가격, 금융 지표 및 시장 변동성에 제한되지 않고도 다중 차원 데이터를 쉽게 접근할 수 있게 해줍니다. 정확한 의사결정을 강화할 수 있습니다.
미래 구현
타임라인
- Enrich 주식 메트릭 데이터 및 데이터 촉매 개선
- 기술 분석 기능 제공
- 지원금, 선물 및 더 많은 것
- 백업 모듈 지원
특징
주식 위험 경고
- 지정된 주식 코드의 목록 회사의 변동성 세부사항을 검색하십시오.
주식 일반적인 미터
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
FinQ4Cn MCP Server
English| 简体中文
A dedicated MCP server tool designed for quantitative analysis, FinQ4Cn-mcp-server aims to provide large models with convenient, free, and open-source access to financial data. Built on the akshare library, the project focuses on China’s A-share market, offering users comprehensive data support for stocks and related financial products. It is particularly well-suited for professionals engaged in quantitative analysis as well as users interested in China’s domestic stock market, meeting their needs for data from China’s financial markets. As an ideal choice tailored to domestic investors, FinQ4Cn-mcp-server allows users to effortlessly access multi-dimensional data, including but not limited to stock prices, financial indicators, and market volatility, empowering precise decision-making.
Future Implementation
Timeline
- Enrich stock metrics data and improve data categorization
- Provide technical analysis capabilities
- Support funds, futures, and more
- Support backtesting modules
Features
Stocks Risk Alert
- Retrieve the volatility details of the specified stock code’s listed company.
Stocks Common Metrics
- Retrieve the main business composition of the listed company with the specified stock code
- Obtain historical price data for the stock within the specified time period
- Retrieve the financial summary data of the specified stock
- Obtain the margin trading and short selling details of the specified stock within the specified time range
- Retrieve the historical dividend and rights issue details of the specified stock
News Report
- Fetch the latest financial news and market trends within a specified date range.
- Fetch the latest news articles and information related to a specific stock within a specified date range.
Back Testing
- Perform backtesting on historical stock data using the specified trading strategy to evaluate its performance. The strategy is as follows: if the stock is not currently held, buy the stock based on the specified holding percentage (percent) and set a profit-taking percentage (stop_profit_pct).
Project Structure
mcp-server/
├── utils
├── |──modules.py # 数据校验模块
├── |──stocks_common_metrics.py # 常用指标数据
├── |──stocks_risk_alert.py # 股票风险提示信息
├──fs_server.py # mcp server启动文件
Dependencies
Required Dependencies
- FastMCP
- Pydantic
- akshare
To install dependencies:
pip install -r requirements.txt
It is recommended to install the backtesting package using the following method:
pip install lib-pybroker -i https://pypi.tuna.tsinghua.edu.cn/simple
Setup
- Clone the repository:
git clone https://github.com/jinhongzou/FinQ4Cn-mcp-server.git
cd FinQ4Cn-mcp-server
- Create and activate a virtual environment:
python -m venv venv
source venv/bin/activate
- Install dependencies:
pip install -r requirements.txt
설치
npx @modelcontextprotocol/inspector python ./mcp-server/fs_server.py설정
{
"mcpServers": {
"FinQ4Cn-mcp-server": {
"name": "FinQ4Cn",
"command": "your_path/python.exe",
"args": [
"your_path/FinQ4Cn-mcp-server/mcp-server/fs_server.py"
]
}
}
}