####
Python专用的实时K线数据接口。
购买说明
从2023年12月7日开始,推出VNklineservice(实时K线数据)。
因为K线服务涉及数据流量成本和人工维护的成本,也是支持开源模式的一部分 为了保证服务质量,开展收费服务,具体可咨询https://www.vnpy.cn 官网客服 或通过关注微信公众号,向微信公众号提问。
CTP K线服务 免费, 0元/年,每分钟查询不超过1次
如果要避免延迟、多用户争夺带宽的问题,请购买商用版本
https://gitee.com/vnpypro/vnklineservice
主要支持CTP接口,支持国内149家期货公司程序化交易,实现程序化交易是免费的。 支持股指期货、商品期货、股指期权、商品期权, 支持中国8大合规交易所中的5所,包括上海期货交易所,大连期货交易所、 郑州期货交易所、中金所、能源所。
目录说明: .idea:是Pycharm是项目配置文件目录,指定项目路径等等 strategy: 策略存放目录 temp: CTP接口产生的临时流文件存放目录
软件架构
软件架构说明 这是使用PyQt调用 VNklineservice调用K线数据并显示的例子。
Demo运行教程
安装Python
安装PyCharm
安装PyQt, pyqtgraph,pandas, numpy 等模块
使用说明
接口文件只有3个文件vnklineservice.dll、vnklineservice.py、vnklineservice.ini
其他属于对接口封装的框架,并用于显示K线
Raw data
{
"_id": null,
"home_page": "https://gitee.com/vnpypro/vnkline",
"name": "vnkline",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "barcode DataMatrix QRCode 1D PDF417",
"author": "quant lin",
"author_email": "1196999641@qq.com",
"download_url": "https://files.pythonhosted.org/packages/70/40/1234f0e656a285c7c72b964c51489340aba796c14c6960ff5c5182c7148c/vnkline-1.0.0.2.tar.gz",
"platform": null,
"description": "#### \n\nPython\u4e13\u7528\u7684\u5b9e\u65f6K\u7ebf\u6570\u636e\u63a5\u53e3\u3002\n\n\n\n\n\n \u8d2d\u4e70\u8bf4\u660e\n\n\u4ece2023\u5e7412\u67087\u65e5\u5f00\u59cb\uff0c\u63a8\u51faVNklineservice\uff08\u5b9e\u65f6K\u7ebf\u6570\u636e\uff09\u3002\n\n\n\n\u56e0\u4e3aK\u7ebf\u670d\u52a1\u6d89\u53ca\u6570\u636e\u6d41\u91cf\u6210\u672c\u548c\u4eba\u5de5\u7ef4\u62a4\u7684\u6210\u672c\uff0c\u4e5f\u662f\u652f\u6301\u5f00\u6e90\u6a21\u5f0f\u7684\u4e00\u90e8\u5206 \u4e3a\u4e86\u4fdd\u8bc1\u670d\u52a1\u8d28\u91cf\uff0c\u5f00\u5c55\u6536\u8d39\u670d\u52a1\uff0c\u5177\u4f53\u53ef\u54a8\u8be2https://www.vnpy.cn \u5b98\u7f51\u5ba2\u670d \u6216\u901a\u8fc7\u5173\u6ce8\u5fae\u4fe1\u516c\u4f17\u53f7\uff0c\u5411\u5fae\u4fe1\u516c\u4f17\u53f7\u63d0\u95ee\u3002\n\n\n\nCTP K\u7ebf\u670d\u52a1 \u514d\u8d39\uff0c 0\u5143/\u5e74\uff0c\u6bcf\u5206\u949f\u67e5\u8be2\u4e0d\u8d85\u8fc71\u6b21\n\n\n\n\u5982\u679c\u8981\u907f\u514d\u5ef6\u8fdf\u3001\u591a\u7528\u6237\u4e89\u593a\u5e26\u5bbd\u7684\u95ee\u9898\uff0c\u8bf7\u8d2d\u4e70\u5546\u7528\u7248\u672c \n\n\n\nhttps://gitee.com/vnpypro/vnklineservice\n\n\n\n\u4e3b\u8981\u652f\u6301CTP\u63a5\u53e3\uff0c\u652f\u6301\u56fd\u5185149\u5bb6\u671f\u8d27\u516c\u53f8\u7a0b\u5e8f\u5316\u4ea4\u6613\uff0c\u5b9e\u73b0\u7a0b\u5e8f\u5316\u4ea4\u6613\u662f\u514d\u8d39\u7684\u3002 \u652f\u6301\u80a1\u6307\u671f\u8d27\u3001\u5546\u54c1\u671f\u8d27\u3001\u80a1\u6307\u671f\u6743\u3001\u5546\u54c1\u671f\u6743\uff0c \u652f\u6301\u4e2d\u56fd8\u5927\u5408\u89c4\u4ea4\u6613\u6240\u4e2d\u76845\u6240\uff0c\u5305\u62ec\u4e0a\u6d77\u671f\u8d27\u4ea4\u6613\u6240\uff0c\u5927\u8fde\u671f\u8d27\u4ea4\u6613\u6240\u3001 \u90d1\u5dde\u671f\u8d27\u4ea4\u6613\u6240\u3001\u4e2d\u91d1\u6240\u3001\u80fd\u6e90\u6240\u3002\n\n\n\n\u76ee\u5f55\u8bf4\u660e\uff1a .idea\uff1a\u662fPycharm\u662f\u9879\u76ee\u914d\u7f6e\u6587\u4ef6\u76ee\u5f55\uff0c\u6307\u5b9a\u9879\u76ee\u8def\u5f84\u7b49\u7b49 strategy\uff1a \u7b56\u7565\u5b58\u653e\u76ee\u5f55 temp\uff1a CTP\u63a5\u53e3\u4ea7\u751f\u7684\u4e34\u65f6\u6d41\u6587\u4ef6\u5b58\u653e\u76ee\u5f55\n\n\n\n\u8f6f\u4ef6\u67b6\u6784\n\n\u8f6f\u4ef6\u67b6\u6784\u8bf4\u660e \u8fd9\u662f\u4f7f\u7528PyQt\u8c03\u7528 VNklineservice\u8c03\u7528K\u7ebf\u6570\u636e\u5e76\u663e\u793a\u7684\u4f8b\u5b50\u3002\n\n\n\nDemo\u8fd0\u884c\u6559\u7a0b\n\n\u5b89\u88c5Python\n\n\u5b89\u88c5PyCharm\n\n\u5b89\u88c5PyQt, pyqtgraph\uff0cpandas, numpy \u7b49\u6a21\u5757\n\n\u4f7f\u7528\u8bf4\u660e\n\n\u63a5\u53e3\u6587\u4ef6\u53ea\u67093\u4e2a\u6587\u4ef6vnklineservice.dll\u3001vnklineservice.py\u3001vnklineservice.ini\n\n\u5176\u4ed6\u5c5e\u4e8e\u5bf9\u63a5\u53e3\u5c01\u88c5\u7684\u6846\u67b6\uff0c\u5e76\u7528\u4e8e\u663e\u793aK\u7ebf\n\n \n\n",
"bugtrack_url": null,
"license": "https://gitee.com/vnpypro/vnklineservice/blob/master/LICENSE",
"summary": "vnkline",
"version": "1.0.0.2",
"project_urls": {
"Homepage": "https://gitee.com/vnpypro/vnkline"
},
"split_keywords": [
"barcode",
"datamatrix",
"qrcode",
"1d",
"pdf417"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "5016ce64ad7b9a6033ee37e23d85164084e646b3bd3c9c1b8afe3cc9d9752184",
"md5": "59786df3a1de020358f3f71fa0346652",
"sha256": "7715c9ac9a33aed5b76ef7835c6d0f0f3417fb948869904818562c2d900d7ece"
},
"downloads": -1,
"filename": "vnkline-1.0.0.2-cp39-none-any.whl",
"has_sig": false,
"md5_digest": "59786df3a1de020358f3f71fa0346652",
"packagetype": "bdist_wheel",
"python_version": "cp39",
"requires_python": null,
"size": 1521857,
"upload_time": "2023-12-08T18:11:26",
"upload_time_iso_8601": "2023-12-08T18:11:26.317949Z",
"url": "https://files.pythonhosted.org/packages/50/16/ce64ad7b9a6033ee37e23d85164084e646b3bd3c9c1b8afe3cc9d9752184/vnkline-1.0.0.2-cp39-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "70401234f0e656a285c7c72b964c51489340aba796c14c6960ff5c5182c7148c",
"md5": "c17adc9c53d6b55132e949e0bcc0cb5b",
"sha256": "43b14f613605508d9fd3a2430465239916e72a3335fdb32ddf44978fcbb21403"
},
"downloads": -1,
"filename": "vnkline-1.0.0.2.tar.gz",
"has_sig": false,
"md5_digest": "c17adc9c53d6b55132e949e0bcc0cb5b",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 1520444,
"upload_time": "2023-12-08T18:11:29",
"upload_time_iso_8601": "2023-12-08T18:11:29.170841Z",
"url": "https://files.pythonhosted.org/packages/70/40/1234f0e656a285c7c72b964c51489340aba796c14c6960ff5c5182c7148c/vnkline-1.0.0.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-12-08 18:11:29",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "vnkline"
}