# VeighNa框架的RQData数据服务接口
<p align="center">
<img src ="https://vnpy.oss-cn-shanghai.aliyuncs.com/vnpy-logo.png"/>
</p>
<p align="center">
<img src ="https://img.shields.io/badge/version-3.0.2.1-blueviolet.svg"/>
<img src ="https://img.shields.io/badge/platform-windows|linux|macos-yellow.svg"/>
<img src ="https://img.shields.io/badge/python-3.8|3.9|3.10|3.11|3.12-blue.svg" />
<img src ="https://img.shields.io/github/license/vnpy/vnpy.svg?color=orange"/>
</p>
## 说明
基于米筐rqdatac模块的2.10.14版本开发,支持以下中国金融市场的K线和Tick数据:
* 期货和期货期权:
* CFFEX:中国金融期货交易所
* SHFE:上海期货交易所
* DCE:大连商品交易所
* CZCE:郑州商品交易所
* INE:上海国际能源交易中心
* GFEX:广州期货交易所
* 贵金属现货:
* SGE:上海黄金交易所
* 股票和ETF期权:
* SSE:上海证券交易所
* SZSE:深圳证券交易所
注意:需要购买相应的数据服务权限,可以通过[该页面](https://www.ricequant.com/welcome/purchase?utm_source=vnpy)申请试用。
## 安装
安装环境推荐基于3.9.0版本以上的【[**VeighNa Studio**](https://www.vnpy.com)】。
直接使用pip命令:
```
pip install vnpy_rqdata
```
或者下载源代码后,解压后在cmd中运行:
```
pip install .
```
## 使用
在VeighNa中使用米筐RQData时,需要在全局配置中填写以下字段信息:
|名称|含义|必填|举例|
|---------|----|---|---|
|datafeed.name|名称|是|rqdata|
|datafeed.username|用户名|是|license|
|datafeed.password|密码|是|(请填写购买或申请试用RQData后,RQData提供的token)|
Raw data
{
"_id": null,
"home_page": "https://www.vnpy.com",
"name": "vnpy-rqdata",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "quant, quantitative, investment, trading, algotrading",
"author": "Xiaoyou Chen",
"author_email": "xiaoyou.chen@mail.vnpy.com",
"download_url": "https://files.pythonhosted.org/packages/d8/50/95e00f23a5672f5cc894d4050731c70575910e7aa6a6732321af831d74ac/vnpy_rqdata-3.0.2.1.tar.gz",
"platform": null,
"description": "# VeighNa\u6846\u67b6\u7684RQData\u6570\u636e\u670d\u52a1\u63a5\u53e3\r\n\r\n<p align=\"center\">\r\n <img src =\"https://vnpy.oss-cn-shanghai.aliyuncs.com/vnpy-logo.png\"/>\r\n</p>\r\n\r\n<p align=\"center\">\r\n <img src =\"https://img.shields.io/badge/version-3.0.2.1-blueviolet.svg\"/>\r\n <img src =\"https://img.shields.io/badge/platform-windows|linux|macos-yellow.svg\"/>\r\n <img src =\"https://img.shields.io/badge/python-3.8|3.9|3.10|3.11|3.12-blue.svg\" />\r\n <img src =\"https://img.shields.io/github/license/vnpy/vnpy.svg?color=orange\"/>\r\n</p>\r\n\r\n## \u8bf4\u660e\r\n\r\n\u57fa\u4e8e\u7c73\u7b50rqdatac\u6a21\u5757\u76842.10.14\u7248\u672c\u5f00\u53d1\uff0c\u652f\u6301\u4ee5\u4e0b\u4e2d\u56fd\u91d1\u878d\u5e02\u573a\u7684K\u7ebf\u548cTick\u6570\u636e\uff1a\r\n\r\n* \u671f\u8d27\u548c\u671f\u8d27\u671f\u6743\uff1a\r\n * CFFEX\uff1a\u4e2d\u56fd\u91d1\u878d\u671f\u8d27\u4ea4\u6613\u6240\r\n * SHFE\uff1a\u4e0a\u6d77\u671f\u8d27\u4ea4\u6613\u6240\r\n * DCE\uff1a\u5927\u8fde\u5546\u54c1\u4ea4\u6613\u6240\r\n * CZCE\uff1a\u90d1\u5dde\u5546\u54c1\u4ea4\u6613\u6240\r\n * INE\uff1a\u4e0a\u6d77\u56fd\u9645\u80fd\u6e90\u4ea4\u6613\u4e2d\u5fc3\r\n * GFEX\uff1a\u5e7f\u5dde\u671f\u8d27\u4ea4\u6613\u6240\r\n* \u8d35\u91d1\u5c5e\u73b0\u8d27\uff1a\r\n * SGE\uff1a\u4e0a\u6d77\u9ec4\u91d1\u4ea4\u6613\u6240\r\n* \u80a1\u7968\u548cETF\u671f\u6743\uff1a\r\n * SSE\uff1a\u4e0a\u6d77\u8bc1\u5238\u4ea4\u6613\u6240\r\n * SZSE\uff1a\u6df1\u5733\u8bc1\u5238\u4ea4\u6613\u6240\r\n\r\n\u6ce8\u610f\uff1a\u9700\u8981\u8d2d\u4e70\u76f8\u5e94\u7684\u6570\u636e\u670d\u52a1\u6743\u9650\uff0c\u53ef\u4ee5\u901a\u8fc7[\u8be5\u9875\u9762](https://www.ricequant.com/welcome/purchase?utm_source=vnpy)\u7533\u8bf7\u8bd5\u7528\u3002\r\n\r\n\r\n## \u5b89\u88c5\r\n\r\n\u5b89\u88c5\u73af\u5883\u63a8\u8350\u57fa\u4e8e3.9.0\u7248\u672c\u4ee5\u4e0a\u7684\u3010[**VeighNa Studio**](https://www.vnpy.com)\u3011\u3002\r\n\r\n\u76f4\u63a5\u4f7f\u7528pip\u547d\u4ee4\uff1a\r\n\r\n```\r\npip install vnpy_rqdata\r\n```\r\n\r\n\r\n\u6216\u8005\u4e0b\u8f7d\u6e90\u4ee3\u7801\u540e\uff0c\u89e3\u538b\u540e\u5728cmd\u4e2d\u8fd0\u884c\uff1a\r\n\r\n```\r\npip install .\r\n```\r\n\r\n\r\n## \u4f7f\u7528\r\n\r\n\u5728VeighNa\u4e2d\u4f7f\u7528\u7c73\u7b50RQData\u65f6\uff0c\u9700\u8981\u5728\u5168\u5c40\u914d\u7f6e\u4e2d\u586b\u5199\u4ee5\u4e0b\u5b57\u6bb5\u4fe1\u606f\uff1a\r\n\r\n|\u540d\u79f0|\u542b\u4e49|\u5fc5\u586b|\u4e3e\u4f8b|\r\n|---------|----|---|---|\r\n|datafeed.name|\u540d\u79f0|\u662f|rqdata|\r\n|datafeed.username|\u7528\u6237\u540d|\u662f|license|\r\n|datafeed.password|\u5bc6\u7801|\u662f|(\u8bf7\u586b\u5199\u8d2d\u4e70\u6216\u7533\u8bf7\u8bd5\u7528RQData\u540e\uff0cRQData\u63d0\u4f9b\u7684token)|\r\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "RQData datafeed for VeighNa quant trading framework.",
"version": "3.0.2.1",
"project_urls": {
"Homepage": "https://www.vnpy.com"
},
"split_keywords": [
"quant",
" quantitative",
" investment",
" trading",
" algotrading"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "496a9ebc9abbaf78e558c46390ad229dca57bed5dee785c4c930e179967b69bd",
"md5": "2874e4999e4d5fb3efc151ac0798e3e4",
"sha256": "f17478f22840cf983341bef27f8c1c9187101ed855066078378a5cf63d69ed59"
},
"downloads": -1,
"filename": "vnpy_rqdata-3.0.2.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "2874e4999e4d5fb3efc151ac0798e3e4",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 10276,
"upload_time": "2024-03-22T05:49:37",
"upload_time_iso_8601": "2024-03-22T05:49:37.383237Z",
"url": "https://files.pythonhosted.org/packages/49/6a/9ebc9abbaf78e558c46390ad229dca57bed5dee785c4c930e179967b69bd/vnpy_rqdata-3.0.2.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "d85095e00f23a5672f5cc894d4050731c70575910e7aa6a6732321af831d74ac",
"md5": "856fc08b9e36f01b031f15bcafe69494",
"sha256": "6fba6c1406b91e6e149c64d09d326306042b8a83b8024a7811920580f2b7e62e"
},
"downloads": -1,
"filename": "vnpy_rqdata-3.0.2.1.tar.gz",
"has_sig": false,
"md5_digest": "856fc08b9e36f01b031f15bcafe69494",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 9982,
"upload_time": "2024-03-22T05:49:39",
"upload_time_iso_8601": "2024-03-22T05:49:39.176763Z",
"url": "https://files.pythonhosted.org/packages/d8/50/95e00f23a5672f5cc894d4050731c70575910e7aa6a6732321af831d74ac/vnpy_rqdata-3.0.2.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-03-22 05:49:39",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "vnpy-rqdata"
}