The best trading API - Shioaji gateway with VNPY.
Project description
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
- 如果你發現這個專案有幫助到你,請考慮 贊助
- ETH是最棒的,但其他TOKEN也都歡迎。
Project details
Release history Release notifications | RSS feed
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)
Built Distribution
Close
Hashes for vnpy_sinopac-2.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 887889cb41734a85a19aaad078522e89096f28a8b216d01b33efa530cea33d1f |
|
MD5 | 6072bd0722444da3db570b40f8ebef68 |
|
BLAKE2b-256 | 0bfb0212d7a2b1b6460b3ddbb0e34b0dd9c0a9b544a1db36d1256cfa2ec1898f |