by nooperpudd

nooperpudd / ctpwrapper

上海期货交易所CTP接口 Shanghai Future CTP Interface CTP Python API Wrapper

230 Stars 88 Forks Last release: about 2 months ago ( GNU Lesser General Public License v3.0 470 Commits 12 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

CTP期货 API Python Wrapper

Build Status Build status Codacy Badge pypi status pyversion implementation Downloads

CTP Website

Version: v6.3.19 P1(v6.3.19P120200106)

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

Donate [捐助]

⚠️⚠️ notice ⚠️⚠️

sometimes quote the market futures data, but there is no trading data from the API stream, better just add

func call after
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]

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.