-
Notifications
You must be signed in to change notification settings - Fork 1
njw128/python_ctp
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
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和封装中的字段注释
About
使用海风封装ctp的python接口,根据配置文件,买卖多个合约
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published