说明
基于CTP期货版的6.6.7接口封装开发,接口中自带的是【穿透式实盘环境】的dll文件。 由 vnpy_jees修改而来
打包
python setup.py bdist_wheel
需要进行C++编译,因此在执行上述命令之前请确保已经安装了【Visual Studio(Windows)】、【GCC(Linux)】、【XCode(Mac)】编译器。
发布
先安装一下 twine:
python -m pip install twine
twine upload dist/*
没有账户去注册一个 https://pypi.org/
安装
直接使用pip命令:
pip install bothpy_jees
使用
以脚本方式启动(script/run.py):
from bothpy.event import EventEngine
from bothpy.trader.engine import MainEngine
from bothpy.trader.ui import MainWindow, create_qapp
from bothpy_jees import JeesGateway
def main():
"""主入口函数"""
qapp = create_qapp()
event_engine = EventEngine()
main_engine = MainEngine(event_engine)
main_engine.add_gateway(JeesGateway)
main_window = MainWindow(main_engine, event_engine)
main_window.showMaximized()
qapp.exec()
if __name__ == "__main__":
main()
Metadata
Release files for bothpy-jees 6.6.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| bothpy_jees-6.6.1.2-cp310-cp310-win_amd64.whl | CPython 3.10 | CPython 3.10 | Windows x86-64 | Details for bothpy_jees-6.6.1.2-cp310-cp310-win_amd64.whl |
Release files / bothpy_jees-6.6.1.2-cp310-cp310-win_amd64.whl
| Download URL | bothpy_jees-6.6.1.2-cp310-cp310-win_amd64.whl |
|---|---|
| Size | 914.6 kB |
| Tags | CPython 3.10 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
773c61ab175dda6631f12e7f814ee6df0a1d28ab0bf73a7871563a9b0de3a74e
|
|
BLAKE2b-256 checksum How to use checksums |
71a84e71ca147d4cf32f7a5d26213ff0447850fc1d64cf4bb2e977cb357546dc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.10.11
|
Security for bothpy-jees 6.6.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.