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=build
使用
以脚本方式启动(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()
Metadata
Release files for vnpy_tora 2026.10.5
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.10.5.tar.gz | 2.6 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| vnpy_tora-2026.10.5-cp310-cp310-win_amd64.whl | CPython 3.10 | CPython 3.10 | Windows x86-64 | Details |
Total release size: 5.1 MB
Release files / vnpy_tora-2026.10.5.tar.gz
| Download URL | vnpy_tora-2026.10.5.tar.gz |
|---|---|
| Size | 2.6 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e990f65e22971f891cb12178880fcd3ca8bfed51608fcb8719703247f42c7f5c
|
|
BLAKE2b-256 checksum How to use checksums |
3404f4ce5b9099d880713bd70b95dfe89b5dd0c711625029bb7587100f9217cc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.3
|
Release files / vnpy_tora-2026.10.5-cp310-cp310-win_amd64.whl
| Download URL | vnpy_tora-2026.10.5-cp310-cp310-win_amd64.whl |
|---|---|
| Size | 2.5 MB |
| Tags | CPython 3.10 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
eddeed85e45df1e2cbcccb182b0466a2c746d2e1ac8c0fc9b68ae86db61495b7
|
|
BLAKE2b-256 checksum How to use checksums |
01b92861b6e8282831562ce864a991265fd893b290f7ac33338332d483b8abbf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.3
|