1 unstable release
0.1.0 | Oct 7, 2024 |
---|
#7 in #ctp
97 downloads per month
Used in 2 crates
(via qust-api)
27MB
6.5K
SLoC
Contains (ELF lib, 5.5MB) v_current/libthosttraderapi_se.so, (ELF lib, 4.5MB) ctp_auth_test/libthostmduserapi_se.so, (ELF lib, 5.5MB) ctp_auth_test/libthosttraderapi_se.so, (ELF lib, 5MB) v_current/libthostmduserapi_se.so, (Windows DLL, 3MB) v_current/thostmduserapi_se.dll, (Windows DLL, 3.5MB) v_current/thosttraderapi_se.dll and 2 more.
封装ctp 期货api接口
- ctp version 6.3 看穿式
- 使用rust-bindgen先生成主要代码,然后使用clang解析cpp头文件,生成spi的代码(因为目前rust-bindgen不会生成pure virtual class function)
- ctp_autu_test用于看穿式验证申请,只需要修改build.rs里的链接目录即可
- 引入derive bincode::Encode, bincode::Decode, 方便进行简单的序列化
Dependencies
~12–26MB
~331K SLoC