@@ -2,37 +2,45 @@ syntax = "proto3";
22
33package tigeropen.push.pb ;
44
5-
65message OrderStatusData {
76 sint64 id = 1 ; // unique order id
87 string account = 2 ; // user account
98 string symbol = 3 ;
10- string identifier = 4 ;
11- uint32 multiplier = 5 ; // multiplier for futures, options, warrants and CBBC
12- string action = 6 ; // BUY or SELL
13- string market = 7 ; // market. US, HK, etc.
14- string currency = 8 ; // currency. USD, HKD, etc.
15- string segType = 9 ; // Securities Category C: (Commodities Futures), S: (Securities Stocks)
16- string secType = 10 ; // STK Stocks, OPT Options, WAR Warrants, IOPT CBBC, CASH FOREX, FUT Futures, FOP Future Options
9+ string expiry = 4 ; // for options, formate:yyyyMMdd
10+ string strike = 5 ; // for options
11+ string right = 6 ; // for options
12+ string identifier = 7 ;
13+ uint32 multiplier = 8 ; // multiplier for futures, options, warrants and CBBC
14+ string action = 9 ; // BUY or SELL
15+ string market = 10 ; // market. US, HK, etc.
16+ string currency = 11 ; // currency. USD, HKD, etc.
17+ string segType = 12 ; // Securities Category C: (Commodities Futures), S: (Securities Stocks)
18+ string secType = 13 ; // STK Stocks, OPT Options, WAR Warrants, IOPT CBBC, CASH FOREX, FUT Futures, FOP Future Options
1719
18- string orderType = 11 ; // order type
19- bool isLong = 12 ;
20- sint64 totalQuantity = 13 ; // total quantity
21- sint32 totalQuantityScale = 14 ; // total quantity scale
22- sint64 filledQuantity = 15 ; // filled quantity
23- sint32 filledQuantityScale = 16 ; // filled quantity scale
24- double avgFillPrice = 17 ; // average price at which the orders got filled
25- double limitPrice = 18 ; // limit price(required when orderType is 'LMT')
26- double realizedPnl = 19 ; // realized profit and loss
27- string status = 20 ; // order status
20+ string orderType = 14 ; // order type
21+ bool isLong = 15 ;
22+ sint64 totalQuantity = 16 ; // total quantity
23+ sint32 totalQuantityScale = 17 ; // total quantity scale
24+ sint64 filledQuantity = 18 ; // filled quantity
25+ sint32 filledQuantityScale = 19 ; // filled quantity scale
26+ double avgFillPrice = 20 ; // average price at which the orders got filled
27+ double limitPrice = 21 ; // limit price(required when orderType is 'LMT')
28+ double stopPrice = 22 ; // stop price(required when orderType is 'STP')
29+ double realizedPnl = 23 ; // realized profit and loss
30+ string status = 24 ; // order status
31+ string replaceStatus = 25 ; // order replace status
32+ string cancelStatus = 26 ; // order cancel status
2833
29- bool outsideRth = 21 ; // if trade outside regular trading hours (only applicable to U.S. market)
30- bool canModify = 22 ;
31- bool canCancel = 23 ;
32- string name = 24 ; // symbol name
33- string source = 25 ; // order source(from 'OpenApi', or not)
34- string errorMsg = 26 ; // error message
35- float commissionAndFee = 27 ; // commission and fee
36- uint64 openTime = 28 ; // timestamp when the order is placed
37- uint64 timestamp = 29 ;
34+ bool outsideRth = 27 ; // if trade outside regular trading hours (only applicable to U.S. market)
35+ bool canModify = 28 ;
36+ bool canCancel = 29 ;
37+ bool liquidation = 30 ;
38+ string name = 31 ; // symbol name
39+ string source = 32 ; // order source(from 'OpenApi', or not)
40+ string errorMsg = 33 ; // error message
41+ string attrDesc = 34 ; // order description
42+ float commissionAndFee = 35 ; // commission and fee
43+ uint64 openTime = 36 ; // timestamp when the order is placed
44+ uint64 timestamp = 37 ;
45+ string userMark = 38 ;
3846}
0 commit comments