# fund-python **Repository Path**: java4candy/fund-python ## Basic Information - **Project Name**: fund-python - **Description**: 基金 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-05-31 - **Last Updated**: 2025-06-01 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README - backend ``` cd backend pip install -r requirements.txt python app.py ``` - frontend ``` cd frontend npm install npm start npm run build ``` 使用python3语言和MySQL数据库,React语言,完成以下功能 - 1、基金详情 - 2、可加入自选、输入购买日期、预期收益率 - 3、定时基金的单位净值和累计净值(净值示例接口如下) - 4、净值走势图 - 5、自定义周期内,收益率达到或者接近预期收益率,通过企业微信提示卖出 - 6、自定义周期内,下跌一定比例,通过企业微信提示关注 - 7、自定义起始日期,净值达到或者接近该日期的净值,通过企业微信提示卖出 净值示例接口:请求地址 ``` https://api.fund.eastmoney.com/f10/lsjz?callback=jQuery18309482453468754455_1748669561692&fundCode=000692&pageIndex=1&pageSize=20&startDate=2025-05-20&endDate=2025-05-30&_=1748670623251 ``` https://docs.python.org/zh-cn/3.13/installing/index.html pip 是首选的安装程序 venv 是创建虚拟环境的标准工具 Python Package Index 是一个开源许可的软件包公共存储库,可供所有 Python 用户使用。 https://pypi.org/ https://pypi.org/project/pip/ Python Packaging Authority 是负责标准打包工具以及相关元数据和文件格式标准维护与改进的开发人员和文档作者团队。 他们基于 GitHub 维护着各种工具、文档和问题追踪系统。 https://www.pypa.io/ flask https://palletsprojects.com/projects/flask/