Giter Club home page Giter Club logo

python_ctp's Introduction

1、dll中是C++接口封装的动态库,不用动
2、py_ctp中是python封装的ctp接口和demo
3、两个demo(test_api和test_multi),test_api是买单个合约的例子;test_multi是根据配置文件买多个合约的例子,依赖两个配置文件,config里边包含账号信息等,orderBook是需要买的合约和数量
4、py_ctp中除了test_api和test_multi的py文件都是封装的接口,请勿改变
5、demo中根据自己的需求改变相关逻辑和配置文件
6、demo中的接口(已经有简略注释)可以查阅接口说明文档,查看具体含义
7、底层封装使用了海风的ctp,本人写了demo和封装中的字段注释

python_ctp's People

Contributors

njw128 avatar

Stargazers

 avatar

Watchers

James Cloos avatar  avatar

Forkers

pyctp

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.