1251240000 / Stcokvisualization
基于Django框架的Tushare股票数据可视化平台
Stars: ✭ 26
Programming Languages
Labels
Projects that are alternatives of or similar to Stcokvisualization
Django Sitecats
Django reusable application for content categorization.
Stars: ✭ 18 (-30.77%)
Mutual labels: django
Python sec
python安全和代码审计相关资料收集 resource collection of python security and code review
Stars: ✭ 921 (+3442.31%)
Mutual labels: django
Ituscheduler
Create your ITU course schedules in fashion with up-to-date & detailed information.
Stars: ✭ 24 (-7.69%)
Mutual labels: django
Django Photoblog
Photographer portfolio website powered by Django Framework. Features photo gallery with infinite scrolling, tagging, thumbnail generation and CMS for creating pages. Configured for Heroku and S3.
Stars: ✭ 19 (-26.92%)
Mutual labels: django
Docker Tutorial
Docker 基本教學 - 從無到有 Docker-Beginners-Guide 教你用 Docker 建立 Django + PostgreSQL 📝
Stars: ✭ 906 (+3384.62%)
Mutual labels: django
Django Bookworm
A fun project to store my learning from each book that I read.
Stars: ✭ 23 (-11.54%)
Mutual labels: django
React Webpack Django
De-coupled ReactJS client for greater flexibility and less black-box Django magic
Stars: ✭ 24 (-7.69%)
Mutual labels: django
Django Uwsgi Taskmanager
Django application to monitor and manage long and/or recurring tasks through uWSGI.
Stars: ✭ 22 (-15.38%)
Mutual labels: django
Django Login Registration
Django user registration and login with form validation
Stars: ✭ 19 (-26.92%)
Mutual labels: django
Django Email Confirm La
Django email confirmation for any model and any field
Stars: ✭ 23 (-11.54%)
Mutual labels: django
Django Phantom Theme
Phantom is theme for django admin with many widgets, based on Twitter bootstrap 3.x.
Stars: ✭ 18 (-30.77%)
Mutual labels: django
Django Hijack
With Django Hijack, admins can log in and work on behalf of other users without having to know their credentials.
Stars: ✭ 924 (+3453.85%)
Mutual labels: django
Django Beginners Guide
A Complete Beginner's Guide to Django - Code Samples
Stars: ✭ 902 (+3369.23%)
Mutual labels: django
Django Compression Middleware
Django middleware to compress responses using several algorithms.
Stars: ✭ 23 (-11.54%)
Mutual labels: django
Django Jenkins
Plug and play continuous integration with django and jenkins
Stars: ✭ 933 (+3488.46%)
Mutual labels: django
Django apistar
Django App to integrate API Star's routes and views into Django's ecossystem.
Stars: ✭ 25 (-3.85%)
Mutual labels: django
Django Rest Booking Api
A Restful api which allows you to book sports events or update existing odds.
Stars: ✭ 24 (-7.69%)
Mutual labels: django
Tushare股票数据可视化平台
基于python3.8.0
和Django2.1.8
实现Tushare股票数据可视化平台。
主要功能:
- 股票代码搜索
- K线图、平均线绘制
- 模拟股票交易
- 时间序列预测
安装
克隆项目至本地:git clone https://github.com/1251240000/sdcs.git
pip安装环境: pip install -Ur requirements.txt
配置
迁移数据库
执行:python3 manage.py makemigrations
之后执行:python3 manage.py migrate
生成/刷新测试数据
执行:python3 manage.py refresh_data
创建超级用户
执行:python3 manage.py createsuperuser
配置验证码
如果需要使用验证码模块,你需要申请阿里云短信签名及模版,并修改ui/sms.py
:
accessKeyId = '你的AccessKey ID'
accessSecret = '你的AccessKey Secret'
def SendSms(pnum, vcode):
# ··· ···
request.add_query_param('SignName', "签名名称")
request.add_query_param('TemplateCode', "模版CODE")
# ··· ···
配置wsgi + Nginx
如果需要配置wsgi+Nginx ,你需要:
- 配置Nginx支持uwsgi及虚拟目录:
server {
listen 8000;
location / {
include uwsgi_params;
uwsgi_pass 0.0.0.0:8001;
}
location /static {
alias 静态文件目录;
}
}
-
收集静态文件:
python3 manage.py collectstatic
-
配置uwsgi.ini:
[uwsgi]
socket = 0.0.0.0:8000
chdir = 目录
wsgi-file = 目录/wsgi.py
processes = 4
threads = 2
master = True
pidfile = uwsgi.pid
daemonize = uwsgi.log
运行
执行: python3 manage.py runserver 0.0.0.0:8000
或 uwsgi uwsgi.ini
浏览器打开: http://127.0.0.1:8000/
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].