Skip to content

Commit

Permalink
add new enum type.
Browse files Browse the repository at this point in the history
  • Loading branch information
nooperpudd committed Jan 15, 2021
1 parent 8a90e26 commit 8b4339b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ctpwrapper/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
along with ctpwrapper. If not, see <http://www.gnu.org/licenses/>.
"""
__version__ = "6.5.1.0"
__version__ = "6.5.1.1"
__date__ = "2020-09-08"

from ctpwrapper.Md import MdApiPy
Expand Down
1 change: 1 addition & 0 deletions ctpwrapper/headers/ThostFtdcUserApiDataType.pxd
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ cdef extern from 'ThostFtdcUserApiDataType.h':
THOST_TERT_RESTART = 0
THOST_TERT_RESUME
THOST_TERT_QUICK
THOST_TERT_NONE
ctypedef char TThostFtdcTraderIDType[21]
ctypedef char TThostFtdcInvestorIDType[13]
ctypedef char TThostFtdcBrokerIDType[11]
Expand Down
1 change: 1 addition & 0 deletions generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ def generate_datatype():
THOST_TERT_RESTART = 0
THOST_TERT_RESUME
THOST_TERT_QUICK
THOST_TERT_NONE
""")
# special write data
if line.startswith("#define"):
Expand Down

0 comments on commit 8b4339b

Please sign in to comment.