admin published posts

调用参考
https://github.com/shizhuolin/PyCTP/blob/master/tests/test_PyCTP.py
具体参数可参考ctp头文件

git clone https://github.com/shizhuolin/PyCTP.git
cd PyCTP
python setup.py build

这是程序化期货交易上期ctp接口版本. 为方便数值计算.将其包装为python版本.
支持python 2.7+, 3.x, windows/linux/gcc/vs2022

绝大部分代码是直接从ctp源码转换而来.

  • char[x] 均用 pybytes代替
  • char用pybyte代替,bool使用pybool或int

- 阅读剩余部分 -