# stockTorch **Repository Path**: mario4420/stock-torch ## Basic Information - **Project Name**: stockTorch - **Description**: 基于pytorch的股票分析 - **Primary Language**: Python - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 14 - **Created**: 2021-09-29 - **Last Updated**: 2021-09-29 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # stockTorch #### 介绍 基于pytorch的股票分析,运行结果: ![](/todayPre.png) #### 软件架构 1. python 2. pytorch 3. pipenv #### 安装教程 1. 安装虚拟环境:pipenv install 2. 激活虚拟环境:pipenv shell #### 使用说明 1. `python myStock.py`即可运行。 2. 数据存放在`csv`文件夹中,看一眼就明白了。 3. 要分析其他股票和周期,只需要在`data = MyData()`中传入`name`和`days4train`参数即可,`name`是`csv`文件的名字,`days4train`是你要分析的周期,比如30日线就填30,60日线就填60。 #### 参与贡献 1. Fork 本仓库 2. 新建 Feat_xxx 分支 3. 提交代码 4. 新建 Pull Request #### 特技 1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md 2. Gitee 官方博客 [blog.gitee.com](https://blog.gitee.com) 3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解 Gitee 上的优秀开源项目 4. [GVP](https://gitee.com/gvp) 全称是 Gitee 最有价值开源项目,是综合评定出的优秀开源项目 5. Gitee 官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help) 6. Gitee 封面人物是一档用来展示 Gitee 会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)