[![GitHub license](https://img.shields.io/github/license/ypochien/vnpy_sinopac)](https://github.com/ypochien/vnpy_sinopac/blob/main/LICENSE)
[![GitHub issues](https://img.shields.io/github/issues/ypochien/vnpy_sinopac?style=plastic)](https://github.com/ypochien/vnpy_sinopac/issues)
![GitHub Workflow Status (event)](https://img.shields.io/github/workflow/status/ypochien/vnpy_sinopac/Deploy?event=push)
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/vnpy_sinopac)
![PyPI](https://img.shields.io/pypi/v/vnpy_sinopac)
# Sinopac API - Shioaji 交易接口 for VeighNa框架
# ⚠️ Warning ⚠️
* ⚠️ 如果你的 shioaji 為 0.x 版本,請安裝 vnpy_sinopac v1.5
* ⚠️ 如果你的 shioaji 為 1.0 版本之後,請安裝 vnpy_sinopac v2.0 之後的版本
```
import shioaji
print(shioaji.__version__)
```
##
- Sinopac API - shioaji - https://sinotrade.github.io/
- VeighNa (VNPY) - https://github.com/vnpy/vnpy/
- vnpy_sinopac - https://github.com/ypochien/vnpy_sinopac
## Requirement
* Shioaji >= 1.0
* VeighNa 3.0~3.5
* Python 3.10 / 3.9 / 3.8 / 3.7 (建議用 Anaconda)
## Installation
```
pip install vnpy_sinopac
```
## Quickstarts
```
python scripy/run.py
```
or add below
```
from vnpy_sinopac import SinopacGateway
main_engine.add_gateway(SinopacGateway)
```
## 關於下單方式
### 股票
### 期權
## 贊助 Donating
* 如果你發現這個專案有幫助到你,請考慮 [贊助](https://etherscan.io/address/ypochien.eth)
* ETH是最棒的,但其他TOKEN也都歡迎。
* ![ypochien.eth.png](ypochien.eth.png)
Raw data
{
"_id": null,
"home_page": "https://github.com/ypochien/vnpy_sinopac",
"name": "vnpy-sinopac",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.8,<3.11",
"maintainer_email": "",
"keywords": "quant,quantitative,investment,trading,algotrading",
"author": "ypochien",
"author_email": "",
"download_url": "https://files.pythonhosted.org/packages/a1/a2/52f894762e295f8be49fa1c6489361437b83e00692ee490b3d646e36ad12/vnpy_sinopac-2.0.0.tar.gz",
"platform": null,
"description": "[![GitHub license](https://img.shields.io/github/license/ypochien/vnpy_sinopac)](https://github.com/ypochien/vnpy_sinopac/blob/main/LICENSE)\n[![GitHub issues](https://img.shields.io/github/issues/ypochien/vnpy_sinopac?style=plastic)](https://github.com/ypochien/vnpy_sinopac/issues)\n![GitHub Workflow Status (event)](https://img.shields.io/github/workflow/status/ypochien/vnpy_sinopac/Deploy?event=push)\n![PyPI - Python Version](https://img.shields.io/pypi/pyversions/vnpy_sinopac)\n![PyPI](https://img.shields.io/pypi/v/vnpy_sinopac)\n\n# Sinopac API - Shioaji \u4ea4\u6613\u63a5\u53e3 for VeighNa\u6846\u67b6\n\n# \u26a0\ufe0f Warning \u26a0\ufe0f\n* \u26a0\ufe0f \u5982\u679c\u4f60\u7684 shioaji \u70ba 0.x \u7248\u672c\uff0c\u8acb\u5b89\u88dd vnpy_sinopac v1.5\n* \u26a0\ufe0f \u5982\u679c\u4f60\u7684 shioaji \u70ba 1.0 \u7248\u672c\u4e4b\u5f8c\uff0c\u8acb\u5b89\u88dd vnpy_sinopac v2.0 \u4e4b\u5f8c\u7684\u7248\u672c\n```\nimport shioaji\nprint(shioaji.__version__)\n```\n\n\n## \n- Sinopac API - shioaji - https://sinotrade.github.io/\n- VeighNa (VNPY) - https://github.com/vnpy/vnpy/\n- vnpy_sinopac - https://github.com/ypochien/vnpy_sinopac\n\n## Requirement\n* Shioaji >= 1.0\n* VeighNa 3.0~3.5\n* Python 3.10 / 3.9 / 3.8 / 3.7 (\u5efa\u8b70\u7528 Anaconda)\n## Installation\n```\npip install vnpy_sinopac\n```\n## Quickstarts\n```\npython scripy/run.py\n```\nor add below\n```\nfrom vnpy_sinopac import SinopacGateway\n\nmain_engine.add_gateway(SinopacGateway)\n```\n\n\n## \u95dc\u65bc\u4e0b\u55ae\u65b9\u5f0f\n### \u80a1\u7968\n\n\n### \u671f\u6b0a\n\n\n\n## \u8d0a\u52a9 Donating\n* \u5982\u679c\u4f60\u767c\u73fe\u9019\u500b\u5c08\u6848\u6709\u5e6b\u52a9\u5230\u4f60\uff0c\u8acb\u8003\u616e [\u8d0a\u52a9](https://etherscan.io/address/ypochien.eth)\n* ETH\u662f\u6700\u68d2\u7684\uff0c\u4f46\u5176\u4ed6TOKEN\u4e5f\u90fd\u6b61\u8fce\u3002\n* ![ypochien.eth.png](ypochien.eth.png)\n\n\n\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "The best trading API - Shioaji gateway with VNPY.",
"version": "2.0.0",
"split_keywords": [
"quant",
"quantitative",
"investment",
"trading",
"algotrading"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "0bfb0212d7a2b1b6460b3ddbb0e34b0dd9c0a9b544a1db36d1256cfa2ec1898f",
"md5": "6072bd0722444da3db570b40f8ebef68",
"sha256": "887889cb41734a85a19aaad078522e89096f28a8b216d01b33efa530cea33d1f"
},
"downloads": -1,
"filename": "vnpy_sinopac-2.0.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "6072bd0722444da3db570b40f8ebef68",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8,<3.11",
"size": 10582,
"upload_time": "2023-01-06T19:32:03",
"upload_time_iso_8601": "2023-01-06T19:32:03.770268Z",
"url": "https://files.pythonhosted.org/packages/0b/fb/0212d7a2b1b6460b3ddbb0e34b0dd9c0a9b544a1db36d1256cfa2ec1898f/vnpy_sinopac-2.0.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "a1a252f894762e295f8be49fa1c6489361437b83e00692ee490b3d646e36ad12",
"md5": "65b7aad542d2da123f891a114635babb",
"sha256": "08e420d8ebdfcd2fd7aff41bc8d9221a79ffa4d53493609577949d77a8f53946"
},
"downloads": -1,
"filename": "vnpy_sinopac-2.0.0.tar.gz",
"has_sig": false,
"md5_digest": "65b7aad542d2da123f891a114635babb",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8,<3.11",
"size": 11137,
"upload_time": "2023-01-06T19:32:05",
"upload_time_iso_8601": "2023-01-06T19:32:05.417566Z",
"url": "https://files.pythonhosted.org/packages/a1/a2/52f894762e295f8be49fa1c6489361437b83e00692ee490b3d646e36ad12/vnpy_sinopac-2.0.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-01-06 19:32:05",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "ypochien",
"github_project": "vnpy_sinopac",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "vnpy-sinopac"
}