TQsdk datafeed for VeighNa quant trading framework.
Project description
VeighNa框架的天勤TQSDK数据服务接口
说明
基于天勤TQSDK模块的3.2.11版本开发,支持以下中国金融市场的K线数据:
- 期货:
- CFFEX:中国金融期货交易所
- SHFE:上海期货交易所
- DCE:大连商品交易所
- CZCE:郑州商品交易所
- INE:上海国际能源交易中心
- 股票:
- SSE:上海证券交易所
- SZSE:深圳证券交易所
注意:需要使用相应的数据服务权限,可以通过该页面申请试用或者付费购买。
安装
安装环境推荐基于3.0.0版本以上的【VeighNa Studio】。
直接使用pip命令:
pip install vnpy_tqsdk
或者下载源代码后,解压后在cmd中运行:
pip install .
使用
在VeighNa中使用天勤TQSDK时,需要在全局配置中填写以下字段信息:
名称 | 含义 | 必填 | 举例 |
---|---|---|---|
datafeed.name | 名称 | 是 | tqsdk |
datafeed.username | 用户名 | 是 | test |
datafeed.password | 密码 | 是 | 12345678 |
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_tqsdk-3.4.7.tar.gz
(4.5 kB
view details)
Built Distribution
File details
Details for the file vnpy_tqsdk-3.4.7.tar.gz
.
File metadata
- Download URL: vnpy_tqsdk-3.4.7.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 180f93513210a3afba7c82e33ec621d286630d883097d565122b1d3da1690ae3 |
|
MD5 | 31e4757cdbd4a4a3f854eaec68426ebf |
|
BLAKE2b-256 | 6d13e986c2a2e81b55cac6148ca5265e94252ce3397de6def860075c68ad97fc |
File details
Details for the file vnpy_tqsdk-3.4.7-py3-none-any.whl
.
File metadata
- Download URL: vnpy_tqsdk-3.4.7-py3-none-any.whl
- Upload date:
- Size: 5.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 117fb0053b1e0f6ac5b4f85fd6774773fb8ebc70a85a18e340fab0fe40293d02 |
|
MD5 | b349ae12fb85b2cdd5fe9b02e12fe084 |
|
BLAKE2b-256 | 97ac3f3dadb154a98fd399467b78670c2da68f74a1c5d1f5ad65476adb40361d |