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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file vnpy_sinopac-2.0.0.tar.gz.

File metadata

  • Download URL: vnpy_sinopac-2.0.0.tar.gz
  • Upload date:
  • Size: 11.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.1 CPython/3.8.15 Linux/5.15.0-1024-azure

File hashes

Hashes for vnpy_sinopac-2.0.0.tar.gz
Algorithm Hash digest
SHA256 08e420d8ebdfcd2fd7aff41bc8d9221a79ffa4d53493609577949d77a8f53946
MD5 65b7aad542d2da123f891a114635babb
BLAKE2b-256 a1a252f894762e295f8be49fa1c6489361437b83e00692ee490b3d646e36ad12

See more details on using hashes here.

File details

Details for the file vnpy_sinopac-2.0.0-py3-none-any.whl.

File metadata

  • Download URL: vnpy_sinopac-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 10.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.1 CPython/3.8.15 Linux/5.15.0-1024-azure

File hashes

Hashes for vnpy_sinopac-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 887889cb41734a85a19aaad078522e89096f28a8b216d01b33efa530cea33d1f
MD5 6072bd0722444da3db570b40f8ebef68
BLAKE2b-256 0bfb0212d7a2b1b6460b3ddbb0e34b0dd9c0a9b544a1db36d1256cfa2ec1898f

See more details on using hashes here.

Supported by

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