vnpy / vnpy_mysql Goto Github PK
View Code? Open in Web Editor NEWVeighNa框架的MySQL数据库接口
Home Page: https://www.vnpy.com
License: MIT License
VeighNa框架的MySQL数据库接口
Home Page: https://www.vnpy.com
License: MIT License
vnpy_mysql/vnpy_mysql/mysql_database.py
self.db.create_tables([DbBarData, DbTickData, DbBarOverview, DbTickOverview])
前面加一行
if not DBBarData.table_exists():
在 无远程数据库写入权限 且远程数据库使用旧版vnpy创建(无DbTickOverview表)时 会报错无(建表)权限 无法启动vnpy
MySQL 数据库连接在长时间不活动后会断开,在记录连续一周行情的时候很让人困扰。
通过 ReconnectMixin
可以让 PeeweeMySQLDatabase
带上自动重连的功能,如 commit
不知道将其作为 vnpy_mysql
的默认行为是否合适?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.