Skip to content

Commit

Permalink
[Mod] 更新版本号到6.5.1.11
Browse files Browse the repository at this point in the history
  • Loading branch information
vnpy committed Apr 25, 2022
1 parent ce52ff2 commit effe715
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 6.5.1.11版本
1. 增加对于委托函数返回值为非0(请求失败)状态的处理
2. 完善变量和函数类型声明

# 6.5.1.10版本
1. 修复sdist打包缺失lib文件的问题

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
</p>

<p align="center">
<img src ="https://img.shields.io/badge/version-6.5.1.10-blueviolet.svg"/>
<img src ="https://img.shields.io/badge/version-6.5.1.11-blueviolet.svg"/>
<img src ="https://img.shields.io/badge/platform-windows|linux-yellow.svg"/>
<img src ="https://img.shields.io/badge/python-3.7|3.8|3.9|3.10-blue.svg" />
<img src ="https://img.shields.io/github/license/vnpy/vnpy.svg?color=orange"/>
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = vnpy_ctp
version = 6.5.1.10
version = 6.5.1.11
url = https://www.vnpy.com
license = MIT
author = Xiaoyou Chen
Expand Down
4 changes: 3 additions & 1 deletion vnpy_ctp/gateway/ctp_gateway.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
THOST_FTDC_OST_PartTradedQueueing,
THOST_FTDC_OST_AllTraded,
THOST_FTDC_OST_Canceled,
THOST_FTDC_OST_Unknown,
THOST_FTDC_D_Buy,
THOST_FTDC_D_Sell,
THOST_FTDC_PD_Long,
Expand Down Expand Up @@ -69,7 +70,8 @@
THOST_FTDC_OST_NoTradeQueueing: Status.NOTTRADED,
THOST_FTDC_OST_PartTradedQueueing: Status.PARTTRADED,
THOST_FTDC_OST_AllTraded: Status.ALLTRADED,
THOST_FTDC_OST_Canceled: Status.CANCELLED
THOST_FTDC_OST_Canceled: Status.CANCELLED,
THOST_FTDC_OST_Unknown: Status.SUBMITTING
}

# 多空方向映射
Expand Down

0 comments on commit effe715

Please sign in to comment.