Skip to main content

UData datafeed for VeighNa quant trading framework.

Project description

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

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_udata-2023.3.1.tar.gz (5.0 kB view hashes)

Uploaded Source

Built Distribution

vnpy_udata-2023.3.1-py3-none-any.whl (5.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page