Giter Club home page Giter Club logo

bfpy's Introduction

QQ交流群340195342,点击加入:http://jq.qq.com/?_wv=1027&k=2ADNTk3
======

快速上手
======
1. 下载bftrader发布包
下载地址: https://github.com/sunwangme/bftrader/releases
下载地址: http://pan.baidu.com/s/1nvgrNst

2. 安装grpc for python
   2.1 安装python python-2.7.11.msi
   2.2 安装python库,安装包在 python_libs目录下
      2.2.1 pip install six-xxx
      2.2.2 pip install setuptools-xxx
      2.2.3 pip install enum34-xxx
      2.2.4 pip install futures-xxx
      2.2.5 pip install protobuf-xxx
      2.2.6 pip install grpcio-xxx

3. 写策略,调试策略,运行策略
    3.1 运行ctpgateway.exe,datafeed.exe
    3.2 点击ctpgateway的net/netStart,点击datafeed的net/netStart
    3.3 运行datarecorder.py,以连接ctpgateway datafeed
    3.4 点击ctpgateway的ctp/ctpStart
    3.5 可以看到datarecorder.py跑起来啦

    
网友策略列表
======
datarecorder.py:tick收集器,演示BfTraderClient+BfRun的用法
z++/: 1分钟方向策略
xiaoge/: 1分钟动力策略
xiaoge/multi-period: 多周期多品种的数据收集器
oneywang/:1分钟方向策略
bluesky/:1分钟方向策略
bingdian/:1分钟方向策略
sunwangme/: grpc例子
tao/: 1分钟方向策略
twelvedays/simplepower/:简单震荡策略


(完)

bfpy's People

Contributors

sunwangme avatar xclxxl414 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.