Skip to main content

VeighNa框架的恒生UData数据服务接口

说明

基于恒生的hs_udata开发,支持以下中国金融市场的K线数据:

  • 期货:
    • CFFEX:中国金融期货交易所
    • SHFE:上海期货交易所
    • DCE:大连商品交易所
    • CZCE:郑州商品交易所
    • INE:上海国际能源交易中心
  • 股票:
    • SSE:上海证券交易所
    • SZSE:深圳证券交易所

注意:需要购买相应的数据服务权限,可以通过该页面申请试用。

安装

安装环境推荐基于3.0.0版本以上的【VeighNa Studio】。

直接使用pip命令:

pip install vnpy_udata

或者下载源代码后,解压后在cmd中运行:

pip install .

使用

在VeighNa中使用恒生UData时,需要在全局配置中填写以下字段信息:

名称 含义 必填 举例
datafeed.name 名称 udata
datafeed.username 用户名 token
datafeed.password 密码 mo-kWW7Jjyq1-bjAAhQcz1z7YsJS6BkY3XazSAC-81jWW3294

Release files for vnpy-udata 2023.3.1

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-udata 2023.3.1
File Size Uploaded
vnpy_udata-2023.3.1.tar.gz 5.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for vnpy-udata 2023.3.1
File Interpreter ABI Platform
vnpy_udata-2023.3.1-py3-none-any.whl Python 3 none any Details

Total release size: 10.9 kB

Release files / vnpy_udata-2023.3.1.tar.gz

Download URL vnpy_udata-2023.3.1.tar.gz
Size 5.0 kB
Tags Source
SHA-256 checksum
How to use checksums
9f1be1d7b676a073d44991fb54166b9b532b484f6e3cb2eb246bbeeb9d05ff17
BLAKE2b-256 checksum
How to use checksums
b3472b2c17cd2d014dca0da45b6fc3ec208ce751872dc3698bed7f20c018e022
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.9

Release files / vnpy_udata-2023.3.1-py3-none-any.whl

Download URL vnpy_udata-2023.3.1-py3-none-any.whl
Size 5.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9f8b30ac7309b8524e1426cff87b6f4ffbce000501cad7c645887342693a192d
BLAKE2b-256 checksum
How to use checksums
6a852d670788c43584f36466b380b66910136dbeaa5db80fc93b286a6aa00477
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.9

Release history Release notifications | RSS feed

This release

2023.3.1 This release

2 release files

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