Skip to content

Commit

Permalink
[update] readme
Browse files Browse the repository at this point in the history
  • Loading branch information
somewheve committed Feb 8, 2024
1 parent ca120a8 commit fc13cda
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
Binary file modified .DS_Store
Binary file not shown.
14 changes: 9 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@

> 此处描述`ctpbee`里面的 `API` 生成
## 如何安装

```
pip3 install ctpbee_api # for linux and windows
pip3 install git+https://github.com/ctpbee/ctpbee_api # for macos
```

## 支持操作系统

- [x] windows `['ctp', 'rohon, 'ctp_mini']`
Expand Down Expand Up @@ -33,14 +40,11 @@ windows采用预编译进行支持
- 接口文件目录和文件命名规则 应该为 `vnrohonmd` + `vnrohontd`, vn是固定前缀 md和td为固定后缀

### mac 如何工作


小心一点, mac需要从源码安装
`pip3`第一次安装后会编译安装成功, 第一次运行会提示不受信任的开发者 请前往`隐私与安全性`接受framework,
官方framework存在一点小问题, 我是采用`somewheve`进行自签名的
官方`framework`存在一点小问题, 我是采用`somewheve`进行自签名的

frameworks路径在`~/.ctpbee/Frameworks/`




> ps: 作者不擅长Mac开发 希望大佬给予pr

0 comments on commit fc13cda

Please sign in to comment.