{"id":16939160,"url":"https://github.com/vnpy/vnpy_sec","last_synced_at":"2025-07-22T05:03:00.326Z","repository":{"id":42999064,"uuid":"420850716","full_name":"vnpy/vnpy_sec","owner":"vnpy","description":"VeighNa框架的飞创ETF期权交易接口","archived":false,"fork":false,"pushed_at":"2023-09-05T02:00:24.000Z","size":3022,"stargazers_count":5,"open_issues_count":0,"forks_count":8,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-11T07:53:23.590Z","etag":null,"topics":["python","veighna","vnpy"],"latest_commit_sha":null,"homepage":"https://www.vnpy.com","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vnpy.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-10-25T02:17:37.000Z","updated_at":"2025-07-08T15:10:09.000Z","dependencies_parsed_at":"2024-11-26T15:18:54.859Z","dependency_job_id":null,"html_url":"https://github.com/vnpy/vnpy_sec","commit_stats":{"total_commits":29,"total_committers":3,"mean_commits":9.666666666666666,"dds":"0.48275862068965514","last_synced_commit":"f0af9d9ca1dd60ddc13c2c10a93de4b55c345e42"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/vnpy/vnpy_sec","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vnpy%2Fvnpy_sec","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vnpy%2Fvnpy_sec/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vnpy%2Fvnpy_sec/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vnpy%2Fvnpy_sec/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vnpy","download_url":"https://codeload.github.com/vnpy/vnpy_sec/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vnpy%2Fvnpy_sec/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264939750,"owners_count":23686212,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["python","veighna","vnpy"],"created_at":"2024-10-13T21:03:50.447Z","updated_at":"2025-07-22T05:03:00.214Z","avatar_url":"https://github.com/vnpy.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# VeighNa框架的顶点飞创交易接口\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src =\"https://vnpy.oss-cn-shanghai.aliyuncs.com/vnpy-logo.png\"/\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003cimg src =\"https://img.shields.io/badge/version-1.0.4-blueviolet.svg\"/\u003e\n    \u003cimg src =\"https://img.shields.io/badge/platform-windows-yellow.svg\"/\u003e\n    \u003cimg src =\"https://img.shields.io/badge/python-3.8|3.9|3.10-blue.svg\" /\u003e\n    \u003cimg src =\"https://img.shields.io/github/license/vnpy/vnpy.svg?color=orange\"/\u003e\n\u003c/p\u003e\n\n## 说明\n\n基于顶点飞创证券版的API接口封装开发，具体API版本为:\n\n* 行情：1.6.45\n* 交易：1.6.88.18\n\n## 安装\n\n安装环境推荐基于3.7.0版本以上的【[**VeighNa Studio**](https://www.vnpy.com)】。\n\n直接使用pip命令：\n\n```\npip install vnpy_sec\n```\n\n\n或者下载源代码后，解压后在cmd中运行：\n\n```\npip install .\n```\n\n## 使用\n\n以脚本方式启动（script/run.py）：\n\n```\nfrom vnpy.event import EventEngine\nfrom vnpy.trader.engine import MainEngine\nfrom vnpy.trader.ui import MainWindow, create_qapp\n\nfrom vnpy_sec import SecGateway\n\n\ndef main():\n    \"\"\"主入口函数\"\"\"\n    qapp = create_qapp()\n\n    event_engine = EventEngine()\n    main_engine = MainEngine(event_engine)\n    main_engine.add_gateway(SecGateway)\n    \n    main_window = MainWindow(main_engine, event_engine)\n    main_window.showMaximized()\n\n    qapp.exec()\n\n\nif __name__ == \"__main__\":\n    main()\n```\n\n## 连接\n \n如果启动时报错“ImportError: DLL load failed: 找不到指定的模块。”，可自行下载vcredist2013解决。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvnpy%2Fvnpy_sec","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvnpy%2Fvnpy_sec","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvnpy%2Fvnpy_sec/lists"}