TDengine database adapter for VeighNa quant trading framework.
Project description
VeighNa框架的TDengine数据库接口
说明
基于TDengine的Python连接器taospy开发的TDengine数据库接口。
需要使用TDengine 3.3.4.8以上版本。
使用
在VeighNa中使用TDengine时,需要在全局配置中填写以下字段信息:
| 名称 | 含义 | 必填 | 举例 |
|---|---|---|---|
| database.name | 名称 | 是 | taos |
| database.host | 地址 | 是 | localhost |
| database.port | 端口 | 是 | 6030 |
| database.database | 实例 | 是 | vnpy |
| database.user | 用户名 | 是 | root |
| database.password | 密码 | 是 | taosdata |
连接
连接前需要根据环境安装配置TDengine的客户端和服务端,TDengine的安装流程请参考官方文档。
新手用户推荐选择Docker方式运行,Windows系统上的整体流程如下:
- 安装启动Docker Desktop软件
- 在命令行中拉取最新版本TDengine容器镜像:
docker pull tdengine/tdengine:latest - 运行当前仓库中的start_docker.sh脚本,启动TDengine容器
- 安装TDengine的Windows客户端软件:TDengine-client-3.3.4.8-Windows-x64.exe (10.2 M)
- 安装vnpy_taos模块:
pip install vnpy_taos - 参考上一步【使用】中的内容修改VeighNa Trader全局配置中的相关字段
- 重启VeighNa Trader即可开始使用
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
vnpy_taos-1.1.1.tar.gz
(7.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file vnpy_taos-1.1.1.tar.gz.
File metadata
- Download URL: vnpy_taos-1.1.1.tar.gz
- Upload date:
- Size: 7.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.20
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b6ec1f8be92ce0b912f177d8dcc366a2451427303aef690928e51231de9405d2
|
|
| MD5 |
d25e7a6a028e1251175bca13e323ee8f
|
|
| BLAKE2b-256 |
4215af7bad953ca090dafaf81fa2fc606009e514f015a8a922b067a52ba6fbd0
|
File details
Details for the file vnpy_taos-1.1.1-py3-none-any.whl.
File metadata
- Download URL: vnpy_taos-1.1.1-py3-none-any.whl
- Upload date:
- Size: 7.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.20
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a403967d7d57a726dec61318b6cdb56e9c087986d6281e8be0a0f67baf72b351
|
|
| MD5 |
79c5595361a4f78ed81909d88f58db9b
|
|
| BLAKE2b-256 |
07238a92ff96910db05656b521df8da9f0f9f102b83c887f86f71386aaf0bede
|