上海期货交易所CTP接口 Shanghai Future CTP Interface CTP Python API Wrapper
Version: v6.5.1 P1(v6.5.1 20200908)
Platform: Linux 64bit, Windows 64bit
Python Requirement: x86-64
Especially Support PyPy3-3.6 Linux 64bit
Inspire By lovelylain
Before you install ctpwrapper package, you need to make sure you have already install cython package.
>>>pip install cython --upgrade >>>pip install ctpwrapper --upgrade
sometimes quote the market futures data, but there is no trading data from the API stream, better just add
time.sleep(2)func call after
Init()method invoked, this could help to solve no data response issue.
sample code samples
CTP documentation can be found in the docs
If you have any question about the ctpwrapper API, contact [email protected]