njw128 / python_ctp Goto Github PK
View Code? Open in Web Editor NEW使用海风封装ctp的python接口,根据配置文件,买卖多个合约
使用海风封装ctp的python接口,根据配置文件,买卖多个合约
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和封装中的字段注释
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.