VeighNa框架的华鑫奇点柜台接口
说明
基于华鑫奇点的C++ API开发,支持股票和期权交易。
股票API的版本为:
- Level1行情:v1.0.9_20250825
- 交易:v4.1.6_20251121
期权的API版本为:
- v1.3.4_20230908
API版本的详细信息,请参考奇点官网。
安装
安装环境推荐基于4.0.0版本以上的【VeighNa Studio】。
直接使用pip命令:
pip install vnpy_tora
或者下载源代码后,解压后在cmd中运行:
pip install .
如果需要以开发模式安装到当前Python环境,可以使用下述命令:
pip install -e . --no-build-isolation --config-settings=build-dir=.\vnpy_tora\api
使用
以脚本方式启动(script/run.py):
from vnpy.event import EventEngine
from vnpy.trader.engine import MainEngine
from vnpy.trader.ui import MainWindow, create_qapp
from vnpy_tora import ToraOptionGateway, ToraStockGateway
def main():
"""主入口函数"""
qapp = create_qapp()
event_engine = EventEngine()
main_engine = MainEngine(event_engine)
main_engine.add_gateway(ToraOptionGateway)
main_engine.add_gateway(ToraStockGateway)
main_window = MainWindow(main_engine, event_engine)
main_window.showMaximized()
qapp.exec()
if __name__ == "__main__":
main()
Release files for vnpy_tora 2026.8.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| vnpy_tora-2026.8.2.tar.gz | 2.6 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| vnpy_tora-2026.8.2-cp310-cp310-win_amd64.whl | CPython 3.10 | CPython 3.10 | Windows x86-64 | Details |
Total release size: 5.0 MB
Release files / vnpy_tora-2026.8.2.tar.gz
| Download URL | vnpy_tora-2026.8.2.tar.gz |
|---|---|
| Size | 2.6 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
84cb9f5c7bb834e8b7a87a19b5a1396d03f0b1b26f946c328888d67d8d84fd69
|
|
BLAKE2b-256 checksum How to use checksums |
571db20b24ce475d3fd27b38c64ac460f78d0e8c1dd0fb301a5272b2b992ff99
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.3
|
Release files / vnpy_tora-2026.8.2-cp310-cp310-win_amd64.whl
| Download URL | vnpy_tora-2026.8.2-cp310-cp310-win_amd64.whl |
|---|---|
| Size | 2.4 MB |
| Tags | CPython 3.10 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
9fe017dddae15c2599d35101111abac340cc746058c3969d443cc1df30c281c0
|
|
BLAKE2b-256 checksum How to use checksums |
37445b7b37a4f6278660ca0545d88cf3370f8445a5d805a1f6c5c3bc5a9d9d0c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.3
|