Xuntou datafeed for VeighNa quant trading framework.
Project description
VeighNa框架的迅投数据服务接口
说明
基于迅投XtQuant封装开发的数据服务接口。
安装
安装需要基于3.9.0版本的【VeighNa】。
直接使用pip命令:
pip install vnpy_xt
或者下载解压后在cmd中运行:
python setup.py install
连接
客户端连接:
- 连接请先登录迅投极速交易终端,同时确保xtquant模块可以正常加载(点击【下载Python库】-【Python库下载】,下载完成后拷贝“Python库路径”下Lib\site-packages文件夹中的xtquant包到自己使用的Python环境的site_packages文件夹下)。
- 在Veighna Trader的【全局配置】处进行数据服务配置(datafeed.name填“xt”,datafeed.username填“client”)并保持迅投客户端的运行。
- 请注意,若datafeed.username配置为“client”,无论是否配置datafeed.password,datafeed都会通过客户端连接。
Token连接:
- 连接前请先确保xtquant模块可以正常加载(在投研知识库(http://docs.thinktrader.net/)下载xtquant的安装包,解压后放置xtquant包到自己使用的Python环境的site_packages文件夹下)。
- 登录迅投研服务平台,在【用户中心】-【个人设置】-【接口TOKEN】处获取Token(https://xuntou.net/#/userInfo)。
- 在VeighNa Trader的【全局配置】处进行数据服务配置(datafeed.name填“xt”,datafeed.password填复制的Token)。
- 请注意,通过Token连接无需保持迅投客户端的运行。
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
vnpy_xt-1.0.0.tar.gz
(5.8 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_xt-1.0.0.tar.gz.
File metadata
- Download URL: vnpy_xt-1.0.0.tar.gz
- Upload date:
- Size: 5.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ce0c674edac94b4d1c788cffa4862c554922ac3e17eb13bb986b5662320f4205
|
|
| MD5 |
6f8d73ae0581e3ed4b3c0ff1de190649
|
|
| BLAKE2b-256 |
b6ca17f1189f24563b2b7e8f9a6bb7f61a22ef10047b3bf69ff506b50875484c
|
File details
Details for the file vnpy_xt-1.0.0-py3-none-any.whl.
File metadata
- Download URL: vnpy_xt-1.0.0-py3-none-any.whl
- Upload date:
- Size: 6.7 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 |
b33085330cebd848639a85477c4899a8051ee7bf19685275313b666d693224c5
|
|
| MD5 |
a22645a46040de4faf0494c5cdffa5cd
|
|
| BLAKE2b-256 |
23b8a0899b06f6c4a196a242b2fe20550b3bae8c8b43a191fbb3c599b7f516b0
|