https://github.com/vnpy/vnpy_timescaledb
VeighNa框架的TimescaleDB数据库接口
https://github.com/vnpy/vnpy_timescaledb
Last synced: 12 months ago
JSON representation
VeighNa框架的TimescaleDB数据库接口
- Host: GitHub
- URL: https://github.com/vnpy/vnpy_timescaledb
- Owner: vnpy
- License: mit
- Created: 2022-06-08T05:36:37.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-08-11T03:40:50.000Z (almost 4 years ago)
- Last Synced: 2025-03-25T15:12:34.872Z (over 1 year ago)
- Language: Python
- Size: 15.6 KB
- Stars: 9
- Watchers: 3
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# VeighNa框架的TimescaleDB数据库接口
## 说明
基于TimescaleDB 2.7.0开发的时序数据库接口,使用前需要在PostgreSQL中添加TimescaleDB扩展。
## 使用
在VeighNa中使用TimescaleDB时,需要在全局配置中填写以下字段信息:
|名称|含义|必填|举例|
|---------|----|---|---|
|database.name|名称|是|timescaledb|
|database.host|地址|是|localhost|
|database.port|端口|是|5432|
|database.database|实例|是|vnpy|
|database.user|用户名|是|postgres|
|database.password|密码|是| |
请注意,连接前需要在PostgreSQL中手动添加数据库实例vnpy。