Skip to main content

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

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)

Source distribution for vnpy_tqsdk 3.8.6.0
File Size Uploaded
vnpy_tqsdk-3.8.6.0.tar.gz 5.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for vnpy_tqsdk 3.8.6.0
File Interpreter ABI Platform
vnpy_tqsdk-3.8.6.0-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

3.8.6.0 This release

2 release files

3.4.7

2 release files

3.4.0

2 release files

2.8.6

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page