VeighNa框架的天勤TQSDK数据服务接口
说明
基于天勤TQSDK模块的3.8.6版本开发,支持以下中国金融市场的K线数据:
- 期货:
- CFFEX:中国金融期货交易所
- SHFE:上海期货交易所
- DCE:大连商品交易所
- CZCE:郑州商品交易所
- INE:上海国际能源交易中心
- 股票:
- SSE:上海证券交易所
- SZSE:深圳证券交易所
注意:需要使用相应的数据服务权限,可以通过该页面申请试用或者付费购买。
安装
安装环境推荐基于4.0.0版本以上的【VeighNa Studio】。
直接使用pip命令:
pip install vnpy_tqsdk
或者下载源代码后,解压后在cmd中运行:
pip install .
使用
在VeighNa中使用天勤TQSDK时,需要在全局配置中填写以下字段信息:
| 名称 | 含义 | 必填 | 举例 |
|---|---|---|---|
| datafeed.name | 名称 | 是 | tqsdk |
| datafeed.username | 用户名 | 是 | test |
| datafeed.password | 密码 | 是 | 12345678 |
Metadata
Release files for vnpy_tqsdk 3.8.6.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| vnpy_tqsdk-3.8.6.0.tar.gz | 5.3 kB | Without provenance | Details for vnpy_tqsdk-3.8.6.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| vnpy_tqsdk-3.8.6.0-py3-none-any.whl | Python 3 | none | any | Details for vnpy_tqsdk-3.8.6.0-py3-none-any.whl |
Total release size: 10.5 kB
Release files / vnpy_tqsdk-3.8.6.0.tar.gz
| Download URL | vnpy_tqsdk-3.8.6.0.tar.gz |
|---|---|
| Size | 5.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d2ff8de54557b606d9b65f54e0675dc03afea569b9b329ac02619aef64ec1888
|
|
BLAKE2b-256 checksum How to use checksums |
7b6a750ec1a8453a132ec326d462f6d121b863e80018e028a417b6eaa62a19c5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.20
|
Release files / vnpy_tqsdk-3.8.6.0-py3-none-any.whl
| Download URL | vnpy_tqsdk-3.8.6.0-py3-none-any.whl |
|---|---|
| Size | 5.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5f9f6f76f821a9568dd19353517820427efd0d32cace8aaf853566a4015c0fc3
|
|
BLAKE2b-256 checksum How to use checksums |
3ecf5fa29634d738616f82fe7107c252dab68fd9943c7f4d513aadc82073879f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.20
|
Security for vnpy_tqsdk 3.8.6.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.