fund-analysis-system
所属分类:数值算法/人工智能
开发工具:GO
文件大小:83KB
下载次数:0
上传日期:2021-11-08 04:42:19
上 传 者:
sh-1993
说明: 使用Go开发《基金数据分析系统》,项目系统框架是基于gin-api-template的基础上做二次开发,gin-api- template源码地址:[https: github.com 52lu gin-api- template,《基金...](https: github.com 52lu gin-api- template%EF%BC%8C%E3%80%8A%E5%9F%BA%E9%87%91%E6%95%B0%E6%8D%AE%E5%88%86%E6%9E%90%E7%B3%BB%E7%BB%9F%E3%80%8B%E8%AE%A1%E5%88%92%E5%AE%8C%E6%88%90%E5%8A%9F%E8%83%BD%EF%BC%8C%E4%B8%BB%E8%A6%81%E6%9C%89)
(Use Go to develop the Fund Data Analysis System. The project system framework is based on the gin api template for secondary development, Gin api template Source code address: [https: github.com 52lu gin api template, Fund...] (https: github.com 52lu gin api template% EF% BC% 8C% E3% 80% 8A% E5% 9F% BA% E9% 87% 91% E6% 95% B0% E6% 8D% AE% E5% 88% 86% E6% 9E% 90% E7% B3% BB% E7% BB% 9F% E3% 80% 8B% E8% AE% A1% E5% 88% 92% E5% AE% 8C% E6% 88% 90% E5% 8A% 9F% E8% 83% BD% EF% BC% 8C% E4% B8% BB% E8% A6% 81% E6% 9C% 89))
文件列表:
.env-example (235, 2021-11-08)
Dockerfile (711, 2021-11-08)
api (0, 2021-11-08)
api\demo (0, 2021-11-08)
api\demo\es_api.go (1204, 2021-11-08)
api\demo\redis_api.go (584, 2021-11-08)
api\demo\system_api.go (226, 2021-11-08)
api\demo\test_api.go (656, 2021-11-08)
api\demo\user_api.go (2065, 2021-11-08)
config-dev.yaml (2601, 2021-11-08)
config-prod.yaml (2615, 2021-11-08)
config.yaml (2599, 2021-11-08)
config (0, 2021-11-08)
config\app.go (525, 2021-11-08)
config\cron.go (66, 2021-11-08)
config\elastic.go (716, 2021-11-08)
config\jwt.go (225, 2021-11-08)
config\log.go (715, 2021-11-08)
config\mysql.go (2308, 2021-11-08)
config\redis.go (313, 2021-11-08)
crontab (0, 2021-11-08)
crontab\demo_cron.go (191, 2021-11-08)
crontab\fund_basic_cron.go (275, 2021-11-08)
crontab\fund_stock_cron.go (3555, 2021-11-08)
crontab\fund_top_cron.go (599, 2021-11-08)
docker-compose.yaml (344, 2021-11-08)
global (0, 2021-11-08)
global\global.go (445, 2021-11-08)
global\model.go (420, 2021-11-08)
global\time.go (128, 2021-11-08)
go.mod (2970, 2021-11-08)
go.sum (72367, 2021-11-08)
initialize (0, 2021-11-08)
initialize\cron.go (780, 2021-11-08)
initialize\elastic.go (844, 2021-11-08)
initialize\gorm.go (3017, 2021-11-08)
initialize\load.go (263, 2021-11-08)
... ...
## 1. 项目介绍
使用`Go`开发《基金数据分析系统》,项目系统框架是基于[gin-api-template(https://github.com/52lu/gin-api-template)](https://github.com/52lu/gin-api-template)的基础上做二次开发,该系统计划完成功能,主要有: 基金数据(概括、持仓、历史业绩、财务报表)爬取、基金相似度对比、用户管理等功能。项目源码地址: https://github.com/52lu/fund-analysis-system
## 2. 系统架构图
![](https://gitee.com/QingHui/picGo-img-bed/raw/master/img/20210826184628.png)
## 3. 目录介绍
| 目录\|文件 | 说明 |
| ----------- | ---------------------------------------- |
| api | 控制器 |
| config | 配置相关的结构体 |
| global | 全局变量、常量 |
| initialize | 初始化相关操作,如:连接Mysql、redis等 |
| internal | 内部实现(不对外暴露)的代码模块 |
| logs | 存放日志目录 |
| middleware | 中间件 |
| model | 实体类(和表结构对应)、请求入参、返回出参 |
| router | 所有路由在这个目录下 |
| service | 业务实现的相关代码 |
| test | 单元测试目录 |
| utils | 工具函数目录 |
| config.yaml | 项目配置文件 |
| main.go | 主程序入口 |
| router.go | 路由注册管理 |
| server.go | 主程序服务代码 |
## 4. 启动流程
![](https://gitee.com/QingHui/picGo-img-bed/raw/master/img/20210826225841.png)
## 5. 开发日记博客
- [Go实战(一):基金分析系统[项目介绍]](https://mp.weixin.qq.com/s/9FaIw1dAu6XACnGEPSR6lg)
- [Go实战(二):基金分析系统-通过数据模型建表](https://mp.weixin.qq.com/s/Ax8B2t-lsHGKiyxRuKTFzw)
- [Go实战(三):基金分析系统-爬取收益榜单](https://mp.weixin.qq.com/s/SX_AyKAjpkEHAKBxLaCZdA)
- [Go实战(四):基金分析系统-爬取基金详情](https://mp.weixin.qq.com/s/kGWxihVVLierRfsLgrDTUA)
- [Go实战(五):基金分析系统-爬取基金持仓](https://mp.weixin.qq.com/s/YP7--0z3KrmLg-qWjNFHUw)
## 6.项目状态
#### :exclamation:开发中
近期下载者:
相关文件:
收藏者: