Skip to main content

Python Sub Framework Of WonderTrader

Project description

wt > py

这是wonder trader针对python3适配的子框架

子框架简介

  • common子模块

    该模块主要包含了子框架的基本数据结构定义

  • datakit子模块

    该模块主要包含了数据落地组件,以及C++底层数据落地的C接口适配模块

  • backtest子模块

    该模块主要包含了回测相关的组件,以及C++底层回测的C接口适配模块

  • porter子模块

    该模块主要包含了实盘相关的组件,以及C++底层实盘交易的C接口适配模块

  • 其他模块

    主要位于根节点下,包含了各个子模块的入口组件

    • BaseDefs.py 主要定义的Py版本的策略基类,方便用户重写
    • Context.py 主要定义了用户策略的上下文,可以理解为单策略的运行环境
    • ExtDefs.py 扩展模块定义文件,主要定义了一些扩展模块的基础接口
    • ProductMgr.py 品种管理器,主要用于Py环境中的合约属性、品种属性查询
    • SessionMgr.py 交易时间模板管理器,主要用于Py环境中的交易时段模板管理
    • WtBtEngine.py 回测引擎转换模块,主要封装底层接口调用
    • WtDtEngine.py 数据引擎转换模块,主要封装底层接口调用
    • WtEngine.py 交易引擎转换模块,主要封装底层接口调用

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

wtpy-0.3.6-py3-none-any.whl (30.6 MB view hashes)

Uploaded Python 3

Supported by

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