Skip to content

基于 Django 的A股数据获取与指标分析服务端,作为深度学习数据来源

Notifications You must be signed in to change notification settings

Covfefeable/stock-bed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

深度学习预测股票后端

推荐使用anaconda

创建环境

conda create -n stock python=3.10.0

激活环境

conda activate stock

安装依赖

pip install django

pip install django-cors-headers

pip install baostock -i https://pypi.tuna.tsinghua.edu.cn/simple/ --trusted-host pypi.tuna.tsinghua.edu.cn

下面的是计算macd需要的库

pip install TA-Lib

TA-Lib这东西在windows上不好装,如果安装失败,在下方链接下载whl,手动pip安装

https://www.lfd.uci.edu/~gohlke/pythonlibs/#ta-lib

TA-Lib这东西在mac上也不好装,如果安装失败,尝试如下命令

conda install -c conda-forge ta-lib

运行服务

python manage.py runserver

About

基于 Django 的A股数据获取与指标分析服务端,作为深度学习数据来源

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages