Skip to main content

The best trading API - Shioaji gateway with VNPY.

Project description

GitHub license GitHub issues GitHub Workflow Status (event) PyPI - Python Version PyPI

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__)

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

  • 如果你發現這個專案有幫助到你,請考慮 贊助
  • ETH是最棒的,但其他TOKEN也都歡迎。
  • ypochien.eth.png

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vnpy_sinopac-2.0.0.tar.gz (11.1 kB view hashes)

Uploaded Source

Built Distribution

vnpy_sinopac-2.0.0-py3-none-any.whl (10.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page