Skip to main content

Jees gateway for bothpy quant trading framework.

Project description

说明

基于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()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bothpy_jees-6.6.1.2-cp310-cp310-win_amd64.whl (914.6 kB view details)

Uploaded CPython 3.10Windows x86-64

File details

Details for the file bothpy_jees-6.6.1.2-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for bothpy_jees-6.6.1.2-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 773c61ab175dda6631f12e7f814ee6df0a1d28ab0bf73a7871563a9b0de3a74e
MD5 dc9c9bcac64ef908b83bbb9af2ec137d
BLAKE2b-256 71a84e71ca147d4cf32f7a5d26213ff0447850fc1d64cf4bb2e977cb357546dc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page