# VeighNa框架的行情录制模块
<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-1.0.7-blueviolet.svg"/>
<img src ="https://img.shields.io/badge/platform-windows|linux|macos-yellow.svg"/>
<img src ="https://img.shields.io/badge/python-3.10|3.11|3.12-blue.svg" />
<img src ="https://img.shields.io/github/license/vnpy/vnpy.svg?color=orange"/>
</p>
## 说明
DataRecorder是用于实时行情记录的模块,用户可以利用该模块记录实时Tick数据和K线数据,并自动写入保存到数据库中。
记录的数据可以通过DataManager模块查看,也可以用于CtaBacktester的历史回测,以及CtaStrategy、PortfolioStrategy等策略的实盘初始化。
## 安装
安装环境推荐基于3.9.0版本以上的【[**VeighNa Studio**](https://www.vnpy.com)】。
直接使用pip命令:
```
pip install vnpy_datarecorder
```
或者下载源代码后,解压后在cmd中运行:
```
pip install .
```
Raw data
{
"_id": null,
"home_page": "https://www.vnpy.com",
"name": "vnpy-datarecorder",
"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/0d/db/f9a35b41db1c3a5f077bece836194b88af216e6708a4f04a2ff02782ba03/vnpy_datarecorder-1.0.7.tar.gz",
"platform": null,
"description": "# VeighNa\u6846\u67b6\u7684\u884c\u60c5\u5f55\u5236\u6a21\u5757\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-1.0.7-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.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\nDataRecorder\u662f\u7528\u4e8e\u5b9e\u65f6\u884c\u60c5\u8bb0\u5f55\u7684\u6a21\u5757\uff0c\u7528\u6237\u53ef\u4ee5\u5229\u7528\u8be5\u6a21\u5757\u8bb0\u5f55\u5b9e\u65f6Tick\u6570\u636e\u548cK\u7ebf\u6570\u636e\uff0c\u5e76\u81ea\u52a8\u5199\u5165\u4fdd\u5b58\u5230\u6570\u636e\u5e93\u4e2d\u3002\r\n\r\n\u8bb0\u5f55\u7684\u6570\u636e\u53ef\u4ee5\u901a\u8fc7DataManager\u6a21\u5757\u67e5\u770b\uff0c\u4e5f\u53ef\u4ee5\u7528\u4e8eCtaBacktester\u7684\u5386\u53f2\u56de\u6d4b\uff0c\u4ee5\u53caCtaStrategy\u3001PortfolioStrategy\u7b49\u7b56\u7565\u7684\u5b9e\u76d8\u521d\u59cb\u5316\u3002\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_datarecorder\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",
"bugtrack_url": null,
"license": "MIT",
"summary": "Data recorder application for VeighNa quant trading framework.",
"version": "1.0.7",
"project_urls": {
"Homepage": "https://www.vnpy.com"
},
"split_keywords": [
"quant",
" quantitative",
" investment",
" trading",
" algotrading"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "3f4f2d2b60a1fcac0fcae16a2767734597f26aa2e400256745af0a01492bdfed",
"md5": "2796c5436014d18ed812380c16ac7ca3",
"sha256": "a5c8ee7ae9b9d3de0452fb7fbd4554f37671376bdfb2445d6d4d33849349b5d7"
},
"downloads": -1,
"filename": "vnpy_datarecorder-1.0.7-py3-none-any.whl",
"has_sig": false,
"md5_digest": "2796c5436014d18ed812380c16ac7ca3",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 21789,
"upload_time": "2024-05-22T10:42:28",
"upload_time_iso_8601": "2024-05-22T10:42:28.577285Z",
"url": "https://files.pythonhosted.org/packages/3f/4f/2d2b60a1fcac0fcae16a2767734597f26aa2e400256745af0a01492bdfed/vnpy_datarecorder-1.0.7-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "0ddbf9a35b41db1c3a5f077bece836194b88af216e6708a4f04a2ff02782ba03",
"md5": "87a37b2ea263dd68c0e8a43c9a37cb13",
"sha256": "d47f27301d7e65864aa4a12dc46682183815cb9c298f63bcd726517578a38ba2"
},
"downloads": -1,
"filename": "vnpy_datarecorder-1.0.7.tar.gz",
"has_sig": false,
"md5_digest": "87a37b2ea263dd68c0e8a43c9a37cb13",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 21853,
"upload_time": "2024-05-22T10:42:30",
"upload_time_iso_8601": "2024-05-22T10:42:30.375706Z",
"url": "https://files.pythonhosted.org/packages/0d/db/f9a35b41db1c3a5f077bece836194b88af216e6708a4f04a2ff02782ba03/vnpy_datarecorder-1.0.7.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-05-22 10:42:30",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "vnpy-datarecorder"
}