{"id":16939196,"url":"https://github.com/vnpy/vnpy_udata","last_synced_at":"2025-04-11T19:20:56.890Z","repository":{"id":37932031,"uuid":"409218955","full_name":"vnpy/vnpy_udata","owner":"vnpy","description":"VeighNa框架的恒生UData数据服务接口","archived":false,"fork":false,"pushed_at":"2023-03-01T05:50:32.000Z","size":96,"stargazers_count":9,"open_issues_count":0,"forks_count":9,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-25T15:13:33.139Z","etag":null,"topics":["udata","veighna","vnpy"],"latest_commit_sha":null,"homepage":"https://www.vnpy.com","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vnpy.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-09-22T13:38:00.000Z","updated_at":"2025-01-02T06:40:15.000Z","dependencies_parsed_at":"2025-02-20T00:32:55.134Z","dependency_job_id":"4365473f-c553-437b-81ed-ae63f40a5717","html_url":"https://github.com/vnpy/vnpy_udata","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vnpy%2Fvnpy_udata","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vnpy%2Fvnpy_udata/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vnpy%2Fvnpy_udata/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vnpy%2Fvnpy_udata/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vnpy","download_url":"https://codeload.github.com/vnpy/vnpy_udata/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248465348,"owners_count":21108244,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["udata","veighna","vnpy"],"created_at":"2024-10-13T21:03:57.984Z","updated_at":"2025-04-11T19:20:56.870Z","avatar_url":"https://github.com/vnpy.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# VeighNa框架的恒生UData数据服务接口\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src =\"https://vnpy.oss-cn-shanghai.aliyuncs.com/vnpy-logo.png\"/\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003cimg src =\"https://img.shields.io/badge/version-2023.3.1-blueviolet.svg\"/\u003e\n    \u003cimg src =\"https://img.shields.io/badge/platform-windows|linux|macos-yellow.svg\"/\u003e\n    \u003cimg src =\"https://img.shields.io/badge/python-3.7|3.8|3.9|3.10-blue.svg\" /\u003e\n    \u003cimg src =\"https://img.shields.io/github/license/vnpy/vnpy.svg?color=orange\"/\u003e\n\u003c/p\u003e\n\n## 说明\n\n基于恒生的hs_udata开发，支持以下中国金融市场的K线数据：\n\n* 期货：\n  * CFFEX：中国金融期货交易所\n  * SHFE：上海期货交易所\n  * DCE：大连商品交易所\n  * CZCE：郑州商品交易所\n  * INE：上海国际能源交易中心\n* 股票：\n  * SSE：上海证券交易所\n  * SZSE：深圳证券交易所\n\n注意：需要购买相应的数据服务权限，可以通过[该页面](https://udata.hs.net/)申请试用。\n\n\n## 安装\n\n\n安装环境推荐基于3.0.0版本以上的【[**VeighNa Studio**](https://www.vnpy.com)】。\n\n直接使用pip命令：\n\n```\npip install vnpy_udata\n```\n\n\n或者下载源代码后，解压后在cmd中运行：\n\n```\npip install .\n```\n\n\n## 使用\n\n在VeighNa中使用恒生UData时，需要在全局配置中填写以下字段信息：\n\n|名称|含义|必填|举例|\n|---------|----|---|---|\n|datafeed.name|名称|是|udata|\n|datafeed.username|用户名|否|token|\n|datafeed.password|密码|是|mo-kWW7Jjyq1-bjAAhQcz1z7YsJS6BkY3XazSAC-81jWW3294|\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvnpy%2Fvnpy_udata","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvnpy%2Fvnpy_udata","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvnpy%2Fvnpy_udata/lists"}