Skip to content

Commit 3722feb

Browse files
committed
Merge branch 'master' into feat_sub_id
2 parents 628ec74 + e50a5ab commit 3722feb

File tree

4 files changed

+15
-6
lines changed

4 files changed

+15
-6
lines changed

CHANGELOG.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
1+
## 3.3.7 (2025-05-08)
2+
### New
3+
- 订单回调添加属性 `attrList`
4+
5+
16
## 3.3.6 (2025-04-28)
27
### New
38
- `TradeClient.get_fund_details` 资金明细
49
- `QuoteClient` 期权相关接口支持时区参数
510
### Mod
6-
= 废弃 sandbox_config 配置
11+
- 废弃 sandbox_config 配置
712

813
## 3.3.5 (2025-04-11)
914
### New

tigeropen/push/pb/OrderStatusData.proto

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,5 @@ message OrderStatusData {
4646
double totalCashAmount = 39;
4747
double filledCashAmount = 40;
4848
double gst = 41;
49+
repeated string attrList = 42;
4950
}

tigeropen/push/pb/OrderStatusData_pb2.py

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tigeropen/push/pb/OrderStatusData_pb2.pyi

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1+
from google.protobuf.internal import containers as _containers
12
from google.protobuf import descriptor as _descriptor
23
from google.protobuf import message as _message
3-
from typing import ClassVar as _ClassVar, Optional as _Optional
4+
from typing import ClassVar as _ClassVar, Iterable as _Iterable, Optional as _Optional
45

56
DESCRIPTOR: _descriptor.FileDescriptor
67

78
class OrderStatusData(_message.Message):
8-
__slots__ = ("id", "account", "symbol", "expiry", "strike", "right", "identifier", "multiplier", "action", "market", "currency", "segType", "secType", "orderType", "isLong", "totalQuantity", "totalQuantityScale", "filledQuantity", "filledQuantityScale", "avgFillPrice", "limitPrice", "stopPrice", "realizedPnl", "status", "replaceStatus", "cancelStatus", "outsideRth", "canModify", "canCancel", "liquidation", "name", "source", "errorMsg", "attrDesc", "commissionAndFee", "openTime", "timestamp", "userMark", "totalCashAmount", "filledCashAmount", "gst")
9+
__slots__ = ("id", "account", "symbol", "expiry", "strike", "right", "identifier", "multiplier", "action", "market", "currency", "segType", "secType", "orderType", "isLong", "totalQuantity", "totalQuantityScale", "filledQuantity", "filledQuantityScale", "avgFillPrice", "limitPrice", "stopPrice", "realizedPnl", "status", "replaceStatus", "cancelStatus", "outsideRth", "canModify", "canCancel", "liquidation", "name", "source", "errorMsg", "attrDesc", "commissionAndFee", "openTime", "timestamp", "userMark", "totalCashAmount", "filledCashAmount", "gst", "attrList")
910
ID_FIELD_NUMBER: _ClassVar[int]
1011
ACCOUNT_FIELD_NUMBER: _ClassVar[int]
1112
SYMBOL_FIELD_NUMBER: _ClassVar[int]
@@ -47,6 +48,7 @@ class OrderStatusData(_message.Message):
4748
TOTALCASHAMOUNT_FIELD_NUMBER: _ClassVar[int]
4849
FILLEDCASHAMOUNT_FIELD_NUMBER: _ClassVar[int]
4950
GST_FIELD_NUMBER: _ClassVar[int]
51+
ATTRLIST_FIELD_NUMBER: _ClassVar[int]
5052
id: int
5153
account: str
5254
symbol: str
@@ -88,4 +90,5 @@ class OrderStatusData(_message.Message):
8890
totalCashAmount: float
8991
filledCashAmount: float
9092
gst: float
91-
def __init__(self, id: _Optional[int] = ..., account: _Optional[str] = ..., symbol: _Optional[str] = ..., expiry: _Optional[str] = ..., strike: _Optional[str] = ..., right: _Optional[str] = ..., identifier: _Optional[str] = ..., multiplier: _Optional[int] = ..., action: _Optional[str] = ..., market: _Optional[str] = ..., currency: _Optional[str] = ..., segType: _Optional[str] = ..., secType: _Optional[str] = ..., orderType: _Optional[str] = ..., isLong: bool = ..., totalQuantity: _Optional[int] = ..., totalQuantityScale: _Optional[int] = ..., filledQuantity: _Optional[int] = ..., filledQuantityScale: _Optional[int] = ..., avgFillPrice: _Optional[float] = ..., limitPrice: _Optional[float] = ..., stopPrice: _Optional[float] = ..., realizedPnl: _Optional[float] = ..., status: _Optional[str] = ..., replaceStatus: _Optional[str] = ..., cancelStatus: _Optional[str] = ..., outsideRth: bool = ..., canModify: bool = ..., canCancel: bool = ..., liquidation: bool = ..., name: _Optional[str] = ..., source: _Optional[str] = ..., errorMsg: _Optional[str] = ..., attrDesc: _Optional[str] = ..., commissionAndFee: _Optional[float] = ..., openTime: _Optional[int] = ..., timestamp: _Optional[int] = ..., userMark: _Optional[str] = ..., totalCashAmount: _Optional[float] = ..., filledCashAmount: _Optional[float] = ..., gst: _Optional[float] = ...) -> None: ...
93+
attrList: _containers.RepeatedScalarFieldContainer[str]
94+
def __init__(self, id: _Optional[int] = ..., account: _Optional[str] = ..., symbol: _Optional[str] = ..., expiry: _Optional[str] = ..., strike: _Optional[str] = ..., right: _Optional[str] = ..., identifier: _Optional[str] = ..., multiplier: _Optional[int] = ..., action: _Optional[str] = ..., market: _Optional[str] = ..., currency: _Optional[str] = ..., segType: _Optional[str] = ..., secType: _Optional[str] = ..., orderType: _Optional[str] = ..., isLong: bool = ..., totalQuantity: _Optional[int] = ..., totalQuantityScale: _Optional[int] = ..., filledQuantity: _Optional[int] = ..., filledQuantityScale: _Optional[int] = ..., avgFillPrice: _Optional[float] = ..., limitPrice: _Optional[float] = ..., stopPrice: _Optional[float] = ..., realizedPnl: _Optional[float] = ..., status: _Optional[str] = ..., replaceStatus: _Optional[str] = ..., cancelStatus: _Optional[str] = ..., outsideRth: bool = ..., canModify: bool = ..., canCancel: bool = ..., liquidation: bool = ..., name: _Optional[str] = ..., source: _Optional[str] = ..., errorMsg: _Optional[str] = ..., attrDesc: _Optional[str] = ..., commissionAndFee: _Optional[float] = ..., openTime: _Optional[int] = ..., timestamp: _Optional[int] = ..., userMark: _Optional[str] = ..., totalCashAmount: _Optional[float] = ..., filledCashAmount: _Optional[float] = ..., gst: _Optional[float] = ..., attrList: _Optional[_Iterable[str]] = ...) -> None: ...

0 commit comments

Comments
 (0)